Skip to content
Closed
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/device-swap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 1.0.0-rc.1
version: wip
x-camara-commonalities: 0.6

externalDocs:
description: Product documentation at CAMARA
url: https://github.com/camaraproject/DeviceSwap

servers:
- url: '{apiRoot}/device-swap/v1rc1'
- url: '{apiRoot}/device-swap/vwip'
variables:
apiRoot:
default: http://localhost:9091
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Feature: CAMARA Device Swap API, 1.0.0-rc.1 - Operation checkDeviceSwap
Feature: CAMARA Device Swap API, vwip - Operation checkDeviceSwap

# Input to be provided by the implementation to the tester
#
# Testing assets:
#
# References to OAS spec schemas refer to schemas specifies in device-swap.yaml, version 1.0.0-rc.1
# References to OAS spec schemas refer to schemas specifies in device-swap.yaml, version wip
#
# Check if device swap has been performed during a past period


Background: Common checkDeviceSwap setup
Given the resource "device-swap/v1rc1/check"
Given the resource "device-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"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Feature: CAMARA Device Swap API, 1.0.0-rc.1 - Operation retrieveDeviceSwapDate
Feature: CAMARA Device Swap API, vwip - Operation retrieveDeviceSwapDate

# Input to be provided by the implementation to the tester
#
# Testing assets:
#
# References to OAS spec schemas refer to schemas specifies in device-swap.yaml, version 1.0.0-rc.1
# References to OAS spec schemas refer to schemas specifies in device-swap.yaml, version wip
#
# Get timestamp of last device swap for a mobile user account provided with phone number.

Background: Common retrieveDeviceSwapDate setup
Given the resource "device-swap/v1rc1/retrieve-date"
Given the resource "device-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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Checklist for device-swap v1.0.0-rc.1 in r3.1
| 4 | API versioning convention applied | M | M | M | M | Y | v1.0.0-rc.1 |
| 5 | API documentation | M | M | M | M | Y | Embedded documentation into API spec - [link](/code/API_definitions/device-swap.yaml) |
| 6 | User stories | O | O | O | M | Y | [check](/documentation/API_documentation/device-swap_check_User_Story.md) [retrieve](/documentation/API_documentation/device-swap_retrieve_User_Story.md) |
| 7 | Basic API test cases & documentation | O | M | M | M | Y | [check](/code/Test_definitions/checkDeviceSwap.feature) [retrieve](/code/Test_definitions/retrieveDeviceSwapDate.feature) |
| 8 | Enhanced API test cases & documentation | O | O | O | M | Y | [check](/code/Test_definitions/checkDeviceSwap.feature) [retrieve](/code/Test_definitions/retrieveDeviceSwapDate.feature) |
| 7 | Basic API test cases & documentation | O | M | M | M | Y | [check](/code/Test_definitions/device-swap-checkDeviceSwap.feature) [retrieve](/code/Test_definitions/device-swap-retrieveDeviceSwapDate.feature) |
| 8 | Enhanced API test cases & documentation | O | O | O | M | Y | [check](/code/Test_definitions/device-swap-checkDeviceSwap.feature) [retrieve](/code/Test_definitions/device-swap-retrieveDeviceSwapDate.feature) |
| 9 | Test result statement | O | O | O | M | N | To be provided |
| 10 | API release numbering convention applied | M | M | M | M | Y | r3.1 |
| 11 | Change log updated | M | M | M | M | Y | [link](/CHANGELOG.md) |
Expand Down