From dcc21f6966c21bac4d7d6a7217c93ca99ddc4bc0 Mon Sep 17 00:00:00 2001 From: Eric Murray Date: Tue, 21 Oct 2025 16:58:47 +0100 Subject: [PATCH 1/6] Update API version to 'wip' in YAML file --- code/API_definitions/device-data-volume-subscriptions.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/API_definitions/device-data-volume-subscriptions.yaml b/code/API_definitions/device-data-volume-subscriptions.yaml index de04b65..b72b131 100644 --- a/code/API_definitions/device-data-volume-subscriptions.yaml +++ b/code/API_definitions/device-data-volume-subscriptions.yaml @@ -88,7 +88,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 0.1.0 + version: wip x-camara-commonalities: 0.6 externalDocs: @@ -96,7 +96,7 @@ externalDocs: url: https://github.com/camaraproject/DeviceDataVolume servers: - - url: "{apiRoot}/device-data-volume-subscriptions/v0.1" + - url: "{apiRoot}/device-data-volume-subscriptions/vwip" variables: apiRoot: default: http://localhost:9091 From de9dd5da4e04a9d81bf5da2a63f223dc61493e11 Mon Sep 17 00:00:00 2001 From: Eric Murray Date: Tue, 21 Oct 2025 16:59:15 +0100 Subject: [PATCH 2/6] Update version and server URL in YAML file --- code/API_definitions/device-data-volume.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/API_definitions/device-data-volume.yaml b/code/API_definitions/device-data-volume.yaml index b6ed016..685c1f1 100644 --- a/code/API_definitions/device-data-volume.yaml +++ b/code/API_definitions/device-data-volume.yaml @@ -61,7 +61,7 @@ info: license: name: Apache 2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html - version: 0.1.0 + version: wip x-camara-commonalities: 0.6 externalDocs: @@ -69,7 +69,7 @@ externalDocs: url: https://github.com/camaraproject/DeviceDataVolume servers: - - url: "{apiRoot}/device-data-volume/v0.1" + - url: "{apiRoot}/device-data-volume/vwip" variables: apiRoot: default: http://localhost:9091 From aee7dd91682102d0743d0cd4916ac6e006be4a37 Mon Sep 17 00:00:00 2001 From: Eric Murray Date: Tue, 21 Oct 2025 16:59:37 +0100 Subject: [PATCH 3/6] Update feature version in data volume check --- .../device-data-volume-checkDataVolume.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Test_definitions/device-data-volume-checkDataVolume.feature b/code/Test_definitions/device-data-volume-checkDataVolume.feature index 2e9c888..f672f21 100644 --- a/code/Test_definitions/device-data-volume-checkDataVolume.feature +++ b/code/Test_definitions/device-data-volume-checkDataVolume.feature @@ -1,4 +1,4 @@ -Feature: CAMARA Device Data Volume API, v0.1.0 - Operation checkDataVolume +Feature: CAMARA Device Data Volume API, vwip - Operation checkDataVolume # Input to be provided by the implementation to the tester # @@ -13,7 +13,7 @@ Feature: CAMARA Device Data Volume API, v0.1.0 - Operation checkDataVolume Background: Common checkDataVolume setup Given an environment at "apiRoot" - And the resource "/device-data-volume/v0.1/check" + And the resource "/device-data-volume/vwip/check" 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 set by default to a request body compliant with the schema "#/components/schemas/CheckDataVolumeRequest" From 065b047ca1206941a97acc8640f64a4d5b04946c Mon Sep 17 00:00:00 2001 From: Eric Murray Date: Tue, 21 Oct 2025 17:00:02 +0100 Subject: [PATCH 4/6] Update feature version in retrieveDataVolume API --- .../device-data-volume-retrieveDataVolume.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Test_definitions/device-data-volume-retrieveDataVolume.feature b/code/Test_definitions/device-data-volume-retrieveDataVolume.feature index 2398c88..1acdf9a 100644 --- a/code/Test_definitions/device-data-volume-retrieveDataVolume.feature +++ b/code/Test_definitions/device-data-volume-retrieveDataVolume.feature @@ -1,4 +1,4 @@ -Feature: CAMARA Device Data Volume API, v0.1.0 - Operation retrieveDataVolume +Feature: CAMARA Device Data Volume API, vwip - Operation retrieveDataVolume # Input to be provided by the implementation to the tester @@ -14,7 +14,7 @@ Feature: CAMARA Device Data Volume API, v0.1.0 - Operation retrieveDataVolume Background: Common retrieveDataVolume setup Given an environment at "apiRoot" - And the resource "/device-data-volume/v0.1/retrieve" + And the resource "/device-data-volume/vwip/retrieve" 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 set by default to a request body compliant with the schema "#/components/schemas/RetrieveDataVolumeRequest" From e553d460ce230f6a4580a6ebf0bd3645108fd621 Mon Sep 17 00:00:00 2001 From: Eric Murray Date: Tue, 21 Oct 2025 17:00:56 +0100 Subject: [PATCH 5/6] Update version to wip --- .../device-data-volume-subscriptions.feature | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/Test_definitions/device-data-volume-subscriptions.feature b/code/Test_definitions/device-data-volume-subscriptions.feature index 2110201..d123afe 100644 --- a/code/Test_definitions/device-data-volume-subscriptions.feature +++ b/code/Test_definitions/device-data-volume-subscriptions.feature @@ -1,4 +1,4 @@ -Feature: Device Data Volume Subscriptions API, v0.1.0 - Operation on subscriptions +Feature: Device Data Volume Subscriptions API, vwip - Operation on subscriptions # Input to be provided by the implementation to the tester # @@ -14,7 +14,7 @@ Feature: Device Data Volume Subscriptions API, v0.1.0 - Operation on subscriptio # References to OAS spec schemas refer to schemas specified in device-data-volume-subscriptions.yaml Background: Common Device Data Volume Subscription setup Given an environment at "apiRoot" - And the resource "/device-data-volume-subscriptions/v0.1/subscriptions" + And the resource "/device-data-volume-subscriptions/vwip/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" @@ -506,3 +506,4 @@ Feature: Device Data Volume Subscriptions API, v0.1.0 - Operation on subscriptio And the response property "$.status" is 422 And the response property "$.code" is "MULTIEVENT_SUBSCRIPTION_NOT_SUPPORTED" And the response property "$.message" contains a user friendly text + From 81738a883d5a6d34cc62a835acc5ee3b4ff6d30a Mon Sep 17 00:00:00 2001 From: Eric Murray Date: Tue, 21 Oct 2025 17:06:17 +0100 Subject: [PATCH 6/6] Update fmt.Println output from 'Hello' to 'Goodbye' --- code/Test_definitions/device-data-volume-subscriptions.feature | 1 - 1 file changed, 1 deletion(-) diff --git a/code/Test_definitions/device-data-volume-subscriptions.feature b/code/Test_definitions/device-data-volume-subscriptions.feature index d123afe..f230af7 100644 --- a/code/Test_definitions/device-data-volume-subscriptions.feature +++ b/code/Test_definitions/device-data-volume-subscriptions.feature @@ -506,4 +506,3 @@ Feature: Device Data Volume Subscriptions API, vwip - Operation on subscriptions And the response property "$.status" is 422 And the response property "$.code" is "MULTIEVENT_SUBSCRIPTION_NOT_SUPPORTED" And the response property "$.message" contains a user friendly text -