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/dedicated-network-accesses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ 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:
description: Product documentation at CAMARA
url: https://github.com/camaraproject/DedicatedNetworks
servers:
- url: "{apiRoot}/dedicated-network-accesses/v0.1"
- url: "{apiRoot}/dedicated-network-accesses/vwip"
variables:
apiRoot:
default: http://localhost:9091
Expand Down
4 changes: 2 additions & 2 deletions code/API_definitions/dedicated-network-profiles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ 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:
description: Product documentation at CAMARA
url: https://github.com/camaraproject/DedicatedNetworks
servers:
- url: "{apiRoot}/dedicated-network-profiles/v0.1"
- url: "{apiRoot}/dedicated-network-profiles/vwip"
variables:
apiRoot:
default: http://localhost:9091
Expand Down
4 changes: 2 additions & 2 deletions code/API_definitions/dedicated-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ 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:
description: Product documentation at CAMARA
url: https://github.com/camaraproject/DedicatedNetworks
servers:
- url: "{apiRoot}/dedicated-network/v0.1"
- url: "{apiRoot}/dedicated-network/vwip"
variables:
apiRoot:
default: http://localhost:9091
Expand Down
14 changes: 7 additions & 7 deletions code/Test_definitions/dedicated-network-accesses.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Feature: CAMARA Dedicated Network API, v0.1.0 - Network Accesses API Operations
Feature: CAMARA Dedicated Network API, vwip - Network Accesses API Operations
# Input to be provided by the implementation to the tester
#
# Implementation indications:
Expand All @@ -20,7 +20,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Network Accesses API Operations

