Loading SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot +6 −4 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ Send Post request for NFV-MANO functional entity application state change Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} ${template}= Get File jsons/ChangeStateRequest.json ${body}= Format String ${template} state=${state} operationalStateAction=${operationalStateAction} ${body}= Format String ${template} state=${state} stateAction=${stateAction} POST ${apiRoot}/${apiName}/${apiMajorVersion}/mano_entity/change_state ${output}= Output response Set Suite Variable ${response} ${output} Loading @@ -93,7 +93,8 @@ Check entity state Get ${response['headers']['Location']} Log Validate Status code Integer response status 200 Should Be Equal As Strings response body manoApplicationState ${state} ${operationalStateAction} ${respState} = Catenate SEPARATOR= change ${state} StateRequest Should Be Equal As Strings response body ${respState} ${stateAction} Log Validated Send Get request for NFV-MANO functional entity application state change Loading Loading @@ -427,7 +428,7 @@ Send Post request for Change interface state task Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} ${template}= Get File jsons/ChangeStateRequest.json ${body}= Format String ${template} state=${state} operationalStateAction=${operationalStateAction} ${body}= Format String ${template} state=${state} stateAction=${stateAction} POST ${apiRoot}/${apiName}/${apiMajorVersion}/mano_entity/mano_interfaces/${manoServiceInterfaceId}/change_state ${body} ${output}= Output response Set Suite Variable ${response} ${output} Loading @@ -441,7 +442,8 @@ Check interface state Get ${response['headers']['Location']} Log Validate Status code Integer response status 200 Should Be Equal As Strings response body interfaceState ${state} ${operationalStateAction} ${respState} = Catenate SEPARATOR= change ${state} StateRequest Should Be Equal As Strings response body ${respState} ${stateAction} Log Validated Send Get request for Change interface state task Loading SOL009/NFVManoConfigurationAndInformationManagement-API/environment/variables.txt +2 −2 Original line number Diff line number Diff line Loading @@ -60,8 +60,8 @@ ${origResponse} {} ${name} EntityName ${type} NFVO ${state} operationalStateChange ${operationalStateAction} START ${state} operational ${stateAction} START ${retry} 2 min ${polling} 10 sec No newline at end of file SOL009/NFVManoConfigurationAndInformationManagement-API/jsons/ChangeStateRequest.json +2 −2 Original line number Diff line number Diff line {{ "{state}": "{state}StateChange": {{ "operationalStateAction":"{operationalStateAction}" "{state}StateAction":"{stateAction}" }} }} No newline at end of file Loading
SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot +6 −4 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ Send Post request for NFV-MANO functional entity application state change Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} ${template}= Get File jsons/ChangeStateRequest.json ${body}= Format String ${template} state=${state} operationalStateAction=${operationalStateAction} ${body}= Format String ${template} state=${state} stateAction=${stateAction} POST ${apiRoot}/${apiName}/${apiMajorVersion}/mano_entity/change_state ${output}= Output response Set Suite Variable ${response} ${output} Loading @@ -93,7 +93,8 @@ Check entity state Get ${response['headers']['Location']} Log Validate Status code Integer response status 200 Should Be Equal As Strings response body manoApplicationState ${state} ${operationalStateAction} ${respState} = Catenate SEPARATOR= change ${state} StateRequest Should Be Equal As Strings response body ${respState} ${stateAction} Log Validated Send Get request for NFV-MANO functional entity application state change Loading Loading @@ -427,7 +428,7 @@ Send Post request for Change interface state task Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} ${template}= Get File jsons/ChangeStateRequest.json ${body}= Format String ${template} state=${state} operationalStateAction=${operationalStateAction} ${body}= Format String ${template} state=${state} stateAction=${stateAction} POST ${apiRoot}/${apiName}/${apiMajorVersion}/mano_entity/mano_interfaces/${manoServiceInterfaceId}/change_state ${body} ${output}= Output response Set Suite Variable ${response} ${output} Loading @@ -441,7 +442,8 @@ Check interface state Get ${response['headers']['Location']} Log Validate Status code Integer response status 200 Should Be Equal As Strings response body interfaceState ${state} ${operationalStateAction} ${respState} = Catenate SEPARATOR= change ${state} StateRequest Should Be Equal As Strings response body ${respState} ${stateAction} Log Validated Send Get request for Change interface state task Loading
SOL009/NFVManoConfigurationAndInformationManagement-API/environment/variables.txt +2 −2 Original line number Diff line number Diff line Loading @@ -60,8 +60,8 @@ ${origResponse} {} ${name} EntityName ${type} NFVO ${state} operationalStateChange ${operationalStateAction} START ${state} operational ${stateAction} START ${retry} 2 min ${polling} 10 sec No newline at end of file
SOL009/NFVManoConfigurationAndInformationManagement-API/jsons/ChangeStateRequest.json +2 −2 Original line number Diff line number Diff line {{ "{state}": "{state}StateChange": {{ "operationalStateAction":"{operationalStateAction}" "{state}StateAction":"{stateAction}" }} }} No newline at end of file