Loading SOL002/VNFFaultManagement-API/Alarms.robot +5 −5 Original line number Diff line number Diff line Loading @@ -384,7 +384,7 @@ GET Alarms Task with filter "vnfcInstanceIds" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "vnfcInstanceIds" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Lists Should Be Equal ${item['vnfcInstanceIds']} ${vnfcInstanceIds} END Loading @@ -398,7 +398,7 @@ GET Alarms Task with filter "rootCauseFaultyResource_faultyResourceType" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "rootCauseFaultyResource_faultyResourceType" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['rootCauseFaultyResource']['faultyResourceType']} ${faultyResourceType} END Loading @@ -412,7 +412,7 @@ GET Alarms Task with filter "eventType" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "eventType" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['eventType']} ${eventType} END Loading @@ -426,7 +426,7 @@ GET Alarms Task with filter "perceivedSeverity" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "perceivedSeverity" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['perceivedSeverity']} ${PerceivedSeverity} END Loading @@ -440,6 +440,6 @@ GET Alarms Task with filter "probableCause" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "probableCause" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['probableCause']} ${probableCause} END No newline at end of file SOL002/VNFFaultManagement-API/Notifications.robot +3 −3 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ Check Alarm List Rebuilt Notification Http POST Request Body Json Schema Is Check Alarm List Rebuilt Notification Http POST Request Body notificationType attribute Is [Arguments] ${type} Configure Notification Alarm List Rebuilt Handler ${callback_endpoint_fwd} ${type} Wait Until Keyword Succeeds 2 min 10 sec Verify Mock Expectation ${notification_request} Wait Until Keyword Succeeds ${total_polling_time} ${polling_interval} Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint_fwd} Loading @@ -83,7 +83,7 @@ Check Alarm Notification Http POST Request Body Json Schema Is Check Alarm Notification Http POST Request Body notificationType attribute Is [Arguments] ${type} Configure Notification Alarm Handler ${callback_endpoint_fwd} ${type} Wait Until Keyword Succeeds 2 min 10 sec Verify Mock Expectation ${notification_request} Wait Until Keyword Succeeds ${total_polling_time} ${polling_interval} Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint_fwd} Loading @@ -96,7 +96,7 @@ Check Alarm cleared Notification Http POST Request Body Json Schema Is Check Alarm cleared Notification Http POST Request Body notificationType attribute Is [Arguments] ${type} Configure Notification Alarm Cleareance Handler ${callback_endpoint_fwd} ${type} Wait Until Keyword Succeeds 2 min 10 sec Verify Mock Expectation ${notification_request} Wait Until Keyword Succeeds ${total_polling_time} ${polling_interval} Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint_fwd} Loading SOL002/VNFFaultManagement-API/Subscriptions.robot +6 −6 Original line number Diff line number Diff line Loading @@ -457,7 +457,7 @@ Get subscriptions with filter "filter_notificationTypes" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_notificationTypes" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['filter']['notificationTypes']} ${notification_type} END Loading @@ -470,7 +470,7 @@ Get subscriptions with filter "filter_faultyResourceTypes" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_faultyResourceTypes" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['filter']['faultyResourceTypes']} ${faultyResourceType} END Loading @@ -483,7 +483,7 @@ Get subscriptions with filter "filter_perceivedSeverities" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_perceivedSeverities" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['filter']['perceivedSeverities']} ${perceivedSeverity} END Loading @@ -496,7 +496,7 @@ Get subscriptions with filter "filter_eventTypes" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_eventTypes" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['filter']['eventTypes']} ${eventType} END Loading @@ -509,7 +509,7 @@ Get subscriptions with filter "filter_probableCauses" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_probableCauses" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['filter']['probableCauses']} ${probableCause} END Loading SOL002/VNFFaultManagement-API/environment/variables.txt +6 −6 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ ${VNFM_ALLOWS_DUPLICATE_SUBS} 0 ${alarmId} 6fc3539c-e602-4afa-8e13-962fb5a7d81d ${etags} a modified etag ${wrong_etag} wrong-tag #${wrong_etag} wrong-tag ${CONTENT_TYPE_PATCH} application/merge-patch+json ${PerceivedSeverity} CRITICAL Loading @@ -35,8 +35,8 @@ ${callback_uri} http://localhost ${callback_port} 9091 ${callback_endpoint} /endpoint ${callback_endpoint_fwd} /endpoint/check ${callback_endpoint_error} /endpoint_404 ${sleep_interval} 20s #${callback_endpoint_error} /endpoint_404 #${sleep_interval} 20s ${total_polling_time} 2 min ${polling_interval} 10 sec ${notification_request} [] Loading @@ -44,9 +44,9 @@ ${notification_response} [] ${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar ${AlarmNotification} {} ${AlarmClearedNotification} {} ${AlarmListRebuiltNotification} {} #${AlarmNotification} {} #${AlarmClearedNotification} {} #${AlarmListRebuiltNotification} {} ${fields} softwareImages,additionalArtifacts Loading Loading
SOL002/VNFFaultManagement-API/Alarms.robot +5 −5 Original line number Diff line number Diff line Loading @@ -384,7 +384,7 @@ GET Alarms Task with filter "vnfcInstanceIds" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "vnfcInstanceIds" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Lists Should Be Equal ${item['vnfcInstanceIds']} ${vnfcInstanceIds} END Loading @@ -398,7 +398,7 @@ GET Alarms Task with filter "rootCauseFaultyResource_faultyResourceType" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "rootCauseFaultyResource_faultyResourceType" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['rootCauseFaultyResource']['faultyResourceType']} ${faultyResourceType} END Loading @@ -412,7 +412,7 @@ GET Alarms Task with filter "eventType" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "eventType" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['eventType']} ${eventType} END Loading @@ -426,7 +426,7 @@ GET Alarms Task with filter "perceivedSeverity" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "perceivedSeverity" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['perceivedSeverity']} ${PerceivedSeverity} END Loading @@ -440,6 +440,6 @@ GET Alarms Task with filter "probableCause" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body alarms Matches the requested attribute-based filter "probableCause" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['probableCause']} ${probableCause} END No newline at end of file
SOL002/VNFFaultManagement-API/Notifications.robot +3 −3 Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ Check Alarm List Rebuilt Notification Http POST Request Body Json Schema Is Check Alarm List Rebuilt Notification Http POST Request Body notificationType attribute Is [Arguments] ${type} Configure Notification Alarm List Rebuilt Handler ${callback_endpoint_fwd} ${type} Wait Until Keyword Succeeds 2 min 10 sec Verify Mock Expectation ${notification_request} Wait Until Keyword Succeeds ${total_polling_time} ${polling_interval} Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint_fwd} Loading @@ -83,7 +83,7 @@ Check Alarm Notification Http POST Request Body Json Schema Is Check Alarm Notification Http POST Request Body notificationType attribute Is [Arguments] ${type} Configure Notification Alarm Handler ${callback_endpoint_fwd} ${type} Wait Until Keyword Succeeds 2 min 10 sec Verify Mock Expectation ${notification_request} Wait Until Keyword Succeeds ${total_polling_time} ${polling_interval} Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint_fwd} Loading @@ -96,7 +96,7 @@ Check Alarm cleared Notification Http POST Request Body Json Schema Is Check Alarm cleared Notification Http POST Request Body notificationType attribute Is [Arguments] ${type} Configure Notification Alarm Cleareance Handler ${callback_endpoint_fwd} ${type} Wait Until Keyword Succeeds 2 min 10 sec Verify Mock Expectation ${notification_request} Wait Until Keyword Succeeds ${total_polling_time} ${polling_interval} Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint_fwd} Loading
SOL002/VNFFaultManagement-API/Subscriptions.robot +6 −6 Original line number Diff line number Diff line Loading @@ -457,7 +457,7 @@ Get subscriptions with filter "filter_notificationTypes" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_notificationTypes" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['filter']['notificationTypes']} ${notification_type} END Loading @@ -470,7 +470,7 @@ Get subscriptions with filter "filter_faultyResourceTypes" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_faultyResourceTypes" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['filter']['faultyResourceTypes']} ${faultyResourceType} END Loading @@ -483,7 +483,7 @@ Get subscriptions with filter "filter_perceivedSeverities" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_perceivedSeverities" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['filter']['perceivedSeverities']} ${perceivedSeverity} END Loading @@ -496,7 +496,7 @@ Get subscriptions with filter "filter_eventTypes" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_eventTypes" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['filter']['eventTypes']} ${eventType} END Loading @@ -509,7 +509,7 @@ Get subscriptions with filter "filter_probableCauses" Set Global Variable ${response} ${outputResponse} Check PostCondition HTTP Response Body Subscriptions Matches the requested attribute-based filter "filter_probableCauses" :FOR ${item} IN @{response['body']} FOR ${item} IN @{response['body']} Should Be Equal As Strings ${item['filter']['probableCauses']} ${probableCause} END Loading
SOL002/VNFFaultManagement-API/environment/variables.txt +6 −6 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ ${VNFM_ALLOWS_DUPLICATE_SUBS} 0 ${alarmId} 6fc3539c-e602-4afa-8e13-962fb5a7d81d ${etags} a modified etag ${wrong_etag} wrong-tag #${wrong_etag} wrong-tag ${CONTENT_TYPE_PATCH} application/merge-patch+json ${PerceivedSeverity} CRITICAL Loading @@ -35,8 +35,8 @@ ${callback_uri} http://localhost ${callback_port} 9091 ${callback_endpoint} /endpoint ${callback_endpoint_fwd} /endpoint/check ${callback_endpoint_error} /endpoint_404 ${sleep_interval} 20s #${callback_endpoint_error} /endpoint_404 #${sleep_interval} 20s ${total_polling_time} 2 min ${polling_interval} 10 sec ${notification_request} [] Loading @@ -44,9 +44,9 @@ ${notification_response} [] ${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar ${AlarmNotification} {} ${AlarmClearedNotification} {} ${AlarmListRebuiltNotification} {} #${AlarmNotification} {} #${AlarmClearedNotification} {} #${AlarmListRebuiltNotification} {} ${fields} softwareImages,additionalArtifacts Loading