@dedicated_network_accesses_listNetworkAccesses_01_success_all
Scenario: List all network accesses
Given the resource "/dedicated-network-accesses/v0.1/accesses"
Given the resource "/dedicated-network-accesses/vwip/accesses"
When the request "listNetworkAccesses" is sent
Then the response status code is 200
And the response header "Content-Type" is "application/json"
Expand All @@ -30,7 +30,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Network Accesses API Operations
@dedicated_network_accesses_listNetworkAccesses_02_success_filtered_by_network
Scenario: List network accesses filtered by network ID
Given an existing dedicated network
And the resource "/dedicated-network-accesses/v0.1/accesses"
And the resource "/dedicated-network-accesses/vwip/accesses"
And the query parameter "networkId" is set to the ID of the existing network
When the request "listNetworkAccesses" is sent
Then the response status code is 200
Expand All @@ -42,7 +42,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Network Accesses API Operations
@dedicated_network_accesses_listNetworkAccesses_03_success_filtered_by_device
Scenario: List network accesses filtered by device
Given a valid device identifier
And the resource "/dedicated-network-accesses/v0.1/accesses"
And the resource "/dedicated-network-accesses/vwip/accesses"
And the header "x-device" is set to a RFC 8941 structured field value representing the Device schema (#/components/schemas/Device) (e.g., 'phonenumber="+123456789"')
When the request "listNetworkAccesses" is sent
Then the response status code is 200
Expand All @@ -56,7 +56,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Network Accesses API Operations
@dedicated_network_accesses_createNetworkAccess_01_success
Scenario: Create a network access with valid parameters
Given an existing dedicated network
And the resource "/dedicated-network-accesses/v0.1/accesses"
And the resource "/dedicated-network-accesses/vwip/accesses"
And the header "Content-Type" is set to "application/json"
And the header "x-device" is set to a RFC 8941 structured field value representing the Device schema (#/components/schemas/Device) (e.g., 'phonenumber="+123456789"')
And the request body is set to a request body compliant with the schema at "/components/schemas/CreateNetworkAccess"
Expand All @@ -76,7 +76,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Network Accesses API Operations
@dedicated_network_accesses_readNetworkAccess_01_success
Scenario: Get details of a specific network access
Given an existing network access
And the resource "/dedicated-network-accesses/v0.1/accesses/{accessId}"
And the resource "/dedicated-network-accesses/vwip/accesses/{accessId}"
And the path parameter "accessId" is set to the ID of the existing access
When the request "readNetworkAccess" is sent
Then the response status code is 200
Expand All @@ -90,7 +90,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Network Accesses API Operations
@dedicated_network_accesses_deleteNetworkAccess_01_success
Scenario: Delete a network access
Given an existing network access
And the resource "/dedicated-network-accesses/v0.1/accesses/{accessId}"
And the resource "/dedicated-network-accesses/vwip/accesses/{accessId}"
And the path parameter "accessId" is set to the ID of the existing access
When the request "deleteNetworkAccess" is sent
Then the response status code is 204
Expand Down
6 changes: 3 additions & 3 deletions code/Test_definitions/dedicated-network-profiles.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Feature: CAMARA Dedicated Network API, v0.1.0 - Network Profiles API Operations
Feature: CAMARA Dedicated Network API, vwip - Network Profiles API Operations
# Input to be provided by the implementation to the tester
#
# Implementation indications:
Expand All @@ -18,7 +18,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Network Profiles API Operations

@dedicated_network_profiles_readNetworkProfiles_01_success
Scenario: List all available network profiles
Given the resource "/dedicated-network-profiles/v0.1/profiles"
Given the resource "/dedicated-network-profiles/vwip/profiles"
When the request "readNetworkProfiles" is sent
Then the response status code is 200
And the response header "Content-Type" is "application/json"
Expand All @@ -31,7 +31,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Network Profiles API Operations
@dedicated_network_profiles_readNetworkProfile_01_success
Scenario: Get details of a specific network profile
Given an existing network profile
And the resource "/dedicated-network-profiles/v0.1/profiles/{profileId}"
And the resource "/dedicated-network-profiles/vwip/profiles/{profileId}"
And the path parameter "profileId" is set to the ID of the existing profile
When the request "readNetworkProfile" is sent
Then the response status code is 200
Expand Down
12 changes: 6 additions & 6 deletions code/Test_definitions/dedicated-network.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Feature: CAMARA Dedicated Network API, v0.1.0 - Networks API Operations
Feature: CAMARA Dedicated Network API, vwip - Networks API Operations
# Input to be provided by the implementation to the tester
#
# Implementation indications:
Expand All @@ -20,7 +20,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Networks API Operations

@dedicated_network_listNetworks_01_success
Scenario: List all dedicated networks
Given the resource "/dedicated-network/v0.1/networks"
Given the resource "/dedicated-network/vwip/networks"
When the request "listNetworks" is sent
Then the response status code is 200
And the response header "Content-Type" is "application/json"
Expand All @@ -31,7 +31,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Networks API Operations

@dedicated_network_createNetwork_01_success_basic
Scenario: Create a dedicated network (basic success)
Given the resource "/dedicated-network/v0.1/networks"
Given the resource "/dedicated-network/vwip/networks"
And the header "Content-Type" is set to "application/json"
And the request body is set to a request body compliant with the schema at "/components/schemas/CreateNetwork"
And the request body property "$.profileId" is set to a valid network profile ID
Expand All @@ -49,7 +49,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Networks API Operations

@dedicated_network_createNetwork_02_success_echo
Scenario: Create a dedicated network (response echoes request fields)
Given the resource "/dedicated-network/v0.1/networks"
Given the resource "/dedicated-network/vwip/networks"
And the header "Content-Type" is set to "application/json"
And the request body is set to a request body compliant with the schema at "/components/schemas/CreateNetwork"
And the request body property "$.profileId" is set to a valid network profile ID
Expand All @@ -70,7 +70,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Networks API Operations
@dedicated_network_readNetwork_01_success
Scenario: Get details of a specific network
Given an existing dedicated network
And the resource "/dedicated-network/v0.1/networks/{networkId}"
And the resource "/dedicated-network/vwip/networks/{networkId}"
And the path parameter "networkId" is set to the ID of the existing network
When the request "readNetwork" is sent
Then the response status code is 200
Expand All @@ -84,7 +84,7 @@ Feature: CAMARA Dedicated Network API, v0.1.0 - Networks API Operations
@dedicated_network_deleteNetwork_01_success
Scenario: Delete a dedicated network
Given an existing dedicated network
And the resource "/dedicated-network/v0.1/networks/{networkId}"
And the resource "/dedicated-network/vwip/networks/{networkId}"
And the path parameter "networkId" is set to the ID of the existing network
When the request "deleteNetwork" is sent
Then the response status code is 204
Expand Down