Skip to content

Commit 643b759

Browse files
authored
Merge pull request #41 from eric-murray/eric-murray-patch-3
Release r1.2 (Fall'25 M4)
2 parents 6fe9e64 + 5afc6ac commit 643b759

8 files changed

Lines changed: 105 additions & 31 deletions

CHANGELOG.md

Lines changed: 66 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Changelog ConnectedNetworkType
22
## Table of Contents
3+
- **[r1.2](#r12)**
34
- [r1.1](#r11)
45

56
**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.**
@@ -13,6 +14,70 @@ The below sections record the changes for each API version in each release as fo
1314

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

17+
# r1.2
18+
## Release Notes
19+
20+
This public release contains the definition and documentation of
21+
* connected-network-type v0.2.0
22+
* connected-network-type-subscriptions v0.2.0
23+
24+
The API definition(s) are based on
25+
* Commonalities v0.6.0 (r3.3)
26+
* Identity and Consent Management v0.4.0 (r3.3)
27+
28+
## connected-network-type v0.2.0
29+
30+
- API definition **with inline documentation**:
31+
- [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/ConnectedNetworkType/r1.2/code/API_definitions/connected-network-type.yaml&nocors)
32+
- [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/ConnectedNetworkType/r1.2/code/API_definitions/connected-network-type.yaml)
33+
- OpenAPI [YAML spec file](https://github.com/camaraproject/ConnectedNetworkType/blob/r1.2/code/API_definitions/connected-network-type.yaml)
34+
35+
### Added
36+
37+
### Changed
38+
* Make lastStatusTime mandatory in 200 responses of the API by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/17
39+
* Update x-correlator schema by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/26
40+
* Update error response documentation in OAS definitions by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/27
41+
* Commonalities alignement for connected network type subscription & connected network type by @bigludo7 in https://github.com/camaraproject/ConnectedNetworkType/pull/34
42+
* Fix feature files for compliance with centralised linting rules by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/38
43+
* Further fix for feature files for compliance with centralised linting rules by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/40
44+
* Migrate to centralized linting workflows by @hdamker-bot in https://github.com/camaraproject/ConnectedNetworkType/pull/37
45+
46+
### Fixed
47+
48+
### Removed
49+
* Remove AUTHENTICATION_REQUIRED error code by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/12
50+
* Update OAS and test definitions to remove IDENTIFIER_MISMATCH error code by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/24
51+
52+
## connected-network-type-subscriptions v0.2.0
53+
54+
- API definition **with inline documentation**:
55+
- [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/ConnectedNetworkType/r1.2/code/API_definitions/connected-network-type-subscriptions.yaml&nocors)
56+
- [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/ConnectedNetworkType/r1.2/code/API_definitions/connected-network-type-subscriptions.yaml)
57+
- OpenAPI [YAML spec file](https://github.com/camaraproject/ConnectedNetworkType/blob/r1.2/code/API_definitions/connected-network-type-subscriptions.yaml)
58+
59+
### Added
60+
* Add subscription started & updated events by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/31
61+
62+
### Changed
63+
* change sink format to format: uri by @maxl2287 in https://github.com/camaraproject/ConnectedNetworkType/pull/16
64+
* Update x-correlator schema by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/26
65+
* Rename subscription-ends event to subscription-ended by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/28
66+
* Update error response documentation in OAS definitions by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/27
67+
* Commonalities alignement for connected network type subscription & connected network type by @bigludo7 in https://github.com/camaraproject/ConnectedNetworkType/pull/34
68+
* Fix feature files for compliance with centralised linting rules by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/38
69+
* Further fix for feature files for compliance with centralised linting rules by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/40
70+
* Migrate to centralized linting workflows by @hdamker-bot in https://github.com/camaraproject/ConnectedNetworkType/pull/37
71+
72+
### Fixed
73+
* remove "Generic High Entropy Secret" by @maxl2287 in https://github.com/camaraproject/ConnectedNetworkType/pull/15
74+
75+
### Removed
76+
* Remove AUTHENTICATION_REQUIRED error code by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/12
77+
* Update OAS and test definitions to remove IDENTIFIER_MISMATCH error code by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/24
78+
79+
**Full Changelog**: https://github.com/camaraproject/ConnectedNetworkType/commits/r1.2
80+
1681
# r1.1
1782
## Release Notes
1883

@@ -38,8 +103,8 @@ The API definition(s) are based on
38103
* Update x-correlator schema by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/26
39104
* Update error response documentation in OAS definitions by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/27
40105
* Commonalities alignement for connected network type subscription & connected network type by @bigludo7 in https://github.com/camaraproject/ConnectedNetworkType/pull/34
41-
### Fixed
42106

107+
### Fixed
43108

44109
### Removed
45110
* Remove AUTHENTICATION_REQUIRED error code by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/12
@@ -70,4 +135,3 @@ The API definition(s) are based on
70135
* Update OAS and test definitions to remove IDENTIFIER_MISMATCH error code by @eric-murray in https://github.com/camaraproject/ConnectedNetworkType/pull/24
71136

72137
**Full Changelog**: https://github.com/camaraproject/ConnectedNetworkType/commits/r1.1
73-

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,18 @@ Sandbox API Repository to describe, develop, document, and test the ConnectedNet
2525

2626
## Release Information
2727

28-
The latest public release of the Device Status repository, including the ConnectedNetworkType API, is available here: https://github.com/camaraproject/DeviceStatus/releases/latest
29-
<!-- Optional: an explicit listing of the latest (pre-)release with additional information, e.g. links to the API definitions -->
30-
<!-- In addition use/uncomment one or multiple the following alternative options when becoming applicable -->
31-
Pre-releases of this sub project are available in https://github.com/camaraproject/ConnectedNetworkType/releases
32-
<!-- The latest public release is available here: https://github.com/camaraproject/ConnectedNetworkType/releases/latest -->
33-
<!-- For changes see [CHANGELOG.md](https://github.com/camaraproject/ConnectedNetworkType/blob/main/CHANGELOG.md) -->
28+
**NEW: the latest public release of the ConnectedNetworkType repository is available [here](https://github.com/camaraproject/ConnectedNetworkType/releases/latest), with the following API versions:**
29+
30+
* **connected-network-type v0.2.0**
31+
[[YAML]](https://github.com/camaraproject/ConnectedNetworkType/blob/r1.2/code/API_definitions/connected-network-type.yaml)
32+
[[View it on ReDoc]](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/ConnectedNetworkType/r1.2/code/API_definitions/connected-network-type.yaml&nocors)
33+
[[View it on Swagger Editor]](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/ConnectedNetworkType/r1.2/code/API_definitions/connected-network-type.yaml)
34+
* **connected-network-type-subscriptions v0.2.0**
35+
[[YAML]](https://github.com/camaraproject/ConnectedNetworkType/blob/r1.2/code/API_definitions/connected-network-type-subscriptions.yaml)
36+
[[View it on ReDoc]](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/ConnectedNetworkType/r1.2/code/API_definitions/connected-network-type-subscriptions.yaml&nocors)
37+
[[View it on Swagger Editor]](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/ConnectedNetworkType/r1.2/code/API_definitions/connected-network-type-subscriptions.yaml)
38+
39+
Pre-releases of this sub project are available [here](https://github.com/camaraproject/ConnectedNetworkType/releases). For changes see the [change log](https://github.com/camaraproject/ConnectedNetworkType/blob/main/CHANGELOG.md).
3440

3541
## Contributing
3642

code/API_definitions/connected-network-type-subscriptions.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ info:
2222
- `3G`: if device is connected to the 3G network technology (alternative indicators such as "H" or "H+" may be displayed on the device)
2323
- `4G`: if device is connected to the 4G network technology (alternative indicators such as "LTE" or "LTE+" may be displayed on the device)
2424
- `5G`: if device is connected to the 5G network technology
25-
- `UNKNOWN`: if connection [technology] can not be determined
25+
- `UNKNOWN`: if connection technology can not be determined
2626
2727
# API Functionality
2828
@@ -116,14 +116,14 @@ info:
116116
license:
117117
name: Apache 2.0
118118
url: https://www.apache.org/licenses/LICENSE-2.0.html
119-
version: wip
119+
version: 0.2.0
120120
x-camara-commonalities: 0.6
121121
externalDocs:
122122
description: Product documentation at Camara
123-
url: https://github.com/camaraproject/DeviceStatus
123+
url: https://github.com/camaraproject/ConnectedNetworkType
124124

125125
servers:
126-
- url: "{apiRoot}/connected-network-type-subscriptions/vwip"
126+
- url: "{apiRoot}/connected-network-type-subscriptions/v0.2"
127127
variables:
128128
apiRoot:
129129
default: http://localhost:9091
@@ -163,7 +163,7 @@ paths:
163163
summary: "notifications callback"
164164
description: |
165165
Important: this endpoint is to be implemented by the API consumer.
166-
The Device status server will call this endpoint whenever the connected network type of the device changes.
166+
The connectivity network type status server will call this endpoint whenever the connected network type of the device changes.
167167
operationId: postNotification
168168
parameters:
169169
- $ref: "#/components/parameters/x-correlator"
@@ -423,7 +423,7 @@ components:
423423
types:
424424
description: |
425425
Camara Event types eligible to be delivered by this subscription.
426-
Note: For the current Commonalities API design guidelines, only one event type per subscription is allowed, yet in the following releases use of array of event types SHALL be specified without changing this definition.
426+
Note: As of now we enforce to have only event type per subscription.
427427
type: array
428428
minItems: 1
429429
maxItems: 1
@@ -463,16 +463,16 @@ components:
463463
type: string
464464
format: date-time
465465
example: 2023-01-17T13:18:23.682Z
466-
description: The subscription expiration time (in date-time format) requested by the API consumer. Up to API project decision to keep it.
466+
description: The subscription expiration time (in date-time format) requested by the API consumer.
467467
subscriptionMaxEvents:
468468
type: integer
469-
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.
469+
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.
470470
minimum: 1
471471
example: 5
472472
initialEvent:
473473
type: boolean
474474
description: |
475-
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.
475+
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.
476476
Example: Consumer request area entered event. If consumer sets initialEvent to true and device is already in the geofence, an event is triggered
477477
478478
SinkCredential:
@@ -726,7 +726,7 @@ components:
726726

727727
SubscriptionId:
728728
type: string
729-
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).
729+
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.
730730
example: qs15-h556-rt89-1298
731731

732732
Device:

code/API_definitions/connected-network-type.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ info:
8282
license:
8383
name: Apache 2.0
8484
url: https://www.apache.org/licenses/LICENSE-2.0.html
85-
version: wip
85+
version: 0.2.0
8686
x-camara-commonalities: 0.6
8787
externalDocs:
8888
description: Product documentation at CAMARA
89-
url: https://github.com/camaraproject/DeviceStatus
89+
url: https://github.com/camaraproject/ConnectedNetworkType
9090

9191
servers:
92-
- url: "{apiRoot}/connected-network-type/vwip"
92+
- url: "{apiRoot}/connected-network-type/v0.2"
9393
variables:
9494
apiRoot:
9595
default: http://localhost:9091

code/Test_definitions/connected-network-type-subscriptions.feature

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# connected-network-type-subscriptions
2-
Feature: CAMARA Connected Network Type Subscriptions API, vwip
2+
Feature: CAMARA Connected Network Type Subscriptions API, v0.2.0
33
# Operations createConnectedNetworkTypeSubscription, retrieveConnectedNetworkTypeSubscriptionList, retrieveConnectedNetworkTypeSubscription and deleteConnectedNetworkTypeSubscription
44

55
# Input to be provided by the implementation to the tester
@@ -12,11 +12,13 @@ Feature: CAMARA Connected Network Type Subscriptions API, vwip
1212
# * (optional: Additional devices object which supports 2G, 3G, 4G and/or 5G)
1313
# * The known connected Generation of Mobile Communication Technology.
1414
# * A sink-url identified as "callbackUrl", which receives notifications
15+
# * apiRoot: API root of the server URL
1516
#
1617
# References to OAS spec schemas refer to schemas specifies in connected-network-type-subscriptions.yaml
1718

1819
Background: Connected Network Type Subscriptions setup
19-
Given the resource "{apiroot}/connected-network-type-subscriptions/vwip" as base-url
20+
Given an environment at "apiRoot"
21+
And the resource "/connected-network-type-subscriptions/v0.2"
2022
And the header "Authorization" is set to a valid access token
2123
And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator"
2224

code/Test_definitions/connected-network-type.feature

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# connected-network-type
2-
Feature: CAMARA Connected Network Type API, vwip - Operation getConnectedNetworkType
2+
Feature: CAMARA Connected Network Type API, v0.2.0 - Operation getConnectedNetworkType
33
# Input to be provided by the implementation to the tester
44
#
55
# Implementation indications:
@@ -9,11 +9,13 @@ Feature: CAMARA Connected Network Type API, vwip - Operation getConnectedNetwork
99
# * A device object where the tester can select between multiple network types.
1010
# * (optional: Additional devices object which supports 2G, 3G, 4G and/or 5G)
1111
# * The known connected Generation of Mobile Communication Technology.
12+
# * apiRoot: API root of the server URL
1213
#
1314
# References to OAS spec schemas refer to schemas specifies in connected-network-type.yaml
1415

1516
Background: Common Connected Network Type setup
16-
Given the resource "{api-root}/connected-network-type/vwip/retrieve" set as base-url
17+
Given an environment at "apiRoot"
18+
And the resource "/connected-network-type/v0.2/retrieve"
1719
And the header "Content-Type" is set to "application/json"
1820
And the header "Authorization" is set to a valid access token
1921
And the header "x-correlator" complies with the schema at "#/components/schemas/XCorrelator"

documentation/API_documentation/connected-network-type-API-Readiness-Checklist.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# API Readiness Checklist
22

3-
Checklist for connected-network-type 0.2.0-rc.1 in r1.1.
3+
Checklist for connected-network-type 0.2.0 in r1.2
44

55
| Nr | API release assets | alpha | release-candidate | initial<br>public | stable<br> public | Status | Reference information |
66
|----|----------------------------------------------|:-----:|:-----------------:|:-------:|:------:|:----:|:----:|
77
| 1 | API definition | M | M | M | M | Y | [/code/API_definitions/connected-network-type.yaml](/code/API_definitions/connected-network-type.yaml) |
8-
| 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.2](https://github.com/camaraproject/Commonalities/releases/tag/r3.2) |
9-
| 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.2](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.2) |
8+
| 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/Commonalities/releases/tag/r3.3) |
9+
| 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.3) |
1010
| 4 | API versioning convention applied | M | M | M | M | Y | |
1111
| 5 | API documentation | M | M | M | M | Y | inline in YAML |
1212
| 6 | User stories | O | O | O | M | N | |

documentation/API_documentation/connected-network-type-subscriptions-API-Readiness-Checklist.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# API Readiness Checklist
22

3-
Checklist for connected-network-type-subscriptions 0.2.0-rc.1 in r1.1.
3+
Checklist for connected-network-type-subscriptions 0.2.0 in r1.2
44

55
| Nr | API release assets | alpha | release-candidate | initial<br>public | stable<br> public | Status | Reference information |
66
|----|----------------------------------------------|:-----:|:-----------------:|:-------:|:------:|:----:|:----:|
77
| 1 | API definition | M | M | M | M | Y | [/code/API_definitions/connected-network-type-subscriptions.yaml](/code/API_definitions/connected-network-type-subscriptions.yaml) |
8-
| 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.2](https://github.com/camaraproject/Commonalities/releases/tag/r3.2) |
9-
| 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.2](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.2) |
8+
| 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/Commonalities/releases/tag/r3.3) |
9+
| 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.3) |
1010
| 4 | API versioning convention applied | M | M | M | M | Y | |
1111
| 5 | API documentation | M | M | M | M | Y | inline in YAML |
1212
| 6 | User stories | O | O | O | M | N | |

0 commit comments

Comments
 (0)