Loading SOL003/VNFPerformanceManagement-API/IndividualPmJob.robot +12 −1 Original line number Original line Diff line number Diff line Loading @@ -110,7 +110,7 @@ PATCH Individual VNF Performance Job - Precondition failed ... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM ... Applicability: none ... Applicability: none ... Post-Conditions: The VNF Performance Job is not modified by the operation ... Post-Conditions: The VNF Performance Job is not modified by the operation Send Patch request for individual VNF Performance Job Send Patch request for individual VNF Performance Job - Etag mismatch Check HTTP Response Status Code Is 412 Check HTTP Response Status Code Is 412 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Check Postcondition VNF Performance Job is Unmodified (Implicit) Check Postcondition VNF Performance Job is Unmodified (Implicit) Loading Loading @@ -202,6 +202,17 @@ Send Patch request for individual VNF Performance Job Verify Mock Expectation ${notification_request} Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint} Send Patch request for individual VNF Performance Job - Etag mismatch Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Set Headers {"If-Match": "${invalid_etag}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${template}= Get File jsons/PMJobModifications.json ${body}= Format String ${template} callback_uri=${callback_uri} callback_port=${callback_port} callback_uri=${callback_endpoint} PATCH ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${pmJobId} ${body} ${output}= Output response Set Suite Variable ${response} ${output} Send Patch request for individual VNF Performance Job with Unprocessable Entity Send Patch request for individual VNF Performance Job with Unprocessable Entity Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Loading SOL003/VNFPerformanceManagement-API/IndividualThreshold.robot +13 −1 Original line number Original line Diff line number Diff line Loading @@ -110,7 +110,7 @@ PATCH Individual Threshold - Precondition failed ... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM ... Applicability: none ... Applicability: none ... Post-Conditions: The VNF Performance Job is not modified by the operation ... Post-Conditions: The VNF Performance Job is not modified by the operation Send Patch request for individual VNF Performance Threshold Send Patch request for individual VNF Performance Threshold - Etag mismatch Check HTTP Response Status Code Is 412 Check HTTP Response Status Code Is 412 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Check Postcondition VNF Performance Threshold is Unmodified (Implicit) Check Postcondition VNF Performance Threshold is Unmodified (Implicit) Loading Loading @@ -200,6 +200,18 @@ Send Patch request for individual VNF Performance Threshold Verify Mock Expectation ${notification_request} Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint} Send Patch request for individual VNF Performance Threshold - Etag mismatch Log Trying to PUT threshold Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Set Headers {"If-Match": "${invalid_etag}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${template}= Get File jsons/ThresholdModifications.json ${body}= Format String ${template} callback_uri=${callback_uri} callback_port=${callback_port} callback_uri=${callback_endpoint} PATCH ${apiRoot}/${apiName}/${apiMajorVersion}/thresholds/${thresholdId} ${output}= Output response Set Suite Variable ${response} ${output} Send Patch request for individual VNF Performance Threshold with Unprocessable Entity Send Patch request for individual VNF Performance Threshold with Unprocessable Entity Log Trying to PUT threshold Log Trying to PUT threshold Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Accept":"${ACCEPT_JSON}"} Loading SOL003/VNFPerformanceManagement-API/environment/variables.txt +3 −1 Original line number Original line Diff line number Diff line Loading @@ -67,3 +67,5 @@ ${FILTER_OK} objectInstanceId=${objectInstanceIds} ${FILTER_KO} criterias=erroneousFilter ${FILTER_KO} criterias=erroneousFilter ${callbackResp} localhost ${callbackResp} localhost ${invalid_etag} invalid etag No newline at end of file Loading
SOL003/VNFPerformanceManagement-API/IndividualPmJob.robot +12 −1 Original line number Original line Diff line number Diff line Loading @@ -110,7 +110,7 @@ PATCH Individual VNF Performance Job - Precondition failed ... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM ... Applicability: none ... Applicability: none ... Post-Conditions: The VNF Performance Job is not modified by the operation ... Post-Conditions: The VNF Performance Job is not modified by the operation Send Patch request for individual VNF Performance Job Send Patch request for individual VNF Performance Job - Etag mismatch Check HTTP Response Status Code Is 412 Check HTTP Response Status Code Is 412 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Check Postcondition VNF Performance Job is Unmodified (Implicit) Check Postcondition VNF Performance Job is Unmodified (Implicit) Loading Loading @@ -202,6 +202,17 @@ Send Patch request for individual VNF Performance Job Verify Mock Expectation ${notification_request} Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint} Send Patch request for individual VNF Performance Job - Etag mismatch Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Set Headers {"If-Match": "${invalid_etag}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${template}= Get File jsons/PMJobModifications.json ${body}= Format String ${template} callback_uri=${callback_uri} callback_port=${callback_port} callback_uri=${callback_endpoint} PATCH ${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${pmJobId} ${body} ${output}= Output response Set Suite Variable ${response} ${output} Send Patch request for individual VNF Performance Job with Unprocessable Entity Send Patch request for individual VNF Performance Job with Unprocessable Entity Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Loading
SOL003/VNFPerformanceManagement-API/IndividualThreshold.robot +13 −1 Original line number Original line Diff line number Diff line Loading @@ -110,7 +110,7 @@ PATCH Individual Threshold - Precondition failed ... Config ID: Config_prod_VNFM ... Config ID: Config_prod_VNFM ... Applicability: none ... Applicability: none ... Post-Conditions: The VNF Performance Job is not modified by the operation ... Post-Conditions: The VNF Performance Job is not modified by the operation Send Patch request for individual VNF Performance Threshold Send Patch request for individual VNF Performance Threshold - Etag mismatch Check HTTP Response Status Code Is 412 Check HTTP Response Status Code Is 412 Check HTTP Response Body Json Schema Is ProblemDetails Check HTTP Response Body Json Schema Is ProblemDetails Check Postcondition VNF Performance Threshold is Unmodified (Implicit) Check Postcondition VNF Performance Threshold is Unmodified (Implicit) Loading Loading @@ -200,6 +200,18 @@ Send Patch request for individual VNF Performance Threshold Verify Mock Expectation ${notification_request} Verify Mock Expectation ${notification_request} Clear Requests ${callback_endpoint} Clear Requests ${callback_endpoint} Send Patch request for individual VNF Performance Threshold - Etag mismatch Log Trying to PUT threshold Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Set Headers {"If-Match": "${invalid_etag}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} ${template}= Get File jsons/ThresholdModifications.json ${body}= Format String ${template} callback_uri=${callback_uri} callback_port=${callback_port} callback_uri=${callback_endpoint} PATCH ${apiRoot}/${apiName}/${apiMajorVersion}/thresholds/${thresholdId} ${output}= Output response Set Suite Variable ${response} ${output} Send Patch request for individual VNF Performance Threshold with Unprocessable Entity Send Patch request for individual VNF Performance Threshold with Unprocessable Entity Log Trying to PUT threshold Log Trying to PUT threshold Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Accept":"${ACCEPT_JSON}"} Loading
SOL003/VNFPerformanceManagement-API/environment/variables.txt +3 −1 Original line number Original line Diff line number Diff line Loading @@ -67,3 +67,5 @@ ${FILTER_OK} objectInstanceId=${objectInstanceIds} ${FILTER_KO} criterias=erroneousFilter ${FILTER_KO} criterias=erroneousFilter ${callbackResp} localhost ${callbackResp} localhost ${invalid_etag} invalid etag No newline at end of file