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
0e05139e
Commit
0e05139e
authored
Dec 04, 2018
by
Elian Kraja
Browse files
Fix on notification on LCM
parent
9ef12731
Changes
1
Hide whitespace changes
Inline
Side-by-side
SOL003/VNFLifecycleManagement-API_egm/InstantiateVNFTaskWithCheckAndNotifies.robot
View file @
0e05139e
...
...
@@ -34,8 +34,8 @@ Create VNFInstance
${instance_response}
=
Instantiate VNF
${resource_response.body.id}
Validate Status Code
${instance_response.status_code}
202
Validate Header
${instance_response.headers}
Location
Wait Until VNF Instantiated
${instance_response.headers.Location}
Verify Notification Handler
${req}
Wait Until VNF Instantiated
${instance_response.headers.Location}
Log
Retrieve VNF Instance
${get_response}
=
Retrieve VNFinstance
${instance_response.body.id}
Should Not Be Empty
${get_response}
...
...
@@ -122,7 +122,12 @@ Verify Notification Handler
Wait Until VNF Instantiated
[
Arguments
]
${vnfLcmOpOccId}
:FOR
${i}
IN RANGE
20
\
${req}
=
Start Notification Handler
VnfLcmOperationOccurrenceNotification
${callback_endpoint}
\
Sleep
10s
\
Verify Notification Handler
${req}
\
Get
${vnfLcmOpOccId}
\
${body}
=
Output
response body
\
Exit For Loop If
${body.operationState}
=
= COMPLETED
\
Sleep 5s
\ No newline at end of file
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