Skip to content
Snippets Groups Projects
Commit 81ef0d34 authored by Najam UI Hassan's avatar Najam UI Hassan
Browse files

added majorAPIVersion

parent 9dd75a29
No related branches found
No related tags found
3 merge requests!199Merge "3.3.1 dev" into "release 3" master,!193Merge 2.7.1 dev into Master, for TST010ed271 publication,!134SOL005 NS Performance Management - Implementation of deltas between v2.7.1 and v2.6.1
......@@ -169,35 +169,35 @@ DELETE API Version
POST API Version with apiMajorVersion
Set Headers {"Accept":"${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Post ${apiRoot}/${apiName}/v1/api_version
Post ${apiRoot}/${apiName}/${apiMajorVersion}/api_version
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
GET API Version with apiMajorVersion
Set Headers {"Accept":"${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Get ${apiRoot}/${apiName}/v1/api_version
Get ${apiRoot}/${apiName}/${apiMajorVersion}/api_version
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
PUT API Version with apiMajorVersion
Set Headers {"Accept":"${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Put ${apiRoot}/${apiName}/v1/api_version
Put ${apiRoot}/${apiName}/${apiMajorVersion}/api_version
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
PATCH API Version with apiMajorVersion
Set Headers {"Accept":"${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Patch ${apiRoot}/${apiName}/v1/api_version
Patch ${apiRoot}/${apiName}/${apiMajorVersion}/api_version
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
DELETE API Version with apiMajorVersion
Set Headers {"Accept":"${ACCEPT_JSON}"}
Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"}
Delete ${apiRoot}/${apiName}/v1/api_version
Delete ${apiRoot}/${apiName}/${apiMajorVersion}/api_version
${outputResponse}= Output response
Set Global Variable ${response} ${outputResponse}
......
......@@ -180,7 +180,7 @@ GET all NS Performance Monitoring Jobs as Paged Response
... Post-Conditions: none
GET all NS Performance Monitoring Jobs
Check HTTP Response Status Code Is 200
Check LINK in Header
Check HTTP Response Header Contains Location
GET NS Performance Monitoring Jobs - Bad Request Response too Big
[Documentation] Test ID: 5.3.4.1.14
......
......@@ -124,7 +124,7 @@ GET All Performance Thresholds as Paged Response
... Post-Conditions: none
GET all Performance Thresholds
Check HTTP Response Status Code Is 200
Check LINK in Header
Check HTTP Response Header Contains Location
GET Performance Thresholds - Bad Request Response too Big
[Documentation] Test ID: 5.3.4.4.10
......
......@@ -8,7 +8,7 @@ ${ACCEPT_JSON} application/json
${apiRoot} /
${AUTH_USAGE} 1
${NEG_AUTHORIZATION} Bearer negativetoken
${apiVersion} v1
${apiMajorVersion} v1
${apiName} nspm
${FIELD_USAGE} 1
${NFVO_CHECKS_NOTIF_ENDPOINT} 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment