Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
api-tests
Commits
00163ee7
Commit
00163ee7
authored
Oct 14, 2020
by
Najam UI Hassan
Browse files
added majorApiVersion and minor bugs fixed
parent
3713af86
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
SOL003/VNFPackageManagement-API/ApiVersion.robot
View file @
00163ee7
...
...
@@ -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}
...
...
SOL003/VNFPackageManagement-API/VNFPackageManagementKeywords.robot
View file @
00163ee7
This diff is collapsed.
Click to expand it.
SOL003/VNFPackageManagement-API/VNFPackages.robot
View file @
00163ee7
...
...
@@ -177,7 +177,7 @@ GET all VNF Packages as a Paged Response
...
Post-Conditions: none
GET all VNF Packages
Check HTTP Response Status Code Is
200
Check
LINK in Header
Check
HTTP Response Header Contain Link
GET VNF Packages - Bad Request Response too Big
[
Documentation
]
Test ID: 7.3.3.1.14
...
...
@@ -362,7 +362,7 @@ GET all OnBoarded VNF Packages as a Paged Response
...
Post-Conditions: none
Get all OnBoarded VNF Packages
Check HTTP Response Status Code Is
200
Check
LINK in Header
Check
HTTP Response Header Contain Link
GET OnBoarded VNF Packages - Bad Request Response too Big
[
Documentation
]
Test ID: 7.3.3.1.28
...
...
SOL003/VNFPackageManagement-API/environment/variables.txt
View file @
00163ee7
...
...
@@ -15,7 +15,7 @@ ${onboardingStateVnfPkgId} f9f130e4-05eb-4082-a676-4c97d13a883d
${onboardingStateVnfdId} f9f130e4-05eb-4082-a676-4c97d13a883d
${apiRoot} /
${apiVersion} v1
${api
Major
Version} v1
${apiName} vnfpkgm
${NFVO_CHECKS_NOTIF_ENDPOINT} 1 ## If true, during subscription, the FUT performs a get to the notification endpoint
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment