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
850c8c3f
Commit
850c8c3f
authored
Feb 01, 2019
by
Giacomo Bernini
Browse files
Fixed mock server configuration
parent
721232d7
Changes
26
Hide whitespace changes
Inline
Side-by-side
SOL002/VNFFaultManagement-API/NotificationEndpoint.robot
View file @
850c8c3f
...
...
@@ -110,6 +110,6 @@ DELETE subscriptions - Method not implemented
*** Keywords ***
Create Sessions
Start Process
java
-jar
../../bin/mockserver-netty-5.3.0-jar-with-dependencies.jar
-serverPort
${callback_port}
alias=mockInstance
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_schema}
://
${callback_uri}
:
${callback_port}
#The API producer is set to NFVO according to SOL003-7.3.4
SOL002/VNFFaultManagement-API/environment/variables.txt
View file @
850c8c3f
...
...
@@ -39,5 +39,5 @@ ${managedObjectId} 007c111c-38a1-42c0-a666-7475ecb1567c
${invalid_alarm_filter} badFilter
${notification_ep} /notification
${notification_port} 9091
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
SOL002/VNFIndicatorNotification-API/VnfIndicatorNotification.robot
View file @
850c8c3f
...
...
@@ -85,7 +85,7 @@ DELETE VNF Indicator Notification
*** Keywords ***
Create Sessions
Start Process
java
-jar
../../bin/mockserver-netty-5.3.0-jar-with-dependencies.jar
-serverPort
${callback_port}
alias=mockInstance
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}
:
${callback_port}
\ No newline at end of file
SOL002/VNFIndicatorNotification-API/environment/variables.txt
View file @
850c8c3f
...
...
@@ -3,4 +3,5 @@ ${callback_uri} http://localhost
${callback_port} 9091
${callback_endpoint} /endpoint
${callback_endpoint_error} /endpoint_404
${sleep_interval} 20s
\ No newline at end of file
${sleep_interval} 20s
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
\ No newline at end of file
SOL002/VNFLifecycleManagement-API/NotificationEndpoint.robot
View file @
850c8c3f
...
...
@@ -84,6 +84,6 @@ DELETE subscriptions - Method not implemented
*** Keywords ***
Create Sessions
Start Process
java
-jar
../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
-serverPort
${callback_port}
alias=mockInstance
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_schema}
://
${callback_uri}
:
${callback_port}
#The API producer is set to NFVO according to SOL003-5.3.9
SOL002/VNFLifecycleManagement-API/environment/variables.txt
View file @
850c8c3f
...
...
@@ -38,4 +38,5 @@ ${VnfIdentifierCreationNotification} {}
${VnfIdentifierDeletionNotification} {}
${callback_port} 9091
${callback_schema} http
${callback_uri} localhost
\ No newline at end of file
${callback_uri} localhost
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
\ No newline at end of file
SOL002/VNFPerformanceManagementNotification-API/PerformanceManagementNotification.robot
View file @
850c8c3f
...
...
@@ -111,6 +111,6 @@ DELETE Performance Notification
*** Keywords ***
Create Sessions
Start Process
java
-jar
../../bin/mockserver-netty-5.3.0-jar-with-dependencies.jar
-serverPort
${callback_port}
alias=mockInstance
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}
:
${callback_port}
\ No newline at end of file
SOL002/VNFPerformanceManagementNotification-API/environment/variables.txt
View file @
850c8c3f
...
...
@@ -4,3 +4,4 @@ ${callback_port} 9091
${callback_endpoint} /endpoint
${callback_endpoint_error} /endpoint_404
${sleep_interval} 20s
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
SOL003/VNFFaultManagementNotification-API/NotificationEndpoint.robot
View file @
850c8c3f
...
...
@@ -109,6 +109,6 @@ DELETE subscriptions - Method not implemented
*** Keywords ***
Create Sessions
Start Process
java
-jar
../../bin/mockserver-netty-5.3.0-jar-with-dependencies.jar
-serverPort
${callback_port}
alias=mockInstance
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}
:
${callback_port}
#The API producer is set to NFVO according to SOL003-7.3.4
SOL003/VNFFaultManagementNotification-API/environment/variables.txt
View file @
850c8c3f
...
...
@@ -3,3 +3,4 @@ ${callback_endpoint} /notification
${callback_uri} http://localhost
${callback_port} 9091
${sleep_interval} 20s
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
\ No newline at end of file
SOL003/VNFIndicatorNotification-API/VnfIndicatorNotification.robot
View file @
850c8c3f
...
...
@@ -85,7 +85,7 @@ Delete VNF Indicator Notification
*** Keywords ***
Create Sessions
Start Process
java
-jar
../../bin/mockserver-netty-5.3.0-jar-with-dependencies.jar
-serverPort
${callback_port}
alias=mockInstance
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}
:
${callback_port}
\ No newline at end of file
SOL003/VNFIndicatorNotification-API/environment/variables.txt
View file @
850c8c3f
...
...
@@ -3,4 +3,5 @@ ${callback_uri} http://localhost
${callback_port} 9091
${callback_endpoint} /endpoint
${callback_endpoint_error} /endpoint_404
${sleep_interval} 20s
\ No newline at end of file
${sleep_interval} 20s
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
\ No newline at end of file
SOL003/VNFLifecycleManagement-API/NotificationEndpoint.robot
View file @
850c8c3f
...
...
@@ -6,6 +6,7 @@ Resource environment/variables.txt
Library
MockServerLibrary
Library
Process
Library
OperatingSystem
Library
REST
${VNFM_SCHEMA}
://
${VNFM_HOST}
:
${VNFM_PORT}
spec=SOL003-VNFLifecycleManagement-API.yaml
*** Variables ***
${sleep_interval}
20s
...
...
@@ -85,6 +86,6 @@ DELETE subscriptions - Method not implemented
*** Keywords ***
Create Sessions
Start Process
java
-jar
../../bin/mockserver-netty-5.3.0-jar-with-dependencies.jar
-serverPort
${callback_port}
alias=mockInstance
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}
:
${callback_port}
#The API producer is set to NFVO according to SOL003-5.3.9
SOL003/VNFLifecycleManagement-API/environment/configuration.txt
View file @
850c8c3f
...
...
@@ -35,4 +35,4 @@ ${SYNC_MODE} 0
${sleep_interval} 20s
${callback_uri} http://localhost
${callback_port} 9091
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.3.0-jar-with-dependencies.jar
\ No newline at end of file
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
\ No newline at end of file
SOL003/VNFPackageManagementNotification-API/PackageManagementNotification.robot
View file @
850c8c3f
...
...
@@ -111,6 +111,6 @@ DELETE VNF Package Management Notification
*** Keywords ***
Create Sessions
Start Process
java
-jar
../../bin/mockserver-netty-5.3.0-jar-with-dependencies.jar
-serverPort
${callback_port}
alias=mockInstance
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}
:
${callback_port}
\ No newline at end of file
SOL003/VNFPackageManagementNotification-API/environment/variables.txt
View file @
850c8c3f
...
...
@@ -4,4 +4,6 @@ ${callback_uri} http://localhost
${callback_port} 9091
${callback_endpoint} /endpoint
${callback_endpoint_error} /endpoint_404
${sleep_interval} 20s
\ No newline at end of file
${sleep_interval} 20s
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
\ No newline at end of file
SOL003/VNFPerformanceManagementNotification-API/PerformanceManagementNotification.robot
View file @
850c8c3f
...
...
@@ -112,6 +112,6 @@ DELETE Performance Notification
*** Keywords ***
Create Sessions
Start Process
java
-jar
../../bin/mockserver-netty-5.3.0-jar-with-dependencies.jar
-serverPort
${callback_port}
alias=mockInstance
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}
:
${callback_port}
\ No newline at end of file
SOL003/VNFPerformanceManagementNotification-API/environment/variables.txt
View file @
850c8c3f
...
...
@@ -4,3 +4,5 @@ ${callback_port} 9091
${callback_endpoint} /endpoint
${callback_endpoint_error} /endpoint_404
${sleep_interval} 20s
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
\ No newline at end of file
SOL003/VirtualisedResourcesQuotaAvailableNotification-API/NotificationEndpoint.robot
View file @
850c8c3f
...
...
@@ -60,7 +60,7 @@ DELETE subscriptions - Method not implemented
*** Keywords ***
Create Sessions
Start Process
java
-jar
../../bin/mockserver-netty-5.3.0-jar-with-dependencies.jar
-serverPort
${callback_port}
alias=mockInstance
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}
:
${callback_port}
#The API producer is set to NFVO according to SOL003-5.3.9
SOL003/VirtualisedResourcesQuotaAvailableNotification-API/environment/variables.txt
View file @
850c8c3f
...
...
@@ -24,4 +24,5 @@ ${apiName} vrqan
${apiVersion} v1
${VrQuotaAvailNotification} {}
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
Prev
1
2
Next
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