Repository navigation
Release Notes
This public release contains the definition and documentation of
- qos-provisioning 0.4.0
- quality-on-demand 1.2.0
The API definition(s) are based on
- Commonalities r4.4 (0.9.0)
- Identity and Consent Management r4.2 (0.5.0)
The qos-profiles API is no longer part of this repository. It is maintained and released in the QoSProfiles repository; its last public release from this repository was qos-profiles 1.1.0 in r3.2, followed by the release candidate 1.2.0-rc.3 in r4.1.
qos-provisioning 0.4.0
qos-provisioning 0.4.0 is an initial public version of this API.
Changes documented below are compared to version 0.3.0.
- API definition with inline documentation:
Breaking changes
sinkCredential.credentialTypenow acceptsACCESSTOKENandPRIVATE_KEY_JWT;PLAINandREFRESHTOKENare no longer accepted, by @jlurien in #580- API consumers that followed the 0.3.0 definition are not affected: it already required
credentialTypeto beACCESSTOKEN.
- API consumers that followed the 0.3.0 definition are not affected: it already required
Added
PRIVATE_KEY_JWTas sink credential type for notifications, with the422 PRIVATE_KEY_JWT_NOT_CONFIGUREDerror when no JWK Set was pre-shared with the API provider, by @jlurien in #580
Changed
- Aligned with CAMARA Commonalities r4.4 (0.9.0) by @jlurien and @hdamker in #580 and #619
- QoS status change notifications follow the common CloudEvents model
- Request inputs carry explicit length and range limits, e.g.
x-correlator(256 characters),assignmentId(36), device identifiers andsink(2048);device.ipv4Address.publicPortmust be at least 1 (0was allowed before but is not a usable port). No request that conforms to the documented semantics is rejected accessTokenandaccessTokenTypeofsinkCredentialare write-only: they are accepted in requests and no longer returned in responses- Added the info.description sections on authorization and authentication, additional error responses and request body strictness
- Clarified that retrieving or revoking a QoS assignment requires an access token for the same API client and, for three-legged tokens, the same subject as was used to create the assignment, by @hdamker in #623
- Clarified the definition of a QoS Profile and how it is selected by name (
qosProfile); theqos-profilesAPI is now referenced in the QoSProfiles repository, by @hdamker in #642 - Aligned the test definitions with the Commonalities r4.4 test template, by @jlurien and @hdamker in #580 and #619
- Added test scenarios for request body strictness (
createQosAssignment,getQosAssignmentByDevice) and for creating a QoS assignment with aPRIVATE_KEY_JWTsink credential, by @hdamker in #650
Fixed
- The
dataobject oforg.camaraproject.qos-provisioning.v0.status-changedevents now listsstatusas required property, matching the actual property name (wasqosStatus), by @jlurien in #580 - Removed the redundant
format: stringfrom theQosProfileNameschema by @eric-murray in #549 - Editorial corrections in the API description by @Kevsy, @tlohmar and @hdamker in #515, #547 and #595
Removed
- The
PLAINandREFRESHTOKENsink credential types and thePlainCredentialandRefreshTokenCredentialschemas by @jlurien in #580 (see Breaking changes)
quality-on-demand 1.2.0
quality-on-demand 1.2.0 is a minor update of this API.
Changes documented below are compared to version 1.1.0.
- API definition with inline documentation:
Breaking changes
sinkCredential.credentialTypenow acceptsACCESSTOKENandPRIVATE_KEY_JWT;PLAINandREFRESHTOKENare no longer accepted, by @hdamker in #579- API consumers that followed the 1.1.0 definition are not affected: it already required
credentialTypeto beACCESSTOKEN.
- API consumers that followed the 1.1.0 definition are not affected: it already required
Added
- Application servers can be identified by a list of up to 16 single IPv4 and/or IPv6 addresses, in addition to a subnet, by @eric-murray in #522 and #587
PRIVATE_KEY_JWTas sink credential type for notifications, with the422 PRIVATE_KEY_JWT_NOT_CONFIGUREDerror oncreateSessionwhen no JWK Set was pre-shared with the API provider, by @hdamker in #579
Changed
- A
qosProfilethat matches theQosProfileNameschema but does not exist now returns404 NOT_FOUNDoncreateSession;400 INVALID_ARGUMENTremains for names that do not match the schema. The 1.1.0 test definitions expected400 INVALID_ARGUMENTin both cases, by @eric-murray in #637 createSessionmay return201withqosStatusUNAVAILABLEandstatusInfoNETWORK_TERMINATEDwhen the network determines during creation that the requested QoS cannot be provided, by @hdamker in #576- Error responses list only the codes that can occur for each operation, by @maxl2287 and @eric-murray in #578 and #622
- the
400response ofgetSessionanddeleteSessionreturns onlyINVALID_ARGUMENT(no longerOUT_OF_RANGE) - the
404response ofretrieveSessionsByDevicereturns onlyIDENTIFIER_NOT_FOUND(no longerNOT_FOUND)
- the
- Aligned with CAMARA Commonalities r4.4 (0.9.0) by @hdamker in #579 and #619
- QoS status change notifications follow the common CloudEvents model
- Request inputs carry explicit length and range limits, e.g.
x-correlator(256 characters),sessionId(36), device identifiers,sink(2048) and port lists. Port numbers must be at least 1 (0was allowed before but is not a usable port).durationandrequestedAdditionalDurationare bounded only by the 32-bit integer range; the effective limit is themaxDurationof the QoS Profile. No request that conforms to the documented semantics is rejected. TheretrieveSessionsByDeviceresponse returns at most 100 sessions accessTokenandaccessTokenTypeofsinkCredentialare write-only: they are accepted in requests and no longer returned in responses- Added the info.description sections on authorization and authentication, additional error responses and request body strictness
- Clarified that retrieving, extending or deleting a QoS session requires an access token for the same API client and, for three-legged tokens, the same subject as was used to create the session, by @hdamker in #623
- Clarified the definition of a QoS Profile, that the session applies the characteristics of the selected QoS Profile, and that the
qos-profilesAPI is now in the QoSProfiles repository, by @hdamker in #642 - Aligned the test definitions with the Commonalities r4.4 test template, adding
429, invalidx-correlatorand application server list scenarios, by @hdamker and @eric-murray in #579, #587 and #619 - Added test scenarios for request body strictness (
createSession,extendQosSessionDuration,retrieveSessionsByDevice) and for creating a QoS session with aPRIVATE_KEY_JWTsink credential, by @hdamker in #650
Fixed
- Added explicit response examples for
extendQosSessionDurationby @mohdfarhanakram in #538 - Removed the redundant
format: stringfrom theQosProfileNameschema by @eric-murray in #549 - Editorial corrections in the API description (consistent use of "API consumer" and "QoS Session", removed a redundant sentence on authentication) by @tlohmar and @AxelNennker in #547, #574 and #551
- Corrected the event type expected by the
createSessionanddeleteSessionevent test scenarios toorg.camaraproject.quality-on-demand.v1.qos-status-changed(wasorg.camaraproject.qod.v1.qos-status-changed), by @hdamker in #649
Removed
- The
PLAINandREFRESHTOKENsink credential types and thePlainCredentialandRefreshTokenCredentialschemas by @hdamker in #579 (see Breaking changes)
Full Changelog: r3.2...r4.3