From a9aacb446c3f731837ae931d9cd64b7abb338ba2 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Tue, 14 Oct 2025 12:46:44 +0100 Subject: [PATCH 1/4] fix: reset versions to wip --- code/API_definitions/traffic-influence.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/API_definitions/traffic-influence.yaml b/code/API_definitions/traffic-influence.yaml index a95a8d8..0d59c79 100644 --- a/code/API_definitions/traffic-influence.yaml +++ b/code/API_definitions/traffic-influence.yaml @@ -328,7 +328,7 @@ info: error response if it is explicitly documented in the API. # FAQ's (FAQs will be added in a later version of the documentation) - version: 0.10.0 + version: wip license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -340,7 +340,7 @@ externalDocs: # Servers # ############################################################################ servers: - - url: "{apiRoot}/traffic-influence/v0.10" + - url: "{apiRoot}/traffic-influence/vwip" variables: apiRoot: default: http://localhost:9091 @@ -1574,3 +1574,4 @@ components: status: 429 code: TOO_MANY_REQUESTS message: Either out of resource quota or reaching rate limiting. + From 3affa996873ad55246f593f3220348c8986485cf Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Tue, 14 Oct 2025 12:50:44 +0100 Subject: [PATCH 2/4] fix: removed blank lines at EOF --- code/API_definitions/traffic-influence.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/code/API_definitions/traffic-influence.yaml b/code/API_definitions/traffic-influence.yaml index 0d59c79..040e87d 100644 --- a/code/API_definitions/traffic-influence.yaml +++ b/code/API_definitions/traffic-influence.yaml @@ -1574,4 +1574,3 @@ components: status: 429 code: TOO_MANY_REQUESTS message: Either out of resource quota or reaching rate limiting. - From d8f555947ebc59c4510acf8534bc86f0fe4323e5 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Wed, 15 Oct 2025 09:12:45 +0100 Subject: [PATCH 3/4] Update traffic-influence-postTrafficInfluence.feature --- .../traffic-influence-postTrafficInfluence.feature | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/Test_definitions/traffic-influence-postTrafficInfluence.feature b/code/Test_definitions/traffic-influence-postTrafficInfluence.feature index 4089a08..0c37099 100644 --- a/code/Test_definitions/traffic-influence-postTrafficInfluence.feature +++ b/code/Test_definitions/traffic-influence-postTrafficInfluence.feature @@ -1,4 +1,4 @@ -Feature: CAMARA Traffic Influence API, v0.10.0 - Operation postTrafficInfluence and patchTrafficInfluence and getAllTrafficInfluences and deleteTrafficInfluence +Feature: CAMARA Traffic Influence API, vwip - Operation postTrafficInfluence and patchTrafficInfluence and getAllTrafficInfluences and deleteTrafficInfluence # Input to be provided by the implementation to the tester # # Implementation indications: @@ -9,7 +9,7 @@ Feature: CAMARA Traffic Influence API, v0.10.0 - Operation postTrafficInfluence # References to OAS spec schemas refer to schemas specifies in traffic-influence.yaml Background: Common traffic-influences setup - Given the path "/traffic-influence/v0.10/traffic-influences" + Given the path "/traffic-influence/vwip/traffic-influences" 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" @@ -103,4 +103,5 @@ Feature: CAMARA Traffic Influence API, v0.10.0 - Operation postTrafficInfluence And within a limited period of time I should receive a callback at "/components/schemas/NotificationSink/sink" And the callback body is compliant with the OAS schema at "/components/callbacks/onTrafficInfluenceChanged" with "x-correlator" having the same value as the request header "x-correlator" And the callback carries the information defined in "/components/schemas/CloudEvent" - And "/components/schemas/CloudEvent" in the callback should contain the parameter ("$.state") set according to the result \ No newline at end of file + + And "/components/schemas/CloudEvent" in the callback should contain the parameter ("$.state") set according to the result From ca9d567c6ab50d05d34073da46b401e2096f9011 Mon Sep 17 00:00:00 2001 From: Kevin Smith Date: Wed, 15 Oct 2025 09:13:37 +0100 Subject: [PATCH 4/4] fix: reset versions to wip --- .../traffic-influence-postTrafficInfluenceDevice.feature | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/Test_definitions/traffic-influence-postTrafficInfluenceDevice.feature b/code/Test_definitions/traffic-influence-postTrafficInfluenceDevice.feature index 1e600f0..720f753 100644 --- a/code/Test_definitions/traffic-influence-postTrafficInfluenceDevice.feature +++ b/code/Test_definitions/traffic-influence-postTrafficInfluenceDevice.feature @@ -1,4 +1,4 @@ -Feature: CAMARA Traffic Influence API, v0.10.0 - Operation postTrafficInfluenceDevice +Feature: CAMARA Traffic Influence API, vwip - Operation postTrafficInfluenceDevice # Input to be provided by the implementation to the tester # # Implementation indications: @@ -9,7 +9,7 @@ Feature: CAMARA Traffic Influence API, v0.10.0 - Operation postTrafficInfluenceD # References to OAS spec schemas refer to schemas specifies in traffic-influence.yaml Background: Common traffic-influence-devices setup - Given the path "/traffic-influence/v0.10/traffic-influence-devices" + Given the path "/traffic-influence/vwip/traffic-influence-devices" 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" @@ -98,4 +98,5 @@ Feature: CAMARA Traffic Influence API, v0.10.0 - Operation postTrafficInfluenceD And within a limited period of time I should receive a callback at "/components/schemas/NotificationSink/sink" And the callback body is compliant with the OAS schema at "/components/callbacks/onTrafficInfluenceChanged" with "x-correlator" having the same value as the request header "x-correlator" And the callback carries the information defined in "/components/schemas/CloudEvent" with the parameter ("$.state") set accordingly to the result - And if the device in the authorization token included multiple identifier, only the one used by the network is returned \ No newline at end of file + + And if the device in the authorization token included multiple identifier, only the one used by the network is returned