Skip to content

r2.3

Latest

Choose a tag to compare

@camara-release-automation camara-release-automation released this 18 Nov 21:10
373d68f

Release Notes

This public release contains the definition and documentation of

  • device-reachability-status-subscriptions 0.9.0
  • device-reachability-status 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)

device-reachability-status-subscriptions 0.9.0

device-reachability-status-subscriptions 0.9.0 is an initial public version of this API.

Changes documented below are compared to version 0.8.0.

Breaking changes

  • Pagination for listing of subscriptions using GET /subscriptions is now supported in #63
    • Addition of page and perPage query parameters to control pagination
    • Returned subscriptions are now embedded in the array subscriptions within the response JSON, with the page tracked within the pagination JSON
    • Addition of response headers X-Total-Count, X-Total-Pages and Link to facilitate page navigation
  • Response code 404 IDENTIFIER_NOT_FOUND added for subscription creation in #92
    • Implementations of 0.8.0 might already have returned this response, as the 0.8.0 test definitions expected it for an unknown device
  • reachability-sms events are now sent when the device is connected for SMS regardless of its data reachability in #101

Added

  • Added scenarios for retrieving subscription lists for the different pagination options by @eric-murray in #86
    • Added new scenarios or update and rename existing scenarios for subscription listing
      • @reachability_status_subscriptions_01_operation_to_retrieve_list_of_subscriptions_2legs
      • @reachability_status_subscriptions_02_operation_to_retrieve_list_of_subscriptions_3legs
      • @reachability_status_subscriptions_04_pagination_default_values
      • @reachability_status_subscriptions_05_pagination_custom_values
      • @reachability_status_subscriptions_06_pagination_middle_page
      • @reachability_status_subscriptions_07_pagination_last_page
      • @reachability_status_subscriptions_retrieve_list_400.01_pagination_invalid_page_parameter
      • @reachability_status_subscriptions_retrieve_list_400.02_pagination_invalid_perPage_parameter
  • Aligned with CAMARA Commonalities r4.4 (0.9.0) by @eric-murray in #63 and #92
    • Added support for sink credential type PRIVATE_KEY_JWT for notification delivery, with the 422 PRIVATE_KEY_JWT_NOT_CONFIGURED error on subscription creation; sinkCredential can be returned in subscription responses
    • Subscription creation declares the additional error codes 404 IDENTIFIER_NOT_FOUND (see Breaking changes) and 422 MULTIEVENT_COMBINATION_TEMPORARILY_NOT_SUPPORTED
    • Added new test scenarios
      • @reachability_status_subscriptions_09_subscription_creation_initial_event
      • @reachability_status_subscriptions_10_create_reachability_status_subscription_sync_with_accesstoken_sink_credential
      • @reachability_status_subscriptions_11_create_reachability_status_subscription_sync_with_private_key_jwt_sink_credential_out_of_band_provisioning
      • @reachability_status_subscriptions_12_create_reachability_status_subscription_sync_with_private_key_jwt_sink_credential_in_band_provisioning
      • @reachability_status_subscriptions_422.02_creation_with_private_key_jwt_not_configured
      • @reachability_status_subscriptions_create_429.01_Too_Many_Requests
      • @reachability_status_subscriptions_create_429.02_Quota_Exceeded
      • @reachability_status_subscriptions_03_Operation_to_retrieve_subscription_based_on_an_existing_subscription-id_access_token_sink_credential_returned
      • @reachability_status_subscriptions_04_Operation_to_retrieve_subscription_based_on_an_existing_subscription-id_private_key_jwt_sink_credential_returned
  • Added scenario for subscription-created event generation by @eric-murray in #103 and #113
    • Defined scenario @reachability_status_subscriptions_03_subscription_creation_event_validation for subscription creation events
    • Renumbered some test scenarios accordingly

Changed

  • Aligned with CAMARA Commonalities r4.4 (0.9.0) by @eric-murray in #63, #90 and #92
    • Pagination for listing of subscriptions using GET /subscriptions is now supported (see Breaking changes)
      • Addition of page and perPage query parameters to control pagination
      • Returned subscriptions are now embedded in the array subscriptions within the response JSON, with the page tracked within the pagination JSON
      • Addition of response headers X-Total-Count, X-Total-Pages and Link to facilitate page navigation
    • Request inputs carry explicit length and range limits, e.g.:
      • x-correlator (256 characters);
      • subscriptionMaxEvents is at most 1000000;
      • device.ipv4Address.publicPort must be at least 1 (0 was allowed before but is not a usable port)
    • Added the info.description section on request body strictness: requests with undeclared properties are rejected with 400 INVALID_ARGUMENT
    • Renumbered some test scenarios
    • Updated examples
  • Improved documentation and fix typos by @eric-murray in #85
  • Clarified that SMS reachability events are sent regardless of data reachability status by @eric-murray in #101
    • reachability-sms events are now sent when the device is connected for SMS regardless of its data reachability; in 0.8.0 they were sent only when the device was connected for SMS only

Fixed

Removed

  • The PLAIN and REFRESHTOKEN sink credential types and the AMQP, KAFKA, MQTT3, MQTT5 and NATS protocol values by @eric-murray in #63
    • Not breaking: 0.8.0 already required credentialType ACCESSTOKEN and allowed only HTTP

device-reachability-status 1.2.0

device-reachability-status 1.2.0 is a minor update of this API.

Changes documented below are compared to version 1.1.0.

Breaking changes

  • N/A

Added

  • Updates for Commonalities r4.4 by @eric-murray in #92
    • Added new test scenarios
      • @device_reachability_status_429.01_Too_Many_Requests
      • @device_reachability_status_429.02_Quota_Exceeded

Changed

  • Aligned with CAMARA Commonalities r4.4 (0.9.0) by @eric-murray in #63, #90 and #92
    • Request inputs carry explicit length and range limits, e.g.:

      • x-correlator (256 characters) and the device identifiers;
      • device.ipv4Address.publicPort must be at least 1 (0 was allowed before but is not a usable port).

      No request that conforms to the documented semantics is rejected

    • connectivity in the response has at most 2 items

    • Updated the info.description template sections and added the section on request body strictness: requests with undeclared properties are rejected with 400 INVALID_ARGUMENT

    • Renamed device-reachability-status.feature to device-reachability-status-getReachabilityStatus.feature

    • Renumbered some test scenarios

    • Updated examples

  • Improved documentation and fixed typos by @eric-murray in #85
  • Clarified LastStatusTime description in YAML by @eric-murray in #51

Fixed

Removed

  • Updates for Commonalities r4.4 by @eric-murray in #92
    • Removed 404 NOT_FOUND as a valid error response code for device-reachability-status (404 IDENTIFIER_NOT_FOUND remains)

Full Changelog: r1.2...r2.3