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
c31a01c0
Commit
c31a01c0
authored
Jun 12, 2020
by
Elian Kraja
Browse files
Fix issue
#114
parent
7f140078
Changes
1
Hide whitespace changes
Inline
Side-by-side
SOL005/NSLifecycleManagement-API/NSLCMOperationKeywords.robot
View file @
c31a01c0
...
...
@@ -113,14 +113,14 @@ Check resource instantiated
Set Headers
{"Content-Type": "
${CONTENT_TYPE}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
Get
${apiRoot}
/
${apiName}
/
${apiVersion}
/ns_instances/
${nsInstanceId}
String
response body
i
ns
tantiation
State
INSTANTIATED
String
response body nsState
INSTANTIATED
Check resource not_instantiated
Set Headers
{"Accept":"
${ACCEPT}
"}
Set Headers
{"Content-Type": "
${CONTENT_TYPE}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
Get
${apiRoot}
/
${apiName}
/
${apiVersion}
/ns_instances/
${nsInstanceId}
String
response body
i
ns
tantiation
State
NOT_INSTANTIATED
String
response body nsState
NOT_INSTANTIATED
Check operation resource state is FAILED_TEMP
Set Headers
{"Accept":"
${ACCEPT}
"}
...
...
@@ -128,6 +128,7 @@ Check operation resource state is FAILED_TEMP
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
Get
${apiRoot}
/
${apiName}
/
${apiVersion}
/ns_instances/
${nsInstanceId}
String
response body instantiationState
FAILED_TEMP
Check operation resource state is not FAILED_TEMP
Check operation resource state is FAILED_TEMP
Set Headers
{"Accept":"
${ACCEPT}
"}
...
...
@@ -317,7 +318,7 @@ GET IndividualNSInstance
Set Headers
{"Content-Type": "
${CONTENT_TYPE}
"}
Run Keyword If
${AUTH_USAGE}
=
= 1
Set Headers
{"Authorization":"
${AUTHORIZATION}
"}
Get
${apiRoot}
/
${apiName}
/
${apiVersion}
/ns_instances/
${nsInstanceId}
${Etag}
=
Output
response headers E
t
ag
${Etag}
=
Output
response headers E
T
ag
${outputResponse}
=
Output
response
Set Global Variable
${response}
${outputResponse}
...
...
Elian Kraja
@kraja
mentioned in issue
#113 (closed)
·
Jun 12, 2020
mentioned in issue
#113 (closed)
mentioned in issue #113
Toggle commit list
Elian Kraja
@kraja
mentioned in issue
#114 (closed)
·
Jun 12, 2020
mentioned in issue
#114 (closed)
mentioned in issue #114
Toggle commit list
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