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