From f3d400a657d030d855979a3af2b7718caa210785 Mon Sep 17 00:00:00 2001 From: Fernando Prado Date: Tue, 19 Aug 2025 14:11:39 +0200 Subject: [PATCH 01/19] align with commonalities --- .../sim-swap-subscriptions.yaml | 32 +++++++++++-------- code/API_definitions/sim-swap.yaml | 16 +++++----- 2 files changed, 27 insertions(+), 21 deletions(-) diff --git a/code/API_definitions/sim-swap-subscriptions.yaml b/code/API_definitions/sim-swap-subscriptions.yaml index 090e745..b6744f4 100644 --- a/code/API_definitions/sim-swap-subscriptions.yaml +++ b/code/API_definitions/sim-swap-subscriptions.yaml @@ -96,14 +96,14 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 0.3.0-rc.1 + version: 0.3.0 x-camara-commonalities: 0.6 externalDocs: description: Product documentation at CAMARA url: https://github.com/camaraproject/ servers: - - url: '{apiRoot}/sim-swap-subscriptions/v0.3-rc1' + - url: '{apiRoot}/sim-swap-subscriptions/v0.3' variables: apiRoot: default: http://localhost:9091 @@ -362,19 +362,19 @@ components: ErrorInfo: type: object required: + - message - status - code - - message properties: + message: + type: string + description: A human-readable description of what the event represents status: type: integer description: HTTP response status code code: type: string - description: Code given to this error - message: - type: string - description: Detailed error description + description: A human-readable code to describe the error SubscriptionRequest: description: The request for creating a sim swap event subscription @@ -444,7 +444,7 @@ components: type: string format: date-time example: 2025-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. It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone. Up to API project decision to keep it. subscriptionMaxEvents: type: integer description: | @@ -499,7 +499,11 @@ components: accessTokenExpiresUtc: type: string format: date-time - description: REQUIRED. An absolute (UTC) timestamp at which the token shall be considered expired. In the case of an ACCESS_TOKEN_EXPIRED termination reason, implementation should notify the client before the expiration date. + description: | + REQUIRED. An absolute (UTC) timestamp at which the token shall be considered expired. + In the case of an ACCESS_TOKEN_EXPIRED termination reason, implementation should notify the client before the expiration date. + If the access token is a JWT and registered "exp" (Expiration Time) claim is present, the two expiry times should match. + It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone. accessTokenType: description: REQUIRED. Type of the access token (See [OAuth 2.0](https://tools.ietf.org/html/rfc6749#section-7.1)). type: string @@ -522,7 +526,11 @@ components: accessTokenExpiresUtc: type: string format: date-time - description: REQUIRED. An absolute UTC instant at which the token shall be considered expired. + description: | + REQUIRED. An absolute (UTC) timestamp at which the token shall be considered expired. + In the case of an ACCESS_TOKEN_EXPIRED termination reason, implementation should notify the client before the expiration date. + If the access token is a JWT and registered "exp" (Expiration Time) claim is present, the two expiry times should match. + It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone. accessTokenType: description: REQUIRED. Type of the access token (See [OAuth 2.0](https://tools.ietf.org/html/rfc6749#section-7.1)). type: string @@ -609,7 +617,6 @@ components: description: | Date when the event subscription will begin/began It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone. - Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z) type: string format: date-time example: "2023-07-03T12:27:08.312Z" @@ -619,7 +626,6 @@ components: description: | Date when the event subscription will expire. Only provided when `subscriptionExpireTime` is indicated by API client or Telco Operator has specific policy about that. It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone. - Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z) example: "2023-07-03T12:27:08.312Z" status: type: string @@ -716,7 +722,7 @@ components: DateTime: type: string format: date-time - description: Timestamp of when the occurrence happened. Must adhere to RFC 3339. + description: Timestamp of when the occurrence happened. It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone. example: "2018-04-05T17:31:00Z" EventSimSwap: diff --git a/code/API_definitions/sim-swap.yaml b/code/API_definitions/sim-swap.yaml index 5d3bbe3..4844c0f 100644 --- a/code/API_definitions/sim-swap.yaml +++ b/code/API_definitions/sim-swap.yaml @@ -77,13 +77,13 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 2.1.0-rc.2 + version: 2.1.0 x-camara-commonalities: 0.6 externalDocs: description: Product documentation at Camara url: https://github.com/camaraproject/SimSwap servers: - - url: "{apiRoot}/sim-swap/v2rc2" + - url: "{apiRoot}/sim-swap/v2" variables: apiRoot: default: http://localhost:9091 @@ -225,7 +225,7 @@ components: latestSimChange: type: string format: date-time - description: Timestamp of latest SIM swap performed. It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone. Recommended format is yyyy-MM-dd'T'HH:mm:ss.SSSZ (i.e. which allows 2023-07-03T14:27:08.312+02:00 or 2023-07-03T12:27:08.312Z) + description: Timestamp of latest SIM swap performed. It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone. nullable: true example: "2023-07-03T14:27:08.312+02:00" monitoredPeriod: @@ -249,19 +249,19 @@ components: ErrorInfo: type: object required: + - message - status - code - - message properties: + message: + type: string + description: A human-readable description of what the event represents status: type: integer description: HTTP response status code code: type: string - description: Code given to this error - message: - type: string - description: Detailed error description + description: A human-readable code to describe the error CreateCheckSimSwap: type: object properties: From 3bb1c1c012f8e08fd97967e6ccf18a06ab87f137 Mon Sep 17 00:00:00 2001 From: Fernando Prado Date: Tue, 19 Aug 2025 14:45:12 +0200 Subject: [PATCH 02/19] update version in test plans --- .../sim-swap-checkSimSwap.feature | 16 +++++++++++++--- .../sim-swap-retrieveSimSwapDate.feature | 6 +++--- .../sim-swap-subscriptions.feature | 6 +++--- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/code/Test_definitions/sim-swap-checkSimSwap.feature b/code/Test_definitions/sim-swap-checkSimSwap.feature index 2ddc06d..74cb690 100644 --- a/code/Test_definitions/sim-swap-checkSimSwap.feature +++ b/code/Test_definitions/sim-swap-checkSimSwap.feature @@ -1,15 +1,15 @@ -Feature: CAMARA SIM Swap API, v2.1.0-rc.2 - Operation checkSimSwap +Feature: CAMARA SIM Swap API, v2.1.0 - Operation checkSimSwap # Input to be provided by the implementation to the tester # # Testing assets: # - # References to OAS spec schemas refer to schemas specifies in sim_swap.yaml, version v2.1.0-rc.2 + # References to OAS spec schemas refer to schemas specifies in sim_swap.yaml, version v2.1.0 # # check if SIM swap has been performed during a past period Background: Common checkSimSwap setup - Given the resource "sim-swap/v2rc2/check" + Given the resource "sim-swap/v2/check" 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" @@ -185,3 +185,13 @@ Feature: CAMARA SIM Swap API, v2.1.0-rc.2 - Operation checkSimSwap And the response property "$.status" is 400 And the response property "$.code" is "OUT_OF_RANGE" And the response property "$.message" contains a user friendly text + + @check_sim_swap_400.4_max_age_out_of_monitored_period + Scenario: Check that the response shows an error when the max age is above the supported monitored period of the API Provider + # This test only applies if the API Provider has a restricted monitored period by local regulations + Given the request body property "$.maxAge" is set to a valid value above the supported monitored period of the API Provider + When the request "checkSimSwap" is sent + Then the response status code is 400 + And the response property "$.status" is 400 + And the response property "$.code" is "OUT_OF_RANGE" + And the response property "$.message" contains a user friendly text diff --git a/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature b/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature index 2c42922..d635bfc 100644 --- a/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature +++ b/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature @@ -1,15 +1,15 @@ -Feature: CAMARA SIM Swap API, v2.1.0-rc.2 - Operation retrieveSimSwapDate +Feature: CAMARA SIM Swap API, v2.1.0 - Operation retrieveSimSwapDate # Input to be provided by the implementation to the tester # # Testing assets: # - # References to OAS spec schemas refer to schemas specifies in sim_swap.yaml, version v2.1.0-rc.2 + # References to OAS spec schemas refer to schemas specifies in sim_swap.yaml, version v2.1.0 # # Get timestamp of last MSISDN <-> IMSI pairing change for the provided phone number. Background: Common retrieveSimSwapDate setup - Given the resource "sim-swap/v2rc2/retrieve-date" + Given the resource "sim-swap/v2/retrieve-date" 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" diff --git a/code/Test_definitions/sim-swap-subscriptions.feature b/code/Test_definitions/sim-swap-subscriptions.feature index a9726ef..b0ff1f9 100644 --- a/code/Test_definitions/sim-swap-subscriptions.feature +++ b/code/Test_definitions/sim-swap-subscriptions.feature @@ -1,4 +1,4 @@ -Feature: CAMARA sim swap subscriptions API, v0.3.0-rc.1 +Feature: CAMARA sim swap subscriptions API, v0.3.0 # Input to be provided by the implementation to the tester # # Testing assets: @@ -6,10 +6,10 @@ Feature: CAMARA sim swap subscriptions API, v0.3.0-rc.1 # * Be able to perform a sim swap for this mobile line shifting from sim card 1 to sim card 2 # * a callback url identified as "callbackUrl" allows to receive notification # - # References to OAS spec schemas refer to schemas specifies in sim-swap-subscriptions.yaml, version v0.3.0-rc.1 + # References to OAS spec schemas refer to schemas specifies in sim-swap-subscriptions.yaml, version v0.3.0 Background: Common subscriptions setup - Given the resource "/sim-swap-subscriptions/v0.3rc1/subscriptions" as BaseURL + Given the resource "/sim-swap-subscriptions/v0.3/subscriptions" as BaseURL 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" From 28cec565c1f94e6c9d4ff3bf56e2e5bd9c351114 Mon Sep 17 00:00:00 2001 From: Fernando Prado Date: Tue, 19 Aug 2025 14:47:22 +0200 Subject: [PATCH 03/19] update api-readiness-checklists --- .../API_documentation/sim-swap-API-Readiness-Checklist.md | 6 +++--- .../sim-swap-subscriptions-API-Readiness-Checklist.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/documentation/API_documentation/sim-swap-API-Readiness-Checklist.md b/documentation/API_documentation/sim-swap-API-Readiness-Checklist.md index 6a2411d..0aa829f 100644 --- a/documentation/API_documentation/sim-swap-API-Readiness-Checklist.md +++ b/documentation/API_documentation/sim-swap-API-Readiness-Checklist.md @@ -1,12 +1,12 @@ # API Readiness Checklist -Checklist for sim-swap 2.1.0-rc.2 in r3.1 +Checklist for sim-swap 2.1.0 in r3.2 | Nr | API release assets | alpha | release-candidate | initial
public | stable
public | Status | Reference information | |----|----------------------------------------------|:-----:|:-----------------:|:-------:|:------:|:----:|:----:| | 1 | API definition | M | M | M | M | Y | [relative link](code/API_definitions/sim-swap.yaml) | -| 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.2](https://github.com/camaraproject/Commonalities/releases/tag/r3.2) | -| 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.2](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.2) | +| 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/Commonalities/releases/tag/r3.3) | +| 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.3) | | 4 | API versioning convention applied | M | M | M | M | Y | | | 5 | API documentation | M | M | M | M | Y | Embed documentation into API spec - [link](/code/API_definitions/sim-swap.yaml) | | 6 | User stories | O | O | O | M | Y | [check](/documentation/API_documentation/SIM-Swap_check_User_Story.md) [retrieve](/documentation/API_documentation/SIM-Swap_retrieve_User_Story.md) | diff --git a/documentation/API_documentation/sim-swap-subscriptions-API-Readiness-Checklist.md b/documentation/API_documentation/sim-swap-subscriptions-API-Readiness-Checklist.md index 084d04a..05432b0 100644 --- a/documentation/API_documentation/sim-swap-subscriptions-API-Readiness-Checklist.md +++ b/documentation/API_documentation/sim-swap-subscriptions-API-Readiness-Checklist.md @@ -1,12 +1,12 @@ # API Readiness Checklist -Checklist for sim-swap-subscriptions 0.3.0-rc.1 in r3.1 +Checklist for sim-swap-subscriptions 0.3.0 in r3.2 | Nr | API release assets | alpha | release-candidate | initial
public | stable
public | Status | Reference information | |----|----------------------------------------------|:-----:|:-----------------:|:-------:|:------:|:----:|:----:| | 1 | API definition | M | M | M | M | Y | [relative link](code/API_definitions/sim-swap-subscriptions.yaml) | -| 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.2](https://github.com/camaraproject/Commonalities/releases/tag/r3.2) | -| 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.2](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.2) | +| 2 | Design guidelines from Commonalities applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/Commonalities/releases/tag/r3.3) | +| 3 | Guidelines from ICM applied | O | M | M | M | Y | [r3.3](https://github.com/camaraproject/IdentityAndConsentManagement/releases/tag/r3.3) | | 4 | API versioning convention applied | M | M | M | M | Y | | | 5 | API documentation | M | M | M | M | Y | Embedded documentation into API spec - [link](/code/API_definitions/sim-swap.yaml) | | 6 | User stories | O | O | O | M | N | | From 5aaf0bd30c2e63f3631161e8338a65c33c83f44e Mon Sep 17 00:00:00 2001 From: Fernando Prado Date: Tue, 19 Aug 2025 15:14:36 +0200 Subject: [PATCH 04/19] readme and changelog --- CHANGELOG.md | 44 ++++++++++++++++++++++++++++++++++++++++++-- README.md | 18 +++++++++--------- 2 files changed, 51 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee0b735..043df50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,10 +2,11 @@ ## Table of contents +- **[r3.2](#r32) Fall25** - **[r3.1](#r31)** -- **[r2.2](#r22)** +- **[r2.2](#r22) Spring25** - **[r2.1](#r21)** -- **[r1.3](#r13)** +- **[r1.3](#r13) Fall24** - **[r1.2](#r12)** - **[r1.1](#r11)** - **[v0.4.0](#v040)** @@ -19,6 +20,45 @@ The below sections record the changes for each API version in each release as fo * for subsequent release-candidate(s), only the delta to the previous release-candidate * for a public release, the consolidated changes since the previous public release +# r3.2 + +This release contains the definition and documentation of +* sim-swap 2.1.0 +* sim-swap-subscriptions 0.3.0 + +The API definition(s) are based on +* Commonalities v0.6.0 +* Identity and Consent Management v0.4.0 + +## sim-swap 2.1.0 + +**sim-swap v2.1.0 is the public release of the Sim Swap API** + +- API definition **with inline documentation**: + - [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.2/code/API_definitions/sim-swap.yaml&nocors) + - [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.2/code/API_definitions/sim-swap.yaml) + - OpenAPI [YAML spec file](https://github.com/camaraproject/SimSwap/blob/r3.2/code/API_definitions/sim-swap.yaml) + +### Added +* Include new test scenario to check maxAge outside of monitored period by @fernandopradocabrillo in https://github.com/camaraproject/SimSwap/pull/227 + +### Changed +* Align date-time definition with latest Commonalities by @fernandopradocabrillo in https://github.com/camaraproject/SimSwap/pull/227 + + +## Sim Swap Subscriptions v0.3.0 + +**sim-swap-subscriptions v0.3.0 is the public release of the Sim Swap Subscriptions API** + +- API definition **with inline documentation**: + - OpenAPI [YAML spec file](https://github.com/camaraproject/SimSwap/blob/r3.2/code/API_definitions/sim-swap-subscriptions.yaml) + - [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.2/code/API_definitions/sim-swap-subscriptions.yaml&nocors) + - [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.2/code/API_definitions/sim-swap-subscriptions.yaml) + +### Changed +* Align date-time definition with latest Commonalities by @fernandopradocabrillo in https://github.com/camaraproject/SimSwap/pull/227 + + # r3.1 This release contains the definition and documentation of diff --git a/README.md b/README.md index 2450523..924c311 100644 --- a/README.md +++ b/README.md @@ -25,17 +25,17 @@ Incubating API Repository to evolve and maintain the definitions and documentati ## Status and released versions * Note: 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 a new release is created. For example, changes may be reverted before a release is created. **For best results, use the latest available release**. -* `NEW`: Pre-release r3.1 features the following APIs: - * version 2.1.0-rc.2 of the **API sim-swap** - available [here](https://github.com/camaraproject/SimSwap/tree/r3.1) +* `NEW`: Public release r3.2 features the following APIs: + * version 2.1.0 of the **API sim-swap** - available [here](https://github.com/camaraproject/SimSwap/tree/r3.2) * API definitions **with inline documentation**: - * OpenAPI [YAML](https://github.com/camaraproject/SimSwap/blob/r3.1/code/API_definitions/sim-swap.yaml) - * [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.1/code/API_definitions/sim-swap.yaml&nocors) - * [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.1/code/API_definitions/sim-swap.yaml) - * version 0.3.0-rc.1 of the **API sim-swap-subscriptions** - available [here](https://github.com/camaraproject/SimSwap/tree/r3.1) + * OpenAPI [YAML](https://github.com/camaraproject/SimSwap/blob/r3.2/code/API_definitions/sim-swap.yaml) + * [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.2/code/API_definitions/sim-swap.yaml&nocors) + * [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.2/code/API_definitions/sim-swap.yaml) + * version 0.3.0 of the **API sim-swap-subscriptions** - available [here](https://github.com/camaraproject/SimSwap/tree/r3.2) * API definitions **with inline documentation**: - * OpenAPI [YAML](https://github.com/camaraproject/SimSwap/blob/r3.1/code/API_definitions/sim-swap-subscriptions.yaml) - * [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.1/code/API_definitions/sim-swap-subscriptions.yaml&nocors) - * [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.1/code/API_definitions/sim-swap-subscriptions.yaml) + * OpenAPI [YAML](https://github.com/camaraproject/SimSwap/blob/r3.2/code/API_definitions/sim-swap-subscriptions.yaml) + * [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.2/code/API_definitions/sim-swap-subscriptions.yaml&nocors) + * [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.2/code/API_definitions/sim-swap-subscriptions.yaml) * Previous Public release r2.2 features the following APIs: * version 2.0.0 of the **API sim-swap** - available [here](https://github.com/camaraproject/SimSwap/tree/r2.2) From 4c98a173fa9cbc4c92c4f122797dd9a0b4254bb7 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 26 Aug 2025 09:28:02 +0200 Subject: [PATCH 05/19] Update sim-swap-checkSimSwap.feature From 58b1b52c97ceeb0008dfd97458740ba5a2a37349 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 26 Aug 2025 09:28:59 +0200 Subject: [PATCH 06/19] Changed orderInfo sorting --- code/API_definitions/sim-swap-subscriptions.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/API_definitions/sim-swap-subscriptions.yaml b/code/API_definitions/sim-swap-subscriptions.yaml index 8644eae..bfc45f2 100644 --- a/code/API_definitions/sim-swap-subscriptions.yaml +++ b/code/API_definitions/sim-swap-subscriptions.yaml @@ -362,9 +362,9 @@ components: ErrorInfo: type: object required: - - message - status - code + - message properties: message: type: string @@ -1454,3 +1454,4 @@ components: startsAt: '2024-06-07T16:10:15.302Z' expiresAt: '2024-06-07T16:10:15.302Z' status: ACTIVATION_REQUESTED + From 702aebd47aca37bb68f0b13efeca70f3c9c2c754 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 26 Aug 2025 09:29:58 +0200 Subject: [PATCH 07/19] Changer OrderInfo sorting --- code/API_definitions/sim-swap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/API_definitions/sim-swap.yaml b/code/API_definitions/sim-swap.yaml index 4844c0f..2c44aae 100644 --- a/code/API_definitions/sim-swap.yaml +++ b/code/API_definitions/sim-swap.yaml @@ -249,9 +249,9 @@ components: ErrorInfo: type: object required: - - message - status - code + - message properties: message: type: string From 20fc9b2adf6467a62929982e8e7346316ba41cae Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 26 Aug 2025 09:32:28 +0200 Subject: [PATCH 08/19] Update sim-swap-subscriptions.yaml --- code/API_definitions/sim-swap-subscriptions.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/code/API_definitions/sim-swap-subscriptions.yaml b/code/API_definitions/sim-swap-subscriptions.yaml index bfc45f2..27376c5 100644 --- a/code/API_definitions/sim-swap-subscriptions.yaml +++ b/code/API_definitions/sim-swap-subscriptions.yaml @@ -1454,4 +1454,3 @@ components: startsAt: '2024-06-07T16:10:15.302Z' expiresAt: '2024-06-07T16:10:15.302Z' status: ACTIVATION_REQUESTED - From ba8643b6d2009054f40d7d5078c05f7ce67f4820 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 26 Aug 2025 09:33:31 +0200 Subject: [PATCH 09/19] Make linting smiling for sim-swap-checkSimSwap.feature --- code/Test_definitions/sim-swap-checkSimSwap.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Test_definitions/sim-swap-checkSimSwap.feature b/code/Test_definitions/sim-swap-checkSimSwap.feature index 74cb690..3305d2e 100644 --- a/code/Test_definitions/sim-swap-checkSimSwap.feature +++ b/code/Test_definitions/sim-swap-checkSimSwap.feature @@ -185,7 +185,7 @@ Feature: CAMARA SIM Swap API, v2.1.0 - Operation checkSimSwap And the response property "$.status" is 400 And the response property "$.code" is "OUT_OF_RANGE" And the response property "$.message" contains a user friendly text - + @check_sim_swap_400.4_max_age_out_of_monitored_period Scenario: Check that the response shows an error when the max age is above the supported monitored period of the API Provider # This test only applies if the API Provider has a restricted monitored period by local regulations From 47aa49002c5f47d3ec1871196326298cdb826818 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 26 Aug 2025 10:50:08 +0200 Subject: [PATCH 10/19] Update sim-swap-subscriptions.yaml remove Up to API project decision to keep it --- code/API_definitions/sim-swap-subscriptions.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/API_definitions/sim-swap-subscriptions.yaml b/code/API_definitions/sim-swap-subscriptions.yaml index 27376c5..6710a29 100644 --- a/code/API_definitions/sim-swap-subscriptions.yaml +++ b/code/API_definitions/sim-swap-subscriptions.yaml @@ -443,7 +443,7 @@ components: type: string format: date-time example: 2025-01-17T13:18:23.682Z - description: The subscription expiration time (in date-time format) requested by the API consumer. It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone. Up to API project decision to keep it. + description: The subscription expiration time (in date-time format) requested by the API consumer. It must follow [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) and must have time zone. subscriptionMaxEvents: type: integer description: | @@ -1454,3 +1454,4 @@ components: startsAt: '2024-06-07T16:10:15.302Z' expiresAt: '2024-06-07T16:10:15.302Z' status: ACTIVATION_REQUESTED + From f8fee5b3e7ed3368ca764b722ca1d8b760207ada Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 26 Aug 2025 10:54:18 +0200 Subject: [PATCH 11/19] Update sim-swap-subscriptions.yaml --- code/API_definitions/sim-swap-subscriptions.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/code/API_definitions/sim-swap-subscriptions.yaml b/code/API_definitions/sim-swap-subscriptions.yaml index 6710a29..c8e7f36 100644 --- a/code/API_definitions/sim-swap-subscriptions.yaml +++ b/code/API_definitions/sim-swap-subscriptions.yaml @@ -1454,4 +1454,3 @@ components: startsAt: '2024-06-07T16:10:15.302Z' expiresAt: '2024-06-07T16:10:15.302Z' status: ACTIVATION_REQUESTED - From d284977e8a6b843d753815fde55893ab920f97a6 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Wed, 27 Aug 2025 12:02:09 +0200 Subject: [PATCH 12/19] Update sim-swap-API-Readiness-Checklist.md --- .../API_documentation/sim-swap-API-Readiness-Checklist.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/API_documentation/sim-swap-API-Readiness-Checklist.md b/documentation/API_documentation/sim-swap-API-Readiness-Checklist.md index 0aa829f..811be5f 100644 --- a/documentation/API_documentation/sim-swap-API-Readiness-Checklist.md +++ b/documentation/API_documentation/sim-swap-API-Readiness-Checklist.md @@ -12,7 +12,7 @@ Checklist for sim-swap 2.1.0 in r3.2 | 6 | User stories | O | O | O | M | Y | [check](/documentation/API_documentation/SIM-Swap_check_User_Story.md) [retrieve](/documentation/API_documentation/SIM-Swap_retrieve_User_Story.md) | | 7 | Basic API test cases & documentation | O | M | M | M | Y | [check](/code/Test_definitions/check-sim-swap.feature) [retrieve](/code/Test_definitions/retrieve-sim-swap-date.feature) | | 8 | Enhanced API test cases & documentation | O | O | O | M | Y | [check](/code/Test_definitions/check-sim-swap.feature) [retrieve](/code/Test_definitions/retrieve-sim-swap-date.feature) | -| 9 | Test result statement | O | O | O | M | tbd | see [issue #186](https://github.com/camaraproject/SimSwap/issues/186) | +| 9 | Test result statement | O | O | O | M | tbd | see [issue #233](https://github.com/camaraproject/SimSwap/issues/233) | | 10 | API release numbering convention applied | M | M | M | M | Y | | | 11 | Change log updated | M | M | M | M | Y | [relative link](/CHANGELOG.md) | | 12 | Previous public release was certified | O | O | O | M | Y | [relative link](https://www.open-gateway.gsma.com/operators-map) | From 7fbe2c644fe27289d6a812f4deb52801b255376d Mon Sep 17 00:00:00 2001 From: Fernando Prado Date: Wed, 10 Sep 2025 14:19:37 +0200 Subject: [PATCH 13/19] fix RM comments --- CHANGELOG.md | 24 +++++++++++++++++++ README.md | 2 +- .../sim-swap-subscriptions.yaml | 6 ++--- .../sim-swap-checkSimSwap.feature | 14 ++--------- .../sim-swap-retrieveSimSwapDate.feature | 4 ++-- .../sim-swap-subscriptions.feature | 2 +- .../sim-swap-API-Readiness-Checklist.md | 4 ++-- 7 files changed, 35 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 043df50..c016403 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,11 +40,16 @@ The API definition(s) are based on - OpenAPI [YAML spec file](https://github.com/camaraproject/SimSwap/blob/r3.2/code/API_definitions/sim-swap.yaml) ### Added +* Add a documentation note when regulations prevent less than 100 days for check by @bigludo7 in https://github.com/camaraproject/SimSwap/pull/213 +* Documented Error Responses info.description section by @bigludo7 in https://github.com/camaraproject/SimSwap/pull/221 * Include new test scenario to check maxAge outside of monitored period by @fernandopradocabrillo in https://github.com/camaraproject/SimSwap/pull/227 ### Changed +* Update x-correlator format by @bigludo7 in https://github.com/camaraproject/SimSwap/pull/222 * Align date-time definition with latest Commonalities by @fernandopradocabrillo in https://github.com/camaraproject/SimSwap/pull/227 +### Removed +* Remove AUTHENTICATION_REQUIRED error code by @bigludo7 in https://github.com/camaraproject/SimSwap/pull/216 ## Sim Swap Subscriptions v0.3.0 @@ -55,9 +60,28 @@ The API definition(s) are based on - [View it on ReDoc](https://redocly.github.io/redoc/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.2/code/API_definitions/sim-swap-subscriptions.yaml&nocors) - [View it on Swagger Editor](https://camaraproject.github.io/swagger-ui/?url=https://raw.githubusercontent.com/camaraproject/SimSwap/r3.2/code/API_definitions/sim-swap-subscriptions.yaml) +### Added +* [Sim-Swap-Subscriptions]: Add `type` and `format` for `startsAt` by @maxl2287 in https://github.com/camaraproject/SimSwap/pull/207 +* [Sim-Swap-Subscriptions]: Add `subscriptionMaxEvents` as a config-property by @maxl2287 in https://github.com/camaraproject/SimSwap/pull/204 +* Enhancements Subscription/Notification Architecture by @fernandopradocabrillo in https://github.com/camaraproject/NumberVerification/pull/226 + ### Changed +* Update x-correlator format by @bigludo7 in https://github.com/camaraproject/SimSwap/pull/222 +* Event name from `subscription-ends` to `subscription-ended` by @fernandopradocabrillo in https://github.com/camaraproject/NumberVerification/pull/226 * Align date-time definition with latest Commonalities by @fernandopradocabrillo in https://github.com/camaraproject/SimSwap/pull/227 +### Removed +* [Sim-Swap-Subscriptions]: Remove `phoneNumber` from the required properties in the Swap-Event by @maxl2287 in https://github.com/camaraproject/SimSwap/pull/206 +* [Sim-Swap-Subscriptions]: remove `SUBSCRIPTION_MISMATCH` error-code by @maxl2287 in https://github.com/camaraproject/SimSwap/pull/209 +* Remove AUTHENTICATION_REQUIRED error code by @bigludo7 in https://github.com/camaraproject/SimSwap/pull/216 + +### Fixed +* [Sim-Swap-Subscriptions]: Document that `subscription-ended` notification is also sent when deleted by requester by @maxl2287 in https://github.com/camaraproject/SimSwap/pull/205 + +## New Contributors +* @maxl2287 made their first contribution in https://github.com/camaraproject/SimSwap/pull/208 + +**Full Changelog**: https://github.com/camaraproject/SimSwap/compare/r2.2...r3.2 # r3.1 diff --git a/README.md b/README.md index 924c311..74f9021 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Incubating API Repository to evolve and maintain the definitions and documentati * The latest public release is available here: https://github.com/camaraproject/SimSwap/releases/latest * Other releases of this sub project are available in https://github.com/camaraproject/SimSwap/releases -* For changes see [CHANGELOG.md](https://github.com/camaraproject/Simswap/blob/main/CHANGELOG.md) +* For changes see [CHANGELOG.md](https://github.com/camaraproject/SimSwap/blob/main/CHANGELOG.md) ## Contributing diff --git a/code/API_definitions/sim-swap-subscriptions.yaml b/code/API_definitions/sim-swap-subscriptions.yaml index c8e7f36..28f649f 100644 --- a/code/API_definitions/sim-swap-subscriptions.yaml +++ b/code/API_definitions/sim-swap-subscriptions.yaml @@ -366,15 +366,15 @@ components: - code - message properties: - message: - type: string - description: A human-readable description of what the event represents status: type: integer description: HTTP response status code code: type: string description: A human-readable code to describe the error + message: + type: string + description: A human-readable description of what the event represents SubscriptionRequest: description: The request for creating a sim swap event subscription type: object diff --git a/code/Test_definitions/sim-swap-checkSimSwap.feature b/code/Test_definitions/sim-swap-checkSimSwap.feature index 3305d2e..db1763c 100644 --- a/code/Test_definitions/sim-swap-checkSimSwap.feature +++ b/code/Test_definitions/sim-swap-checkSimSwap.feature @@ -4,12 +4,12 @@ Feature: CAMARA SIM Swap API, v2.1.0 - Operation checkSimSwap # # Testing assets: # - # References to OAS spec schemas refer to schemas specifies in sim_swap.yaml, version v2.1.0 + # References to OAS spec schemas refer to schemas specifies in sim_swap.yaml # # check if SIM swap has been performed during a past period Background: Common checkSimSwap setup - Given the resource "sim-swap/v2/check" + Given the resource "/sim-swap/v2/check" 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" @@ -185,13 +185,3 @@ Feature: CAMARA SIM Swap API, v2.1.0 - Operation checkSimSwap And the response property "$.status" is 400 And the response property "$.code" is "OUT_OF_RANGE" And the response property "$.message" contains a user friendly text - - @check_sim_swap_400.4_max_age_out_of_monitored_period - Scenario: Check that the response shows an error when the max age is above the supported monitored period of the API Provider - # This test only applies if the API Provider has a restricted monitored period by local regulations - Given the request body property "$.maxAge" is set to a valid value above the supported monitored period of the API Provider - When the request "checkSimSwap" is sent - Then the response status code is 400 - And the response property "$.status" is 400 - And the response property "$.code" is "OUT_OF_RANGE" - And the response property "$.message" contains a user friendly text diff --git a/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature b/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature index 9637ec1..758a05d 100644 --- a/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature +++ b/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature @@ -4,12 +4,12 @@ Feature: CAMARA SIM Swap API, v2.1.0 - Operation retrieveSimSwapDate # # Testing assets: # - # References to OAS spec schemas refer to schemas specifies in sim_swap.yaml, version v2.1.0 + # References to OAS spec schemas refer to schemas specifies in sim_swap.yaml # # Get timestamp of last MSISDN <-> IMSI pairing change for the provided phone number. Background: Common retrieveSimSwapDate setup - Given the resource "sim-swap/v2/retrieve-date" + Given the resource "/sim-swap/v2/retrieve-date" 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" diff --git a/code/Test_definitions/sim-swap-subscriptions.feature b/code/Test_definitions/sim-swap-subscriptions.feature index 734efbb..8c59b18 100644 --- a/code/Test_definitions/sim-swap-subscriptions.feature +++ b/code/Test_definitions/sim-swap-subscriptions.feature @@ -6,7 +6,7 @@ Feature: CAMARA sim swap subscriptions API, v0.3.0 # * Be able to perform a sim swap for this mobile line shifting from sim card 1 to sim card 2 # * a callback url identified as "callbackUrl" allows to receive notification # - # References to OAS spec schemas refer to schemas specifies in sim-swap-subscriptions.yaml, version v0.3.0 + # References to OAS spec schemas refer to schemas specifies in sim-swap-subscriptions.yaml Background: Common subscriptions setup Given the resource "/sim-swap-subscriptions/v0.3/subscriptions" as BaseURL diff --git a/documentation/API_documentation/sim-swap-API-Readiness-Checklist.md b/documentation/API_documentation/sim-swap-API-Readiness-Checklist.md index 811be5f..f6adc94 100644 --- a/documentation/API_documentation/sim-swap-API-Readiness-Checklist.md +++ b/documentation/API_documentation/sim-swap-API-Readiness-Checklist.md @@ -10,8 +10,8 @@ Checklist for sim-swap 2.1.0 in r3.2 | 4 | API versioning convention applied | M | M | M | M | Y | | | 5 | API documentation | M | M | M | M | Y | Embed documentation into API spec - [link](/code/API_definitions/sim-swap.yaml) | | 6 | User stories | O | O | O | M | Y | [check](/documentation/API_documentation/SIM-Swap_check_User_Story.md) [retrieve](/documentation/API_documentation/SIM-Swap_retrieve_User_Story.md) | -| 7 | Basic API test cases & documentation | O | M | M | M | Y | [check](/code/Test_definitions/check-sim-swap.feature) [retrieve](/code/Test_definitions/retrieve-sim-swap-date.feature) | -| 8 | Enhanced API test cases & documentation | O | O | O | M | Y | [check](/code/Test_definitions/check-sim-swap.feature) [retrieve](/code/Test_definitions/retrieve-sim-swap-date.feature) | +| 7 | Basic API test cases & documentation | O | M | M | M | Y | [check](/code/Test_definitions/sim-swap-checkSimSwap.feature) [retrieve](/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature) | +| 8 | Enhanced API test cases & documentation | O | O | O | M | Y | [check](/code/Test_definitions/sim-swap-checkSimSwap.feature) [retrieve](/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature) | | 9 | Test result statement | O | O | O | M | tbd | see [issue #233](https://github.com/camaraproject/SimSwap/issues/233) | | 10 | API release numbering convention applied | M | M | M | M | Y | | | 11 | Change log updated | M | M | M | M | Y | [relative link](/CHANGELOG.md) | From 4f008ce228adb7f98de7daa5035b2a6d1ae3c0af Mon Sep 17 00:00:00 2001 From: Fernando Prado Date: Wed, 10 Sep 2025 14:35:39 +0200 Subject: [PATCH 14/19] change PR number for new test --- CHANGELOG.md | 6 +++--- code/API_definitions/sim-swap.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c016403..4d46b9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,11 +42,11 @@ The API definition(s) are based on ### Added * Add a documentation note when regulations prevent less than 100 days for check by @bigludo7 in https://github.com/camaraproject/SimSwap/pull/213 * Documented Error Responses info.description section by @bigludo7 in https://github.com/camaraproject/SimSwap/pull/221 -* Include new test scenario to check maxAge outside of monitored period by @fernandopradocabrillo in https://github.com/camaraproject/SimSwap/pull/227 +* Include new test scenario to check maxAge outside of monitored period by @fernandopradocabrillo in https://github.com/camaraproject/SimSwap/pull/236 ### Changed * Update x-correlator format by @bigludo7 in https://github.com/camaraproject/SimSwap/pull/222 -* Align date-time definition with latest Commonalities by @fernandopradocabrillo in https://github.com/camaraproject/SimSwap/pull/227 +* Align date-time definition with latest Commonalities by @fernandopradocabrillo in https://github.com/camaraproject/SimSwap/pull/229 ### Removed * Remove AUTHENTICATION_REQUIRED error code by @bigludo7 in https://github.com/camaraproject/SimSwap/pull/216 @@ -68,7 +68,7 @@ The API definition(s) are based on ### Changed * Update x-correlator format by @bigludo7 in https://github.com/camaraproject/SimSwap/pull/222 * Event name from `subscription-ends` to `subscription-ended` by @fernandopradocabrillo in https://github.com/camaraproject/NumberVerification/pull/226 -* Align date-time definition with latest Commonalities by @fernandopradocabrillo in https://github.com/camaraproject/SimSwap/pull/227 +* Align date-time definition with latest Commonalities by @fernandopradocabrillo in https://github.com/camaraproject/SimSwap/pull/229 ### Removed * [Sim-Swap-Subscriptions]: Remove `phoneNumber` from the required properties in the Swap-Event by @maxl2287 in https://github.com/camaraproject/SimSwap/pull/206 diff --git a/code/API_definitions/sim-swap.yaml b/code/API_definitions/sim-swap.yaml index 2c44aae..d86322c 100644 --- a/code/API_definitions/sim-swap.yaml +++ b/code/API_definitions/sim-swap.yaml @@ -253,12 +253,12 @@ components: - code - message properties: - message: - type: string - description: A human-readable description of what the event represents status: type: integer description: HTTP response status code + message: + type: string + description: A human-readable description of what the event represents code: type: string description: A human-readable code to describe the error From 6ee62e090743fca9fa240ed10246c6eb08ca908d Mon Sep 17 00:00:00 2001 From: Fernando Prado Date: Thu, 11 Sep 2025 14:19:00 +0200 Subject: [PATCH 15/19] fix wrong alignment --- code/API_definitions/sim-swap.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/API_definitions/sim-swap.yaml b/code/API_definitions/sim-swap.yaml index d86322c..cbdb456 100644 --- a/code/API_definitions/sim-swap.yaml +++ b/code/API_definitions/sim-swap.yaml @@ -256,12 +256,12 @@ components: status: type: integer description: HTTP response status code - message: - type: string - description: A human-readable description of what the event represents code: type: string description: A human-readable code to describe the error + message: + type: string + description: A human-readable description of what the event represents CreateCheckSimSwap: type: object properties: From c768f7eb7a1271443b34d9c3ac3acb2f4d7d5cea Mon Sep 17 00:00:00 2001 From: Fernando Prado Cabrillo Date: Wed, 17 Sep 2025 09:42:53 +0200 Subject: [PATCH 16/19] Update code/Test_definitions/sim-swap-checkSimSwap.feature Co-authored-by: Herbert Damker --- code/Test_definitions/sim-swap-checkSimSwap.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Test_definitions/sim-swap-checkSimSwap.feature b/code/Test_definitions/sim-swap-checkSimSwap.feature index 7b173c9..ea1b4e8 100644 --- a/code/Test_definitions/sim-swap-checkSimSwap.feature +++ b/code/Test_definitions/sim-swap-checkSimSwap.feature @@ -4,7 +4,7 @@ Feature: CAMARA SIM Swap API, v2.1.0 - Operation checkSimSwap # # Testing assets: # - # References to OAS spec schemas refer to schemas specifies in sim_swap.yaml + # References to OAS spec schemas refer to schemas specified in sim_swap.yaml # # check if SIM swap has been performed during a past period From 3d69718c2e0a7faad80ab092aa87edc3ef15fc5a Mon Sep 17 00:00:00 2001 From: Fernando Prado Cabrillo Date: Wed, 17 Sep 2025 09:43:00 +0200 Subject: [PATCH 17/19] Update code/Test_definitions/sim-swap-retrieveSimSwapDate.feature Co-authored-by: Herbert Damker --- code/Test_definitions/sim-swap-retrieveSimSwapDate.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature b/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature index 758a05d..07cd54d 100644 --- a/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature +++ b/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature @@ -4,7 +4,7 @@ Feature: CAMARA SIM Swap API, v2.1.0 - Operation retrieveSimSwapDate # # Testing assets: # - # References to OAS spec schemas refer to schemas specifies in sim_swap.yaml + # References to OAS spec schemas refer to schemas specified in sim_swap.yaml # # Get timestamp of last MSISDN <-> IMSI pairing change for the provided phone number. From 0384ba1950db06c556f165be135fe135df400e11 Mon Sep 17 00:00:00 2001 From: Fernando Prado Cabrillo Date: Wed, 17 Sep 2025 09:43:08 +0200 Subject: [PATCH 18/19] Update code/Test_definitions/sim-swap-subscriptions.feature Co-authored-by: Herbert Damker --- code/Test_definitions/sim-swap-subscriptions.feature | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/Test_definitions/sim-swap-subscriptions.feature b/code/Test_definitions/sim-swap-subscriptions.feature index 8c59b18..ef7e792 100644 --- a/code/Test_definitions/sim-swap-subscriptions.feature +++ b/code/Test_definitions/sim-swap-subscriptions.feature @@ -6,7 +6,8 @@ Feature: CAMARA sim swap subscriptions API, v0.3.0 # * Be able to perform a sim swap for this mobile line shifting from sim card 1 to sim card 2 # * a callback url identified as "callbackUrl" allows to receive notification # - # References to OAS spec schemas refer to schemas specifies in sim-swap-subscriptions.yaml + # References to OAS spec schemas refer to schemas specified in sim-swap-subscriptions.yaml + Background: Common subscriptions setup Given the resource "/sim-swap-subscriptions/v0.3/subscriptions" as BaseURL From 8fab5e916892cfbe878fbcccd7f1362f4d5aa0b7 Mon Sep 17 00:00:00 2001 From: Fernando Prado Cabrillo Date: Wed, 17 Sep 2025 09:51:29 +0200 Subject: [PATCH 19/19] Update code/Test_definitions/sim-swap-subscriptions.feature --- code/Test_definitions/sim-swap-subscriptions.feature | 1 - 1 file changed, 1 deletion(-) diff --git a/code/Test_definitions/sim-swap-subscriptions.feature b/code/Test_definitions/sim-swap-subscriptions.feature index ef7e792..1e64169 100644 --- a/code/Test_definitions/sim-swap-subscriptions.feature +++ b/code/Test_definitions/sim-swap-subscriptions.feature @@ -8,7 +8,6 @@ Feature: CAMARA sim swap subscriptions API, v0.3.0 # # References to OAS spec schemas refer to schemas specified in sim-swap-subscriptions.yaml - Background: Common subscriptions setup Given the resource "/sim-swap-subscriptions/v0.3/subscriptions" as BaseURL And the header "Content-Type" is set to "application/json"