Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions code/API_definitions/traffic-influence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -340,7 +340,7 @@ externalDocs:
# Servers #
############################################################################
servers:
- url: "{apiRoot}/traffic-influence/v0.10"
- url: "{apiRoot}/traffic-influence/vwip"
variables:
apiRoot:
default: http://localhost:9091
Expand Down
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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"
Expand Down Expand Up @@ -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

And "/components/schemas/CloudEvent" in the callback should contain the parameter ("$.state") set according to the result
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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"
Expand Down Expand Up @@ -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

And if the device in the authorization token included multiple identifier, only the one used by the network is returned