Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ab95da8
Update device-reachability-status-subscriptions.yaml
eric-murray Aug 28, 2025
5f8fd2a
Update device-reachability-status.yaml
eric-murray Aug 28, 2025
da3c825
Update device-reachability-status-subscriptions-createDeviceReachabil…
eric-murray Aug 28, 2025
3313d9f
Update device-reachability-status-subscriptions-deleteDeviceReachabil…
eric-murray Aug 28, 2025
6b749eb
Update device-reachability-status-subscriptions-retrieveDeviceReachab…
eric-murray Aug 28, 2025
4c4e8c7
Update device-reachability-status-subscriptions-retrieveDeviceReachab…
eric-murray Aug 28, 2025
a13ac08
Update device-reachability-status.feature
eric-murray Aug 28, 2025
347ee40
Update device-reachability-status-API-Readiness-Checklist.md
eric-murray Aug 28, 2025
554d997
Update device-reachability-status-subscriptions-API-Readiness-Checkli…
eric-murray Aug 28, 2025
c1f6c12
Update CHANGELOG.md
eric-murray Aug 28, 2025
9fe6f69
Update README.md
eric-murray Aug 28, 2025
efdc0f7
Update device-reachability-status-API-Readiness-Checklist.md
eric-murray Aug 28, 2025
2c7f183
Merge branch 'camaraproject:main' into eric-murray-patch-1
eric-murray Sep 4, 2025
71ad414
Update README.md
sachinvodafone Sep 10, 2025
17b1744
Update code/Test_definitions/device-reachability-status.feature
sachinvodafone Sep 10, 2025
59fca65
Update code/Test_definitions/device-reachability-status-subscriptions…
sachinvodafone Sep 10, 2025
efa0f02
Update code/Test_definitions/device-reachability-status-subscriptions…
bigludo7 Sep 10, 2025
0d00d11
Update code/Test_definitions/device-reachability-status-subscriptions…
bigludo7 Sep 10, 2025
562d559
Update code/Test_definitions/device-reachability-status-subscriptions…
bigludo7 Sep 10, 2025
595fc9b
Update device-reachability-status-subscriptions-createDeviceReachabil…
bigludo7 Sep 10, 2025
f04ed80
Update device-reachability-status-subscriptions-deleteDeviceReachabil…
bigludo7 Sep 10, 2025
17c5e68
Update device-reachability-status-subscriptions-retrieveDeviceReachab…
bigludo7 Sep 10, 2025
0bbe505
Update device-reachability-status-subscriptions-retrieveDeviceReachab…
bigludo7 Sep 10, 2025
df82c5a
Update device-reachability-status.feature
bigludo7 Sep 10, 2025
ff7569a
Removed Up to API project decision to keep it.
bigludo7 Sep 10, 2025
f72e975
Update device-reachability-status-subscriptions.yaml
bigludo7 Sep 15, 2025
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
68 changes: 68 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Changelog DeviceReachabilityStatus
## Table of Contents
- **[r1.2](#r12)**
- [r1.1](#r11)

**Please be aware that the project will have frequent updates to the main branch. There are no compatibility guarantees associated with code in any branch, including main, until it has been released. For example, changes may be reverted before a release is published. For the best results, use the latest published release.**
Expand All @@ -12,6 +13,73 @@ The below sections record the changes for each API version in each release as fo
- for a public release, the consolidated changes since the previous public release

Note: this API had former releases in the [DeviceStatus](https://github.com/camaraproject/DeviceStatus) repository

# r1.2
## Release Notes

This public release contains the definition and documentation of
* device-reachability-status v1.1.0
* device-reachability-status-subscriptions v0.8.0

The API definition(s) are based on
* Commonalities v0.6.0 (r3.3)
* Identity and Consent Management v0.4.0 (r3.3)

## device-reachability-status v1.1.0

device-reachability-status v1.1.0 is a minor update of the API, and is backward compatible with v1.0.0.

- API definition **with inline documentation**:
- [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/DeviceReachabilityStatus/r1.2/code/API_definitions/device-reachability-status.yaml&nocors)
- [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/DeviceReachabilityStatus/r1.2/code/API_definitions/device-reachability-status.yaml)
- OpenAPI [YAML spec file](https://github.com/camaraproject/DeviceReachabilityStatus/blob/r1.2/code/API_definitions/device-reachability-status.yaml)

### Added

### Changed
* Make lastStatusTime mandatory in 200 responses of the API by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/18
* Update x-correlator schema by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/28
* Update error response documentation in OAS definitions by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/29
* Commonalities alignement for device reachability status by @bigludo7 in https://github.com/camaraproject/DeviceReachabilityStatus/pull/36
* admin: migrate to centralized linting workflows by @hdamker-bot in https://github.com/camaraproject/DeviceReachabilityStatus/pull/39
* Update error schema for compliance with Commonalities r3.3 by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/43

### Fixed
* Fix feature files for compliance with centralised linting rules by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/40

### Removed
* Remove AUTHENTICATION_REQUIRED error code by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/13
* Update OAS and test definitions to remove IDENTIFIER_MISMATCH error code by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/25

## device-reachability-status-subscriptions v0.8.0

- API definition **with inline documentation**:
- [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/DeviceReachabilityStatus/r1.2/code/API_definitions/device-reachability-status-subscriptions.yaml&nocors)
- [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/DeviceReachabilityStatus/r1.2/code/API_definitions/device-reachability-status-subscriptions.yaml)
- OpenAPI [YAML spec file](https://github.com/camaraproject/DeviceReachabilityStatus/blob/r1.2/code/API_definitions/device-reachability-status-subscriptions.yaml)

### Added
* Add subscription started & updated event by @bigludo7 in https://github.com/camaraproject/DeviceReachabilityStatus/pull/34

### Changed
* change sink format to format: uri by @maxl2287 in https://github.com/camaraproject/DeviceReachabilityStatus/pull/17
* Update x-correlator schema by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/28
* Rename subscription-ends event to subscription-ended by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/30
* Update error response documentation in OAS definitions by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/29
* Commonalities alignement for device reachability subscription by @bigludo7 in https://github.com/camaraproject/DeviceReachabilityStatus/pull/36
* admin: migrate to centralized linting workflows by @hdamker-bot in https://github.com/camaraproject/DeviceReachabilityStatus/pull/39
* Update error schema for compliance with Commonalities r3.3 by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/43

### Fixed
* fix: remove "Generic High Entropy Secret" by @maxl2287 in https://github.com/camaraproject/DeviceReachabilityStatus/pull/16
* Fix feature files for compliance with centralised linting rules by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/40

### Removed
* Remove AUTHENTICATION_REQUIRED error code by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/13
* Update OAS and test definitions to remove IDENTIFIER_MISMATCH error code by @eric-murray in https://github.com/camaraproject/DeviceReachabilityStatus/pull/25

**Full Changelog**: https://github.com/camaraproject/DeviceReachabilityStatus/commits/r1.2

# r1.1
## Release Notes

Expand Down
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,18 @@ Incubating API Repository to evolve and maintain the definitions and documentati

## Release Information

The latest public release of the Device Status repository, including the DeviceReachabilityStatus API, is available here: https://github.com/camaraproject/DeviceStatus/releases/latest
<!-- Optional: an explicit listing of the latest (pre-)release with additional information, e.g. links to the API definitions -->
<!-- In addition use/uncomment one or multiple the following alternative options when becoming applicable -->
Pre-releases of this sub project are available in https://github.com/camaraproject/DeviceReachabilityStatus/releases
<!-- The latest public release is available here: https://github.com/camaraproject/DeviceReachabilityStatus/releases/latest -->
<!-- For changes see [CHANGELOG.md](https://github.com/camaraproject/DeviceReachabilityStatus/blob/main/CHANGELOG.md) -->
**NEW**: the latest public release of the DeviceReachabilityStatus repository is available [here](https://github.com/camaraproject/DeviceReachabilityStatus/releases/latest), with the following API versions:**

* **device-reachability-status v1.1.0**
[[YAML]](https://github.com/camaraproject/DeviceReachabilityStatus/blob/r1.2/code/API_definitions/device-reachability-status.yaml)
[[View it on ReDoc]](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/DeviceReachabilityStatus/r1.2/code/API_definitions/device-reachability-status.yaml&nocors)
[[View it on Swagger Editor]](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/DeviceReachabilityStatus/r1.2/code/API_definitions/device-reachability-status.yaml)
* **device-reachability-status-subscriptions v0.8.0**
[[YAML]](https://github.com/camaraproject/DeviceReachabilityStatus/blob/r1.2/code/API_definitions/device-reachability-status-subscriptions.yaml)
[[View it on ReDoc]](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/DeviceReachabilityStatus/r1.2/code/API_definitions/device-reachability-status-subscriptions.yaml&nocors)
[[View it on Swagger Editor]](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/DeviceReachabilityStatus/r1.2/code/API_definitions/device-reachability-status-subscriptions.yaml)

Pre-releases of this sub project are available [here](https://github.com/camaraproject/DeviceReachabilityStatus/releases). For changes see the [change log](/CHANGELOG.md).

## Contributing

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: wip
version: 0.8.0
x-camara-commonalities: 0.6
externalDocs:
description: Product documentation at CAMARA
url: https://github.com/camaraproject/DeviceStatus
url: https://github.com/camaraproject/DeviceReachabilityStatus

servers:
- url: "{apiRoot}/device-reachability-status-subscriptions/vwip"
- url: "{apiRoot}/device-reachability-status-subscriptions/v0.8"
variables:
apiRoot:
default: http://localhost:9091
Expand Down Expand Up @@ -477,16 +477,16 @@ components:
type: string
format: date-time
example: 2023-01-17T13:18:23.682Z
description: The subscription expiration time (in date-time format) requested by the API consumer. Up to API project decision to keep it.
description: The subscription expiration time (in date-time format) requested by the API consumer.
subscriptionMaxEvents:
type: integer
description: Identifies the maximum number of event reports to be generated (>=1) requested by the API consumer - Once this number is reached, the subscription ends. Up to API project decision to keep it.
description: Identifies the maximum number of event reports to be generated (>=1) requested by the API consumer - Once this number is reached, the subscription ends.
minimum: 1
example: 5
initialEvent:
type: boolean
description: |
Set to `true` by API consumer if consumer wants to get an event as soon as the subscription is created and current situation reflects event request.Up to API project decision to keep it.
Set to `true` by API consumer if consumer wants to get an event as soon as the subscription is created and current situation reflects event request.
Example: Consumer subscribes to reachability SMS. If consumer sets initialEvent to true and device is already reachable by SMS, an event is triggered.

SinkCredential:
Expand Down Expand Up @@ -827,7 +827,7 @@ components:

SubscriptionId:
type: string
description: The unique identifier of the subscription in the scope of the subscription manager. When this information is contained within an event notification, this concept SHALL be referred as `subscriptionId` as per [Commonalities Event Notification Model](https://github.com/camaraproject/Commonalities/blob/r2.3/documentation/API-design-guidelines.md#122-event-notification).
description: The unique identifier of the subscription in the scope of the subscription manager. When this information is contained within an event notification, this concept SHALL be referred as subscriptionId as per Commonalities Event Notification Model.
example: qs15-h556-rt89-1298

CloudEvent:
Expand Down
6 changes: 3 additions & 3 deletions code/API_definitions/device-reachability-status.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: wip
version: 1.1.0
x-camara-commonalities: 0.6
externalDocs:
description: Product documentation at CAMARA
url: https://github.com/camaraproject/DeviceStatus
url: https://github.com/camaraproject/DeviceReachabilityStatus

servers:
- url: "{apiRoot}/device-reachability-status/vwip"
- url: "{apiRoot}/device-reachability-status/v1"
variables:
apiRoot:
default: http://localhost:9091
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# device-reachability-status-subscriptions-createDeviceReachabilityStatusSubscription
Feature: Device Reachability Status Subscriptions API, vwip - Operation createDeviceReachabilityStatusSubscription
Feature: Device Reachability Status Subscriptions API, v0.8.0 - Operation createDeviceReachabilityStatusSubscription

# Input to be provided by the implementation to the tester
#
Expand All @@ -11,11 +11,13 @@ Feature: Device Reachability Status Subscriptions API, vwip - Operation createDe
# * A device object where you can turn on/off the SMS or data usage reachability.
# * The known reachability status of the testing device
# * A sink-url identified as "callbackUrl", which receives notifications
# * The apiRoot: API root of the server URL
#
# References to OAS spec schemas refer to schemas specifies in device-reachability-status-subscriptions.yaml

Background: Common Device Reachability Status Subscriptions setup
Given the resource "{apiroot}/device-reachability-status-subscriptions/vwip" as base-url
Given an environment at "apiRoot"
And the resource "/device-reachability-status-subscriptions/v0.8/subscriptions"
And the header "Authorization" is set to a valid access token
And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator"
And the request body is compliant with the OAS schema at "#/component/schemas/SubscriptionRequest"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# device-reachability-status-subscriptions-deleteDeviceReachabilityStatusSubscription
Feature: Device Reachability Status Subscriptions API, vwip - Operation deleteDeviceReachabilityStatusSubscription
Feature: Device Reachability Status Subscriptions API, v0.8.0 - Operation deleteDeviceReachabilityStatusSubscription

# Input to be provided by the implementation to the tester
#
Expand All @@ -11,11 +11,13 @@ Feature: Device Reachability Status Subscriptions API, vwip - Operation deleteDe
# * A device object where you can turn on/off the SMS or data usage reachability.
# * The known reachability status of the testing device
# * A sink-url identified as "callbackUrl", which receives notifications
# * The apiRoot: API root of the server URL
#
# References to OAS spec schemas refer to schemas specifies in device-reachability-status-subscriptions.yaml

Background: Common Device Reachability Status Subscriptions setup
Given the resource "{apiroot}/device-reachability-status-subscriptions/vwip" as base-url
Given an environment at "apiRoot"
And the resource "/device-reachability-status-subscriptions/v0.8/subscriptions"
And the header "Authorization" is set to a valid access token
And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# device-reachability-status-subscriptions-retrieveDeviceReachabilityStatusSubscription
Feature: Device Reachability Status Subscriptions API, vwip - Operation retrieveDeviceReachabilityStatusSubscription
Feature: Device Reachability Status Subscriptions API, v0.8.0 - Operation retrieveDeviceReachabilityStatusSubscription

# Input to be provided by the implementation to the tester
#
Expand All @@ -11,11 +11,13 @@ Feature: Device Reachability Status Subscriptions API, vwip - Operation retrieve
# * A device object where you can turn on/off the SMS or data usage reachability.
# * The known reachability status of the testing device
# * A sink-url identified as "callbackUrl", which receives notifications
# * The apiRoot: API root of the server URL
#
# References to OAS spec schemas refer to schemas specifies in device-reachability-status-subscriptions.yaml

Background: Common Device Reachability Status Subscriptions setup
Given the resource "{apiroot}/device-reachability-status-subscriptions/vwip" as base-url
Given an environment at "apiRoot"
And the resource "/device-reachability-status-subscriptions/v0.8/subscriptions"
And the header "Authorization" is set to a valid access token
And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# device-reachability-status-subscriptions-retrieveDeviceReachabilityStatusSubscriptionList
Feature: Device Reachability Status Subscriptions API, vwip - Operation retrieveDeviceReachabilityStatusSubscriptionList
Feature: Device Reachability Status Subscriptions API, v0.8.0 - Operation retrieveDeviceReachabilityStatusSubscriptionList

# Input to be provided by the implementation to the tester
#
Expand All @@ -11,11 +11,13 @@ Feature: Device Reachability Status Subscriptions API, vwip - Operation retrieve
# * A device object where you can turn on/off the SMS or data usage reachability.
# * The known reachability status of the testing device
# * A sink-url identified as "callbackUrl", which receives notifications
# * The apiRoot: API root of the server URL
#
# References to OAS spec schemas refer to schemas specifies in device-reachability-status-subscriptions.yaml

Background: Common Device Reachability Status Subscriptions setup
Given the resource "{apiroot}/device-reachability-status-subscriptions/vwip" as base-url
Given an environment at "apiRoot"
And the resource "{apiroot}/device-reachability-status-subscriptions/v0.8/subscriptions"
And the header "Authorization" is set to a valid access token
And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator"

Expand Down
6 changes: 4 additions & 2 deletions code/Test_definitions/device-reachability-status.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# device-reachability-status
Feature: CAMARA Device reachability status API, vwip - Operation getReachabilityStatus
Feature: CAMARA Device reachability status API, v1.1.0 - Operation getReachabilityStatus
# Input to be provided by the implementation to the tester
#
# Implementation indications:
Expand All @@ -8,11 +8,13 @@ Feature: CAMARA Device reachability status API, vwip - Operation getReachability
# Testing assets:
# * A device object which reachability status is known by the network when connected.
# * The known reachability status of the testing device
# * The apiRoot: API root of the server URL
#
# References to OAS spec schemas refer to schemas specifies in device-reachability-status.yaml

Background: Common getReachabilityStatus setup
Given the resource "{api-root}/device-reachability-status/vwip/retrieve" set as base-url
Given an environment at "apiRoot"
And the resource "{api-root}/device-reachability-status/v1/retrieve"
And the header "Content-Type" is set to "application/json"
And the header "Authorization" is set to a valid access token
And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator"
Expand Down
Loading