diff --git a/SOL005/NSDManagement-API/IndividualNSDescriptor.robot b/SOL005/NSDManagement-API/IndividualNSDescriptor.robot index 3e73bee64ab67d80817c9b86dfadff6a0cb00270..7a738c9a1757ac568a6898f5165aa47971d6799d 100644 --- a/SOL005/NSDManagement-API/IndividualNSDescriptor.robot +++ b/SOL005/NSDManagement-API/IndividualNSDescriptor.robot @@ -5,6 +5,7 @@ Resource environment/generic.txt # Generic Parameters Resource environment/nsDescriptors.txt # Specific nsDescriptors Parameters Library JSONLibrary Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} +Library OperatingSystem *** Test Cases *** GET Single Network Service Descriptor diff --git a/SOL005/NSDManagement-API/IndividualPnfDescriptor.robot b/SOL005/NSDManagement-API/IndividualPnfDescriptor.robot index 8e1589f20c6145b42a8e5896e9e4fbaa4d6400d5..e558d9c22d4ddc7c927594e4c25d1f087dfcffd5 100644 --- a/SOL005/NSDManagement-API/IndividualPnfDescriptor.robot +++ b/SOL005/NSDManagement-API/IndividualPnfDescriptor.robot @@ -2,9 +2,10 @@ Documentation This clause defines all the resources and methods provided by the Iindividual PNF descriptor interface. \ Library JSONSchemaLibrary schemas/ Resource environment/generic.txt # Generic Parameters -Resource environment/nsDescriptors.txt # Specific nsDescriptors Parameters +Resource environment/pnfDescriptors.txt # Specific nsDescriptors Parameters Library JSONLibrary Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} +Library OperatingSystem *** Test Cases *** GET Single PNF Descriptor @@ -64,7 +65,7 @@ DELETE Single PNF Descriptor Log Trying to perform a DELETE pnfdInfo. Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} - DELETE ${apiRoot}/${apiName}/${apiVersion}/pnf_descriptors/${nsdInfoId} + DELETE ${apiRoot}/${apiName}/${apiVersion}/pnf_descriptors/${pnfdInfoId} Integer response status 204 Log Received 204 No Content as expected @@ -74,7 +75,7 @@ POST Single PNF Descriptor (Method not implemented) Set Headers {"Accept": "${ACCEPT_JSON}"} Set Headers {"Content-Type": "${CONTENT_TYPE_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} - POST ${apiRoot}/${apiName}/${apiVersion}/pnf_descriptors/${nsdInfoId} + POST ${apiRoot}/${apiName}/${apiVersion}/pnf_descriptors/${pnfdInfoId} Integer response status 405 Log Received 405 Method not implemented as expected @@ -84,7 +85,7 @@ PUT Single PNF Descriptor (Method not implemented) Log Trying to perform a PUT. This method should not be implemented Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} - PUT ${apiRoot}/${apiName}/${apiVersion}/pnf_descriptors/${nsdInfoId} + PUT ${apiRoot}/${apiName}/${apiVersion}/pnf_descriptors/${pnfdInfoId} Integer response status 405 Log Received 405 Method not implemented as expected diff --git a/SOL005/NSDManagement-API/PNFDescriptors.robot b/SOL005/NSDManagement-API/PNFDescriptors.robot index 3d514945ce235fbaada1a398abc7f623f484a297..e36cd9deb5b030c1834b33d47661f37ea3439c1e 100644 --- a/SOL005/NSDManagement-API/PNFDescriptors.robot +++ b/SOL005/NSDManagement-API/PNFDescriptors.robot @@ -5,6 +5,7 @@ Resource environment/generic.txt # Generic Parameters Resource environment/pnfDescriptors.txt # Specific nsDescriptors Parameters Library JSONLibrary Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} +Library OperatingSystem *** Test Cases *** GET all PNF Descriptors