Repository navigation
Release Notes
This public release contains the definition and documentation of
- device-data-volume-subscriptions 0.2.0
- device-data-volume 0.2.0
The API definition(s) are based on
- Commonalities r4.4 (0.9.0)
- Identity and Consent Management r4.2 (0.5.0)
device-data-volume-subscriptions 0.2.0
device-data-volume-subscriptions 0.2.0 is an initial public version of this API.
Changes documented below are compared to version 0.1.0.
- API definition with inline documentation:
Breaking changes
- Data allowance consumption events renamed, and now named after the remaining instead of the consumed data allowance, in #106
org.camaraproject.device-data-volume-subscriptions.v0.data-50-percentbecameorg.camaraproject.device-data-volume-subscriptions.v0.data-50-percent-remaining: Event triggered when only 50% of the data plan is remainingorg.camaraproject.device-data-volume-subscriptions.v0.data-75-percentbecameorg.camaraproject.device-data-volume-subscriptions.v0.data-25-percent-remaining: Event triggered when only 25% of the data plan is remainingorg.camaraproject.device-data-volume-subscriptions.v0.data-90-percentbecameorg.camaraproject.device-data-volume-subscriptions.v0.data-10-percent-remaining: Event triggered when only 10% of the data plan is remainingorg.camaraproject.device-data-volume-subscriptions.v0.data-exceededbecameorg.camaraproject.device-data-volume-subscriptions.v0.data-00-percent-remaining: Event triggered when the data plan is fully consumed- The scopes for subscription creation were renamed accordingly
- Pagination for listing of subscriptions using GET /subscriptions is now supported in #81
- Addition of
pageandperPagequery parameters to control pagination - Returned subscriptions are now embedded in the array
subscriptionswithin the response JSON, with the page tracked within thepaginationJSON - Addition of response headers
X-Total-Count,X-Total-PagesandLinkto facilitate page navigation
- Addition of
- Response code 404 IDENTIFIER_NOT_FOUND added for subscription creation in #127
- Implementations of 0.1.0 might already have returned this error (the 0.1.0 test definitions expected it)
- With
initialEventset to true, an initial event is only sent if the remaining data allowance equals the threshold when the subscription is created in #138
Added
- Added scenario for subscription-created event generation by @eric-murray in #152 and #166
- Added scenario @device_data_volume_subscriptions_03_subscription_creation_event_validation
- Renumbered other test scenarios accordingly
- Updated error response codes to use new Commonalities r4.4 schema by @eric-murray in #127
- Added 404 IDENTIFIER_NOT_FOUND to device-data-volume-subscriptions creation
- Aligned with CAMARA Commonalities r4.4 (0.9.0) in #81, #113 and #127
- Added sink credential type
PRIVATE_KEY_JWT, and 422 PRIVATE_KEY_JWT_NOT_CONFIGURED for subscription creation - Added 409 ABORTED and 422 MULTIEVENT_COMBINATION_TEMPORARILY_NOT_SUPPORTED for subscription creation
- Added sink credential type
- Refactored test cases for updated API definitions by @eric-murray in #130
- Added additional test cases and fixed typos in the existing ones
- Added 429 error test cases for createDeviceDataVolumeSubscription operations
- Added 401 error test cases for all operations
- Added 422 error test cases for createDeviceDataVolumeSubscription operations
- Added additional test cases and fixed typos in the existing ones
- Added additional device data volume status subscription list scenarios and moved to separate feature file by @eric-murray in #103 and #110
Changed
- Improved API documentation by @eric-murray in #129 and #145
- Clarified that threshold events trigger when the remaining data allowance is equal to the threshold
- Updated response reference for unprocessable entity and improved initialEvent description by @eric-murray in #138
- With
initialEventset to true, an initial event is only sent if the remaining data allowance equals the threshold when the subscription is created
- With
- Refactored test cases for updated API definitions by @eric-murray in #130
- Moved test definitions to separate files for each defined operation
- Renamed data allowance consumption events for clarity by @eric-murray in #106
- Aligned with CAMARA Commonalities r4.4 (0.9.0) in #81, #113, #114, #127 and #162
- GET /subscriptions returns a paginated list (see Breaking changes)
- Request bodies with properties that are not declared in the specification are rejected with 400 INVALID_ARGUMENT
subscriptionMaxEventsis limited to 1000000, andpublicPortstarts at 1 instead of 0- Subscription identifiers are no longer declared with
format: uuid
Fixed
- Documentation fixes for Sync26 by @eric-murray in #104
Removed
- Aligned with CAMARA Commonalities r4.4 (0.9.0) in #81
- Removed sink credential types
PLAINandREFRESHTOKEN, and all protocols other thanHTTP- Not breaking: 0.1.0 already allowed only
ACCESSTOKENandHTTP
- Not breaking: 0.1.0 already allowed only
- Removed
SUBSCRIPTION_UNPROCESSABLEfrom theterminationReasonvalues of thesubscription-endedevent
- Removed sink credential types
device-data-volume 0.2.0
device-data-volume 0.2.0 is an initial public version of this API.
Changes documented below are compared to version 0.1.0.
- API definition with inline documentation:
Breaking changes
- Refactor device-data-volume for simpler and more intuitive behaviour in #107
- Use MB/GB instead of MiB/GiB for data allowances
- Return remaining data allowance rather than data allowance category, allowing "Unlimited" as a response option
- Properties renamed for clarity:
Added
- Refactored test cases for updated API definitions by @eric-murray in #130
- Added additional test cases and fixed typos in the existing ones
- Added 401 and 429 error test cases for checkDataVolume and retrieveDataVolume
- Added additional test cases and fixed typos in the existing ones
- Added lastStatusTime field to successful responses with examples by @eric-murray in #89
- Updated happy path tests to include validation of lastStatusTime property by @eric-murray in #97
- Added 429 TOO_MANY_REQUESTS and QUOTA_EXCEEDED responses for POST /check and POST /retrieve in #81
Changed
- Improved API documentation by @eric-murray in #129
- Increased maximum data allowance limit by @eric-murray in #126
- The max of
dataAllowanceThreshold.valuein the POST /check request increased from 1024 to 99999
- The max of
- Aligned with CAMARA Commonalities r4.4 (0.9.0) in #81, #127 and #161
- Request bodies with properties that are not declared in the specification are rejected with 400 INVALID_ARGUMENT
publicPortstarts at 1 instead of 0
- Refactored device-data-volume to return data volumes rather than categories, and use MB/GB instead of MiB/GiB by @eric-murray in #107 and #128
Fixed
- Documentation fixes for Sync26 by @eric-murray in #104
Removed
- Removed the OUT_OF_RANGE error response from device-data-volume by @eric-murray in #151 and #161
- Removed 400 OUT_OF_RANGE as a valid error response code for POST /check and POST /retrieve
Full Changelog: r1.3...r2.4