Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
Merge branch 'release/0.0.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasWanke committed Oct 6, 2019
2 parents e9cc30c + 494c19b commit 450018f
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .unicornfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ description: "This repository contains the original interface definitions of pub
\ definitions can provide a better understanding of HPI Cloud APIs and help you\
\ to utilize them more efficiently. You can also use these definitions with open\
\ source tools to generate client libraries, documentation, and other artifacts."
version: "0.0.10"
version: "0.0.11"
githubName: "HPI-de/hpi-cloud-apis"
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.0.11] - 2019-10-06
### BREAKING CHANGES
- **course:** add Course.attendance, enrollment_deadline; make CourseSeries.mandatory an enum

## [0.0.10] - 2019-10-05
### BREAKING CHANGES
Expand Down Expand Up @@ -91,7 +94,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
Initial release with NewsService.


[Unreleased]: https://github.com/HPI-de/hpi-cloud-apis/compare/0.0.10...dev
[Unreleased]: https://github.com/HPI-de/hpi-cloud-apis/compare/0.0.11...dev
[0.0.11]: https://github.com/HPI-de/hpi-cloud-apis/compare/0.0.10...0.0.11
[0.0.10]: https://github.com/HPI-de/hpi-cloud-apis/compare/0.0.9...0.0.10
[0.0.9]: https://github.com/HPI-de/hpi-cloud-apis/compare/0.0.8...0.0.9
[0.0.8]: https://github.com/HPI-de/hpi-cloud-apis/compare/0.0.7...0.0.8
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ext {
githubReleaseNotes = 'CHANGELOG.md'
allLicenses = ["Apache-2.0"]

libraryVersion = "0.0.10"
libraryVersion = "0.0.11"
}

task sourcesJar(type: Jar, dependsOn: classes) {
Expand Down
20 changes: 18 additions & 2 deletions hpi/cloud/course/v1test/course.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ syntax = "proto3";

package hpi.cloud.course.v1test;

import "google/protobuf/wrappers.proto";
import "google/type/date.proto";

option java_multiple_files = true;
option java_outer_classname = "CourseProto";
option java_package = "de.hpi.cloud.course.v1test";
Expand All @@ -28,8 +31,14 @@ message CourseSeries {
// Required. The hours per week that courses of this series typically require.
sint32 hours_per_week = 6;

// Required. Whether it's mandatory to particiapte in a course of this series.
bool mandatory = 7;
enum Compulsory {
NON_COMPULSORY = 0;
COMPULSORY = 1;
BRIDGE = 2;
}

// Required. Whether it's mandatory to participate in a course of this series.
Compulsory compulsory = 7;

// Required. The language courses of this series are taught in. Must be a valid [BCP 47](https://en.wikipedia.org/wiki/IETF_language_tag) language tag.
string language = 8;
Expand All @@ -39,6 +48,7 @@ message CourseSeries {
SEMINAR = 1;
BLOCK_SEMINAR = 2;
EXERCISE = 3;
PROJECT = 4;
}

// Types of this course series. Must contain at least one value.
Expand Down Expand Up @@ -81,6 +91,12 @@ message Course {

// A website that contains more information about the course.
string website = 6;

// An optional upper bound for the number of participants.
google.protobuf.UInt32Value attendance = 7;

// The enrollment deadline.
google.type.Date enrollment_deadline = 8;
}

// Details of a course.
Expand Down

0 comments on commit 450018f

Please sign in to comment.