Loading SOL005/VNFPackageManagement-API/IndividualVNFPackage.robot +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ GET Individual VNF Package Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is vnfPkgInfo Check HTTP Response Body vnfPkgInfo Identifier matches the requested VNF Package Check HTTP Response Body vnfPkgInfo content against VNF Descriptor GET Individual VNF Package with invalid resource identifier [Documentation] Test ID: 5.3.5.2.2 Loading SOL005/VNFPackageManagement-API/NotificationConsumer.robot +5 −2 Original line number Diff line number Diff line *** Settings *** Library JSONSchemaLibrary schemas/ Resource environment/variables.txt Resource VNFPackageManagementKeywords.robot Library OperatingSystem Library JSONLibrary Library String Loading Loading @@ -52,8 +53,9 @@ Post VNF Package Onboarding Notification Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Run Keyword If ${check_descriptors} == 1 Add VNF Descriptor Content to VNF Package ${template} = Get File jsons/VnfPackageOnboardingNotification.json ${body}= Format String ${template} subscriptionId=${subscriptionId} vnfPkgId=${vnfPkgId} ${body}= Format String ${template} subscriptionId=${subscriptionId} vnfPkgId=${vnfPkgId} vnfdId=${descriptor_id} Post ${callbackResp} ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Loading @@ -63,8 +65,9 @@ Post VNF Package Change Notification Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Run Keyword If ${check_descriptors} == 1 Add VNF Descriptor Content to VNF Package ${template} = Get File jsons/VnfPackageChangeNotification.json ${body}= Format String ${template} subscriptionId=${subscriptionId} vnfPkgId=${vnfPkgId} ${body}= Format String ${template} subscriptionId=${subscriptionId} vnfPkgId=${vnfPkgId} vnfdId=${descriptor_id} Post ${callbackResp} ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} No newline at end of file SOL005/VNFPackageManagement-API/jsons/VnfPackageChangeNotification.json +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ "subscriptionId":"{subscriptionId}", "timeStamp":"", "vnfPkgId":"{vnfPkgId}", "vnfdId":"", "vnfdId":"{vnfdId}", "changeType":"PKG_DELETE", "_links":"" }} SOL005/VNFPackageManagement-API/jsons/VnfPackageOnboardingNotification.json +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ "subscriptionId":"{subscriptionId}", "timeStamp":"", "vnfPkgId":"{vnfPkgId}", "vnfdId":"", "vnfdId":"{vnfdId}", "vnfmInfo":"", "_links":"" }} Loading
SOL005/VNFPackageManagement-API/IndividualVNFPackage.robot +1 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ GET Individual VNF Package Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is vnfPkgInfo Check HTTP Response Body vnfPkgInfo Identifier matches the requested VNF Package Check HTTP Response Body vnfPkgInfo content against VNF Descriptor GET Individual VNF Package with invalid resource identifier [Documentation] Test ID: 5.3.5.2.2 Loading
SOL005/VNFPackageManagement-API/NotificationConsumer.robot +5 −2 Original line number Diff line number Diff line *** Settings *** Library JSONSchemaLibrary schemas/ Resource environment/variables.txt Resource VNFPackageManagementKeywords.robot Library OperatingSystem Library JSONLibrary Library String Loading Loading @@ -52,8 +53,9 @@ Post VNF Package Onboarding Notification Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Run Keyword If ${check_descriptors} == 1 Add VNF Descriptor Content to VNF Package ${template} = Get File jsons/VnfPackageOnboardingNotification.json ${body}= Format String ${template} subscriptionId=${subscriptionId} vnfPkgId=${vnfPkgId} ${body}= Format String ${template} subscriptionId=${subscriptionId} vnfPkgId=${vnfPkgId} vnfdId=${descriptor_id} Post ${callbackResp} ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} Loading @@ -63,8 +65,9 @@ Post VNF Package Change Notification Set Headers {"Accept":"${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization":"${AUTHORIZATION}"} Run Keyword If ${check_descriptors} == 1 Add VNF Descriptor Content to VNF Package ${template} = Get File jsons/VnfPackageChangeNotification.json ${body}= Format String ${template} subscriptionId=${subscriptionId} vnfPkgId=${vnfPkgId} ${body}= Format String ${template} subscriptionId=${subscriptionId} vnfPkgId=${vnfPkgId} vnfdId=${descriptor_id} Post ${callbackResp} ${body} ${outputResponse}= Output response Set Global Variable ${response} ${outputResponse} No newline at end of file
SOL005/VNFPackageManagement-API/jsons/VnfPackageChangeNotification.json +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ "subscriptionId":"{subscriptionId}", "timeStamp":"", "vnfPkgId":"{vnfPkgId}", "vnfdId":"", "vnfdId":"{vnfdId}", "changeType":"PKG_DELETE", "_links":"" }}
SOL005/VNFPackageManagement-API/jsons/VnfPackageOnboardingNotification.json +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ "subscriptionId":"{subscriptionId}", "timeStamp":"", "vnfPkgId":"{vnfPkgId}", "vnfdId":"", "vnfdId":"{vnfdId}", "vnfmInfo":"", "_links":"" }}