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
28a922e6
Commit
28a922e6
authored
Jan 19, 2021
by
Elian Kraja
Browse files
Fix issue
#134
on mockserver configuration incongruency
parent
043ba856
Changes
4
Hide whitespace changes
Inline
Side-by-side
SOL005/NSDManagement-API/NSDManagementKeywords.robot
View file @
28a922e6
...
...
@@ -1039,7 +1039,7 @@ Create Sessions
Pass Execution If
${NFVO_CHECKS_NOTIF_ENDPOINT}
=
= 0
MockServer not started as NFVO is not checking the notification endpoint
Start Process
java
-jar
${MOCK_SERVER_JAR}
-serverPort
${callback_port}
alias=mockInstance
Wait For Process
handle=mockInstance
timeout=5s
on_timeout=continue
Create Mock Session
${callback_uri}
Create Mock Session
${callback_uri}
:
${callback_port}
Check Notification Endpoint
&{notification_request}
=
Create Mock Request Matcher
GET
${callback_endpoint}
...
...
SOL005/NSDManagement-API/environment/variables.txt
View file @
28a922e6
...
...
@@ -17,7 +17,7 @@ ${NFVO_AUTH_USAGE} 1
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
${callback_port} 9091
${callback_uri} http://172.22.1.7
:${callback_port}
${callback_uri} http://172.22.1.7
${callback_endpoint} /nsd/subscriptions
${callback_endpoint_error} /subs_404
${callback_endpoint_fwd} /endpoint/check
...
...
SOL005/NSPerformanceManagement-API/NSPerformanceManagementKeywords.robot
View file @
28a922e6
...
...
@@ -788,7 +788,7 @@ Create Sessions
Pass Execution If
${NFVO_CHECKS_NOTIF_ENDPOINT}
=
= 0
MockServer not started as NFVO is not checking the notification endpoint
Start Process
java
-jar
${MOCK_SERVER_JAR}
-serverPort
${callback_port}
alias=mockInstance
Wait For Process
handle=mockInstance
timeout=5s
on_timeout=continue
Create Mock Session
${callback_uri}
Create Mock Session
${callback_uri}
:
${callback_port}
Check Notification Endpoint
...
...
SOL005/NSPerformanceManagement-API/environment/variables.txt
View file @
28a922e6
...
...
@@ -18,7 +18,7 @@ ${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.
${testOptionalMethods} 0
${callback_port} 9091
${callback_uri} http://172.22.1.7
:${callback_port}
${callback_uri} http://172.22.1.7
${callback_endpoint} /nspm/subscriptions
${callback_endpoint_error} /subs_404
${sleep_interval} 20s
...
...
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