Loading SOL002/VNFConfiguration-API/environment/variables.txt +6 −2 Viewed Changes for SOL002/VNFConfiguration-API/environment/variables.txt: 6 added lines, 2 removed lines. Original line number Diff line number Diff line *** Variables *** ${Etag}= an etag ${Etag_modified}= 12345 ${response}= httpresponse ${EM-VNF_HOST} localhost # Hostname of the NFVO ${EM-VNF_PORT} 8081 # Listening port of the NFVO ${EM-VNF_SCHEMA} https ${ACCEPT} application/json ${AUTH_USAGE} 1 ${AUTHORIZATION} Bearer QWxhZGRpbjpvcGVuIHNlc2FtZQ== Loading @@ -9,8 +15,6 @@ ${CONTENT_TYPE} application/json ${apiRoot} / ${apiName} vnfconfig ${apiVersion} v1 ${Etag}= an etag ${Etag_modified}= a modified etag ${WRONG_AUTHORIZATION} Bearer XXXXXWRONGXXXXX ${alarm_filter} managedObjectId ${managedObjectId} 007c111c-38a1-42c0-a666-7475ecb1567c Loading SOL002/VNFConfiguration-API/Configuration.robot +1 −3 Viewed Changes for SOL002/VNFConfiguration-API/Configuration.robot: 1 added line, 3 removed lines. Original line number Diff line number Diff line *** Settings *** Resource environment/variables.txt Library REST ${EM-VNF_SCHEMA}://${EM-VNF_HOST}:${EM-VNF_PORT} ... spec=SOL002-VNFConfiguration-API.yaml Library JSONLibrary Library JSONSchemaLibrary schemas/ Library OperatingSystem Loading Loading @@ -124,8 +123,7 @@ Check HTTP Response Body Json Schema Is [Arguments] ${schema} ${contentType}= Get Value From Json ${response.headers} $..Content-Type Should Be Equal ${contentType} ${CONTENT_TYPE} ${json}= evaluate json.loads('''${response.body}''') json Validate Json ${schema} ${json} Validate Json ${schema} ${response.body} Log Json Schema Validation OK Check Postcondition VNF Configuration Untouched Loading SOL002/VNFFaultManagement-API/environment/variables.txt +11 −15 Viewed Changes for SOL002/VNFFaultManagement-API/environment/variables.txt: 11 added lines, 15 removed lines. Original line number Diff line number Diff line Loading @@ -4,12 +4,17 @@ ${VNFM_PORT} 8080 # Listening port of the VNFM ${VNFM_SCHEMA} https ${AUTHORIZATION} Bearer QWxhZGRpbjpvcGVuIHNlc2FtZQ== ${ACCEPT} application/json ${AUTH_USAGE} 1 ${alarm_filter} managedObjectId ${managedObjectId} 007c111c-38a1-42c0-a666-7475ecb1567c ${invalid_alarm_filter} badFilter ${apiRoot} / ${apiName} vnffm ${apiVersion} v1 ${AUTH_USAGE} 1 ${CONTENT_TYPE} application/json ${VNFM_DUPLICATION} 0 ${alarmId} 6fc3539c-e602-4afa-8e13-962fb5a7d81d ${Etag}= an etag ${Etag_modified}= a modified etag Loading @@ -17,27 +22,18 @@ ${CONTENT_TYPE_PATCH} application/merge-patch+json ${PerceivedSeverity} CRITICAL ${VNFM_DUPLICATION} 0 ${sub_filter} filter ${sub_filter_invalid} filter_invalid ${subscriptionId} 6fc3539c-e602-4afa-8e13-962fb5a7d81f ${sleep_interval} 20s ${callback_schema} http ${callback_uri} localhost ${callback_uri} http://localhost ${callback_port} 9091 ${callback_endpoint} /notification ${callback_endpoint} /endpoint ${callback_endpoint_error} /endpoint_404 ${sleep_interval} 20s ${AlarmNotification} {} ${AlarmClearedNotification} {} ${AlarmListRebuiltNotification} {} ${PerceivedSeverity} CRITICAL ${sleep_interval} 20s ${alarm_filter} managedObjectId ${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/VNFFaultManagement-API/Alarms.robot +3 −7 Viewed Changes for SOL002/VNFFaultManagement-API/Alarms.robot: 3 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ # Suite setup Expect spec SOL003-VNFLifecycleManagement-API.yaml Resource environment/variables.txt Library REST ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT} ... spec=SOL002-VNFFaultManagement-API.yaml Library JSONLibrary Library JSONSchemaLibrary schemas/ Library OperatingSystem Loading Loading @@ -35,8 +34,7 @@ Get information about multiple alarms ${contentType}= Output response headers Content-Type Should Contain ${contentType} ${CONTENT_TYPE} ${result}= Output response body ${json}= evaluate json.loads('''${result}''') json Validate Json alarms.schema.json ${json} Validate Json alarms.schema.json ${result} Log Validation OK Get information about multiple alarms with filters Loading @@ -58,8 +56,7 @@ Get information about multiple alarms with filters ${contentType}= Output response headers Content-Type Should Contain ${contentType} ${CONTENT_TYPE} ${result}= Output response body ${json}= evaluate json.loads('''${result}''') json Validate Json alarms.schema.json ${json} Validate Json alarms.schema.json ${result} Log Validation OK Get information about multiple alarms Bad Request Invalid attribute-based filtering parameters Loading @@ -78,8 +75,7 @@ Get information about multiple alarms Bad Request Invalid attribute-based filter Log Validate Status code Integer response status 400 ${problemDetails}= Output response body ${json}= evaluate json.loads('''${problemDetails}''') json Validate Json ProblemDetails.schema.json ${json} Validate Json ProblemDetails.schema.json ${problemDetails} Log Validation OK PUT Alarms - Method not implemented Loading SOL002/VNFFaultManagement-API/EscalatePerceivedSeverityTask.robot −1 Viewed Changes for SOL002/VNFFaultManagement-API/EscalatePerceivedSeverityTask.robot: 0 added lines, 1 removed line. Original line number Diff line number Diff line *** Settings *** Resource environment/variables.txt Library REST ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT} ... spec=SOL002-VNFFaultManagement-API.yaml Suite Setup Check resource existance *** Test Cases *** Loading Loading
SOL002/VNFConfiguration-API/environment/variables.txt +6 −2 Viewed Changes for SOL002/VNFConfiguration-API/environment/variables.txt: 6 added lines, 2 removed lines. Original line number Diff line number Diff line *** Variables *** ${Etag}= an etag ${Etag_modified}= 12345 ${response}= httpresponse ${EM-VNF_HOST} localhost # Hostname of the NFVO ${EM-VNF_PORT} 8081 # Listening port of the NFVO ${EM-VNF_SCHEMA} https ${ACCEPT} application/json ${AUTH_USAGE} 1 ${AUTHORIZATION} Bearer QWxhZGRpbjpvcGVuIHNlc2FtZQ== Loading @@ -9,8 +15,6 @@ ${CONTENT_TYPE} application/json ${apiRoot} / ${apiName} vnfconfig ${apiVersion} v1 ${Etag}= an etag ${Etag_modified}= a modified etag ${WRONG_AUTHORIZATION} Bearer XXXXXWRONGXXXXX ${alarm_filter} managedObjectId ${managedObjectId} 007c111c-38a1-42c0-a666-7475ecb1567c Loading
SOL002/VNFConfiguration-API/Configuration.robot +1 −3 Viewed Changes for SOL002/VNFConfiguration-API/Configuration.robot: 1 added line, 3 removed lines. Original line number Diff line number Diff line *** Settings *** Resource environment/variables.txt Library REST ${EM-VNF_SCHEMA}://${EM-VNF_HOST}:${EM-VNF_PORT} ... spec=SOL002-VNFConfiguration-API.yaml Library JSONLibrary Library JSONSchemaLibrary schemas/ Library OperatingSystem Loading Loading @@ -124,8 +123,7 @@ Check HTTP Response Body Json Schema Is [Arguments] ${schema} ${contentType}= Get Value From Json ${response.headers} $..Content-Type Should Be Equal ${contentType} ${CONTENT_TYPE} ${json}= evaluate json.loads('''${response.body}''') json Validate Json ${schema} ${json} Validate Json ${schema} ${response.body} Log Json Schema Validation OK Check Postcondition VNF Configuration Untouched Loading
SOL002/VNFFaultManagement-API/environment/variables.txt +11 −15 Viewed Changes for SOL002/VNFFaultManagement-API/environment/variables.txt: 11 added lines, 15 removed lines. Original line number Diff line number Diff line Loading @@ -4,12 +4,17 @@ ${VNFM_PORT} 8080 # Listening port of the VNFM ${VNFM_SCHEMA} https ${AUTHORIZATION} Bearer QWxhZGRpbjpvcGVuIHNlc2FtZQ== ${ACCEPT} application/json ${AUTH_USAGE} 1 ${alarm_filter} managedObjectId ${managedObjectId} 007c111c-38a1-42c0-a666-7475ecb1567c ${invalid_alarm_filter} badFilter ${apiRoot} / ${apiName} vnffm ${apiVersion} v1 ${AUTH_USAGE} 1 ${CONTENT_TYPE} application/json ${VNFM_DUPLICATION} 0 ${alarmId} 6fc3539c-e602-4afa-8e13-962fb5a7d81d ${Etag}= an etag ${Etag_modified}= a modified etag Loading @@ -17,27 +22,18 @@ ${CONTENT_TYPE_PATCH} application/merge-patch+json ${PerceivedSeverity} CRITICAL ${VNFM_DUPLICATION} 0 ${sub_filter} filter ${sub_filter_invalid} filter_invalid ${subscriptionId} 6fc3539c-e602-4afa-8e13-962fb5a7d81f ${sleep_interval} 20s ${callback_schema} http ${callback_uri} localhost ${callback_uri} http://localhost ${callback_port} 9091 ${callback_endpoint} /notification ${callback_endpoint} /endpoint ${callback_endpoint_error} /endpoint_404 ${sleep_interval} 20s ${AlarmNotification} {} ${AlarmClearedNotification} {} ${AlarmListRebuiltNotification} {} ${PerceivedSeverity} CRITICAL ${sleep_interval} 20s ${alarm_filter} managedObjectId ${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/VNFFaultManagement-API/Alarms.robot +3 −7 Viewed Changes for SOL002/VNFFaultManagement-API/Alarms.robot: 3 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ # Suite setup Expect spec SOL003-VNFLifecycleManagement-API.yaml Resource environment/variables.txt Library REST ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT} ... spec=SOL002-VNFFaultManagement-API.yaml Library JSONLibrary Library JSONSchemaLibrary schemas/ Library OperatingSystem Loading Loading @@ -35,8 +34,7 @@ Get information about multiple alarms ${contentType}= Output response headers Content-Type Should Contain ${contentType} ${CONTENT_TYPE} ${result}= Output response body ${json}= evaluate json.loads('''${result}''') json Validate Json alarms.schema.json ${json} Validate Json alarms.schema.json ${result} Log Validation OK Get information about multiple alarms with filters Loading @@ -58,8 +56,7 @@ Get information about multiple alarms with filters ${contentType}= Output response headers Content-Type Should Contain ${contentType} ${CONTENT_TYPE} ${result}= Output response body ${json}= evaluate json.loads('''${result}''') json Validate Json alarms.schema.json ${json} Validate Json alarms.schema.json ${result} Log Validation OK Get information about multiple alarms Bad Request Invalid attribute-based filtering parameters Loading @@ -78,8 +75,7 @@ Get information about multiple alarms Bad Request Invalid attribute-based filter Log Validate Status code Integer response status 400 ${problemDetails}= Output response body ${json}= evaluate json.loads('''${problemDetails}''') json Validate Json ProblemDetails.schema.json ${json} Validate Json ProblemDetails.schema.json ${problemDetails} Log Validation OK PUT Alarms - Method not implemented Loading
SOL002/VNFFaultManagement-API/EscalatePerceivedSeverityTask.robot −1 Viewed Changes for SOL002/VNFFaultManagement-API/EscalatePerceivedSeverityTask.robot: 0 added lines, 1 removed line. Original line number Diff line number Diff line *** Settings *** Resource environment/variables.txt Library REST ${VNFM_SCHEMA}://${VNFM_HOST}:${VNFM_PORT} ... spec=SOL002-VNFFaultManagement-API.yaml Suite Setup Check resource existance *** Test Cases *** Loading