Loading SOL005/NSLifecycleManagement-API/HealNSTask.robot 0 → 100644 +39 −0 Original line number Diff line number Diff line *** Settings *** Resource environment/variables.txt Resource NSLCMOperationKeywords.robot Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ Suite Setup Check resource existance *** Test Cases *** Heal a NSInstance Do POST Heal NSInstance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Heal a NSInstance Conflict [Setup] Check resource not_instantiated Do POST Heal NSInstance Check HTTP Response Status Code Is 409 Check HTTP Response Header Contains ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is ProblemDetails.schema.json GET Heal NSInstance- Method not implemented Do GET Heal NSInstance Check HTTP Response Status Code Is 405 PUT Heal NSInstance - Method not implemented Do PUT Heal NSInstance Check HTTP Response Status Code Is 405 PATCH Heal NSInstance - Method not implemented Do PATCH Heal NSInstance Check HTTP Response Status Code Is 405 DELETE Heal NSInstance - Method not implemented Do DELETE Heal NSInstance Check HTTP Response Status Code Is 405 No newline at end of file SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot 0 → 100644 +38 −0 Original line number Diff line number Diff line *** Settings *** Resource environment/variables.txt Resource NSLCMOperationKeywords.robot Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ Suite Setup Check resource existance *** Test Cases *** Post Individual VNFInstance - Method not implemented Do POST IndividualNSInstance Check HTTP Response Status Code Is 405 Get Information about an individual NS Instance Do POST individualNSInstance Check HTTP Response Status Code Is 200 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is nsInstance.schema.json PUT Individual NSInstance - Method not implemented Do PUT IndividualNSInstance Check HTTP Response Status Code Is 405 PATCH Individual NSInstance - Method not implemented Do PATCH IndividualNSInstance Check HTTP Response Status Code Is 405 DELETE Individual NSInstance Do DELETE IndividualNSInstance Check HTTP Response Status Code Is 204 DELETE Individual NSInstance Conflict [Setup] Check resource instantiated Do DELETE IndividualNSInstance Check HTTP Response Status Code Is 409 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is ProblemDetails.schema.json SOL005/NSLifecycleManagement-API/InstantiateNSTask.robot 0 → 100644 +37 −0 Original line number Diff line number Diff line *** Settings *** Resource environment/variables.txt Resource NSLCMOperationKeywords.robot Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ Suite Setup Check resource existance *** Test Cases *** Instantiate a nsInstance Do POST Instatiate nsInstance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Instantiate a nsInstance Conflict [Setup] Check resource instantiated Do POST Instatiate nsInstance Check HTTP Response Status Code Is 409 Check HTTP Response Header Contains ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is ProblemDetails.schema.json GET Instantiate NSInstance - Method not implemented Do GET Instantiate NSInstance Check HTTP Response Status Code Is 405 PUT Instantiate NSInstance - Method not implemented Do PUT Instantiate NSInstance Check HTTP Response Status Code Is 405 PATCH Instantiate NSInstance - Method not implemented Do PATCH Instantiate NSInstance Check HTTP Response Status Code Is 405 DELETE Instantiate NSInstance - Method not implemented Do DELETE Instantiate NSInstance Check HTTP Response Status Code Is 405 No newline at end of file SOL005/NSLifecycleManagement-API/NSInstances.robot +25 −3 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** Create a new NsInstance Do POST New vnfInstance Do POST New nsInstance Check HTTP Response Status Code Is 201 Check HTTP Response Header Contains Location Check HTTP Response Header ContentType is ${CONTENT_TYPE} Loading @@ -18,6 +18,28 @@ Get information about multiple NS instances Do GET NsInstances Check HTTP Response Status Code Is 200 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is vnfInstances.schema.json Log Validation OK Check HTTP Response Body Json Schema Is NsInstances.schema.json Get information about multiple NS instances Bad Request Invalid attribute-based filtering parameters Do GET NsInstance Invalid Attribute-Based filtering parameter Check HTTP Response Status Code Is 400 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is ProblemDetails.schema.json Get information about multiple NS instances Bad Request Invalid attribute selector Do GET NsInstance Invalid Attribute Selector Check HTTP Response Status Code Is 400 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is ProblemDetails.schema.json PUT NSInstances - Method not implemented Do PUT NSInstances Check HTTP Response Status Code Is 405 PATCH NSInstances - Method not implemented Do PATCH NSInstances Check HTTP Response Status Code Is 405 DELETE NSInstances - Method not implemented Do DELETE NSInstances Check HTTP Response Status Code Is 405 No newline at end of file SOL005/NSLifecycleManagement-API/NSLCMOccurences.robot 0 → 100644 +43 −0 Original line number Diff line number Diff line *** Settings *** Resource environment/variables.txt Resource NSLCMOperationKeywords.robot Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ *** Test Cases *** Post NS LCM occurences - Method not implemented Do POST NS LCM OP Occurences Check HTTP Response Status Code Is 405 PUT stauts information about multiple NS LCM OP OCC - Method not implemented Do PUT NS LCM OP Occurences Check HTTP Response Status Code Is 405 PATCH stauts information about multiple NS LCM OP OCC - Method not implemented Do PATCH NS LCM OP Occurences Check HTTP Response Status Code Is 405 DELETE stauts information about multiple NS LCM OP OCC - Method not implemented Do DELETE NS LCM OP Occurences Check HTTP Response Status Code Is 405 Get stauts information about multiple NS LCM OP OCC Do GET NS LCN OP Occurences Check HTTP Response Status Code Is 200 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is NsLcmOpOccs.schema.json Get stauts information about multiple NS LCM OP OCC Bad Request Invalid attribute-based filtering parameters Do GET NS LCN OP Occurences Invalid attribute-based filtering parameters Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails.schema.json Get stauts information about multiple NS LCM OP OCC Bad Request Invalid attribute selector Do GET NS LCN OP Occurences Invalid attribute selector Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails.schema.json No newline at end of file Loading
SOL005/NSLifecycleManagement-API/HealNSTask.robot 0 → 100644 +39 −0 Original line number Diff line number Diff line *** Settings *** Resource environment/variables.txt Resource NSLCMOperationKeywords.robot Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ Suite Setup Check resource existance *** Test Cases *** Heal a NSInstance Do POST Heal NSInstance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Heal a NSInstance Conflict [Setup] Check resource not_instantiated Do POST Heal NSInstance Check HTTP Response Status Code Is 409 Check HTTP Response Header Contains ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is ProblemDetails.schema.json GET Heal NSInstance- Method not implemented Do GET Heal NSInstance Check HTTP Response Status Code Is 405 PUT Heal NSInstance - Method not implemented Do PUT Heal NSInstance Check HTTP Response Status Code Is 405 PATCH Heal NSInstance - Method not implemented Do PATCH Heal NSInstance Check HTTP Response Status Code Is 405 DELETE Heal NSInstance - Method not implemented Do DELETE Heal NSInstance Check HTTP Response Status Code Is 405 No newline at end of file
SOL005/NSLifecycleManagement-API/IndividualNSInstance.robot 0 → 100644 +38 −0 Original line number Diff line number Diff line *** Settings *** Resource environment/variables.txt Resource NSLCMOperationKeywords.robot Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ Suite Setup Check resource existance *** Test Cases *** Post Individual VNFInstance - Method not implemented Do POST IndividualNSInstance Check HTTP Response Status Code Is 405 Get Information about an individual NS Instance Do POST individualNSInstance Check HTTP Response Status Code Is 200 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is nsInstance.schema.json PUT Individual NSInstance - Method not implemented Do PUT IndividualNSInstance Check HTTP Response Status Code Is 405 PATCH Individual NSInstance - Method not implemented Do PATCH IndividualNSInstance Check HTTP Response Status Code Is 405 DELETE Individual NSInstance Do DELETE IndividualNSInstance Check HTTP Response Status Code Is 204 DELETE Individual NSInstance Conflict [Setup] Check resource instantiated Do DELETE IndividualNSInstance Check HTTP Response Status Code Is 409 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is ProblemDetails.schema.json
SOL005/NSLifecycleManagement-API/InstantiateNSTask.robot 0 → 100644 +37 −0 Original line number Diff line number Diff line *** Settings *** Resource environment/variables.txt Resource NSLCMOperationKeywords.robot Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ Suite Setup Check resource existance *** Test Cases *** Instantiate a nsInstance Do POST Instatiate nsInstance Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location Instantiate a nsInstance Conflict [Setup] Check resource instantiated Do POST Instatiate nsInstance Check HTTP Response Status Code Is 409 Check HTTP Response Header Contains ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is ProblemDetails.schema.json GET Instantiate NSInstance - Method not implemented Do GET Instantiate NSInstance Check HTTP Response Status Code Is 405 PUT Instantiate NSInstance - Method not implemented Do PUT Instantiate NSInstance Check HTTP Response Status Code Is 405 PATCH Instantiate NSInstance - Method not implemented Do PATCH Instantiate NSInstance Check HTTP Response Status Code Is 405 DELETE Instantiate NSInstance - Method not implemented Do DELETE Instantiate NSInstance Check HTTP Response Status Code Is 405 No newline at end of file
SOL005/NSLifecycleManagement-API/NSInstances.robot +25 −3 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ Library JSONSchemaLibrary schemas/ *** Test Cases *** Create a new NsInstance Do POST New vnfInstance Do POST New nsInstance Check HTTP Response Status Code Is 201 Check HTTP Response Header Contains Location Check HTTP Response Header ContentType is ${CONTENT_TYPE} Loading @@ -18,6 +18,28 @@ Get information about multiple NS instances Do GET NsInstances Check HTTP Response Status Code Is 200 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is vnfInstances.schema.json Log Validation OK Check HTTP Response Body Json Schema Is NsInstances.schema.json Get information about multiple NS instances Bad Request Invalid attribute-based filtering parameters Do GET NsInstance Invalid Attribute-Based filtering parameter Check HTTP Response Status Code Is 400 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is ProblemDetails.schema.json Get information about multiple NS instances Bad Request Invalid attribute selector Do GET NsInstance Invalid Attribute Selector Check HTTP Response Status Code Is 400 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is ProblemDetails.schema.json PUT NSInstances - Method not implemented Do PUT NSInstances Check HTTP Response Status Code Is 405 PATCH NSInstances - Method not implemented Do PATCH NSInstances Check HTTP Response Status Code Is 405 DELETE NSInstances - Method not implemented Do DELETE NSInstances Check HTTP Response Status Code Is 405 No newline at end of file
SOL005/NSLifecycleManagement-API/NSLCMOccurences.robot 0 → 100644 +43 −0 Original line number Diff line number Diff line *** Settings *** Resource environment/variables.txt Resource NSLCMOperationKeywords.robot Library REST ${NFVO_SCHEMA}://${NFVO_HOST}:${NFVO_PORT} Library OperatingSystem Library JSONLibrary Library JSONSchemaLibrary schemas/ *** Test Cases *** Post NS LCM occurences - Method not implemented Do POST NS LCM OP Occurences Check HTTP Response Status Code Is 405 PUT stauts information about multiple NS LCM OP OCC - Method not implemented Do PUT NS LCM OP Occurences Check HTTP Response Status Code Is 405 PATCH stauts information about multiple NS LCM OP OCC - Method not implemented Do PATCH NS LCM OP Occurences Check HTTP Response Status Code Is 405 DELETE stauts information about multiple NS LCM OP OCC - Method not implemented Do DELETE NS LCM OP Occurences Check HTTP Response Status Code Is 405 Get stauts information about multiple NS LCM OP OCC Do GET NS LCN OP Occurences Check HTTP Response Status Code Is 200 Check HTTP Response Header ContentType is ${CONTENT_TYPE} Check HTTP Response Body Json Schema Is NsLcmOpOccs.schema.json Get stauts information about multiple NS LCM OP OCC Bad Request Invalid attribute-based filtering parameters Do GET NS LCN OP Occurences Invalid attribute-based filtering parameters Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails.schema.json Get stauts information about multiple NS LCM OP OCC Bad Request Invalid attribute selector Do GET NS LCN OP Occurences Invalid attribute selector Check HTTP Response Status Code Is 400 Check HTTP Response Body Json Schema Is ProblemDetails.schema.json No newline at end of file