Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document that duration out of range can't be reached for /extend #382

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions code/API_definitions/qod-provisioning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.1.0
version: wip
x-camara-commonalities: 0.4.0

externalDocs:
description: Project documentation at CAMARA
url: https://github.com/camaraproject/QualityOnDemand

servers:
- url: "{apiRoot}/qod-provisioning/v0.1"
- url: "{apiRoot}/qod-provisioning/vwip"
variables:
apiRoot:
default: http://localhost:9091
Expand Down
4 changes: 2 additions & 2 deletions code/API_definitions/qos-profiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.11.0
version: wip
x-camara-commonalities: 0.4.0


Expand All @@ -64,7 +64,7 @@ externalDocs:
url: https://github.com/camaraproject/QualityOnDemand

servers:
- url: "{apiRoot}/qos-profiles/v0.11"
- url: "{apiRoot}/qos-profiles/vwip"
variables:
apiRoot:
default: http://localhost:9091
Expand Down
6 changes: 3 additions & 3 deletions code/API_definitions/quality-on-demand.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.11.0
version: wip
x-camara-commonalities: 0.4.0

externalDocs:
description: Project documentation at Camara
url: https://github.com/camaraproject/QualityOnDemand

servers:
- url: "{apiRoot}/quality-on-demand/v0.11"
- url: "{apiRoot}/quality-on-demand/vwip"
variables:
apiRoot:
default: http://localhost:9091
Expand Down Expand Up @@ -1051,7 +1051,7 @@
code: OUT_OF_RANGE
message: Client specified an invalid range.
DurationOutOfRangeForQoSProfile:
description: The requested duration is out of the allowed range for the specific QoS profile
description: NOTE - this error response can't be reached within the `/extend` operation and will be removed from the API definition within the next version.

Check failure on line 1054 in code/API_definitions/quality-on-demand.yaml

View workflow job for this annotation

GitHub Actions / MegaLinter

1054:171 [trailing-spaces] trailing spaces
eric-murray marked this conversation as resolved.
Show resolved Hide resolved
value:
status: 400
code: QUALITY_ON_DEMAND.DURATION_OUT_OF_RANGE
Expand Down