Loading SOL009/NFVMANOPerformanceManagement-API/NFVMANOPMKeywords.robot +3 −9 Original line number Diff line number Diff line Loading @@ -2,12 +2,6 @@ Library String Library JSONSchemaLibrary schemas/ Resource environment/variables.txt Resource environment/pmJobs.txt Resource environment/IndividualPmJob.txt Resource environment/thresholds.txt Resource environment/individualThresholds.txt Resource environment/notifications.txt Resource environment/reports.txt Library DependencyLibrary Library JSONLibrary Library OperatingSystem Loading @@ -27,7 +21,7 @@ GET Performance Monitoring Jobs with malformed authorization token Pass Execution If ${AUTH_USAGE} == 0 Skipping test as NFVO is not supporting authentication Log The GET method queries using invalid token Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Authorization": "${BAD_AUTHORIZATION}"} Set Headers {"${AUTHORIZATION_HEADER}": "${BAD_AUTHORIZATION}"} Log Execute Query and validate response Get ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs ${output}= Output response Loading @@ -46,7 +40,7 @@ GET Performance Monitoring Jobs with expired or revoked authorization token Pass Execution If ${AUTH_USAGE} == 0 Skipping test as it is not supporting authentication Log The GET method queries using invalid token Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Authorization": "${NEG_AUTHORIZATION}"} Set Headers {"${AUTHORIZATION_HEADER}": "${NEG_AUTHORIZATION_TOKEN}"} Log Execute Query and validate response Get ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs ${output}= Output response Loading SOL009/NFVMANOPerformanceManagement-API/environment/IndividualPmJob.txtdeleted 100644 → 0 +0 −7 Original line number Diff line number Diff line *** Variables *** ${pmJobId} 29f4ff6a-be91-4ec8-856e-fcf1e2479e4e ${erroneousPmJobId} erroneousPmJobId ${newPmJobId} newPmJobId ${response}= httpresponse ${OrigResponse}= httpresponse ${invalid_etag} invalid etag No newline at end of file SOL009/NFVMANOPerformanceManagement-API/environment/individualThresholds.txtdeleted 100644 → 0 +0 −6 Original line number Diff line number Diff line *** Variables *** ${thresholdId} 1f50d68b-82e8-4deb-bd40-c934d4d1ac0a ${erroneousThresholdId} erroneousThresholdId ${newThresholdId} newThresholdId ${response}= httpresponse ${origResponse}= httpresponse No newline at end of file SOL009/NFVMANOPerformanceManagement-API/environment/notifications.txtdeleted 100644 → 0 +0 −12 Original line number Diff line number Diff line *** Variables *** ${callback_uri} http://localhost ${callback_port} 9091 ${callback_endpoint} /endpoint ${callback_endpoint_fwd} /endpoint/check ${callback_endpoint_error} /endpoint_404 ${sleep_interval} 20s ${total_polling_time} 2 min ${polling_interval} 10 sec ${notification_request} [] ${notification_response} [] No newline at end of file SOL009/NFVMANOPerformanceManagement-API/environment/pmJobs.txtdeleted 100644 → 0 +0 −5 Original line number Diff line number Diff line *** Variables *** ${POS_FILTER} objectInstanceIds=1f50d68b-82e8-4deb-bd40-c934d4d1ac0a ${NEG_FILTER} criteriaPmJob=erroneousAttributeName ${fields} criteria,objectInstanceIds ${response} httpresponse Loading
SOL009/NFVMANOPerformanceManagement-API/NFVMANOPMKeywords.robot +3 −9 Original line number Diff line number Diff line Loading @@ -2,12 +2,6 @@ Library String Library JSONSchemaLibrary schemas/ Resource environment/variables.txt Resource environment/pmJobs.txt Resource environment/IndividualPmJob.txt Resource environment/thresholds.txt Resource environment/individualThresholds.txt Resource environment/notifications.txt Resource environment/reports.txt Library DependencyLibrary Library JSONLibrary Library OperatingSystem Loading @@ -27,7 +21,7 @@ GET Performance Monitoring Jobs with malformed authorization token Pass Execution If ${AUTH_USAGE} == 0 Skipping test as NFVO is not supporting authentication Log The GET method queries using invalid token Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Authorization": "${BAD_AUTHORIZATION}"} Set Headers {"${AUTHORIZATION_HEADER}": "${BAD_AUTHORIZATION}"} Log Execute Query and validate response Get ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs ${output}= Output response Loading @@ -46,7 +40,7 @@ GET Performance Monitoring Jobs with expired or revoked authorization token Pass Execution If ${AUTH_USAGE} == 0 Skipping test as it is not supporting authentication Log The GET method queries using invalid token Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Authorization": "${NEG_AUTHORIZATION}"} Set Headers {"${AUTHORIZATION_HEADER}": "${NEG_AUTHORIZATION_TOKEN}"} Log Execute Query and validate response Get ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs ${output}= Output response Loading
SOL009/NFVMANOPerformanceManagement-API/environment/IndividualPmJob.txtdeleted 100644 → 0 +0 −7 Original line number Diff line number Diff line *** Variables *** ${pmJobId} 29f4ff6a-be91-4ec8-856e-fcf1e2479e4e ${erroneousPmJobId} erroneousPmJobId ${newPmJobId} newPmJobId ${response}= httpresponse ${OrigResponse}= httpresponse ${invalid_etag} invalid etag No newline at end of file
SOL009/NFVMANOPerformanceManagement-API/environment/individualThresholds.txtdeleted 100644 → 0 +0 −6 Original line number Diff line number Diff line *** Variables *** ${thresholdId} 1f50d68b-82e8-4deb-bd40-c934d4d1ac0a ${erroneousThresholdId} erroneousThresholdId ${newThresholdId} newThresholdId ${response}= httpresponse ${origResponse}= httpresponse No newline at end of file
SOL009/NFVMANOPerformanceManagement-API/environment/notifications.txtdeleted 100644 → 0 +0 −12 Original line number Diff line number Diff line *** Variables *** ${callback_uri} http://localhost ${callback_port} 9091 ${callback_endpoint} /endpoint ${callback_endpoint_fwd} /endpoint/check ${callback_endpoint_error} /endpoint_404 ${sleep_interval} 20s ${total_polling_time} 2 min ${polling_interval} 10 sec ${notification_request} [] ${notification_response} [] No newline at end of file
SOL009/NFVMANOPerformanceManagement-API/environment/pmJobs.txtdeleted 100644 → 0 +0 −5 Original line number Diff line number Diff line *** Variables *** ${POS_FILTER} objectInstanceIds=1f50d68b-82e8-4deb-bd40-c934d4d1ac0a ${NEG_FILTER} criteriaPmJob=erroneousAttributeName ${fields} criteria,objectInstanceIds ${response} httpresponse