From 958a1de1b20f02387a754815bdc2d800328f6465 Mon Sep 17 00:00:00 2001 From: uihassan Date: Thu, 13 Aug 2020 10:51:41 +0500 Subject: [PATCH] Json file added ChangeStateRequest --- .../NFVMANOCimKeywords.robot | 2 +- .../jsons/ChangeStateRequest.json | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 SOL009/NFVManoConfigurationAndInformationManagement-API/jsons/ChangeStateRequest.json diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot index 0f699709..1c249dc6 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot @@ -391,7 +391,7 @@ Send Post request for Change interface state task Log Trying to perform a POST for Change interface state task Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} - ${body}= Get File jsons/ManoConfigModificationRequest.json + ${body}= Get File jsons/ChangeStateRequest.json POST ${apiRoot}/${apiName}/${apiMajorVersion}/mano_entity/mano_interfaces/${manoServiceInterfaceId}/change_state ${body} ${output}= Output response Set Suite Variable ${response} ${output} diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/jsons/ChangeStateRequest.json b/SOL009/NFVManoConfigurationAndInformationManagement-API/jsons/ChangeStateRequest.json new file mode 100644 index 00000000..82608e37 --- /dev/null +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/jsons/ChangeStateRequest.json @@ -0,0 +1,7 @@ +{ + "operationalStateChange": + { + "operationalStateAction":"START" + } + +} \ No newline at end of file -- GitLab