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