From b1caeee1ef81bfbd0ba2590ab029623dffb3ee69 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 16 Dec 2025 15:39:30 +0100 Subject: [PATCH 1/7] Back to wip --- code/API_definitions/sim-swap-subscriptions.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/API_definitions/sim-swap-subscriptions.yaml b/code/API_definitions/sim-swap-subscriptions.yaml index 28f649f..75f1253 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 + version: wip x-camara-commonalities: 0.6 externalDocs: description: Product documentation at CAMARA url: https://github.com/camaraproject/ servers: - - url: '{apiRoot}/sim-swap-subscriptions/v0.3' + - url: '{apiRoot}/sim-swap-subscriptions/vwip' variables: apiRoot: default: http://localhost:9091 @@ -1454,3 +1454,4 @@ components: startsAt: '2024-06-07T16:10:15.302Z' expiresAt: '2024-06-07T16:10:15.302Z' status: ACTIVATION_REQUESTED + From 6ea0ed4b2aef71850dd547e7ee5ff7a61e67ac27 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 16 Dec 2025 15:40:16 +0100 Subject: [PATCH 2/7] Update version and server URL in sim-swap.yaml to wip --- code/API_definitions/sim-swap.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/API_definitions/sim-swap.yaml b/code/API_definitions/sim-swap.yaml index cbdb456..3f053d7 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 + version: wip x-camara-commonalities: 0.6 externalDocs: description: Product documentation at Camara url: https://github.com/camaraproject/SimSwap servers: - - url: "{apiRoot}/sim-swap/v2" + - url: "{apiRoot}/sim-swap/vwip" variables: apiRoot: default: http://localhost:9091 From 81f63781d4a9da91221317c1224deeb8c2065cd3 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 16 Dec 2025 15:41:57 +0100 Subject: [PATCH 3/7] Update feature version in sim-swap-checkSimSwap to wip --- code/Test_definitions/sim-swap-checkSimSwap.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Test_definitions/sim-swap-checkSimSwap.feature b/code/Test_definitions/sim-swap-checkSimSwap.feature index 5d37180..db592a6 100644 --- a/code/Test_definitions/sim-swap-checkSimSwap.feature +++ b/code/Test_definitions/sim-swap-checkSimSwap.feature @@ -1,4 +1,4 @@ -Feature: CAMARA SIM Swap API, v2.1.0 - Operation checkSimSwap +Feature: CAMARA SIM Swap API, vwip - Operation checkSimSwap # Input to be provided by the implementation to the tester # @@ -9,7 +9,7 @@ Feature: CAMARA SIM Swap API, v2.1.0 - Operation checkSimSwap # 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/vwip/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" From 4b1502966ada17f6fdccf6700fb21ef200f05dc8 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 16 Dec 2025 15:42:23 +0100 Subject: [PATCH 4/7] Update feature file for retrieveSimSwapDate operation to wip --- code/Test_definitions/sim-swap-retrieveSimSwapDate.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature b/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature index 645b810..c9ac6db 100644 --- a/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature +++ b/code/Test_definitions/sim-swap-retrieveSimSwapDate.feature @@ -1,4 +1,4 @@ -Feature: CAMARA SIM Swap API, v2.1.0 - Operation retrieveSimSwapDate +Feature: CAMARA SIM Swap API, vwip - Operation retrieveSimSwapDate # Input to be provided by the implementation to the tester # @@ -9,7 +9,7 @@ Feature: CAMARA SIM Swap API, v2.1.0 - Operation retrieveSimSwapDate # 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/vwip/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" From 437a457aab1337db368c12277c4a35c71dc3f833 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 16 Dec 2025 15:42:54 +0100 Subject: [PATCH 5/7] Update sim swap subscriptions feature to vwip version to wip Updated the feature file for CAMARA sim swap subscriptions API to version vwip, including detailed scenarios for subscription creation, retrieval, deletion, and error handling. --- code/Test_definitions/sim-swap-subscriptions.feature | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/Test_definitions/sim-swap-subscriptions.feature b/code/Test_definitions/sim-swap-subscriptions.feature index 1e64169..ceb659c 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 +Feature: CAMARA sim swap subscriptions API, vwip # Input to be provided by the implementation to the tester # # Testing assets: @@ -9,7 +9,7 @@ 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 + Given the resource "/sim-swap-subscriptions/vwip/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" @@ -343,3 +343,4 @@ Feature: CAMARA sim swap subscriptions API, v0.3.0 Then the response property "$.status" is 422 And the response property "$.code" is "MISSING_IDENTIFIER" And the response property "$.message" contains a user friendly text + From 9599d07da8109857e55500f568470d2d2872db21 Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 16 Dec 2025 15:50:06 +0100 Subject: [PATCH 6/7] Remove unneccessary empty lines for sim swap subscriptions feature file --- 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 ceb659c..468fdd0 100644 --- a/code/Test_definitions/sim-swap-subscriptions.feature +++ b/code/Test_definitions/sim-swap-subscriptions.feature @@ -343,4 +343,3 @@ Feature: CAMARA sim swap subscriptions API, vwip Then the response property "$.status" is 422 And the response property "$.code" is "MISSING_IDENTIFIER" And the response property "$.message" contains a user friendly text - From 39f3bab014ca2b13912e91d0f21feb5f94793f8c Mon Sep 17 00:00:00 2001 From: Ludovic Robert <30499179+bigludo7@users.noreply.github.com> Date: Tue, 16 Dec 2025 15:51:01 +0100 Subject: [PATCH 7/7] Remove unnecessary line --- 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 75f1253..20b0c38 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 -