diff --git a/SOL009/NFVMANOFaultManagement-API/Alarms.robot b/SOL009/NFVMANOFaultManagement-API/Alarms.robot index 6c42372af26c634b8e575c72129e3cbc87833d62..eb79e9bc580632104930d2c6974403938bad0306 100644 --- a/SOL009/NFVMANOFaultManagement-API/Alarms.robot +++ b/SOL009/NFVMANOFaultManagement-API/Alarms.robot @@ -7,7 +7,7 @@ POST Alarms - Method not implemented ... Test title: POST Alarms - Method not implemented ... Test objective: The objective is to test that Post method is not allowed to create fault management alarms on NFV-MANO ... Pre-conditions: none - ... Reference: clause 7.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -19,7 +19,7 @@ Get information about multiple alarms ... Test title: Get information about multiple alarms ... Test objective: The objective is to retrieve information about the alarm list and perform a JSON schema of the returned alarms data structure ... Pre-conditions: none - ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -32,7 +32,7 @@ Get information about multiple alarms with filter ... Test title: Get information about multiple alarms with filter ... Test objective: The objective is to retrieve information about the alarm list and perform a JSON schema validation of the returned alarms data structure, and verify that the retrieved information matches the issued attribute-based filters ... Pre-conditions: none - ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -45,7 +45,7 @@ Get information about multiple alarms with invalid attribute-based filtering par ... Test title: Get information about multiple alarms with invalid attribute-based filtering parameters ... Test objective: The objective is to try to retrieve information about the alarm list with invalid filters and perform a JSON schema validation of the returned problem details data structure ... Pre-conditions: none - ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -58,7 +58,7 @@ Get information about multiple alarms as a Paged Response ... Test title: Get information about multiple alarms as a Paged Response ... Test objective: The objective is to retrieve information about the alarm list as a Paged Response. ... Pre-conditions: none - ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -71,7 +71,7 @@ Get information about multiple alarms - Bad Request Response too Big ... Test title: Get information about multiple alarms - Bad Request Response too Big ... Test objective: The objective is to try to retrieve information about the alarm list because response is too big and perform a JSON schema validation of the returned problem details data structure ... Pre-conditions: none - ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -84,7 +84,7 @@ GET information about alarms with attribute-based filter "id" ... Test title: GET information about alarms with attribute-based filter "id" ... Test objective: The objective is to retrieve information about the alarm list with alarm filter "id" ... Pre-conditions: none - ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -98,7 +98,7 @@ GET information about multiple alarms with attribute-based filter "managedObject ... Test title: GET information about multiple alarms with attribute-based filter "managedObjectId" ... Test objective: The objective is to retrieve information about the alarm list with attribute filter "managedObjectId" ... Pre-conditions: none - ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -112,7 +112,7 @@ GET information about multiple alarms with attribute-based filter "eventType" ... Test title: GET information about multiple alarms with attribute-based filter "eventType" ... Test objective: The objective is to retrieve information about the alarm list with attribute filter "eventType" ... Pre-conditions: none - ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -126,7 +126,7 @@ GET information about multiple alarms with attribute-based filter "perceivedSeve ... Test title: GET information about multiple alarms with attribute-based filter "perceivedSeverity" ... Test objective: The objective is to retrieve information about the alarm list with attribute filter "perceivedSeverity" ... Pre-conditions: none - ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -140,7 +140,7 @@ GET information about multiple alarms with attribute-based filter "probableCause ... Test title: GET information about multiple alarms with attribute-based filter "probableCause" ... Test objective: The objective is to retrieve information about the alarm list with attribute filter "probableCause" ... Pre-conditions: none - ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -154,7 +154,7 @@ Get information about multiple alarms with malformed authorization token ... Test title: Get information about multiple alarms with malformed authorization token ... Test objective: The objective is to test that the retrieval of information about the alarm list fails when using malformed authorization token ... Pre-conditions: none - ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO entity requires the usage of access tokens for authorizing the API requests. ... Post-Conditions: none @@ -166,7 +166,7 @@ Get information about multiple alarms without authorization token ... Test title: Get information about multiple alarms without authorization token ... Test objective: The objective is to test that the retrieval of information about the alarm list fails when omitting the authorization token ... Pre-conditions: none - ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO entity requires the usage of access tokens for authorizing the API requests. ... Post-Conditions: none @@ -178,7 +178,7 @@ GET information about multiple alarms with expired or revoked authorization toke ... Test title: GET information about multiple alarms with expired or revoked authorization token ... Test objective: The objective is to test that the retrieval of information about the alarm list fails when using expired or revoked authorization token ... Pre-conditions: One or more Network Service Descriptors are onboarded in the NFVO - ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO entity requires the usage of access tokens for authorizing the API requests. ... Post-Conditions: none @@ -190,7 +190,7 @@ PUT Alarms - Method not implemented ... Test title: PUT Alarms - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to modify fault management alarms on NFV-MANO. ... Pre-conditions: none - ... Reference: clause 7.5.3.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.3.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -202,7 +202,7 @@ PATCH Alarms - Method not implemented ... Test title: PATCH Alarms - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to modify fault management alarms on NFV-MANO. ... Pre-conditions: none - ... Reference: clause 7.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -214,7 +214,7 @@ DELETE Alarms - Method not implemented ... Test title: POST Alarms - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed for fault management alarms on NFV-MANO ... Pre-conditions: none - ... Reference: clause 7.5.3.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.3.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -226,7 +226,7 @@ Get information about multiple alarms with permitted authorization scope ... Test title: Get information about multiple alarms with permitted authorization scope ... Test objective: The objective is to retrieve information about the alarm list with permitted authorization scope ... Pre-conditions: none - ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -239,7 +239,7 @@ Get information about multiple alarms with not permitted authorization scope ... Test title: Get information about multiple alarms with not permitted authorization scope ... Test objective: The objective is to test that retrieve information about the alarm list fails with not permitted authorization scope ... Pre-conditions: none - ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOFaultManagement-API/ApiVersion.robot b/SOL009/NFVMANOFaultManagement-API/ApiVersion.robot index 0d18aead99dfc61ac1b950b2b558e37c699ff478..5f51383af6c720194176964bcb03fa7b9ea08705 100644 --- a/SOL009/NFVMANOFaultManagement-API/ApiVersion.robot +++ b/SOL009/NFVMANOFaultManagement-API/ApiVersion.robot @@ -7,7 +7,7 @@ POST API Version - Method not implemented ... Test title: POST API version - Method not implemented ... Test objective: The objective is to test that POST method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -19,7 +19,7 @@ GET API Version ... Test title: GET API Version ... Test objective: The objective is to test that GET method successfully return ApiVersionInformation ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -32,7 +32,7 @@ PUT API Version - Method not implemented ... Test title: PUT API Version - Method not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -44,7 +44,7 @@ PATCH API Version - Method not implemented ... Test title: PATCH API Version - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -56,7 +56,7 @@ DELETE API Version - Method not implemented ... Test title: DELETE API Version - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -68,7 +68,7 @@ POST API Version with apiMajorVerion - Method not implemented ... Test title: POST API version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that POST method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -80,7 +80,7 @@ GET API Version with apiMajorVerion ... Test title: GET API Version with apiMajorVerion ... Test objective: The objective is to test that GET method successfully return ApiVersionInformation ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -93,7 +93,7 @@ PUT API Version with apiMajorVerion - Method not implemented ... Test title: PUT API Version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -105,7 +105,7 @@ PATCH API Version with apiMajorVerion - Method not implemented ... Test title: PATCH API Version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -117,7 +117,7 @@ DELETE API Version with apiMajorVerion - Method not implemented ... Test title: DELETE API Version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOFaultManagement-API/FaultManagement-APIKeyword.robot b/SOL009/NFVMANOFaultManagement-API/FaultManagement-APIKeyword.robot index 5a02292a4bd89f4c3e48192a85e72e68359276ca..c22a255798f01c87c19dcad5e228f72a551ffddc 100644 --- a/SOL009/NFVMANOFaultManagement-API/FaultManagement-APIKeyword.robot +++ b/SOL009/NFVMANOFaultManagement-API/FaultManagement-APIKeyword.robot @@ -255,7 +255,7 @@ Check PostCondition Subscription is created Get ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions/${response['body']['id']} ${outputResponse}= Output response Set Global Variable @{response} ${outputResponse} - + POST Subscription Duplication permitted Log Create subscription instance by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions Pass Execution If ${NFVMANO_DUPLICATION} == 0 NVFO is not permitting duplication. Skipping the test @@ -297,8 +297,8 @@ Check Postcondition Subscription Resource Returned in Location Header Is Availab ${contentType}= Output response headers Content-Type Should Contain ${contentType} application/json ${result}= Output response body - Validate Json FMSubscription.schema.json ${result} - Log Validated FMSubscription schema + Validate Json FmSubscription.schema.json ${result} + Log Validated FmSubscription schema GET Subscriptions Log Get the list of active subscriptions diff --git a/SOL009/NFVMANOFaultManagement-API/IndividualAlarm.robot b/SOL009/NFVMANOFaultManagement-API/IndividualAlarm.robot index 5de083cef66bb5acaeb3087db323b497afffe05a..c4f0afec0d98b406c70f05a044ff54f954f86db4 100644 --- a/SOL009/NFVMANOFaultManagement-API/IndividualAlarm.robot +++ b/SOL009/NFVMANOFaultManagement-API/IndividualAlarm.robot @@ -7,7 +7,7 @@ POST Individual Alarm - Method not implemented ... Test title: POST Individual Alarm - Method not implemented ... Test objective: The objective is to test that Post method is not allowed to create fault management individual alarm on NFV-MANO ... Pre-conditions: none - ... Reference: clause 7.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -19,7 +19,7 @@ Get information about an fault management individual alarm ... Test title: Get information about an fault management individual alarm ... Test objective: The objective is to retrieve information about an individual alarm and perform a JSON schema and content validation of the returned alarm data structure ... Pre-conditions: The related alarm exists - ... Reference: clause 7.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -32,7 +32,7 @@ Get information about an fault management individual alarm - Not Found ... Test title: Get information about an fault management individual alarm ... Test objective: The objective is to test the retrieval of information about an individual alarm fails when the resource is not present. ... Pre-conditions: none - ... Reference: clause 7.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -45,7 +45,7 @@ PUT Individual Alarm - Method not implemented ... Test title: PUT Individual Alarm - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to for fault management individual alarm on NFV-MANO ... Pre-conditions: none - ... Reference: clause 7.5.4.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.4.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -57,7 +57,7 @@ PATCH Fault Management Individual Alarm ... Test title: PATCH Fault Management Individual Alarm ... Test objective: The objective is to Modify an individual alarm resource, and perform a JSON schema validation of the returned alarm data structure. ... Pre-conditions: The related alarm exists - ... Reference: clause 7.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Alarm is modified. @@ -70,7 +70,7 @@ Modify an individual alarm resource - Precondition failed ... Test title: Modify an individual alarm resource - Precondition failed ... Test objective: The objective is to test that an individual alarm resource cannot be modified if the alarm is already in the state that is requested to be set, and perform a JSON schema validation of the returned data structure. ... Pre-conditions: The related alarm exists - ... Reference: clause 7.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Alarm is not modified. @@ -84,7 +84,7 @@ Modify an individual alarm resource - Conflict ... Test title: Modify an individual alarm resource - Conflict ... Test objective: The objective is to test that an individual alarm resource cannot be modified if the resource was modified by another entity , and perform a JSON schema validation of the returned data structure. ... Pre-conditions: The related alarm exists - ... Reference: clause 7.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Alarm is not modified. @@ -98,7 +98,7 @@ DELETE Individual Alarm - Method not implemented ... Test title: DELETE Individual Alarm - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed to delete fault management individual alarm on NFV-MANO. ... Pre-conditions: none - ... Reference: clause 7.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -110,7 +110,7 @@ PATCH Fault Management Individual Alarm with permitted authorization scope ... Test title: PATCH Fault Management Individual Alarm with permitted authorization scope ... Test objective: The objective is to Modify an individual alarm resource with permitted authorization scope. ... Pre-conditions: The related alarm exists - ... Reference: clause 7.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Alarm is modified. @@ -123,7 +123,7 @@ PATCH Fault Management Individual Alarm with not permitted authorization scope ... Test title: PATCH Fault Management Individual Alarm with not permitted authorization scope ... Test objective: The objective is to test that Modification of an individual alarm resource fails with not permitted authorization scope. ... Pre-conditions: The related alarm exists - ... Reference: clause 7.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Alarm is modified. diff --git a/SOL009/NFVMANOFaultManagement-API/IndividualSubscription.robot b/SOL009/NFVMANOFaultManagement-API/IndividualSubscription.robot index 0080a4f53cef653c12d8975282ed9d66b331869b..6dcd444210d3f4291ea3a6dd8fe2970694289004 100644 --- a/SOL009/NFVMANOFaultManagement-API/IndividualSubscription.robot +++ b/SOL009/NFVMANOFaultManagement-API/IndividualSubscription.robot @@ -7,7 +7,7 @@ Post Individual Subscription - Method not implemented ... Test title: Post Individual Subscription - Method not implemented ... Test objective: The objective is to test that POST method is not allowed for fault management subscription on NFV-MANO ... Pre-conditions: none - ... Reference: clause 7.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -19,7 +19,7 @@ Get Information about an individual subscription ... Test title: Get Information about an individual subscription ... Test objective: The objective is to read an individual subscription from NFV-MANO alarms subscribed by the client and perform a JSON schema and content validation of the returned fault management individual subscription data structure ... Pre-conditions: The subscription with the given id exists - ... Reference: clause 7.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -32,7 +32,7 @@ Get Information about an individual subscription - Not Found ... Test title: Get Information about an individual subscription - Not Found ... Test objective: The objective is to test the retrieval of individual subscription from NFV-MANO alarms fails when the resource is not present. ... Pre-conditions: none - ... Reference: clause 7.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -44,7 +44,7 @@ PUT an individual subscription - Method not implemented ... Test title:PUT an individual subscription - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed for fault management individual subscription on VNF ... Pre-conditions: none - ... Reference: clause 7.5.6.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.6.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -56,7 +56,7 @@ PATCH an individual subscription - Method not implemented ... Test title:PATCH an individual subscription - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed for fault management individual subscription on VNF ... Pre-conditions: none - ... Reference: clause 7.5.6.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.6.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -68,7 +68,7 @@ DELETE an individual subscription ... Test title:DELETE an individual subscription ... Test objective: The objective is to test that DELETE method removes individual subscription on VNF ... Pre-conditions: The Subsbcription already exists - ... Reference: clause 7.5.6.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.6.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: subscription is deleted @@ -81,7 +81,7 @@ Get Information about an individual subscription with permitted authorization sc ... Test title: Get Information about an individual subscription with permitted authorization scope ... Test objective: The objective is to read an individual subscription from NFV-MANO alarms subscribed by the client with permitted authorization scope ... Pre-conditions: The subscription with the given id exists - ... Reference: clause 7.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -94,7 +94,7 @@ Get Information about an individual subscription with not permitted authorizatio ... Test title: Get Information about an individual subscription with not permitted authorization scope ... Test objective: The objective is to test that reading an individual subscription from NFV-MANO alarms subscribed by the client fails with not permitted authorization scope ... Pre-conditions: The subscription with the given id exists - ... Reference: clause 7.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOFaultManagement-API/NotificationEndpoint.robot b/SOL009/NFVMANOFaultManagement-API/NotificationEndpoint.robot index 6e53597ebef1e206d5c78ab79614eaf120657382..e0c45f68f2bdcc8accf008e116b38b97fa58995d 100644 --- a/SOL009/NFVMANOFaultManagement-API/NotificationEndpoint.robot +++ b/SOL009/NFVMANOFaultManagement-API/NotificationEndpoint.robot @@ -8,7 +8,7 @@ Alarm Notification ... Test title: Alarm Notification ... Test objective: The objective is to test that Alarm Notification is delivered with success to the notification consumer. ... Pre-conditions: A subscription for alarm notification is available in the NFV-MANO. - ... Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_Notif_Endpoint ... Applicability: none ... Post-Conditions: none @@ -20,7 +20,7 @@ Alarm Cleared Notification ... Test title: Alarm Cleared Notification ... Test objective: The objective is to test that Alarm Cleared Notification is delivered with success to the notification consumer. ... Pre-conditions: A subscription for alarm cleared notification is available in the NFV-MANO. - ... Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_Notif_Endpoint ... Applicability: none ... Post-Conditions: none @@ -32,7 +32,7 @@ Alarm List Rebuilt Notification ... Test title: Alarm List Rebuilt Notification ... Test objective: The objective is to test that Alarm List Rebuilt Notification is delivered with success to the notification consumer. ... Pre-conditions: A subscription for alarm list rebuilt notification is available in the NFV-MANO. - ... Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_Notif_Endpoint ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOFaultManagement-API/Notifications.robot b/SOL009/NFVMANOFaultManagement-API/Notifications.robot index a9267954144c2653cd38b2d05c465e1fe0bf4f0d..bd6530fbc5246447476ca9251f62151b3dcec4a5 100644 --- a/SOL009/NFVMANOFaultManagement-API/Notifications.robot +++ b/SOL009/NFVMANOFaultManagement-API/Notifications.robot @@ -10,7 +10,7 @@ NFV-MANO Fault Alarm Notification ... Test title: NFV-MANO Fault Alarm Notification ... Test objective: The objective is to test the dispatch of NFV-MANO Fault Alarm Notification when a resource within an NFV-MANO instance fails, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system. ... Pre-conditions: A NFV-MANO instance is instantiated, and a subscription for fault alarm notifications is available. - ... Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -23,7 +23,7 @@ NFV-MANO Fault Alarm Cleared Notification ... Test title: NFV-MANO Fault Alarm Cleared Notification ... Test objective: The objective is to test the dispatch of NFV-MANO Fault Alarm Cleared Notification when a faulty resource within an NFV-MANO instance is cleared, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system. ... Pre-conditions: A NFV-MANO instance is instantiated, a virtualised resource is in faulty state, and a subscription for fault alarm cleared notifications is available. - ... Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -36,7 +36,7 @@ NFV-MANO Fault Alarm List Rebuilt Notification ... Test title: NFV-MANO Fault Alarm List Rebuilt Notification ... Test objective: The objective is to test the dispatch of NFV-MANO Fault Alarm List Rebuilt Notification when the NFV-MANO decides to rebuild the list of its NFV-MANO alarms, e.g. due to a corruption in the alarm storage, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system. ... Pre-conditions: A NFV-MANO instance is instantiated, one or more virtualised resource are in faulty state, and a subscription for fault alarm list rebuilt notifications is available. - ... Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOFaultManagement-API/Subscriptions.robot b/SOL009/NFVMANOFaultManagement-API/Subscriptions.robot index c36ab513ee40eb3aa6dd0bfe36c610e5519fd4ee..6267b94f6ff09f8bf88109ffd1b99fffa5254a90 100644 --- a/SOL009/NFVMANOFaultManagement-API/Subscriptions.robot +++ b/SOL009/NFVMANOFaultManagement-API/Subscriptions.robot @@ -7,7 +7,7 @@ POST Create a new Fault Management alarm subscription ... Test title: POST Create a new fault management alarm subscription ... Test objective: The objective is to create a new fault management alarm subscription and perform a JSON schema validation of the returned fault management alarms subscription data structure ... Pre-conditions: No subscription with the same filter and callbackUri exists - ... Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: subscription is created @@ -15,6 +15,7 @@ POST Create a new Fault Management alarm subscription Check HTTP Response Status Code Is 201 Check HTTP Response Body Json Schema Is FmSubscription Check HTTP Response Header Contains Location + Check Postcondition Subscription Resource Returned in Location Header Is Available Check PostCondition Subscription is created POST Create a new alarm subscription - DUPLICATION @@ -22,7 +23,7 @@ POST Create a new alarm subscription - DUPLICATION ... Test title: POST Create a new alarm subscription - DUPLICATION ... Test objective: The objective is to create a new subscription with the NFV-MANO allowing duplication and perform a JSON schema validation of the returned fault management alarms subscription data structure. ... Pre-conditions: subscription with the same filter and callbackUri exists - ... Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: the NFV-MANO allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists ... Post-Conditions: duplicated subscription is created @@ -30,6 +31,7 @@ POST Create a new alarm subscription - DUPLICATION Check HTTP Response Status Code Is 201 Check HTTP Response Body Json Schema Is FmSubscription Check HTTP Response Header Contains Location + Check Postcondition Subscription Resource Returned in Location Header Is Available Check Postcondition FaultManagement Subscription Is Set POST Create a new alarm subscription - NO DUPLICATION @@ -37,7 +39,7 @@ POST Create a new alarm subscription - NO DUPLICATION ... Test title: POST Create a new alarm subscription - NO DUPLICATION ... Test objective: The objective is to create a new subscription with the NFV-MANO not allowing duplication and perform a JSON schema validation of the returned fault management alarms subscription data structure. ... Pre-conditions: subscription with the same filter and callbackUri exists - ... Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: the NFV-MANO does not allow to create a duplicate subscription resource ... Post-Conditions: duplicated subscription is not created @@ -52,7 +54,7 @@ Retrieve a list of alarm subscriptions ... Test title: Retrieve a list of alarm subscriptions ... Test objective: The objective is to retrieve the list of active subscriptions and perform a JSON schema validation of the returned fault management alarms subscription data structure. ... Pre-conditions: none - ... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: noe @@ -65,7 +67,7 @@ Retrieve a list of alarm subscriptions with filter ... Test title: Retrieve a list of alarm subscriptions with filter ... Test objective: The objective is to retrieve the list of active subscriptions with filter and perform a JSON schema validation of the returned fault management alarms subscription data structure. ... Pre-conditions: none - ... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -78,7 +80,7 @@ Get information about multiple alarms as a Paged Response ... Test title: Get information about multiple alarms as a Paged Response ... Test objective: The objective is to retrieve information about active list subscriptions as a Paged Response ... Pre-conditions: none - ... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -91,7 +93,7 @@ GET subscriptions - Bad Request Invalid attribute-based filtering parameters ... Test title: GET subscriptions - Bad Request Invalid attribute-based filtering parameters ... Test objective: The objective is to retrieve the list of active subscriptions with Invalid attribute-based filtering parameters and perform a JSON schema validation of the returned problem details data structure. ... Pre-conditions: none - ... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -104,7 +106,7 @@ Get information about multiple alarms - Bad Request Response too Big ... Test title: Get information about multiple alarms - Bad Request Response too Big ... Test objective: The objective is to try to retrieve information about active list subscription to check that response is too big and perform a JSON schema validation of the returned problem details data structure ... Pre-conditions: none - ... Reference: Clause clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -117,7 +119,7 @@ GET Subscription with attribute-based filter "id" ... Test title: GET Subscription with attribute-based filter "id" ... Test objective: The objective is to retrieve the list of active subscriptions with filter "id" ... Pre-conditions: none - ... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -131,7 +133,7 @@ Get subscriptions with filter "filter.notificationTypes" ... Test title: GET Subscription with attribute-based filter "filter.notificationTypes" ... Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.notificationTypes" ... Pre-conditions: none - ... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -145,7 +147,7 @@ Get subscriptions with filter "filter.perceivedSeverities" ... Test title: GET Subscription with attribute-based filter "filter.perceivedSeverities" ... Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.perceivedSeverities" ... Pre-conditions: none - ... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -159,7 +161,7 @@ Get subscriptions with filter "filter.eventTypes" ... Test title: GET Subscription with attribute-based filter "filter.eventTypes" ... Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.eventTypes" ... Pre-conditions: none - ... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -173,7 +175,7 @@ Get subscriptions with filter "filter.probableCauses" ... Test title: GET Subscription with attribute-based filter "filter.probableCauses" ... Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.probableCauses" ... Pre-conditions: none - ... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -187,7 +189,7 @@ PUT subscriptions - Method not implemented ... Test title:PUT subscriptions - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to for fault management subscriptions on VNF ... Pre-conditions: none - ... RReference: clause 7.5.5.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... RReference: clause 7.5.5.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -199,7 +201,7 @@ PATCH subscriptions - Method not implemented ... Test title: PATCH subscriptions - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to for fault management subscriptions on VNF ... Pre-conditions: none - ... Reference: clause 7.5.5.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.5.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -211,7 +213,7 @@ DELETE subscriptions - Method not implemented ... Test title: DELETE subscriptions - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed to for fault management subscriptions on VNF ... Pre-conditions: none - ... Reference: clause 7.5.5.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.5.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -223,7 +225,7 @@ POST Create a new Fault Management alarm subscription - Unprocessable content ... Test title: POST Create a new fault management alarm subscription - Unprocessable content ... Test objective: The objective is to test that a new fault management alarm subscription is not created if the notification endpoint is unreachable by the NFV-MANO. ... Pre-conditions: No subscription with the same filter and callbackUri exists. - ... Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: Notification endpoint is unreachable by the NFV-MANO. ... Post-Conditions: none @@ -236,7 +238,7 @@ Get list of alarm subscriptions with permitted authorization scope ... Test title: Retrieve a list of alarm subscriptions with permitted authorization scope ... Test objective: The objective is to retrieve the list of active subscriptions with permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: noe @@ -249,7 +251,7 @@ Get list of alarm subscriptions with not permitted authorization scope ... Test title: Retrieve a list of alarm subscriptions with not permitted authorization scope ... Test objective: The objective is to test that retrieving the list of active subscriptions fails with not permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: noe diff --git a/SOL009/NFVMANOFaultManagement-API/log.html b/SOL009/NFVMANOFaultManagement-API/log.html new file mode 100644 index 0000000000000000000000000000000000000000..54f61bfa6e8cb82d5ade61985ee85fceb9e88c8b --- /dev/null +++ b/SOL009/NFVMANOFaultManagement-API/log.html @@ -0,0 +1,2196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework log failed

+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SOL009/NFVMANOFaultManagement-API/output.xml b/SOL009/NFVMANOFaultManagement-API/output.xml new file mode 100644 index 0000000000000000000000000000000000000000..b8325070b4ea53de3d42b8cbeba6f293dc58a717 --- /dev/null +++ b/SOL009/NFVMANOFaultManagement-API/output.xml @@ -0,0 +1,2721 @@ + + + + + + +Create subscription instance by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +{"Content-Type": "${CONTENT_TYPE}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${template} +jsons/fmSubscriptionRequest.json +Returns the contents of a specified file. + + + +${body} +${template} +callback_uri=${callback_uri} +callback_endpoint=${callback_endpoint} +Formats a ``template`` using the given ``positional`` and ``named`` arguments. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +${body} +http +*Sends a POST request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +201 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +FmSubscription + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +${opOccId} +${response['headers']} +$..Location +Get Value From JSON using JSONPath + + + +${opOccId} +Verifies that the given item is not empty. + + + + + + +Going to check postcondition +Logs the given message with the given level. + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${response['headers']['Location']} +http +*Sends a GET request to the endpoint.* + + + +response status +200 +assertions +*Asserts the field as JSON integer.* + + + +Received a 200 OK as expected +Logs the given message with the given level. + + + +${contentType} +response headers Content-Type +I/O +*Outputs JSON to terminal or a file.* + + + +${contentType} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${result} +response body +I/O +*Outputs JSON to terminal or a file.* + + + +FmSubscription.schema.json +${result} +Validates the sample JSON against the given schema. + + + +Validated FmSubscription schema +Logs the given message with the given level. + + + + + + +Trying to get information about an individual subscription +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions/${response['body']['id']} +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + +Test ID:8.3.3.3.1 +Test title: POST Create a new fault management alarm subscription +Test objective: The objective is to create a new fault management alarm subscription and perform a JSON schema validation of the returned fault management alarms subscription data structure +Pre-conditions: No subscription with the same filter and callbackUri exists +Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: subscription is created + + + + + +Create subscription instance by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +Logs the given message with the given level. + + + +${NFVMANO_DUPLICATION} +== 0 +NVFO is not permitting duplication. Skipping the test +Conditionally skips rest of the current test, setup, or teardown with PASS status. + + + +{"Accept":"${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +{"Content-Type": "${CONTENT_TYPE}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${template} +jsons/fmSubscriptionRequest.json +Returns the contents of a specified file. + + + +${body} +${template} +callback_uri=${callback_uri} +callback_endpoint=${callback_endpoint} +Formats a ``template`` using the given ``positional`` and ``named`` arguments. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +${body} +http +*Sends a POST request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +201 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +FmSubscription + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +${opOccId} +${response['headers']} +$..Location +Get Value From JSON using JSONPath + + + +${opOccId} +Verifies that the given item is not empty. + + + + + + +Going to check postcondition +Logs the given message with the given level. + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${response['headers']['Location']} +http +*Sends a GET request to the endpoint.* + + + +response status +200 +assertions +*Asserts the field as JSON integer.* + + + +Received a 200 OK as expected +Logs the given message with the given level. + + + +${contentType} +response headers Content-Type +I/O +*Outputs JSON to terminal or a file.* + + + +${contentType} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${result} +response body +I/O +*Outputs JSON to terminal or a file.* + + + +FmSubscription.schema.json +${result} +Validates the sample JSON against the given schema. + + + +Validated FmSubscription schema +Logs the given message with the given level. + + + + + + +Check Postcondition subscription exist +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions/${response['body']['id']} +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + +200 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + + +Test ID: 8.3.3.3.2 +Test title: POST Create a new alarm subscription - DUPLICATION +Test objective: The objective is to create a new subscription with the NFV-MANO allowing duplication and perform a JSON schema validation of the returned fault management alarms subscription data structure. +Pre-conditions: subscription with the same filter and callbackUri exists +Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: the NFV-MANO allows creating a subscription resource if another subscription resource with the same filter and callbackUri already exists +Post-Conditions: duplicated subscription is created + + + + + +Create subscription instance by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +Logs the given message with the given level. + + + +${NFVMANO_DUPLICATION} == 1 +NVFO is permitting duplication. Skipping the test +Conditionally skips rest of the current test, setup, or teardown with PASS status. + + + +{"Accept":"${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +{"Content-Type": "${CONTENT_TYPE}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${template} +jsons/fmSubscriptionRequest.json +Returns the contents of a specified file. + + + +${body} +${template} +callback_uri=${callback_uri} +callback_endpoint=${callback_endpoint} +Formats a ``template`` using the given ``positional`` and ``named`` arguments. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +${body} +allow_redirects=false +http +*Sends a POST request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +303 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +FmSubscription + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +${opOccId} +${response['headers']} +$..Location +Get Value From JSON using JSONPath + + + +${opOccId} +Verifies that the given item is not empty. + + + + + + +Going to check postcondition +Logs the given message with the given level. + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${response['headers']['Location']} +http +*Sends a GET request to the endpoint.* + + + +response status +200 +assertions +*Asserts the field as JSON integer.* + + + +Received a 200 OK as expected +Logs the given message with the given level. + + + +${contentType} +response headers Content-Type +I/O +*Outputs JSON to terminal or a file.* + + + +${contentType} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${result} +response body +I/O +*Outputs JSON to terminal or a file.* + + + +FmSubscription.schema.json +${result} +Validates the sample JSON against the given schema. + + + +Validated FmSubscription schema +Logs the given message with the given level. + + + + +Test ID: 8.3.3.3.3 +Test title: POST Create a new alarm subscription - NO DUPLICATION +Test objective: The objective is to create a new subscription with the NFV-MANO not allowing duplication and perform a JSON schema validation of the returned fault management alarms subscription data structure. +Pre-conditions: subscription with the same filter and callbackUri exists +Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: the NFV-MANO does not allow to create a duplicate subscription resource +Post-Conditions: duplicated subscription is not created + + + + + +Get the list of active subscriptions +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +200 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +FmSubscriptions + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.3.3.4 +Test title: Retrieve a list of alarm subscriptions +Test objective: The objective is to retrieve the list of active subscriptions and perform a JSON schema validation of the returned fault management alarms subscription data structure. +Pre-conditions: none +Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: noe + + + + + +Get the list of active subscriptions using a filter +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions?${sub_filter} +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +200 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +FmSubscriptions + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.3.3.5 +Test title: Retrieve a list of alarm subscriptions with filter +Test objective: The objective is to retrieve the list of active subscriptions with filter and perform a JSON schema validation of the returned fault management alarms subscription data structure. +Pre-conditions: none +Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Get the list of active subscriptions +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +200 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + + +${linkURL} +${response['headers']} +$..Link +Get Value From JSON using JSONPath + + + +${linkURL} +Verifies that the given item is not empty. + + + + +Test ID: 8.3.3.3.6 +Test title: Get information about multiple alarms as a Paged Response +Test objective: The objective is to retrieve information about active list subscriptions as a Paged Response +Pre-conditions: none +Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Get the list of active subscriptions using an invalid filter +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions?${sub_filter_invalid} +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +400 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +ProblemDetails + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.3.3.7 +Test title: GET subscriptions - Bad Request Invalid attribute-based filtering parameters +Test objective: The objective is to retrieve the list of active subscriptions with Invalid attribute-based filtering parameters and perform a JSON schema validation of the returned problem details data structure. +Pre-conditions: none +Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Get the list of active subscriptions +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +400 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +ProblemDetails + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.3.3.8 +Test title: Get information about multiple alarms - Bad Request Response too Big +Test objective: The objective is to try to retrieve information about active list subscription to check that response is too big and perform a JSON schema validation of the returned problem details data structure +Pre-conditions: none +Reference: Clause clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Get the list of active subscriptions using a filter "id" +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions?id=${subscription_id} +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +200 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +FmSubscription + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +${response['body']['id']} +${subscription_id} +Fails if objects are unequal after converting them to strings. + + + + +Test ID: 8.3.3.3.9 +Test title: GET Subscription with attribute-based filter "id" +Test objective: The objective is to retrieve the list of active subscriptions with filter "id" +Pre-conditions: none +Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Get the list of active subscriptions using a filter "filter.notificationTypes" +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions?filter.notificationTypes=${notification_type} +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +200 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +FmSubscriptions + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +${item} +@{response['body']} + + + +${item['filter']['notificationTypes']} +${notification_type} +Fails if objects are unequal after converting them to strings. + + + + + + + + +Test ID: 8.3.3.3.10 +Test title: GET Subscription with attribute-based filter "filter.notificationTypes" +Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.notificationTypes" +Pre-conditions: none +Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Get the list of active subscriptions using a filter "filter.perceivedSeverities" +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions?filter.perceivedSeverities=${perceivedSeverity} +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +200 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +FmSubscriptions + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +${item} +@{response['body']} + + + +${item['filter']['perceivedSeverities']} +${perceivedSeverity} +Fails if objects are unequal after converting them to strings. + + + + + + + + +Test ID: 8.3.3.3.11 +Test title: GET Subscription with attribute-based filter "filter.perceivedSeverities" +Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.perceivedSeverities" +Pre-conditions: none +Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Get the list of active subscriptions using a filter "filter.eventTypes" +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions?filter.eventTypes=${eventType} +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +200 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +FmSubscriptions + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +${item} +@{response['body']} + + + +${item['filter']['eventTypes']} +${eventType} +Fails if objects are unequal after converting them to strings. + + + + + + + + +Test ID: 8.3.3.3.12 +Test title: GET Subscription with attribute-based filter "filter.eventTypes" +Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.eventTypes" +Pre-conditions: none +Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Get the list of active subscriptions using a filter "filter.probableCauses" +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions?filter.probableCauses=${probableCause} +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +200 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +FmSubscriptions + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +${item} +@{response['body']} + + + +${item['filter']['probableCauses']} +${probableCause} +Fails if objects are unequal after converting them to strings. + + + + + + + + +Test ID: 8.3.3.3.13 +Test title: GET Subscription with attribute-based filter "filter.probableCauses" +Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.probableCauses" +Pre-conditions: none +Reference: Clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to perform a PUT Subscriptions. This method should not be implemented +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +http +*Sends a PUT request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +405 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.3.3.14 +Test title:PUT subscriptions - Method not implemented +Test objective: The objective is to test that PUT method is not allowed to for fault management subscriptions on VNF +Pre-conditions: none +RReference: clause 7.5.5.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to perform a PATCH Subscriptions. This method should not be implemented +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +http +*Sends a PATCH request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +405 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.3.3.15 +Test title: PATCH subscriptions - Method not implemented +Test objective: The objective is to test that PATCH method is not allowed to for fault management subscriptions on VNF +Pre-conditions: none +Reference: clause 7.5.5.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to perform a DELETE Subscriptions. This method should not be implemented +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +http +*Sends a DELETE request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +405 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.3.3.16 +Test title: DELETE subscriptions - Method not implemented +Test objective: The objective is to test that DELETE method is not allowed to for fault management subscriptions on VNF +Pre-conditions: none +Reference: clause 7.5.5.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Create subscription instance by POST to ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +{"Content-Type": "${CONTENT_TYPE}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}} +settings +*Sets new request headers or updates the existing.* + + + + + +${template} +jsons/fmSubscriptionRequest.json +Returns the contents of a specified file. + + + +${body} +${template} +callback_uri=${unreachable_callback_uri} +callback_endpoint=${callback_endpoint} +Formats a ``template`` using the given ``positional`` and ``named`` arguments. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +${body} +http +*Sends a POST request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +422 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +ProblemDetails + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID:8.3.3.3.17 +Test title: POST Create a new fault management alarm subscription - Unprocessable content +Test objective: The objective is to test that a new fault management alarm subscription is not created if the notification endpoint is unreachable by the NFV-MANO. +Pre-conditions: No subscription with the same filter and callbackUri exists. +Reference: clause 7.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: Notification endpoint is unreachable by the NFV-MANO. +Post-Conditions: none + + + + + +Get the list of active subscriptions +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${scopeValue} +scope=${SUBSCRIPTIONS_PERMITTED_SCOPE} +Creates and returns a dictionary based on the given ``items``. + + + +${authorizationToken} +payload=${scopeValue} +key='' +algorithm=${OAUTH_ENCRIPTION_ALGORITHM} + +${encoded} +jwt.encode(${payload}, ${key}, ${algorithm}) +Evaluates the given expression in Python and returns the result. + + + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${authorizationToken}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${authorizationToken}"} +settings +*Sets new request headers or updates the existing.* + + + + + +Authorization Token: ${authorizationToken} +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +200 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +FmSubscriptions + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response[0]['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.3.3.18 +Test title: Retrieve a list of alarm subscriptions with permitted authorization scope +Test objective: The objective is to retrieve the list of active subscriptions with permitted authorization scope. +Pre-conditions: none +Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: noe + + + + + +Get the list of active subscriptions +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT}"} +settings +*Sets new request headers or updates the existing.* + + + +${scopeValue} +scope=${NOT_PERMITTED_SCOPE} +Creates and returns a dictionary based on the given ``items``. + + + +${authorizationToken} +payload=${scopeValue} +key='' +algorithm=${OAUTH_ENCRIPTION_ALGORITHM} + +${encoded} +jwt.encode(${payload}, ${key}, ${algorithm}) +Evaluates the given expression in Python and returns the result. + + + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${authorizationToken}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${authorizationToken}"} +settings +*Sets new request headers or updates the existing.* + + + + + +Authorization Token: ${authorizationToken} +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +401 + +Validate Status code +Logs the given message with the given level. + + + +${response[0]['status']} +${expected_status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.3.3.19 +Test title: Retrieve a list of alarm subscriptions with not permitted authorization scope +Test objective: The objective is to test that retrieving the list of active subscriptions fails with not permitted authorization scope. +Pre-conditions: none +Reference: clause 7.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: noe + + + + + + +All Tests + + + + +Subscriptions + + + + + diff --git a/SOL009/NFVMANOFaultManagement-API/report.html b/SOL009/NFVMANOFaultManagement-API/report.html new file mode 100644 index 0000000000000000000000000000000000000000..474a791ce480d25309f53161a420a06ec9b80f32 --- /dev/null +++ b/SOL009/NFVMANOFaultManagement-API/report.html @@ -0,0 +1,2462 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework report failed

+ +
+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SOL009/NFVMANOLogManagement-API/CompileLogTask.robot b/SOL009/NFVMANOLogManagement-API/CompileLogTask.robot index 3334660c2612552977bddcdfff15e5cc5f9fd7ab..5b5483934962115e1369011f0c68bee6150b40f0 100644 --- a/SOL009/NFVMANOLogManagement-API/CompileLogTask.robot +++ b/SOL009/NFVMANOLogManagement-API/CompileLogTask.robot @@ -8,7 +8,7 @@ Request to compile the logged data into a file - Synchronous mode ... Test title: Request to compile the logged data into a file - Synchronous mode ... Test objective: The objective is to request to compile the logged data into a file in synchronous mode and perform a JSON schema validation on the returned log report data structure ... Pre-conditions: logging job is available - ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO can decide immediately what to respond to a compile request ... Post-Conditions: none @@ -16,19 +16,21 @@ Request to compile the logged data into a file - Synchronous mode Check HTTP Response Status Code Is 201 Check HTTP Response Header Contains Location Check HTTP Response Body Json Schema Is LogReport + Check Postcondition Log Report Resource Returned in Location Header Is Available Request to compile the logged data into a file - Asynchronous mode [Documentation] Test ID: 8.3.4.4.2 ... Test title: Request to compile the logged data into a file - Asynchronous mode ... Test objective: The objective is to request to compile the logged data into a file in asynchronous mode ... Pre-conditions: logging job is available - ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO can not decide immediately what to respond to a compile request ... Post-Conditions: log report is available to the API consumer Send Log data Request in Asynchronous mode Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location + Check Postcondition Log Report Resource Returned in Location Header Is Available Check postcondition Wait for compilation success notification Request to compile the logged data into a file - Already Processing @@ -36,20 +38,21 @@ Request to compile the logged data into a file - Already Processing ... Test title: Request to compile the logged data into a file - Already Processing ... Test objective: The objective is to request to compile the logged data into a file when a log data compilation and report creation is already ongoing, or a log report has just been created, for the specified logging job at the time of processing the request ... Pre-conditions: none - ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none Send Log data Request Check HTTP Response Status Code Is 303 Check HTTP Response Header Contains Location + Check Postcondition Log Report Resource Returned in Location Header Is Available Request to compile the logged data into a file with unprocessable content [Documentation] Test ID: 8.3.4.4.4 ... Test title: Request to compile the logged data into a file with unprocessable content ... Test objective: The objective is to test that the rrequest to compile the logged data into a file fails when error in request body. ... Pre-conditions: none - ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -62,7 +65,7 @@ GET Compiled Log Data - Method not implemented ... Test title: GET Compiled Log Data - Method not implemented ... Test objective: The objective is to test that GET method is not allowed to retrieve compiled log data. ... Pre-conditions: none - ... Reference: clause 8.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -74,7 +77,7 @@ PUT Compiled Log Data - Method not implemented ... Test title: PUT Compiled Log Data - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to update compiled log data. ... Pre-conditions: none - ... Reference: clause 8.5.6.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.6.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -86,7 +89,7 @@ PATCH Compiled Log Data - Method not implemented ... Test title: PATCH Compiled Log Data - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to update compiled log data. ... Pre-conditions: none - ... Reference: clause 8.5.6.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.6.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -98,7 +101,7 @@ DELETE Compiled Log Data - Method not implemented ... Test title: DELETE Compiled Log Data - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed to update compiled log data. ... Pre-conditions: none - ... Reference: clause 8.5.6.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.6.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -110,7 +113,7 @@ Request to compile the logged data into a file with a permitted authorization sc ... Test title: Request to compile the logged data into a file with a permitted authorization scope - Synchronous mode ... Test objective: The objective is to request to compile the logged data into a file in synchronous mode with a permitted authorization scope ... Pre-conditions: logging job is available - ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO can decide immediately what to respond to a compile request ... Post-Conditions: none @@ -124,7 +127,7 @@ Request to compile the logged data into a file with not permitted authorization ... Test title: Request to compile the logged data into a file with not permitted authorization scope - Synchronous mode ... Test objective: The objective is to test that requesting to compile the logged data into a file in synchronous mode fails when using not permitted authorization scope ... Pre-conditions: logging job is available - ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO can decide immediately what to respond to a compile request ... Post-Conditions: none diff --git a/SOL009/NFVMANOLogManagement-API/IndividualLoggingJob.robot b/SOL009/NFVMANOLogManagement-API/IndividualLoggingJob.robot index c5c5ccd902d667d6465182af7e5928d68299ab37..3a67d69c93345407c644454ac675b01511ba8e78 100644 --- a/SOL009/NFVMANOLogManagement-API/IndividualLoggingJob.robot +++ b/SOL009/NFVMANOLogManagement-API/IndividualLoggingJob.robot @@ -7,7 +7,7 @@ POST Individual Logging Job - Method not implemented ... Test title: POST Individual Logging Job - method not implemented ... Test objective: The objective is to test that POST method is not allowed to create an Indiviual Logging ... Pre-conditions: none - ... Reference: clause 8.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -19,7 +19,7 @@ GET individual Logging Job ... Test title: Get individual Logging Job ... Test objective: The objective is to test the retrieval of an individual logging job and perform a JSON schema validation of the collected job data structure ... Pre-conditions: Logging Job is already created. - ... Reference: clause 8.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -33,7 +33,7 @@ GET individual Logging Job with invalid resource identifier ... Test title: Get individual Logging Job with invalid resource identifier ... Test objective: The objective is to test that the retrieval of an individual logging job fails when using an invalid resource identifier, and perform the JSON schema validation of the failed operation HTTP response ... Pre-conditions: Logging Job is already created. - ... Reference: clause 8.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -46,7 +46,7 @@ PUT Individual Logging Job - Method not implemented ... Test title: PUT Individual Logging Job - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to update an existing Logging Job ... Pre-conditions: none - ... Reference: clause 8.5.4.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.4.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -58,7 +58,7 @@ PATCH Individual Logging Job - Method not implemented ... Test title: PATCH Individual Logging Job - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to modify an existing new Logging Job ... Pre-conditions: none - ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -70,7 +70,7 @@ DELETE Individual Logging Job ... Test title: DELETE Individual Logging Job ... Test objective: The objective is to test the deletion of an individual logging job ... Pre-conditions: Logging Job is already created. - ... Reference: clause 8.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The Logging Job is no more available. @@ -83,7 +83,7 @@ DELETE Individual Logging Job with invalid resource identifier ... Test title: DELETE Individual Logging Job with invalid resource identifier ... Test objective: The objective is to test that the deletion of an individual logging job fails when using an invalid resource identifier ... Pre-conditions: Logging Job is already created. - ... Reference: clause 8.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -96,7 +96,7 @@ DELETE Individual Logging Job with permitted authorization scope ... Test title: DELETE Individual Logging Job with permitted authorization scope ... Test objective: The objective is to test the deletion of an individual logging job with permitted authorization scope ... Pre-conditions: Logging Job is already created. - ... Reference: clause 8.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The Logging Job is no more available. @@ -109,7 +109,7 @@ DELETE Individual Logging Job with not permitted authorization scope ... Test title: DELETE Individual Logging Job with not permitted authorization scope ... Test objective: The objective is to test that the deletion of an individual logging job fails when using a not permitted authorization scope ... Pre-conditions: Logging Job is already created. - ... Reference: clause 8.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The Logging Job is no more available. diff --git a/SOL009/NFVMANOLogManagement-API/IndividualReport.robot b/SOL009/NFVMANOLogManagement-API/IndividualReport.robot index 531a1138252282a080776c6a615f3147a55b66c2..48b34eb32a19334878ecb2acf7a1a23b9f27499d 100644 --- a/SOL009/NFVMANOLogManagement-API/IndividualReport.robot +++ b/SOL009/NFVMANOLogManagement-API/IndividualReport.robot @@ -7,7 +7,7 @@ POST Individual Log Report - Method not implemented ... Test title: POST Individual Log Report - Method not implemented ... Test objective: The objective is to test that POST method is not allowed to create a new log report. ... Pre-conditions: none - ... Reference: clause 8.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -19,7 +19,7 @@ Get Individual Log Report ... Test title: Get Individual Log Report ... Test objective: The objective is to test the retrieval of an individual log report and perform a JSON schema validation of the collected report data structure ... Pre-conditions: One or more log reports are set. - ... Reference: clause 8.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -32,7 +32,7 @@ Get Individual Log Report (asynchronous) ... Test title: Get Individual Log Report (asynchronous) ... Test objective: The objective is to test the retrieval of an individual log report is ongoing and no log report is available yet. ... Pre-conditions: One or more log reports are set. - ... Reference: clause 8.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -44,7 +44,7 @@ Get Individual Log Report with invalid resource endpoint ... Test title: Get Individual Log Report with invalid resource endpoint ... Test objective: The objective is to test that the retrieval of an individual log report fails when using an invalid resource endpoint. ... Pre-conditions: One or more log reports are set. - ... Reference: clause 8.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -57,7 +57,7 @@ PUT Individual Log Report - Method not implemented ... Test title: PUT Individual Log Report - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to update an existing log report. ... Pre-conditions: none - ... Reference: clause 8.5.5.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.5.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -69,7 +69,7 @@ PATCH Individual Log Report - Method not implemented ... Test title: PATCH Individual Log Report - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to modify an existinglog report. ... Pre-conditions: none - ... Reference: clause 8.5.5.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.5.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -81,7 +81,7 @@ DELETE Individual Log Report - Method not implemented ... Test title: DELETE Individual Log Report - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed to delete an existing log report. ... Pre-conditions: none - ... Reference: clause 8.5.5.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.5.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -93,7 +93,7 @@ Get Individual Log Report with permitted authorization scope ... Test title: Get Individual Log Report with permitted authorization scope ... Test objective: The objective is to test the retrieval of an individual log report with permitted authorization scope ... Pre-conditions: One or more log reports are set. - ... Reference: clause 8.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -106,7 +106,7 @@ Get Individual Log Report with not permitted authorization scope ... Test title: Get Individual Log Report with not permitted authorization scope ... Test objective: The objective is to test that the retrieval of an individual log report fails when using not permitted authorization scope ... Pre-conditions: One or more log reports are set. - ... Reference: clause 8.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOLogManagement-API/IndividualSubscription.robot b/SOL009/NFVMANOLogManagement-API/IndividualSubscription.robot index 7d9895b0dc4f28744e59d8e7698908966807f3a0..0a6e4a3ac2d9ec3af9af58c2f5f3c6bd5391161f 100644 --- a/SOL009/NFVMANOLogManagement-API/IndividualSubscription.robot +++ b/SOL009/NFVMANOLogManagement-API/IndividualSubscription.robot @@ -7,7 +7,7 @@ GET Individual Subscription ... Test title: GET Individual Subscription ... Test objective: The objective is to test the retrieval of individual subscription and perform a JSON schema validation of the returned subscription data structure ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -21,7 +21,7 @@ GET Individual Subscription - invalid resource identifier ... Test title: GET Individual Subscription - invalid resource identifier ... Test objective: The objective is to test that the retrieval of an individual subscription fails when using an invalid resource identifier ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -34,7 +34,7 @@ DELETE Individual Subscription ... Test title: DELETE Individual Subscription ... Test objective: The objective is to test the deletion of an individual subscription ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.8.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.8.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The is not available anymore in the NFV-MANO @@ -47,7 +47,7 @@ DELETE Individual Subscription - invalid resource identifier ... Test title: DELETE Individual Subscription - invalid resource identifier ... Test objective: The objective is to test that the deletion of an individual subscription fails when using an invalid resource identifier ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.8.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.8.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -59,7 +59,7 @@ POST Individual Subscription - Method not implemented ... Test title: POST Individual Subscription - Method not implemented ... Test objective: The objective is to test that POST method is not allowed to create a new Subscription ... Pre-conditions: none - ... Reference: clause 8.5.8.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.8.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -71,7 +71,7 @@ PUT Individual Subscription - Method not implemented ... Test title: PUT Individual Subscription - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to update an existing subscription ... Pre-conditions: none - ... Reference: clause 8.5.8.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.8.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -83,7 +83,7 @@ PATCH Individual Subscription - Method not implemented ... Test title: PATCH Individual Subscription - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to modify an existing subscription ... Pre-conditions: none - ... Reference: clause 8.5.8.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.8.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -95,7 +95,7 @@ GET Individual Subscription with permitted authorization scope ... Test title: GET Individual Subscription with permitted authorization scope ... Test objective: The objective is to test the retrieval of individual subscription with permitted authorization scope ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -109,7 +109,7 @@ GET Individual Subscription with not permitted authorization scope ... Test title: GET Individual Subscription with not permitted authorization scope ... Test objective: The objective is to test that the retrieval of individual subscription fails when using not permitted authorization scope ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOLogManagement-API/LoggingJobs.robot b/SOL009/NFVMANOLogManagement-API/LoggingJobs.robot index 4e1e75853577a92d7851200ab5433043179efcc7..af23e8122555d9aa1b71f2b1fb7a00b8bf718824 100644 --- a/SOL009/NFVMANOLogManagement-API/LoggingJobs.robot +++ b/SOL009/NFVMANOLogManagement-API/LoggingJobs.robot @@ -7,7 +7,7 @@ POST Create a new logging job ... Test title: POST Create a new logging job ... Test objective: The objective is to create a new logging job, and perform the JSON schema validation of the operation HTTP response. ... Pre-conditions: none - ... Reference: clause 8.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: logging job created @@ -15,6 +15,7 @@ POST Create a new logging job Check HTTP Response Status Code Is 201 Check HTTP Response Header Contains Location Check HTTP Response Body Json Schema Is LoggingJob + Check Postcondition Logging Job Resource Returned in Location Header Is Available Check Post-Condition Logging job is created GET information about logging jobs @@ -22,7 +23,7 @@ GET information about logging jobs ... Test title: GET information logging jobs ... Test objective: The objective is to retrieve information about logging jobs, and perform the JSON schema validation of the operation HTTP response. ... Pre-conditions: At least one logging job is created. - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -35,7 +36,7 @@ GET Logging jobs - invalid attribute-based filter ... Test title: GET Logging jobs - invalid attribute-based filter ... Test objective: The objective is to test that the retrieval of logging jobs fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one logging job is created. - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -48,7 +49,7 @@ GET Logging jobs - invalid attribute selector ... Test title: GET Logging jobs - invalid attribute selector ... Test objective: The objective is to test that the retrieval of logging jobs fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one logging job is created. - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -61,7 +62,7 @@ GET Logging jobs - Bad Request Response too Big ... Test title: GET Logging jobs - Bad Request Response too Big ... Test objective: The objective is to test that the retrieval of Logging job fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one logging job is created. - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -74,7 +75,7 @@ GET information about logging jobs with attribute-based filter ... Test title: GET information about logging jobs with attribute-based filter ... Test objective: The objective is to retrieve information about the logging jobs with attribute filters, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one logging job is created. - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -87,7 +88,7 @@ GET information about logging jobs with "all_fields" attribute selector ... Test title: GET information about logging jobs with "all_fields" attribute selector ... Test objective: The objective is to retrieve information about logging jobs with "all_fields" attribute selector, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one logging job is created. - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -100,7 +101,7 @@ GET information about Logging Jobs with "exclude_default" attribute selector ... Test title: GET information about Logging Jobs with "exclude_default" attribute selector ... Test objective: The objective is to retrieve information about logging jobs with "exclude_default" attribute selector, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one logging job is created. - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -113,7 +114,7 @@ GET information about Logging Jobs with "fields" attribute selector ... Test title: GET information about Logging Jobs with fields attribute selector ... Test objective: The objective is to retrieve information about Logging Jobs with fields attribute selector, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one logging job is created. - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -126,7 +127,7 @@ GET information about Logging Jobs with "exclude_fields" attribute selector ... Test title: GET information about Logging Jobs with "exclude_fields" attribute selector ... Test objective: The objective is to retrieve information about the Logging Jobs with "exclude_fields" attribute selector, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one logging job is created. - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -139,7 +140,7 @@ GET information about Logging Jobs with "fields" and "exclude_default" attribute ... Test title: GET information about Logging Jobs with fields and exclude_default attribute selector ... Test objective: The objective is to retrieve information about Logging Jobs with fields and exclude_default attribute selector, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one logging job is created. - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -152,7 +153,7 @@ GET information about Logging Jobs with Paged Response ... Test title: GET information about Logging Jobs with Paged Response ... Test objective: The objective is to query information about Logging Jobs to get Paged Response. ... Pre-conditions: At least one logging job is created. - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -165,7 +166,7 @@ GET information about Logging Jobs with malformed authorization token ... Test title: GET information about Logging Jobs with malformed authorization token ... Test objective: The objective is to test that the retrieval of information about Logging Jobs fails when using malformed authorization token. ... Pre-conditions: none - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The Peer Entity requires the usage of access tokens for authorizing the API requests. ... Post-Conditions: none @@ -177,7 +178,7 @@ GET information about Logging Jobs without authorization token ... Test title: GET information about Logging Jobs without authorization token ... Test objective: The objective is to test that the retrieval of information about Logging Jobs fails when omitting the authorization token. ... Pre-conditions: none - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The Peer Entity requires the usage of access tokens for authorizing the API requests. ... Post-Conditions: none @@ -189,7 +190,7 @@ GET information about Logging Jobs with expired or revoked authorization token ... Test title: GET information about Logging Jobs with expired or revoked authorization token ... Test objective: The objective is to test that the retrieval of information about Logging Jobs fails when using expired or revoked authorization token. ... Pre-conditions: none - ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The Peer Entity requires the usage of access tokens for authorizing the API requests. ... Post-Conditions: none @@ -201,7 +202,7 @@ PUT Logging Jobs - Method not implemented ... Test title: PUT Logging Jobs - Method not implemented ... Test objective: The objective is to test that the method is not implemented ... Pre-conditions: none - ... Reference: clause 8.5.3.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -213,7 +214,7 @@ PATCH Logging Jobs - Method not implemented ... Test title: PATCH Logging Jobs - Method not implemented ... Test objective: The objective is to test that the method is not implemented ... Pre-conditions: none - ... Reference: clause 8.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -225,7 +226,7 @@ DELETE Logging Jobs - Method not implemented ... Test title: DELETE Logging Jobs - Method not implemented ... Test objective: The objective is to test that the method is not implemented ... Pre-conditions: none - ... Reference: clause 8.5.3.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -237,7 +238,7 @@ POST Create a new logging job with permitted authorization scope ... Test title: POST Create a new logging job with permitted authorization scope ... Test objective: The objective is to create a new logging job with permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 8.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: logging job created @@ -252,7 +253,7 @@ POST Create a new logging job with not permitted authorization scope ... Test title: POST Create a new logging job with not permitted authorization scope ... Test objective: The objective is to test that the creation of a new logging job fails when a not permitted authorization scope is used. ... Pre-conditions: none - ... Reference: clause 8.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot b/SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot index 084e56bdcaebc5b13e1546d416e137ee72e3fb74..10b25c4084c2c305d559e8bcb3d144953e1a85da 100644 --- a/SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot +++ b/SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot @@ -647,7 +647,29 @@ Check Postcondition Subscription Resource Returned in Location Header Is Availab ${result}= Output response body Validate Json LogmSubscription.schema.json ${result} Log Validated LogmSubscription schema - + +Check Postcondition Logging Job Resource Returned in Location Header Is Available + Log Going to check postcondition + GET ${response['headers']['Location']} + Integer response status 200 + Log Received a 200 OK as expected + ${contentType}= Output response headers Content-Type + Should Contain ${contentType} application/json + ${result}= Output response body + Validate Json LoggingJob.schema.json ${result} + Log Validated LoggingJob schema + +Check Postcondition Log Report Resource Returned in Location Header Is Available + Log Going to check postcondition + GET ${response['headers']['Location']} + Integer response status 200 + Log Received a 200 OK as expected + ${contentType}= Output response headers Content-Type + Should Contain ${contentType} application/json + ${result}= Output response body + Validate Json LogReport.schema.json ${result} + Log Validated LogReport schema + Send Put Request for Subscriptions [Documentation] This method is not supported. When this method is requested on this resource, the NFV-MANO shall return a "405 Method ... Not Allowed" response as defined in clause 4.3.5.4. diff --git a/SOL009/NFVMANOLogManagement-API/NotificationEndpoint.robot b/SOL009/NFVMANOLogManagement-API/NotificationEndpoint.robot index 097ff823e631643518324208a8671980aa6f92f9..0bb5eeef7e74bee50eceeedbb0271f6cb0af437f 100644 --- a/SOL009/NFVMANOLogManagement-API/NotificationEndpoint.robot +++ b/SOL009/NFVMANOLogManagement-API/NotificationEndpoint.robot @@ -8,7 +8,7 @@ Log Report Available Notification ... Test title: Log Report Available Notification ... Test objective: The objective is to test that Log Report Available Notification is delivered with success to the notification consumer. ... Pre-conditions: A subscription for log report available notification is available in the NFV-MANO. - ... Reference: clause 8.5.9.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.9.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_Notif_Endpoint ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOLogManagement-API/Notifications.robot b/SOL009/NFVMANOLogManagement-API/Notifications.robot index a65298c613c18e218f3b737312f8f7383d165844..898999502c9127e96f3920b56c93955de0edb926 100644 --- a/SOL009/NFVMANOLogManagement-API/Notifications.robot +++ b/SOL009/NFVMANOLogManagement-API/Notifications.robot @@ -9,7 +9,7 @@ Log Report Avaliable Notification ... Test title: Log Report Avaliable Notification ... Test objective: The objective is to test the dispatch of Log Report Avaliable Notification when new log report is available in the NFV-MANO, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system. ... Pre-conditions: none - ... Reference: clause 8.5.9.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.9.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOLogManagement-API/Subscriptions.robot b/SOL009/NFVMANOLogManagement-API/Subscriptions.robot index 103e60665e61a309e3debc279f7ebdfe32cb10d4..57f599847d15a0a08e4749a2b17682b8b223de79 100644 --- a/SOL009/NFVMANOLogManagement-API/Subscriptions.robot +++ b/SOL009/NFVMANOLogManagement-API/Subscriptions.robot @@ -9,7 +9,7 @@ GET all Subscriptions ... Test title: GET all Subscriptions ... Test objective: The objective is to test the retrieval list of active subscriptions list to log management notifications and perform a JSON schema validation of the returned subscriptions data structure ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -22,7 +22,7 @@ GET Subscriptions with attribute-based filter ... Test title: GET Subscriptions with attribute-based filter ... Test objective: The objective is to test the retrieval of active subscriptions list to log management notifications using attribute-based filter, perform a JSON schema validation of the collected indicators data structure, and verify that the retrieved information matches the issued attribute-based filters ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -35,7 +35,7 @@ GET Subscriptions with Paged Response ... Test title: GET Subscriptions with Paged Response ... Test objective: The objective is to query information of active subscriptions list to log management notifications to get Paged Response. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -48,7 +48,7 @@ GET Subscriptions - invalid attribute-based filter ... Test title: GET Subscriptions - invalid attribute-based filter ... Test objective: The objective is to test that the retrieval of active subscriptions list to log management notifications fails when using invalid attribute-based filters, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -61,7 +61,7 @@ GET Subscriptions - Bad Request Response too Big ... Test title: GET Subscriptions - Bad Request Response too Big ... Test objective: The objective is to test that the retrieval of active subscriptions list to log management notifications fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -74,7 +74,7 @@ GET Subscriptions - invalid resource endpoint ... Test title: GET Subscriptions - invalid resource endpoint ... Test objective: The objective is to test that the retrieval of active subscriptions list to log management notifications fails when using invalid resource endpoint. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -87,7 +87,7 @@ GET Subscription with attribute-based filter "id" ... Test title: GET Subscription with attribute-based filter "id" ... Test objective: The objective is to retrieve the list of active subscriptions with filter "id" ... Pre-conditions: none - ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -101,7 +101,7 @@ Get subscriptions with filter "filter.notificationTypes" ... Test title: GET Subscription with attribute-based filter "filter.notificationTypes" ... Test objective: The objective is to retrieve the list of active subscriptions with filter "filter.notificationTypes" ... Pre-conditions: none - ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -115,7 +115,7 @@ POST Create new Subscription ... Test title: POST Create new Subscription ... Test objective: The objective is to test the creation of a new subscription to log management notification and perform a JSON schema and content validation of the returned subscription data structure ... Pre-conditions: none - ... Reference: clause 8.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The subscription is successfully set and it matches the issued subscription @@ -133,7 +133,7 @@ POST Create request for duplicated Subscription not creating duplicated subscrip ... Test title: POST Create request for duplicated Subscription not creating duplicated subscriptions ... Test objective: The objective is to test the attempt of a creation of a duplicated subscription failed and check that no new subscription is created and a link to the original subscription is returned ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO does not support the creation of duplicated subscriptions ... Post-Conditions: The existing Subscription returned is available in the NFV-MANO @@ -149,7 +149,7 @@ POST Create request for duplicated Subscription creating duplicated subscription ... Test title: POST Create request for duplicated Subscription creating duplicated subscriptions ... Test objective: The objective is to test the creation of a duplicated subscription and perform a JSON schema and content validation of the returned duplicated subscription data structure ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO supports the creation of duplicated subscriptions ... Post-Conditions: The duplicated subscription is successfully set and it matches the issued subscription @@ -166,7 +166,7 @@ PUT Subscriptions - Method not implemented ... Test title: PUT Subscriptions - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to modify subscriptions ... Pre-conditions: none - ... Reference: clause 8.5.7.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -178,7 +178,7 @@ PATCH Subscriptions - Method not implemented ... Test title: PATCH Subscriptions - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to update subscriptions ... Pre-conditions: none - ... Reference: clause 8.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -190,7 +190,7 @@ DELETE Subscriptions - Method not implemented ... Test title: DELETE Subscriptions - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed to delete subscriptions ... Pre-conditions: none - ... Reference: clause 8.5.7.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -202,7 +202,7 @@ POST Create new Subscription - Unprocessable content ... Test title: POST Create new Subscription - Unprocessable content ... Test objective: The objective is to test that a new log management subscription is not created if the notification endpoint is unreachable by the NFV-MANO. ... Pre-conditions: none - ... Reference: clause 8.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: Notification endpoint is unreachable by the NFV-MANO. ... Post-Conditions: none @@ -215,7 +215,7 @@ GET all Subscriptions with permitted authorization scope ... Test title: GET all Subscriptions with permitted authorization scope ... Test objective: The objective is to test the retrieval list of active subscriptions list to log management notifications with permitted authorization scope ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -228,7 +228,7 @@ GET all Subscriptions with not permitted authorization scope ... Test title: GET all Subscriptions with not permitted authorization scope ... Test objective: The objective is to test that the retrieval list of active subscriptions list to log management notifications fails when using not permitted authorization scope ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 8.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOPerformanceManagement-API/ApiVersion.robot b/SOL009/NFVMANOPerformanceManagement-API/ApiVersion.robot index 5a45404568f9233c6e929f0ab0a592410b4ba6d8..8ee0b4b64cb4229eb184d1f32c7e36da8bb45bdb 100644 --- a/SOL009/NFVMANOPerformanceManagement-API/ApiVersion.robot +++ b/SOL009/NFVMANOPerformanceManagement-API/ApiVersion.robot @@ -7,7 +7,7 @@ POST API Version - Method not implemented ... Test title: POST API version - Method not implemented ... Test objective: The objective is to test that POST method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -19,7 +19,7 @@ GET API Version ... Test title: GET API Version ... Test objective: The objective is to test that GET method successfully return ApiVersionInformation ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -32,7 +32,7 @@ PUT API Version - Method not implemented ... Test title: PUT API Version - Method not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -44,7 +44,7 @@ PATCH API Version - Method not implemented ... Test title: PATCH API Version - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -56,7 +56,7 @@ DELETE API Version - Method not implemented ... Test title: DELETE API Version - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -68,7 +68,7 @@ POST API Version with apiMajorVerion - Method not implemented ... Test title: POST API version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that POST method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -80,7 +80,7 @@ GET API Version with apiMajorVerion ... Test title: GET API Version with apiMajorVerion ... Test objective: The objective is to test that GET method successfully return ApiVersionInformation ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -93,7 +93,7 @@ PUT API Version with apiMajorVerion - Method not implemented ... Test title: PUT API Version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -105,7 +105,7 @@ PATCH API Version with apiMajorVerion - Method not implemented ... Test title: PATCH API Version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -117,7 +117,7 @@ DELETE API Version with apiMajorVerion - Method not implemented ... Test title: DELETE API Version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOPerformanceManagement-API/IndividualPmJob.robot b/SOL009/NFVMANOPerformanceManagement-API/IndividualPmJob.robot index dffecf063f382f05cb733defeff084453ee66edf..1c2f57cf70828b0abc88efe91dbb0882d48a7256 100644 --- a/SOL009/NFVMANOPerformanceManagement-API/IndividualPmJob.robot +++ b/SOL009/NFVMANOPerformanceManagement-API/IndividualPmJob.robot @@ -7,7 +7,7 @@ POST Individual NFV-MANO Performance Job - Method not implemented ... Test title: POST Individual NFV-MANO Performance Job - method not implemented ... Test objective: The objective is to test that POST method is not allowed to create a new NFV-MANO Performance Monitoring Job ... Pre-conditions: none - ... Reference: clause 6.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -19,7 +19,7 @@ GET individual NFV-MANO Performance Job ... Test title: Get individual NFV-MANO Performance Job ... Test objective: The objective is to test the retrieval of an individual performance monitoring job and perform a JSON schema validation of the collected job data structure ... Pre-conditions: A NFV-MANO instance is instantiated. - ... Reference: clause 6.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -33,7 +33,7 @@ GET individual NFV-MANO Performance Job with invalid resource identifier ... Test title: Get individual NFV-MANO Performance Job with invalid resource identifier ... Test objective: The objective is to test that the retrieval of an individual performance monitoring job fails when using an invalid resource identifier, and perform the JSON schema validation of the failed operation HTTP response ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -46,7 +46,7 @@ PUT Individual NFV-MANO Performance Job - Method not implemented ... Test title: PUT Individual NFV-MANO Performance Job - method not implemented ... Test objective: The objective is to test that PUT method is not allowed to update an existing NFV-MANO Performance Monitoring Job ... Pre-conditions: none - ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -58,7 +58,7 @@ PATCH Individual NFV-MANO Performance Job ... Test title: PATCH Individual NFV-MANO Performance Job ... Test objective: The objective is to test that PATCH method modify an existing individual NFV-MANO Performance Monitoring Job ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: PM Job resource is modified. @@ -71,7 +71,7 @@ DELETE Individual NFV-MANO Performance Job ... Test title: Delete Individual NFV-MANO Performance Job ... Test objective: The objective is to test the deletion of an individual performance monitoring job ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The NFV-MANO Performance Job is no more available. @@ -84,7 +84,7 @@ DELETE Individual NFV-MANO Performance Job with invalid resource identifier ... Test title: Delete individual NFV-MANO Performance Job with invalid resource identifier ... Test objective: The objective is to test that the deletion of an individual NFV-MANO performance monitoring job fails when using an invalid resource identifier ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -96,7 +96,7 @@ PATCH Individual NFV-MANO Performance Job - Precondition failed ... Test title: PATCH Individual NFV-MANO Performance Job - Precondition failed ... Test objective: The objective is to test that the PATCH method cannot modify an individual NFV-MANO Performance job where the precondition was not met. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: PM Job resource is not modified. @@ -109,7 +109,7 @@ PATCH Individual NFV-MANO Performance Job - Unprocessable content ... Test title: PATCH Individual NFV-MANO Performance Job - Unprocessable content ... Test objective: The objective is to test that PATCH method cannot modify an exsisting individual PM job resource when a request contains syntactically correct data but the data cannot be processed. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: PM Job resource is not modified. @@ -122,7 +122,7 @@ PATCH Individual NFV-MANO Performance Job with permitted authorization scope ... Test title: PATCH Individual NFV-MANO Performance Job with permitted authorization scope ... Test objective: The objective is to test that PATCH method with permitted authorization scope modify an existing individual NFV-MANO Performance Monitoring Job ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: PM Job resource is modified. @@ -135,7 +135,7 @@ PATCH Individual NFV-MANO Performance Job with not permitted authorization scope ... Test title: PATCH Individual NFV-MANO Performance Job with not permitted authorization scope ... Test objective: The objective is to test that PATCH method with not permitted authorization scope fails ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: PM Job resource is modified. diff --git a/SOL009/NFVMANOPerformanceManagement-API/IndividualReport.robot b/SOL009/NFVMANOPerformanceManagement-API/IndividualReport.robot index 96dca371bdb362847bb772732c13b89c5cff61f5..20354fce4b1ed4e22af76f33c4ce9ffd015bbcac 100644 --- a/SOL009/NFVMANOPerformanceManagement-API/IndividualReport.robot +++ b/SOL009/NFVMANOPerformanceManagement-API/IndividualReport.robot @@ -7,7 +7,7 @@ POST Individual Performance Report - Method not implemented ... Test title: POST Individual Performance Report - Method not implemented ... Test objective: The objective is to test that POST method is not allowed to create a new NFV-MANO performance report within a monitoring job. ... Pre-conditions: none - ... Reference: clause 6.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -19,7 +19,7 @@ Get Individual Performance Report ... Test title: Get Individual Performance Report ... Test objective: The objective is to test the retrieval of an individual performance report associated to a monitoring job and perform a JSON schema validation of the collected report data structure ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance reports are set for a monitoring job. - ... Reference: clause 6.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -32,7 +32,7 @@ Get Individual Performance Report with invalid resource endpoint ... Test title: Get Individual Performance Report with invalid resource endpoint ... Test objective: The objective is to test that the retrieval of an individual NFV-MANO performance report associated to a monitoring job fails when using an invalid resource endpoint. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance reports are set for a monitoring job. - ... Reference: clause 6.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -44,7 +44,7 @@ PUT Individual Performance Report - Method not implemented ... Test title: PUT Individual Performance Report - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to update an existing NFV-MANO performance report within a monitoring job. ... Pre-conditions: none - ... Reference: clause 6.5.5.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.5.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -56,7 +56,7 @@ PATCH Individual Performance Report - Method not implemented ... Test title: PATCH Individual Performance Report - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to modify an existing NFV-MANO performance report within a monitoring job. ... Pre-conditions: none - ... Reference: clause 6.5.5.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.5.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -68,7 +68,7 @@ DELETE Individual Performance Report - Method not implemented ... Test title: DELETE Individual Performance Report - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed to delete an existing NFV-MANO performance report within a monitoring job ... Pre-conditions: none - ... Reference: clause 6.5.5.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.5.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANOM ... Applicability: none ... Post-Conditions: none @@ -80,7 +80,7 @@ Get Individual Performance Report with permitted authorization scope ... Test title: Get Individual Performance Report with permitted authorization scope ... Test objective: The objective is to test the retrieval of an individual performance report associated to a monitoring job with permitted authorization scope ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance reports are set for a monitoring job. - ... Reference: clause 6.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -93,7 +93,7 @@ Get Individual Performance Report with not permitted authorization scope ... Test title: Get Individual Performance Report with not permitted authorization scope ... Test objective: The objective is to test the retrieval of an individual performance report associated to a monitoring job fails with not permitted authorization scope ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance reports are set for a monitoring job. - ... Reference: clause 6.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOPerformanceManagement-API/IndividualThreshold.robot b/SOL009/NFVMANOPerformanceManagement-API/IndividualThreshold.robot index bc0796fa841c8733642fa6ed7902a3348c55e3cd..c3d416c44088007dd6896375ffa415f90172c45f 100644 --- a/SOL009/NFVMANOPerformanceManagement-API/IndividualThreshold.robot +++ b/SOL009/NFVMANOPerformanceManagement-API/IndividualThreshold.robot @@ -7,7 +7,7 @@ POST Individual Threshold - Method not implemented ... Test title: POST Individual Threshold - Method not implemented ... Test objective: The objective is to test that POST method is not allowed to create a new Performance Threshold ... Pre-conditions: none - ... Reference: clause 6.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -19,7 +19,7 @@ GET Individual Threshold ... Test title: GET Individual Threshold ... Test objective: The objective is to test the retrieval of an individual NFV-MANO performance threshold and perform a JSON schema and content validation of the collected threshold data structure ... Pre-conditions: A NFV-MANO instance is instantiated. One or more performance thresholds are set. - ... Reference: clause 6.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -33,7 +33,7 @@ GET Individual Threshold with invalid resource identifier ... Test title: GET Individual Threshold with invalid resource identifier ... Test objective: The objective is to test that the retrieval of an individual performance threshold fails when using an invalid resource identifier ... Pre-conditions: A NFV-MANO instance is instantiated. One or more performance jobs are set. - ... Reference: clause 6.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -45,7 +45,7 @@ PUT Individual Threshold - Method not implemented ... Test title: PUT Individual Threshold - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to update an existing Performance threshold ... Pre-conditions: none - ... Reference: clause 6.5.7.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.7.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -57,7 +57,7 @@ PATCH Individual Threshold ... Test title: PATCH Individual Threshold ... Test objective: The objective is to test that PATCH method modify an existing NFV_MANO performance threshold. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more performance thresholds are set. - ... Reference: clause 6.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Threshold resource is modified. @@ -70,7 +70,7 @@ DELETE Individual Threshold ... Test title: DELETE Individual Threshold ... Test objective: The objective is to test the deletion of an individual performance threshold ... Pre-conditions: A NFV-MANO instance is instantiated. One or more performance thresholds are set. - ... Reference: clause 6.5.7.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.7.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The Performance Threshold is not available anymore in the NFV-MANO @@ -83,7 +83,7 @@ DELETE Individual Threshold with invalid resource identifier ... Test title: DELETE Individual Threshold with invalid resource identifier ... Test objective: The objective is to test the deletion of an individual performance threshold ... Pre-conditions: A NFV-MANO instance is instantiated. One or more performance thresholds are set. - ... Reference: clause 6.5.7.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.7.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -95,7 +95,7 @@ PATCH Individual Threshold - Precondition failed ... Test title: PATCH Individual Threshold - Precondition failed ... Test objective: The objective is to test that the PATCH method cannot modify an individual NFV-MANO threshold where the precondition was not met. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more performance thresholds are set. - ... Reference: clause 6.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Threshold resource is not modified. @@ -108,7 +108,7 @@ PATCH Individual Threshold - Unprocessable content ... Test title: PATCH Individual Threshold - Unprocessable content ... Test objective: The objective is to test that PATCH method cannot modify an exsisting individual threshold resource when a request contains syntactically correct data but the data cannot be processed. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more performance thresholds are set. - ... Reference: clause 6.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Threshold resource is not modified. @@ -121,7 +121,7 @@ PATCH Individual Threshold with permitted authorization scope ... Test title: PATCH Individual Threshold with permitted authorization scope ... Test objective: The objective is to test that PATCH method modify an existing NFV_MANO performance threshold with permitted authorization scope. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more performance thresholds are set. - ... Reference: clause 6.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Threshold resource is modified. @@ -134,7 +134,7 @@ PATCH Individual Threshold with not permitted authorization scope ... Test title: PATCH Individual Threshold with not permitted authorization scope ... Test objective: The objective is to test that PATCH method fails with not permitted authorization scope. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more performance thresholds are set. - ... Reference: clause 6.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Threshold resource is modified. diff --git a/SOL009/NFVMANOPerformanceManagement-API/NFVMANOPMKeywords.robot b/SOL009/NFVMANOPerformanceManagement-API/NFVMANOPMKeywords.robot index 9fb0b107536a5027af8797e5a6ebf34ed3adaac0..11de54515f69b133557d7ba26fd002116e7bb71d 100644 --- a/SOL009/NFVMANOPerformanceManagement-API/NFVMANOPMKeywords.robot +++ b/SOL009/NFVMANOPerformanceManagement-API/NFVMANOPMKeywords.robot @@ -235,7 +235,7 @@ Check HTTP Response Header Contains Should Contain ${response['headers']} ${CONTENT_TYPE} Log Header is present -Check Postcondition Resource Returned in Location Header Is Available +Check Postcondition Threshold Resource Returned in Location Header Is Available Log Going to check postcondition GET ${response['headers']['Location']} Integer response status 200 @@ -243,7 +243,18 @@ Check Postcondition Resource Returned in Location Header Is Available ${contentType}= Output response headers Content-Type Should Contain ${contentType} application/json ${result}= Output response body - Validate Json schemas/PmJobschema.json ${result} + Validate Json schemas/Threshold.schema.json ${result} + Log Validated Threshold schema + +Check Postcondition Pm Job Resource Returned in Location Header Is Available + Log Going to check postcondition + GET ${response['headers']['Location']} + Integer response status 200 + Log Received a 200 OK as expected + ${contentType}= Output response headers Content-Type + Should Contain ${contentType} application/json + ${result}= Output response body + Validate Json schemas/PmJob.schema.json ${result} Log Validated PmJobschema schema Check HTTP Response Body Json Schema Is diff --git a/SOL009/NFVMANOPerformanceManagement-API/NotificationEndpoint.robot b/SOL009/NFVMANOPerformanceManagement-API/NotificationEndpoint.robot index e1c2660c6c5274a7a069d7e34d03c775fad12b7b..5cc11a4346cca2ea1ea48bca8b4fb8dfec796dbe 100644 --- a/SOL009/NFVMANOPerformanceManagement-API/NotificationEndpoint.robot +++ b/SOL009/NFVMANOPerformanceManagement-API/NotificationEndpoint.robot @@ -8,7 +8,7 @@ Performance Information Available Notification ... Test title: Performance Information Available Notification ... Test objective: The objective is to test that Performance Available Notification is delivered with success to the notification consumer ... Pre-conditions: A subscription for performance available notification is available in the NFV-MANO. - ... Reference: clause 6.5.10.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.10.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_Notif_Endpoint ... Applicability: none ... Post-Conditions: none @@ -21,7 +21,7 @@ Threshold Crossed Notification ... Test title: Threshold Crossed Notification ... Test objective: The objective is to test that Threshold Crossed Notification is delivered with success to the notification consumer ... Pre-conditions: A subscription for threshold crosssed notification is available in the NFV-MANO. - ... Reference: clause 6.5.10.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.10.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_Notif_Endpoint ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOPerformanceManagement-API/Notifications.robot b/SOL009/NFVMANOPerformanceManagement-API/Notifications.robot index cfff4995c7b4f0171c3a1f5fedb1594de5605675..f7aa8c32f24c28d3d204367f9af96365ee6aa0a7 100644 --- a/SOL009/NFVMANOPerformanceManagement-API/Notifications.robot +++ b/SOL009/NFVMANOPerformanceManagement-API/Notifications.robot @@ -9,7 +9,7 @@ Performance Information Availability Notification ... Test title: Performance Information Availability Notification ... Test objective: The objective is to test the dispatch of Performance Information Availability Notification when new performance information is available in the NFV-MANO, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system. ... Pre-conditions: A performance job is created, and a subscription for information availability notifications is available in the NFV-MANO. - ... Reference: clause 6.5.10.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.10.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -22,7 +22,7 @@ Threshold Crossed Notification ... Test title: Threshold Crossed Notification ... Test objective: The objective is to test the dispatch of Threshold Crossed Notification when a previously set performance metric threshold is crossed, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system. ... Pre-conditions: A performance job is created, and a threshold subscription is available in the NFV-MANO. - ... Reference: clause 6.5.10.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.10.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVMANOPerformanceManagement-API/PMJobs.robot b/SOL009/NFVMANOPerformanceManagement-API/PMJobs.robot index d280713b2f4591c46bbaac89080b68797040257a..b5c77a55ac3da875837f6d517a3fccb6cd8766fe 100644 --- a/SOL009/NFVMANOPerformanceManagement-API/PMJobs.robot +++ b/SOL009/NFVMANOPerformanceManagement-API/PMJobs.robot @@ -7,7 +7,7 @@ POST Create new NFV-MANO Performance Monitoring Job ... Test title: POST Create a new NFV-MANO Performance Monitoring Job ... Test objective: The objective is to test the creation of a new NFV-MANO performance monitoring job and perform the JSON schema validation of the returned job data structure ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The NFV-MANO Performance Job is successfully created on the NFV-MANO @@ -15,7 +15,7 @@ POST Create new NFV-MANO Performance Monitoring Job Check HTTP Response Status Code Is 201 Check HTTP Response Body Json Schema Is PmJob Check HTTP Response Header Contains Location - Check Postcondition Resource Returned in Location Header Is Available + Check Postcondition Pm Job Resource Returned in Location Header Is Available Check Postcondition PmJob Exists GET all NFV-MANO Performance Monitoring Jobs @@ -23,7 +23,7 @@ GET all NFV-MANO Performance Monitoring Jobs ... Test title: GET all NFV-MANO Performance Monitoring Jobs ... Test objective: The objective is to test the retrieval of all the available NFV-MANO performance monitoring jobs and perform a JSON schema validation ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -36,7 +36,7 @@ GET NFV-MANO Performance Monitoring Jobs with attribute-based filter ... Test title: GET all NFV-MANO Performance Monitoring Jobs with attribute-based filter ... Test objective: The objective is to test the retrieval of NFV-MANO performance monitoring jobs using attribute-based filter, perform a JSON schema validation of the collected jobs data structure ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -49,7 +49,7 @@ GET all NFV-MANO Performance Monitoring Jobs with all_fields attribute selector ... Test title: GET all NFV-MANO Performance Monitoring Jobs with all_fields attribute selector ... Test objective: The objective is to test the retrieval of all NFV-MANO performance monitoring jobs all_fields attribute selector, perform a JSON schema validation of the collected jobs data structure ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -62,7 +62,7 @@ GET all NFV-MANO Performance Monitoring Jobs with exclude_default attribute sele ... Test title: GET all NFV-MANO Performance Monitoring Jobs with exclude_default attribute selector ... Test objective: The objective is to test the retrieval of all NFV-MANO performance monitoring jobs exclude_default attribute selector, perform a JSON schema validation of the collected jobs data structure ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -75,7 +75,7 @@ GET all NFV-MANO Performance Monitoring Jobs with fields attribute selector ... Test title: GET all NFV-MANO Performance Monitoring Jobs with fields attribute selector ... Test objective: The objective is to test the retrieval of all NFV-MANO performance monitoring jobs fields attribute selector, perform a JSON schema validation of the collected jobs data structure ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO supports the use of fields attribute selector ... Post-Conditions: none @@ -88,7 +88,7 @@ GET all NFV-MANO Performance Monitoring Jobs with exclude_fields attribute selec ... Test title: GET all NFV-MANO Performance Monitoring Jobs with exclude_fields attribute selector ... Test objective: The objective is to test the retrieval of all NFV-MANO performance monitoring jobs exclude_fields attribute selector, perform a JSON schema validation of the collected jobs data structure ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO supports the use of exclude_fields attribute selector ... Post-Conditions: none @@ -101,7 +101,7 @@ GET NFV-MANO Performance Monitoring Jobs with invalid attribute-based filter ... Test title: GET NFV-MANO Performance Monitoring Jobs with invalid attribute-based filter ... Test objective: The objective is to test that the retrieval of NFV-MANO performance monitoring jobs fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -114,7 +114,7 @@ GET NFV-MANO Performance Monitoring Jobs with invalid attribute selector ... Test title: GET NFV-MANO Performance Monitoring Jobs with invalid resource endpoint ... Test objective: The objective is to test that the retrieval of NFV-MANO performance monitoring jobs fails with invalid attribute selector ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -127,7 +127,7 @@ GET information about multiple Performance Monitoring Jobs to get Paged Response ... Test title: GET information about multiple Performance Monitoring Jobs to get Paged Response ... Test objective: The objective is to retrieve information about the performance monitoring jobs to get paged response ... Pre-conditions: none - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -140,7 +140,7 @@ GET information about multiple Performance Monitoring Jobs for Bad Request Respo ... Test title: GET information about multiple Performance Monitoring Jobs for Bad Request Response too big ... Test objective: The objective is to test that GET method fail retrieving status information about performance monitoring jobs when Response is too big, and perform the JSON schema validation of the failed operation HTTP response ... Pre-conditions: none - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -153,7 +153,7 @@ GET information about multiple Performance Monitoring Jobs with "fields" and "ex ... Test title: GET all NFV-MANO Performance Monitoring Jobs with "fields" and "exclude_default" attribute selector ... Test objective: The objective is to retrieve all performance monitoring jobs with fields and exclude default attribute selector, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -166,7 +166,7 @@ Get information about multiple Performance Monitoring Jobs with malformed author ... Test title: Get information about multiple Performance Monitoring Jobs with malformed authorization token ... Test objective: The objective is to test that the retrieval of information about Performance Monitoring Jobs fails when using malformed authorization token ... Pre-conditions: none - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO entity requires the usage of access tokens for authorizing the API requests. ... Post-Conditions: none @@ -178,7 +178,7 @@ Get information about multiple Performance Monitoring Jobs without authorization ... Test title: Get information about multiple Performance Monitoring Jobs without authorization token ... Test objective: The objective is to test that the retrieval of information about Performance Monitoring Jobs fails when omitting the authorization token ... Pre-conditions: none - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO entity requires the usage of access tokens for authorizing the API requests. ... Post-Conditions: none @@ -190,7 +190,7 @@ GET information about multiple Performance Monitoring Jobs with expired or revok ... Test title: GET information about multiple Performance Monitoring Jobs with expired or revoked authorization token ... Test objective: The objective is to test that the retrieval of information about Performance Monitoring Jobs fails when using expired or revoked authorization token ... Pre-conditions: One or more Network Service Descriptors are onboarded in the NFVO - ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO entity requires the usage of access tokens for authorizing the API requests. ... Post-Conditions: none @@ -202,7 +202,7 @@ PUT all NFV-MANO Performance Monitoring Jobs - Method not implemented ... Test title: PUT all NFV-MANO Performance Monitoring Jobs - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to modify NFV-MANO Performance Monitoring Jobs ... Pre-conditions: none - ... Reference: clause 6.5.3.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -214,7 +214,7 @@ PATCH all NFV-MANO Performance Monitoring Jobs - (Method not implemented) ... Test title: PATCH all NFV-MANO Performance Monitoring Jobs - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to update NFV-MANO Performance Monitoring Jobs ... Pre-conditions: none - ... Reference: clause 6.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -226,7 +226,7 @@ DELETE all NFV-MANO Performance Monitoring Jobs - Method not implemented ... Test title: DELETE all NFV-MANO Performance Monitoring Jobs - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed to update NFV-MANO Performance Monitoring Jobs ... Pre-conditions: none - ... Reference: clause 6.5.3.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -238,7 +238,7 @@ POST Create new NFV-MANO Performance Monitoring Job - Unreachable Notification E ... Test title: POST Create a new NFV-MANO Performance Monitoring Job ... Test objective: The objective is to test that a new NFV_MANO Performance Monitoring Job is not created if the notification endpoint is unreachable by the NFV-MANO. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: Notification endpoint is unreachable by the NFV-MANO. ... Post-Conditions: none @@ -251,7 +251,7 @@ POST Create new NFV-MANO Performance Monitoring Job with permitted authorization ... Test title: POST Create a new NFV-MANO Performance Monitoring Job with permitted authorization scope ... Test objective: The objective is to test the creation of a new NFV-MANO performance monitoring job with permitted authorization scope ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The NFV-MANO Performance Job is successfully created on the NFV-MANO @@ -265,7 +265,7 @@ POST Create new NFV-MANO Performance Monitoring Job with not permitted authoriza ... Test title: POST Create a new NFV-MANO Performance Monitoring Job with not permitted authorization scope ... Test objective: The objective is to test that the creation of a new NFV-MANO performance monitoring job fails with not permitted authorization scope ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. - ... Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The NFV-MANO Performance Job is successfully created on the NFV-MANO diff --git a/SOL009/NFVMANOPerformanceManagement-API/Thresholds.robot b/SOL009/NFVMANOPerformanceManagement-API/Thresholds.robot index b351c76f22f0afa02edb695827030216b2c34789..500da8499fa5d0df94b45d7c865f9859eb340da3 100644 --- a/SOL009/NFVMANOPerformanceManagement-API/Thresholds.robot +++ b/SOL009/NFVMANOPerformanceManagement-API/Thresholds.robot @@ -7,7 +7,7 @@ POST Create new Performance Threshold ... Test title: POST Create new Performance Threshold ... Test objective: The objective is to test the creation of a new NFV-MANO performance threshold and perform the JSON schema validation of the returned threshold data structure. ... Pre-conditions: A NFV-MANO instance is instantiated. - ... Reference: clause 6.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The NFV-MANO Performance Threshold is successfully created on the NFV-MANO @@ -15,6 +15,7 @@ POST Create new Performance Threshold Check HTTP Response Status Code Is 201 Check HTTP Response Body Json Schema Is Threshold Check HTTP Response Header Contains Location + Check Postcondition Threshold Resource Returned in Location Header Is Available Check Postcondition Threshold Exists GET All Performance Thresholds @@ -22,7 +23,7 @@ GET All Performance Thresholds ... Test title: GET All Performance Thresholds ... Test objective: The objective is to test the retrieval of all the available NFV-MANO performance thresholds and perform a JSON schema validation of the collected thresholds data structure. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance thresholds are set. - ... Reference: clause 6.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -35,7 +36,7 @@ GET Performance Thresholds with attribute-based filter ... Test title: GET Performance Thresholds with attribute-based filter ... Test objective: The objective is to test the retrieval of all the available NFV-MANO performance thresholds when using attribute-based filters, perform a JSON schema validation of the collected thresholds data structure, and verify that the retrieved information matches the issued attribute-based filter ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance thresholds are set in the NFV-MANO. - ... Reference: clause 6.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -49,7 +50,7 @@ GET Performance Threshold with Paged Response ... Test title: GET Performance Threshold with Paged Response ... Test objective: The objective is to query information about NFV-MANO Performance Thresholds to get Paged Response. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance thresholds are set. - ... Reference: clause 6.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -62,7 +63,7 @@ GET Performance Thresholds - Invalid attribute-based filter ... Test title: GET Performance Thresholds - Invalid attribute-based filter ... Test objective: The objective is to test that the retrieval of NFV-MANO performance thresholds fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance thresholds are set. - ... Reference: clause 6.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -75,7 +76,7 @@ GET Performance Threshold - Bad Request Response too Big ... Test title: GET Performance Threshold - Bad Request Response too Big ... Test objective: The objective is to test that the retrieval of NFV-MANO performance thresholds fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance thresholds are set. - ... Reference: clause 6.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.6.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -88,7 +89,7 @@ PUT Performance Thresholds - Method not implemented ... Test title: PUT Performance Thresholds - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to modify NFV-MANO Performance Thresholds ... Pre-conditions: none - ... Reference: clause 6.5.6.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.6.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -100,7 +101,7 @@ PATCH Performance Thresholds - Method not implemented ... Test title: PATCH Performance Thresholds - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to modify NFV-MANO Performance Thresholds ... Pre-conditions: none - ... Reference: clause 6.5.6.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.6.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -112,7 +113,7 @@ DELETE Performance Thresholds - Method not implemented ... Test title: DELETE Performance Thresholds - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed to update NFV-MANO Performance Thresholds ... Pre-conditions: none - ... Reference: clause 6.5.6.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.6.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -125,7 +126,7 @@ POST Create new Performance Threshold - Unprocessable content ... Test objective: The objective is to test the creation of a new NFV-MANO performance threshold and perform the JSON schema validation of the returned threshold data structure. ... Test objective: The objective is to test that a new NFV-MANO performance threshold is not created if the notification endpoint is unreachable by the NFV-MANO. ... Pre-conditions: A NFV-MANO instance is instantiated. - ... Reference: clause 6.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: Notification endpoint is unreachable by the NFV-MANO. ... Post-Conditions: none @@ -138,7 +139,7 @@ POST Create new Performance Threshold with permitted authorization scope ... Test title: POST Create new Performance Threshold with permitted authorization scope ... Test objective: The objective is to test the creation of a new NFV-MANO performance threshold with permitted authorization scope. ... Pre-conditions: A NFV-MANO instance is instantiated. - ... Reference: clause 6.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The NFV-MANO Performance Threshold is successfully created on the NFV-MANO @@ -153,7 +154,7 @@ POST Create new Performance Threshold with not permitted authorization scope ... Test title: POST Create new Performance Threshold with not permitted authorization scope ... Test objective: The objective is to test the creation of a new NFV-MANO performance threshold fails with not permitted authorization scope. ... Pre-conditions: A NFV-MANO instance is instantiated. - ... Reference: clause 6.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 6.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The NFV-MANO Performance Threshold is successfully created on the NFV-MANO diff --git a/SOL009/NFVMANOPerformanceManagement-API/log.html b/SOL009/NFVMANOPerformanceManagement-API/log.html new file mode 100644 index 0000000000000000000000000000000000000000..a23f8e7b3cba5329ccb46a58c07aef8624cb7bfd --- /dev/null +++ b/SOL009/NFVMANOPerformanceManagement-API/log.html @@ -0,0 +1,2196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework log failed

+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SOL009/NFVMANOPerformanceManagement-API/output.xml b/SOL009/NFVMANOPerformanceManagement-API/output.xml new file mode 100644 index 0000000000000000000000000000000000000000..6fe3759039e48297020839c90dbf4bcde4607fd1 --- /dev/null +++ b/SOL009/NFVMANOPerformanceManagement-API/output.xml @@ -0,0 +1,2945 @@ + + + + + + +Creating a new PM Job +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +{"Content-Type": "${CONTENT_TYPE_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${template} +jsons/CreatePmJobRequest.json +Returns the contents of a specified file. + + + +${body} +${template} +objectInstanceIds=${objectInstanceIds} +callbackUri=${callback_uri} +Formats a ``template`` using the given ``positional`` and ``named`` arguments. + + + + +Creating mock request and response to handle GET operation on notification endpoint +Logs the given message with the given level. + + + +&{notification_request} +GET +${callback_uri} +Creates a mock request matcher to be used by mockserver. + + + +&{notification_response} +status_code=204 +Creates a mock response to be used by mockserver. + + + +Issue the subscription request +Logs the given message with the given level. + + + +${notification_request} +${notification_response} +Creates a mock expectation to be used by mockserver. + + + +${total_polling_time} +${polling_interval} +Verify Mock Expectation +${notification_request} +Runs the specified keyword and retries if it fails. + +${notification_request} +Verifies that the mockserver has received a specific request. + + + + + +${callback_uri} +Clears expectations and requests for a specific endpoint from the mockserver. + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +${body} +http +*Sends a POST request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +201 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PmJob + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + +Location + +${response['headers']} +${CONTENT_TYPE} +Fails if ``container`` does not contain ``item`` one or more times. + + + +Header is present +Logs the given message with the given level. + + + + + + +Going to check postcondition +Logs the given message with the given level. + + + +${response['headers']['Location']} +http +*Sends a GET request to the endpoint.* + + + +response status +200 +assertions +*Asserts the field as JSON integer.* + + + +Received a 200 OK as expected +Logs the given message with the given level. + + + +${contentType} +response headers Content-Type +I/O +*Outputs JSON to terminal or a file.* + + + +${contentType} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${result} +response body +I/O +*Outputs JSON to terminal or a file.* + + + +schemas/PmJob.schema.json +${result} +Validates the sample JSON against the given schema. + + + +Validated PmJobschema schema +Logs the given message with the given level. + + + + + + +Checking that Pm Job exists +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${response['body']['id']} +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PmJob + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +Test ID: 8.3.2.1.1 +Test title: POST Create a new NFV-MANO Performance Monitoring Job +Test objective: The objective is to test the creation of a new NFV-MANO performance monitoring job and perform the JSON schema validation of the returned job data structure +Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. +Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: The NFV-MANO Performance Job is successfully created on the NFV-MANO + + + + + +Trying to get all PM Jobs present in the NFV-MANO +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PmJobs + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.2 +Test title: GET all NFV-MANO Performance Monitoring Jobs +Test objective: The objective is to test the retrieval of all the available NFV-MANO performance monitoring jobs and perform a JSON schema validation +Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to get all PM Jobs present in the NFV-MANO, using filter params +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs?${POS_FILTER} +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PmJobs + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.3 +Test title: GET all NFV-MANO Performance Monitoring Jobs with attribute-based filter +Test objective: The objective is to test the retrieval of NFV-MANO performance monitoring jobs using attribute-based filter, perform a JSON schema validation of the collected jobs data structure +Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to get all PM Jobs present in the NFV-MANO, using 'all_fields' filter +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs?all_fields +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PmJobs + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.4 +Test title: GET all NFV-MANO Performance Monitoring Jobs with all_fields attribute selector +Test objective: The objective is to test the retrieval of all NFV-MANO performance monitoring jobs all_fields attribute selector, perform a JSON schema validation of the collected jobs data structure +Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to get all NFV-MANO Packages present in the NFV-MANO, using filter params +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs?exclude_default +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PmJobs + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.5 +Test title: GET all NFV-MANO Performance Monitoring Jobs with exclude_default attribute selector +Test objective: The objective is to test the retrieval of all NFV-MANO performance monitoring jobs exclude_default attribute selector, perform a JSON schema validation of the collected jobs data structure +Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to get all NFV-MANO Packages present in the NFV-MANO, using filter params +Logs the given message with the given level. + + + +${FIELD_USAGE} == 0 +Skipping test as NFV-MANO is not supporting 'fields' +Conditionally skips rest of the current test, setup, or teardown with PASS status. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs?fields=${fields} +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PmJobs + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.6 +Test title: GET all NFV-MANO Performance Monitoring Jobs with fields attribute selector +Test objective: The objective is to test the retrieval of all NFV-MANO performance monitoring jobs fields attribute selector, perform a JSON schema validation of the collected jobs data structure +Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: The NFV-MANO supports the use of fields attribute selector +Post-Conditions: none + + + + + +Trying to get all NFV-MANO Packages present in the NFV-MANO, using filter params +Logs the given message with the given level. + + + +${FIELD_USAGE} == 0 +Skipping test as NFV-MANO is not supporting 'fields' +Conditionally skips rest of the current test, setup, or teardown with PASS status. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs?fields=${fields} +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PmJobs + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.7 +Test title: GET all NFV-MANO Performance Monitoring Jobs with exclude_fields attribute selector +Test objective: The objective is to test the retrieval of all NFV-MANO performance monitoring jobs exclude_fields attribute selector, perform a JSON schema validation of the collected jobs data structure +Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: The NFV-MANO supports the use of exclude_fields attribute selector +Post-Conditions: none + + + + + +Trying to get all PM Jobs present in the NFV-MANO, using an erroneous filter param +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs?${NEG_FILTER} +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +400 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +ProblemDetails + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.8 +Test title: GET NFV-MANO Performance Monitoring Jobs with invalid attribute-based filter +Test objective: The objective is to test that the retrieval of NFV-MANO performance monitoring jobs fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response +Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Query VNF The GET method queries information about multiple VNF instances. +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +{"Content-Type": "${CONTENT_TYPE_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/vnf_instances?fields=wrong_field +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +400 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +ProblemDetails + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.9 +Test title: GET NFV-MANO Performance Monitoring Jobs with invalid resource endpoint +Test objective: The objective is to test that the retrieval of NFV-MANO performance monitoring jobs fails with invalid attribute selector +Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to get all PM Jobs present in the NFV-MANO +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + + +${linkURL} +${response['headers']} +$..Link +Get Value From JSON using JSONPath + + + +${linkURL} +Verifies that the given item is not empty. + + + + +Test ID: 8.3.2.1.10 +Test title: GET information about multiple Performance Monitoring Jobs to get Paged Response +Test objective: The objective is to retrieve information about the performance monitoring jobs to get paged response +Pre-conditions: none +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to get all PM Jobs present in the NFV-MANO +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +400 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +ProblemDetails + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.11 +Test title: GET information about multiple Performance Monitoring Jobs for Bad Request Response too big +Test objective: The objective is to test that GET method fail retrieving status information about performance monitoring jobs when Response is too big, and perform the JSON schema validation of the failed operation HTTP response +Pre-conditions: none +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to get all NFV-MANO Packages present in the NFV-MANO, using filter params +Logs the given message with the given level. + + + +${FIELD_USAGE} == 0 +Skipping test as NFV-MANO is not supporting 'fields' +Conditionally skips rest of the current test, setup, or teardown with PASS status. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs?exclude_default&fields=${fields} +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PmJobs + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.12 +Test title: GET all NFV-MANO Performance Monitoring Jobs with "fields" and "exclude_default" attribute selector +Test objective: The objective is to retrieve all performance monitoring jobs with fields and exclude default attribute selector, and perform the JSON schema validation of the HTTP response. +Pre-conditions: none +Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +${AUTH_USAGE} == 0 +Skipping test as NFVO is not supporting authentication +Conditionally skips rest of the current test, setup, or teardown with PASS status. + + + +The GET method queries using invalid token +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +{"${AUTHORIZATION_HEADER}": "${BAD_AUTHORIZATION}"} +settings +*Sets new request headers or updates the existing.* + + + +Execute Query and validate response +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +401 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.13 +Test title: Get information about multiple Performance Monitoring Jobs with malformed authorization token +Test objective: The objective is to test that the retrieval of information about Performance Monitoring Jobs fails when using malformed authorization token +Pre-conditions: none +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: The NFV-MANO entity requires the usage of access tokens for authorizing the API requests. +Post-Conditions: none + + + + + +${AUTH_USAGE} == 0 +Skipping test as it is not supporting authentication +Conditionally skips rest of the current test, setup, or teardown with PASS status. + + + +The GET method queries omitting token +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +Execute Query and validate response +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +401 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.14 +Test title: Get information about multiple Performance Monitoring Jobs without authorization token +Test objective: The objective is to test that the retrieval of information about Performance Monitoring Jobs fails when omitting the authorization token +Pre-conditions: none +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: The NFV-MANO entity requires the usage of access tokens for authorizing the API requests. +Post-Conditions: none + + + + + +${AUTH_USAGE} == 0 +Skipping test as it is not supporting authentication +Conditionally skips rest of the current test, setup, or teardown with PASS status. + + + +The GET method queries +using invalid token +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +{"${AUTHORIZATION_HEADER}": "${NEG_AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + +Execute Query and validate response +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +401 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.15 +Test title: GET information about multiple Performance Monitoring Jobs with expired or revoked authorization token +Test objective: The objective is to test that the retrieval of information about Performance Monitoring Jobs fails when using expired or revoked authorization token +Pre-conditions: One or more Network Service Descriptors are onboarded in the NFVO +Reference: clause 6.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: The NFV-MANO entity requires the usage of access tokens for authorizing the API requests. +Post-Conditions: none + + + + + +Trying to perform a PUT. This method should not be implemented +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +http +*Sends a PUT request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +405 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.16 +Test title: PUT all NFV-MANO Performance Monitoring Jobs - Method not implemented +Test objective: The objective is to test that PUT method is not allowed to modify NFV-MANO Performance Monitoring Jobs +Pre-conditions: none +Reference: clause 6.5.3.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to perform a PUT. This method should not be implemented +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +http +*Sends a PATCH request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +405 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.17 +Test title: PATCH all NFV-MANO Performance Monitoring Jobs - Method not implemented +Test objective: The objective is to test that PATCH method is not allowed to update NFV-MANO Performance Monitoring Jobs +Pre-conditions: none +Reference: clause 6.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to perform a PUT. This method should not be implemented +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +http +*Sends a PATCH request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +405 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.18 +Test title: DELETE all NFV-MANO Performance Monitoring Jobs - Method not implemented +Test objective: The objective is to test that DELETE method is not allowed to update NFV-MANO Performance Monitoring Jobs +Pre-conditions: none +Reference: clause 6.5.3.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Creating a new PM Job for unreachable notification endpoint +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +{"Content-Type": "${CONTENT_TYPE_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${template} +jsons/CreatePmJobRequest.json +Returns the contents of a specified file. + + + +${body} +${template} +objectInstanceIds=${objectInstanceIds} +callbackUri=${callback_uri} +Formats a ``template`` using the given ``positional`` and ``named`` arguments. + + + + +Creating mock request and response to handle GET operation on unreachable notification endpoint +Logs the given message with the given level. + + + +&{notification_request} +GET +${unreachable_callback_uri} +Creates a mock request matcher to be used by mockserver. + + + +&{notification_response} +status_code=404 +Creates a mock response to be used by mockserver. + + + +Issue the subscription request +Logs the given message with the given level. + + + +${notification_request} +${notification_response} +Creates a mock expectation to be used by mockserver. + + + +${total_polling_time} +${polling_interval} +Verify Mock Expectation +${notification_request} +Runs the specified keyword and retries if it fails. + +${notification_request} +Verifies that the mockserver has received a specific request. + + + + + +${unreachable_callback_uri} +Clears expectations and requests for a specific endpoint from the mockserver. + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +${body} +http +*Sends a POST request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +422 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +ProblemDetails + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.19 +Test title: POST Create a new NFV-MANO Performance Monitoring Job +Test objective: The objective is to test that a new NFV_MANO Performance Monitoring Job is not created if the notification endpoint is unreachable by the NFV-MANO. +Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. +Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: Notification endpoint is unreachable by the NFV-MANO. +Post-Conditions: none + + + + + +Creating a new PM Job +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +{"Content-Type": "${CONTENT_TYPE_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${scopeValue} +scope=${JOBS_PERMITTED_SCOPE} +Creates and returns a dictionary based on the given ``items``. + + + +${authorizationToken} +payload=${scopeValue} +key='' +algorithm=${OAUTH_ENCRIPTION_ALGORITHM} + +${encoded} +jwt.encode(${payload}, ${key}, ${algorithm}) +Evaluates the given expression in Python and returns the result. + + + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${authorizationToken}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${authorizationToken}"} +settings +*Sets new request headers or updates the existing.* + + + + + +Authorization Token: ${authorizationToken} +Logs the given message with the given level. + + + +${template} +jsons/CreatePmJobRequest.json +Returns the contents of a specified file. + + + +${body} +${template} +objectInstanceIds=${objectInstanceIds} +callbackUri=${callback_uri} +Formats a ``template`` using the given ``positional`` and ``named`` arguments. + + + + +Creating mock request and response to handle GET operation on notification endpoint +Logs the given message with the given level. + + + +&{notification_request} +GET +${callback_uri} +Creates a mock request matcher to be used by mockserver. + + + +&{notification_response} +status_code=204 +Creates a mock response to be used by mockserver. + + + +Issue the subscription request +Logs the given message with the given level. + + + +${notification_request} +${notification_response} +Creates a mock expectation to be used by mockserver. + + + +${total_polling_time} +${polling_interval} +Verify Mock Expectation +${notification_request} +Runs the specified keyword and retries if it fails. + +${notification_request} +Verifies that the mockserver has received a specific request. + + + + + +${callback_uri} +Clears expectations and requests for a specific endpoint from the mockserver. + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +${body} +http +*Sends a POST request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +201 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PmJob + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +Checking that Pm Job exists +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs/${response['body']['id']} +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PmJob + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +Test ID: 8.3.2.1.20 +Test title: POST Create a new NFV-MANO Performance Monitoring Job with permitted authorization scope +Test objective: The objective is to test the creation of a new NFV-MANO performance monitoring job with permitted authorization scope +Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. +Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: The NFV-MANO Performance Job is successfully created on the NFV-MANO + + + + + +Creating a new PM Job +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +{"Content-Type": "${CONTENT_TYPE_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${scopeValue} +scope=${JOBS_NOT_PERMITTED_SCOPE} +Creates and returns a dictionary based on the given ``items``. + + + +${authorizationToken} +payload=${scopeValue} +key='' +algorithm=${OAUTH_ENCRIPTION_ALGORITHM} + +${encoded} +jwt.encode(${payload}, ${key}, ${algorithm}) +Evaluates the given expression in Python and returns the result. + + + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${authorizationToken}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${authorizationToken}"} +settings +*Sets new request headers or updates the existing.* + + + + + +Authorization Token: ${authorizationToken} +Logs the given message with the given level. + + + +${template} +jsons/CreatePmJobRequest.json +Returns the contents of a specified file. + + + +${body} +${template} +objectInstanceIds=${objectInstanceIds} +callbackUri=${callback_uri} +Formats a ``template`` using the given ``positional`` and ``named`` arguments. + + + + +Creating mock request and response to handle GET operation on notification endpoint +Logs the given message with the given level. + + + +&{notification_request} +GET +${callback_uri} +Creates a mock request matcher to be used by mockserver. + + + +&{notification_response} +status_code=204 +Creates a mock response to be used by mockserver. + + + +Issue the subscription request +Logs the given message with the given level. + + + +${notification_request} +${notification_response} +Creates a mock expectation to be used by mockserver. + + + +${total_polling_time} +${polling_interval} +Verify Mock Expectation +${notification_request} +Runs the specified keyword and retries if it fails. + +${notification_request} +Verifies that the mockserver has received a specific request. + + + + + +${callback_uri} +Clears expectations and requests for a specific endpoint from the mockserver. + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/pm_jobs +${body} +http +*Sends a POST request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +401 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.2.1.21 +Test title: POST Create a new NFV-MANO Performance Monitoring Job with not permitted authorization scope +Test objective: The objective is to test that the creation of a new NFV-MANO performance monitoring job fails with not permitted authorization scope +Pre-conditions: A NFV-MANO instance is instantiated. One or more NFV-MANO performance jobs are set in the NFV-MANO. +Reference: clause 6.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: The NFV-MANO Performance Job is successfully created on the NFV-MANO + + + + + + +All Tests + + + + +PMJobs + + + + + diff --git a/SOL009/NFVMANOPerformanceManagement-API/report.html b/SOL009/NFVMANOPerformanceManagement-API/report.html new file mode 100644 index 0000000000000000000000000000000000000000..3a950265bad8cccd20adbe0a987ddc0d2823877c --- /dev/null +++ b/SOL009/NFVMANOPerformanceManagement-API/report.html @@ -0,0 +1,2462 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework report failed

+ +
+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/ApiVersion.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/ApiVersion.robot index e287ed1feb770fc799b1d1fb3f72fdbb47f2a32c..45e119475bb34334c479a68c855c137724bfda32 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/ApiVersion.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/ApiVersion.robot @@ -11,7 +11,7 @@ POST API Version - Method not implemented ... Test title: POST API version - Method not implemented ... Test objective: The objective is to test that POST method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -23,7 +23,7 @@ GET API Version ... Test title: GET API Version ... Test objective: The objective is to test that GET method successfully return ApiVersionInformation ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -36,7 +36,7 @@ PUT API Version - Method not implemented ... Test title: PUT API Version - Method not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -48,7 +48,7 @@ PATCH API Version - Method not implemented ... Test title: PATCH API Version - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -60,7 +60,7 @@ DELETE API Version - Method not implemented ... Test title: DELETE API Version - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -72,7 +72,7 @@ POST API Version with apiMajorVerion - Method not implemented ... Test title: POST API version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that POST method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.1 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -84,7 +84,7 @@ GET API Version with apiMajorVerion ... Test title: GET API Version with apiMajorVerion ... Test objective: The objective is to test that GET method successfully return ApiVersionInformation ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.2 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -97,7 +97,7 @@ PUT API Version with apiMajorVerion - Method not implemented ... Test title: PUT API Version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that PUT method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.3 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -109,7 +109,7 @@ PATCH API Version with apiMajorVerion - Method not implemented ... Test title: PATCH API Version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.4 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -121,7 +121,7 @@ DELETE API Version with apiMajorVerion - Method not implemented ... Test title: DELETE API Version with apiMajorVerion - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemented ... Pre-conditions: none - ... Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v4.4.1 + ... Reference: Clause 9.3.3.3.5 - ETSI GS NFV-SOL 013 [5] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeConsumedNFVMANOInterfaceStateTask.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeConsumedNFVMANOInterfaceStateTask.robot new file mode 100644 index 0000000000000000000000000000000000000000..29c70a8aac79510cad6120d6af52f3a4e9e6047e --- /dev/null +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeConsumedNFVMANOInterfaceStateTask.robot @@ -0,0 +1,111 @@ +*** Settings *** +Library JSONSchemaLibrary schemas/ +Resource environment/variables.txt +Library JSONLibrary +Library OperatingSystem +Resource NFVMANOCimKeywords.robot +Library REST ${NFVMANO_SCHEMA}://${NFVMANO_HOST}:${NFVMANO_PORT} ssl_verify=false +Library MockServerLibrary + +*** Test Cases *** +POST Change consumed NFV MANO interface state task + [Documentation] Test ID: 8.3.1.10.1 + ... Test title: POST Change cosumed NFV MANO interface state task + ... Test objective: The objective is send put request to change the state of the NFV-MANO consumed service interface produced by the NFV-MANO functional entity + ... Pre-conditions: none + ... Reference: clause 5.5.15.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 + ... Config ID: Config_prod_NFV-MANO + ... Applicability: none + ... Post-Conditions: Consumed interface status changed + Send Post request for Change consumed NFV MANO interface state task + Check HTTP Response Status Code Is 202 + Check HTTP Response Header Contains Location + Check Postcondition Change State Operation Occurrence Resource Returned in Location Header Is Available + Check PostCondition NFV-MANO consumed service interface state matches the requested state + +POST Change consumed NFV MANO interface state task - Conflict + [Documentation] Test ID: 8.3.1.10.2 + ... Test title: POST Change consumed NFV MANO interface state task - Conflict + ... Test objective: The objective is to test that request to cchange the state of the NFV-MANO consumed service interface produced by the NFV-MANO functional entity failed due to a conflict with the state of the NFV-MANO entity resource and perform the JSON schema validation of the failed operation HTTP response. + ... Pre-conditions: none + ... Reference: clause 5.5.15.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 + ... Config ID: Config_prod_NFV-MANO + ... Applicability: none + ... Post-Conditions: none + Send Post request for Change consumed NFV-MANO interface state task + Check HTTP Response Status Code Is 409 + Check HTTP Response Body Json Schema Is ProblemDetails + +GET Change consumed NFV MANO interface state task - Method not implemented + [Documentation] Test ID: 8.3.1.10.3 + ... Test title: GET Change consumed NFV MANO interface state task - Method not implemented + ... Test objective: The objective is to test that GET method is not allowed to retrieve the changed state of the NFV-MANO functional entity application. + ... Pre-conditions: none + ... Reference: clause 5.5.15.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 + ... Config ID: Config_prod_NFV-MANO + ... Applicability: none + ... Post-Conditions: none + Send Get request for Change consumed NFV-MANO interface state task + Check HTTP Response Status Code Is 405 + +PUT Change consumed NFV MANO interface state task - Conflict - Method not implemented + [Documentation] Test ID: 8.3.1.10.4 + ... Test title: PUT Change consumed NFV MANO interface state task - Conflict - Method not implemented + ... Test objective: The objective is to test that PUT method is not allowed to update the changed state of the NFV-MANO functional entity application. + ... Pre-conditions: none + ... Reference: clause 5.5.15.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 + ... Config ID: Config_prod_NFV-MANO + ... Applicability: none + ... Post-Conditions: none + Send Put request for Change consumed NFV-MANO interface state task + Check HTTP Response Status Code Is 405 + +PATCH Change consumed NFV MANO interface state task - Conflict - Method not implemented + [Documentation] Test ID: 8.3.1.10.5 + ... Test title: PATCH Change consumed NFV MANO interface state task - Conflict - Method not implemented + ... Test objective: The objective is to test that PATCH method is not allowed to update the changed state of the NFV-MANO functional entity application. + ... Pre-conditions: none + ... Reference: clause 5.5.15.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 + ... Config ID: Config_prod_NFV-MANO + ... Applicability: none + ... Post-Conditions: none + Send Patch request for Change consumed NFV-MANO interface state task + Check HTTP Response Status Code Is 405 + +DELETE Change consumed NFV MANO interface state task - Conflict - Method not implemented + [Documentation] Test ID: 8.3.1.10.6 + ... Test title: DELETE Change consumed NFV MANO interface state task - Conflict - Method not implemented + ... Test objective: The objective is to test that DELETE method is not allowed to delete the changed state of the NFV-MANO functional entity application. + ... Pre-conditions: none + ... Reference: clause 5.5.15.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 + ... Config ID: Config_prod_NFV-MANO + ... Applicability: none + ... Post-Conditions: none + Send Delete request for Change consumed NFV-MANO interface state task + Check HTTP Response Status Code Is 405 + +POST Change consumed NFV MANO interface state task with permitted authorization scope + [Documentation] Test ID: 8.3.1.10.7 + ... Test title: POST Change consumed NFV MANO interface state task with permitted authorization scope + ... Test objective: The objective is send put request to change the state of the NFV-MANO consumed service interface with permitted authorization scope + ... Pre-conditions: none + ... Reference: clause 5.5.15.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 + ... Config ID: Config_prod_NFV-MANO + ... Applicability: none + ... Post-Conditions: interface status changed + Send Post request for Change interface state task with permitted authorization scope + Check HTTP Response Status Code Is 202 + Check HTTP Response Header Contains Location + Check PostCondition NFV-MANO consumed service interface state matches the requested state + +POST Change consumed NFV MANO interface state task with not permitted authorization scope + [Documentation] Test ID: 8.3.1.10.8 + ... Test title: POST Change consumed NFV MANO interface state task with permitted authorization scope + ... Test objective: The objective is to verify that put request to change the state of the NFV-MANO consumed service interface fails with not permitted authorization scope + ... Pre-conditions: none + ... Reference: clause 5.5.15.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 + ... Config ID: Config_prod_NFV-MANO + ... Applicability: none + ... Post-Conditions: interface status changed + Send Post request for Change interface state task with not permitted authorization scope + Check HTTP Response Status Code Is 401 \ No newline at end of file diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeInterfaceStateTask.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeInterfaceStateTask.robot index be0a1c326bb7d8f6079492d4585edd70ac35e27d..82259da1115545733906d3f0b4d260ef57582809 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeInterfaceStateTask.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeInterfaceStateTask.robot @@ -13,13 +13,14 @@ POST Change interface state task ... Test title: POST Change interface state task ... Test objective: The objective is send put request to change the state of the NFV-MANO service interface produced by the NFV-MANO functional entity ... Pre-conditions: none - ... Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: interface status changed Send Post request for Change interface state task Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location + Check Postcondition Change State Operation Occurrence Resource Returned in Location Header Is Available Check PostCondition NFV-MANO service interface state matches the requested state POST Change interface state task - Conflict @@ -27,7 +28,7 @@ POST Change interface state task - Conflict ... Test title: POST Change interface state task - Conflict ... Test objective: The objective is to test that request to cchange the state of the NFV-MANO service interface produced by the NFV-MANO functional entity failed due to a conflict with the state of the NFV-MANO entity resource and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -40,7 +41,7 @@ GET Change interface state task - Method not implemented ... Test title: GET Change interface state task - Method not implemented ... Test objective: The objective is to test that GET method is not allowed to retrieve the changed state of the NFV-MANO functional entity application. ... Pre-conditions: none - ... Reference: clause 5.5.12.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.12.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -52,7 +53,7 @@ PUT Change interface state task - Conflict - Method not implemented ... Test title: PUT Change interface state task - Conflict - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to update the changed state of the NFV-MANO functional entity application. ... Pre-conditions: none - ... Reference: clause 5.5.12.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.12.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -64,7 +65,7 @@ PATCH Change interface state task - Conflict - Method not implemented ... Test title: PATCH Change interface state task - Conflict - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to update the changed state of the NFV-MANO functional entity application. ... Pre-conditions: none - ... Reference: clause 5.5.12.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.12.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -76,7 +77,7 @@ DELETE Change interface state task - Conflict - Method not implemented ... Test title: DELETE Change interface state task - Conflict - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed to delete the changed state of the NFV-MANO functional entity application. ... Pre-conditions: none - ... Reference: clause 5.5.12.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.12.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -88,7 +89,7 @@ POST Change interface state task with permitted authorization scope ... Test title: POST Change interface state task with permitted authorization scope ... Test objective: The objective is send put request to change the state of the NFV-MANO service interface with permitted authorization scope ... Pre-conditions: none - ... Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: interface status changed @@ -102,7 +103,7 @@ POST Change interface state task with not permitted authorization scope ... Test title: POST Change interface state task with permitted authorization scope ... Test objective: The objective is to verify that put request to change the state of the NFV-MANO service interface fails with not permitted authorization scope ... Pre-conditions: none - ... Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: interface status changed diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeNFVMANOEntityStateTask.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeNFVMANOEntityStateTask.robot index 3f14b30109b00f365d9b5ddc62a92650e18c0f23..21aef822171e5f58e25d4457512526c9379ae994 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeNFVMANOEntityStateTask.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeNFVMANOEntityStateTask.robot @@ -12,13 +12,14 @@ POST NFV-MANO functional entity application state change ... Test title: POST NFV-MANO functional entity application state change ... Test objective: The objective is to request state change of the NFV-MANO functional entity application. ... Pre-conditions: none - ... Reference: clause 5.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: entity status changed Send Post request for NFV-MANO functional entity application state change Check HTTP Response Status Code Is 202 Check HTTP Response Header Contains Location + Check Postcondition Change State Operation Occurrence Resource Returned in Location Header Is Available Wait for entity state change success notification and validate status POST NFV-MANO functional entity application state change - Conflict @@ -26,7 +27,7 @@ POST NFV-MANO functional entity application state change - Conflict ... Test title: POST NFV-MANO functional entity application state change - Conflict ... Test objective: The objective is to test that request to change the state of the NFV-MANO functional entity application fails due to a conflict with the state of the NFV-MANO entity resource and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -39,7 +40,7 @@ GET NFV-MANO functional entity application state change - Method not implemented ... Test title: GET NFV-MANO functional entity application state change - Method not implemented ... Test objective: The objective is to test that GET method is not allowed to retrieve the changed state of the NFV-MANO functional entity application. ... Pre-conditions: none - ... Reference: clause 5.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.7.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -51,7 +52,7 @@ PUT NFV-MANO functional entity application state change - Method not implemented ... Test title: PUT NFV-MANO functional entity application state change - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to update the changed state of the NFV-MANO functional entity application. ... Pre-conditions: none - ... Reference: clause 5.5.7.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.7.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -63,7 +64,7 @@ PATCH NFV-MANO functional entity application state change - Method not implement ... Test title: PATCH NFV-MANO functional entity application state change - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to update the changed state of the NFV-MANO functional entity application. ... Pre-conditions: none - ... Reference: clause 5.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.7.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -75,7 +76,7 @@ DELETE NFV-MANO functional entity application state change - Method not implemen ... Test title: DELETE NFV-MANO functional entity application state change - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed to delete the changed state of the NFV-MANO functional entity application. ... Pre-conditions: none - ... Reference: clause 5.5.7.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.7.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -87,7 +88,7 @@ POST NFV-MANO functional entity application state change with permitted authoriz ... Test title: POST NFV-MANO functional entity application state change with permitted authorization scope ... Test objective: The objective is to test a state change of the NFV-MANO functional entity application with permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 5.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: entity status changed @@ -101,7 +102,7 @@ POST NFV-MANO functional entity application state change with not permitted auth ... Test title: POST NFV-MANO functional entity application state change with not permitted authorization scope ... Test objective: The objective is to test that state change of the NFV-MANO functional entity application fails with not permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 5.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.7.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: entity status changed diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeStateOperationOccurrences.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeStateOperationOccurrences.robot index 4956c13b5f26c71d2b39ef58e23d2dd49d5d5d7e..b5104837eea89ecc57b67bfb0f39fd7a274a0fe1 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeStateOperationOccurrences.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeStateOperationOccurrences.robot @@ -13,7 +13,7 @@ POST Change State Operation Occurrences - Method not implemented ... Test title: POST Change State Operation Occurrences - Method not implemented ... Test objective: The objective is to test that POST method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -25,7 +25,7 @@ GET Change State Operation Occurrences ... Test title: GET Change State Operation Occurrences ... Test objective: The objective is to query status information about multiple change state operation occurrences, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -38,7 +38,7 @@ GET Change State Operation Occurrences - invalid attribute-based filter ... Test title: GET Change State Operation Occurrences - invalid attribute-based filter ... Test objective: The objective is to test that the retrieval of Change State Operation Occurrences fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -51,7 +51,7 @@ GET Change State Operation Occurrences - invalid attribute selector ... Test title: GET Change State Operation Occurrences - invalid attribute selector ... Test objective: The objective is to test that the retrieval of Change State Operation Occurrences fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -64,7 +64,7 @@ GET Change State Operation Occurrences - Bad Request Response too Big ... Test title: GET Change State Operation Occurrences - Bad Request Response too Big ... Test objective: The objective is to test that the retrieval of Change State Operation Occurrences fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -77,7 +77,7 @@ GET Change State Operation Occurrences with attribute-based filter ... Test title: GET Change State Operation Occurrences with attribute-based filter ... Test objective: The objective is to query status information about multiple change state operation occurrences with attribute filters, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -90,7 +90,7 @@ GET Change State Operation Occurrences with "all_fields" attribute selector ... Test title: GET Change State Operation Occurrences with "all_fields" attribute selector ... Test objective: The objective is to retrieve Change State Operation Occurrences with "all_fields" attribute selector, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -103,7 +103,7 @@ GET Change State Operation Occurrences with "exclude_default" attribute selector ... Test title: GET Change State Operation Occurrence with "exclude_default" attribute selector ... Test objective: The objective is to retrieve Change State Operation Occurrence with "exclude_default" attribute selector, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -116,7 +116,7 @@ GET Change State Operation Occurrences with "fields" attribute selector ... Test title: GET Change State Operation Occurrences with "fields" attribute selector ... Test objective: The objective is to retrieve Change State Operation Occurrences with fields attribute selector, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -129,7 +129,7 @@ GET Change State Operation Occurrences with "exclude_fields" attribute selector ... Test title: GET Change State Operation Occurrences with "exclude_fields" attribute selector ... Test objective: The objective is to retrieve Change State Operation Occurrences with "exclude_fields" attribute selector, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -142,7 +142,7 @@ GET Change State Operation Occurrences with Paged Response ... Test title: GET Change State Operation Occurrence with Paged Response ... Test objective: The objective is to query Change State Operation Occurrence to get Paged Response. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -155,7 +155,7 @@ GET Change State Operation Occurrences with "fields" and "exclude_default" attri ... Test title: GET Change State Operation Occurrences with "fields" and "exclude_default" attribute selector ... Test objective: The objective is to retrieve Change State Operation Occurrences with fields and exclude default attribute selector, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -168,7 +168,7 @@ PUT Change State Operation Occurrences - Method not implemented ... Test title: PUT Change State Operation Occurrences - Method not implemented ... Test objective: The objective is to test that PUT method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -180,7 +180,7 @@ PATCH Change State Operation Occurrences - Method not implemented ... Test title: PATCH Change State Operation Occurrences - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -192,7 +192,7 @@ DELETE Change State Operation Occurrences - Method not implemented ... Test title: DELETE Change State Operation Occurrences - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -204,7 +204,7 @@ GET Change State Operation Occurrences with permitted authorization scope ... Test title: GET Change State Operation Occurrences with permitted authorization scope ... Test objective: The objective is to query status information about multiple change state operation occurrences with permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -217,7 +217,7 @@ GET Change State Operation Occurrences with not permitted authorization scope ... Test title: GET Change State Operation Occurrences with not permitted authorization scope ... Test objective: The objective is to query status information about multiple change state operation occurrences and verify the failure when using a not permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.8.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualNFVMANOServiceInterface.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualNFVMANOServiceInterface.robot index 7f78d8a8e5001f53194959b1013529287147c2a5..29c7d79c496ca1fae63b0387165717aa7770aaa5 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualNFVMANOServiceInterface.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualNFVMANOServiceInterface.robot @@ -13,7 +13,7 @@ POST Individual NFV-MANO Service Interface - Method not implemented ... Test title: POST Individual NFV-MANO Service Interface - Method not implemented ... Test objective: The objective is to test that POST method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.11.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.11.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -25,7 +25,7 @@ GET Individual NFV-MANO Service Interface ... Test title: GET Individual NFV-MANO Service Interface ... Test objective: The objective is to query status information about an NFV-MANO service interface of the producer NFV-MANO functional entity by reading an "Individual NFV-MANO service interface" resource, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.11.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.11.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -38,7 +38,7 @@ GET Individual NFV-MANO Service Interface - Not Found ... Test title: GET Individual NFV-MANO Service Interface - Not Found ... Test objective: The objective is to test the retrieval of information about an NFV-MANO service interface of the producer NFV-MANO functional entity by reading an "Individual NFV-MANO service interface" resource fails when the resource is not present. ... Pre-conditions: none - ... Reference: clause 5.5.11.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.11.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -51,7 +51,7 @@ PUT Individual NFV-MANO Service Interface - Method not implemented ... Test title: PUT Individual NFV-MANO Service Interface - Method not implemented ... Test objective: The objective is to test that PUT method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.11.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.11.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -63,7 +63,7 @@ PATCH Individual NFV-MANO Service Interface ... Test title: PATCH Individual NFV-MANO Service Interface ... Test objective: This method modifies the Individual NFV-MANO Service Interface resource, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: Individual NFV-MANO Service Interface resource is already created. - ... Reference: clause 5.5.11.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.11.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The Individual NFV-MANO Service Interface is modified by the operation @@ -76,7 +76,7 @@ PATCH Individual NFV-MANO Service Interface - Conflict ... Test title: PATCH Individual NFV-MANO Service Interface - Conflict ... Test objective: The objective is to test that the modification of the Individual NFV-MANO Service Interface resource failed due to a conflict with the state of the Individual NFV-MANO Service Interface resource and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: Individual NFV-MANO Service Interface resource is already created. - ... Reference: clause 5.5.11.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.11.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The Individual NFV-MANO Service Interface is not modified by the operation @@ -89,7 +89,7 @@ PATCH Individual NFV-MANO Service Interface - PreCondition Failed ... Test title: PATCH Individual NFV-MANO Service Interface - PreCondition Failed ... Test objective: The objective is to test that the modification of the Individual NFV-MANO Service Interface resource failed because precondition given in an HTTP request header is not fulfilled and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: Individual NFV-MANO Service Interface resource is already created. - ... Reference: clause 5.5.11.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.11.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The Individual NFV-MANO Service Interface is not modified by the operation @@ -102,7 +102,7 @@ DELETE Individual NFV-MANO Service Interface - Method not implemented ... Test title: DELETE Individual NFV-MANO Service Interface - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.11.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.11.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -114,7 +114,7 @@ PATCH Individual NFV-MANO Service Interface with permitted authorization scope ... Test title: PATCH Individual NFV-MANO Service Interface with permitted authorization scope ... Test objective: This method modifies the Individual NFV-MANO Service Interface resource with permitted authorization scope. ... Pre-conditions: Individual NFV-MANO Service Interface resource is already created. - ... Reference: clause 5.5.11.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.11.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The Individual NFV-MANO Service Interface is modified by the operation @@ -127,7 +127,7 @@ PATCH Individual NFV-MANO Service Interface with not permitted authorization sco ... Test title: PATCH Individual NFV-MANO Service Interface with not permitted authorization scope ... Test objective: The objective is to test that modification of Individual NFV-MANO Service Interface resource fails with not permitted authorization scope. ... Pre-conditions: Individual NFV-MANO Service Interface resource is already created. - ... Reference: clause 5.5.11.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.11.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The Individual NFV-MANO Service Interface is modified by the operation diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualPeerEntity.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualPeerEntity.robot index d8e37f7de57c9fe0a62c74bf2fdcc2dcd5e551ec..fa05c0d74fb4503a36db975aa8cb28f013e1b0f6 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualPeerEntity.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualPeerEntity.robot @@ -13,7 +13,7 @@ POST Individual Peer Entity - Method not implemented ... Test title: POST Individual Peer Entity - Method not implemented ... Test objective: The objective is to test that POST method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.14.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.14.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -25,7 +25,7 @@ GET Individual Peer Entity ... Test title: GET Individual Peer Entity ... Test objective: The objective is to retrieves information and configuration hold in the producer NFV-MANO functional entity with regards to a peer entity by reading an individual peer entity resource ... Pre-conditions: none - ... Reference: clause 5.5.14.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.14.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -38,7 +38,7 @@ GET Individual Peer Entity - Not Found ... Test title: GET Individual Peer Entity - Not Found ... Test objective: The objective is to test the retrieval of information and configuration hold in the producer NFV-MANO functional entity with regards to a peer entity by reading an individual peer entity resource fails when the resource is not present. ... Pre-conditions: none - ... Reference: clause 5.5.14.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.14.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -50,7 +50,7 @@ PUT Individual Peer Entity - Method not implemented ... Test title: PUT Individual Peer Entity - Method not implemented ... Test objective: The objective is to test that PUT method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.14.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.14.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -62,7 +62,7 @@ PATCH Individual Peer Entity ... Test title: PATCH Individual Peer Entity ... Test objective: This method modifies configuration and information of the producer NFV-MANO functional entity with regards to a peer functional entity by updating the corresponding "Individual peer entity" resource. ... Pre-conditions: At least one Peer Entity resource is created - ... Reference: clause 5.5.14.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.14.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Peer Entity Resource is modified by the operation @@ -75,7 +75,7 @@ PATCH Individual Peer Entity - Conflict ... Test title: PATCH Individual Peer Entity - Conflict ... Test objective: The objective is to test that the modification of configuration and information of the producer NFV-MANO functional entity with regards to a peer functional entity by updating the corresponding "Individual peer entity" resource failed due to a conflict with the state of the Individual Peer Entity resource and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one Peer Entity resource is created - ... Reference: clause 5.5.14.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.14.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Peer Entity Resource is not modified by the operation @@ -88,7 +88,7 @@ PATCH Individual Peer Entity - PreCondition Failed ... Test title: PATCH Individual Peer Entity - PreCondition Failed ... Test objective: The objective is to test that the modification of the Individual Peer Entity resource failed because precondition given in an HTTP request header is not fulfilled and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one Peer Entity resource is created - ... Reference: clause 5.5.14.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.14.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Peer Entity Resource is not modified by the operation @@ -101,7 +101,7 @@ DELETE Individual Peer Entity - Method not implemented ... Test title: DELETE Individual Peer Entity - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.14.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.14.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -113,7 +113,7 @@ PATCH Individual Peer Entity with permitted authorization scope ... Test title: PATCH Individual Peer Entity with permitted authorization scope ... Test objective: This method modifies configuration and information of the producer NFV-MANO functional entity with permitted authorization scope. ... Pre-conditions: At least one Peer Entity resource is created - ... Reference: clause 5.5.14.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.14.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Peer Entity Resource is modified by the operation @@ -126,7 +126,7 @@ PATCH Individual Peer Entity with not permitted authorization scope ... Test title: PATCH Individual Peer Entity with not permitted authorization scope ... Test objective: This method tests that modification of configuration and information of the producer NFV-MANO functional entity fails with not permitted authorization scope. ... Pre-conditions: At least one Peer Entity resource is created - ... Reference: clause 5.5.14.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.14.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Peer Entity Resource is modified by the operation diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualStateChangeOperationOccurrence.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualStateChangeOperationOccurrence.robot index b7d44b0f0b02a6671a8a8c547d4b48b83dbe5a57..55736e4b9a212882f8ebfa3d4f8e713e952d6362 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualStateChangeOperationOccurrence.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualStateChangeOperationOccurrence.robot @@ -13,7 +13,7 @@ POST Individual Change State Operation Occurrence - Method not implemented ... Test title: POST Individual Change State Operation Occurrence - Method not implemented ... Test objective: The objective is to test that POST method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.9.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.9.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -25,7 +25,7 @@ GET Individual Change State Operation Occurrence ... Test title: GET Individual Change State Operation Occurrence ... Test objective: The objective is to query status information about Individual change state operation occurrence. ... Pre-conditions: none - ... Reference: clause 5.5.9.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.9.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -38,7 +38,7 @@ GET Individual Change State Operation Occurrence - Not Found ... Test title: GET Individual Change State Operation Occurrence - Not Found ... Test objective: The objective is to test the retrieval of information about individual change state operation occurence fails when the resource is not present. ... Pre-conditions: none - ... Reference: clause 5.5.9.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.9.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -50,7 +50,7 @@ PUT Individual Change State Operation Occurrence - Method not implemented ... Test title: PUT Individual Change State Operation Occurrence - Method not implemented ... Test objective: The objective is to test that PUT method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.9.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.9.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -62,7 +62,7 @@ PATCH Individual Change State Operation Occurrence - Method not implemented ... Test title: PATCH Individual Change State Operation Occurrence - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.9.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.9.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -74,7 +74,7 @@ DELETE Individual Change State Operation Occurrence - Method not implemented ... Test title: DELETE Individual Change State Operation Occurrence - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.9.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.9.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -86,7 +86,7 @@ GET Individual Change State Operation Occurrence with permitted authorization sc ... Test title: GET Individual Change State Operation Occurrence with permitted authorization scope ... Test objective: The objective is to query status information about Individual change state operation occurrence with permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 5.5.9.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.9.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -99,7 +99,7 @@ GET Individual Change State Operation Occurrence with not permitted authorizatio ... Test title: GET Individual Change State Operation Occurrence with not permitted authorization scope ... Test objective: The objective is test that the query status information about Individual change state operation occurrence fails with not permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 5.5.9.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.9.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualSubscription.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualSubscription.robot index 8c162b684b2157a4a18cc2a253772d681fd71d6e..5858371fe960ea8a78fe9f91f1b17b94dc0ca8d6 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualSubscription.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/IndividualSubscription.robot @@ -12,7 +12,7 @@ GET Individual Subscription ... Test title: GET Individual Subscription ... Test objective: The objective is to test the retrieval of individual subscription and perform a JSON schema and content validation of the returned subscription data structure ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -26,7 +26,7 @@ GET Individual Subscription - invalid resource identifier ... Test title: GET Individual Subscription - invalid resource identifier ... Test objective: The objective is to test that the retrieval of an individual subscription fails when using an invalid resource identifier ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -38,7 +38,7 @@ DELETE Individual Subscription ... Test title: DELETE Individual Subscription ... Test objective: The objective is to test the deletion of an individual subscription ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.5.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.5.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The resource is not available anymore in the NFV-MANO @@ -51,7 +51,7 @@ DELETE Individual Subscription - invalid resource identifier ... Test title: DELETE Individual Subscription - invalid resource identifier ... Test objective: The objective is to test that the deletion of an individual subscription fails when using an invalid resource identifier ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.5.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.5.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -63,7 +63,7 @@ POST Individual Subscription - Method not implemented ... Test title: POST Individual Subscription - Method not implemented ... Test objective: The objective is to test that POST method is not allowed to create a new Subscription ... Pre-conditions: none - ... Reference: clause 5.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.5.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -75,7 +75,7 @@ PUT Individual Subscription - Method not implemented ... Test title: PUT Individual Subscription - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to update an existing subscription ... Pre-conditions: none - ... Reference: clause 5.5.5.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.5.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -87,7 +87,7 @@ PATCH Individual Subscription - Method not implemented ... Test title: PATCH Individual Subscription - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to modify an existing subscription ... Pre-conditions: none - ... Reference: clause 5.5.5.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.5.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -99,7 +99,7 @@ GET Individual Subscription with permitted authorization scope ... Test title: GET Individual Subscription with permitted authorization scope ... Test objective: The objective is to test the retrieval of individual subscription when a permitted authorization scope is used. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -113,7 +113,7 @@ GET Individual Subscription with not permitted authorization scope ... Test title: GET Individual Subscription with not permitted authorization scope ... Test objective: The objective is to test the retrieval of individual subscription fails when a not permitted authorization scope is used. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.5.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot index a386b1c3bd296c6aa119160dd3546922e366cd18..5db3ad290e800234ce297bf90f9aa526cf2006da 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOCimKeywords.robot @@ -580,6 +580,26 @@ Send Post request for Change interface state task ${output}= Output response Set Suite Variable ${response} ${output} +Send Post request for Change consumed NFV-MANO 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_HEADER}":"${AUTHORIZATION_TOKEN}"} + ${template}= Get File jsons/ChangeStateRequest.json + ${body}= Format String ${template} state=${state} stateAction=${stateAction} + POST ${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities/${peerEntityId}/consumed_mano_interfaces/${consumedManoInterfaceId}/change_state ${body} + ${output}= Output response + Set Suite Variable ${response} ${output} + +Send Post request for Change consumed NFV MANO 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_HEADER}":"${AUTHORIZATION_TOKEN}"} + ${template}= Get File jsons/ChangeStateRequest.json + ${body}= Format String ${template} state=${state} stateAction=${stateAction} + POST ${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities/${peerEntityId}/consumed_mano_interfaces/${consumedManoInterfaceId}/change_state ${body} + ${output}= Output response + Set Suite Variable ${response} ${output} + Send Post request for Change interface state task with permitted authorization scope Log Trying to perform a POST for Change interface state task Set Headers {"Accept": "${ACCEPT_JSON}"} @@ -593,6 +613,19 @@ Send Post request for Change interface state task with permitted authorization s ${output}= Output response Set Suite Variable ${response} ${output} +Send Post request for Change consumed NFV-MANO interface state task with permitted authorization scope + Log Trying to perform a POST for Change interface state task + Set Headers {"Accept": "${ACCEPT_JSON}"} + ${scopeValue}= Create Dictionary scope=${CHANGE_STATE_PERMITTED_SCOPE} + ${authorizationToken}= JWT Encode payload=${scopeValue} key='' algorithm=${OAUTH_ENCRIPTION_ALGORITHM} + Log Authorization Token: ${authorizationToken} + Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${authorizationToken}"} + ${template}= Get File jsons/ChangeStateRequest.json + ${body}= Format String ${template} state=${state} stateAction=${stateAction} + POST ${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities/${peerEntityId}/consumed_mano_interfaces/${consumedManoInterfaceId}/change_state ${body} + ${output}= Output response + Set Suite Variable ${response} ${output} + Send Post request for Change interface state task with not permitted authorization scope Log Trying to perform a POST for Change interface state task Set Headers {"Accept": "${ACCEPT_JSON}"} @@ -605,9 +638,25 @@ Send Post request for Change interface state task with not permitted authorizati POST ${apiRoot}/${apiName}/${apiMajorVersion}/mano_entity/mano_interfaces/${manoServiceInterfaceId}/change_state ${body} ${output}= Output response Set Suite Variable ${response} ${output} + +Send Post request for Change consumed NFV-MANO interface state task with not permitted authorization scope + Log Trying to perform a POST for Change interface state task + Set Headers {"Accept": "${ACCEPT_JSON}"} + ${scopeValue}= Create Dictionary scope=${NOT_PERMITTED_SCOPE} + ${authorizationToken}= JWT Encode payload=${scopeValue} key='' algorithm=${OAUTH_ENCRIPTION_ALGORITHM} + Log Authorization Token: ${authorizationToken} + Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${authorizationToken}"} + ${template}= Get File jsons/ChangeStateRequest.json + ${body}= Format String ${template} state=${state} stateAction=${stateAction} + POST ${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities/${peerEntityId}/consumed_mano_interfaces/${consumedManoInterfaceId}/change_state ${body} + ${output}= Output response + Set Suite Variable ${response} ${output} Check PostCondition NFV-MANO service interface state matches the requested state - Wait Until Keyword Succeeds ${retry} ${polling} Check interface state + Wait Until Keyword Succeeds ${retry} ${polling} Check interface state + +Check PostCondition NFV-MANO consumed service interface state matches the requested state + Wait Until Keyword Succeeds ${retry} ${polling} Check interface state Check interface state Set Headers {"Accept":"${ACCEPT_JSON}"} @@ -626,6 +675,14 @@ Send Get request for Change interface state task GET ${apiRoot}/${apiName}/${apiMajorVersion}/mano_entity/mano_interfaces/${manoServiceInterfaceId}/change_state ${output}= Output response Set Suite Variable ${response} ${output} + +Send Get request for Change consumed NFV-MANO interface state task + Log Trying to perform a GET (method should not be implemented) + Set Headers {"Accept": "${ACCEPT_JSON}"} + Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} + GET ${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities/${peerEntityId}/consumed_mano_interfaces/${consumedManoInterfaceId}/change_state + ${output}= Output response + Set Suite Variable ${response} ${output} Send Put request for Change interface state task Log Trying to perform a PUT (method should not be implemented) @@ -637,7 +694,18 @@ Send Put request for Change interface state task PUT ${apiRoot}/${apiName}/${apiMajorVersion}/mano_entity/mano_interfaces/${manoServiceInterfaceId}/change_state ${output}= Output response Set Suite Variable ${response} ${output} - + +Send Put request for Change consumed NFV-MANO interface state task + Log Trying to perform a PUT (method should not be implemented) + Set Headers {"Accept": "${ACCEPT_JSON}"} + Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} + GET ${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities/${peerEntityId}/consumed_mano_interfaces/${consumedManoInterfaceId}/change_state + ${origOutput}= Output response + Set Suite Variable ${origResponse} ${origOutput} + PUT ${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities/${peerEntityId}/consumed_mano_interfaces/${consumedManoInterfaceId}/change_state + ${output}= Output response + Set Suite Variable ${response} ${output} + Send Patch request for Change interface state task Log Trying to perform a PATCH (method should not be implemented) Set Headers {"Accept": "${ACCEPT_JSON}"} @@ -646,6 +714,14 @@ Send Patch request for Change interface state task ${output}= Output response Set Suite Variable ${response} ${output} +Send Patch request for Change consumed NFV-MANO interface state task + Log Trying to perform a PATCH (method should not be implemented) + Set Headers {"Accept": "${ACCEPT_JSON}"} + Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} + PATCH ${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities/${peerEntityId}/consumed_mano_interfaces/${consumedManoInterfaceId}/change_state + ${output}= Output response + Set Suite Variable ${response} ${output} + Send Delete request for Change interface state task Log Trying to perform a DELETE (method should not be implemented) Set Headers {"Accept": "${ACCEPT_JSON}"} @@ -653,6 +729,14 @@ Send Delete request for Change interface state task DELETE ${apiRoot}/${apiName}/${apiMajorVersion}//mano_entity/mano_interfaces/${manoServiceInterfaceId}/change_state ${output}= Output response Set Suite Variable ${response} ${output} + +Send Delete request for Change consumed NFV-MANO interface state task + Log Trying to perform a DELETE (method should not be implemented) + Set Headers {"Accept": "${ACCEPT_JSON}"} + Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} + DELETE ${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities/${peerEntityId}/consumed_mano_interfaces/${consumedManoInterfaceId}/change_state + ${output}= Output response + Set Suite Variable ${response} ${output} Send Post request for Peer Entity Log Trying to perform a POST for Peer Entity @@ -996,6 +1080,28 @@ Check Postcondition Subscription Resource Returned in Location Header Is Availab ${result}= Output response body Validate Json CimSubscription.schema.json ${result} Log Validated CimSubscription schema + +Check Postcondition Change State Operation Occurrence Resource Returned in Location Header Is Available + Log Going to check postcondition + GET ${response['headers']['Location']} + Integer response status 200 + Log Received a 200 OK as expected + ${contentType}= Output response headers Content-Type + Should Contain ${contentType} application/json + ${result}= Output response body + Validate Json ChangeStateOpOcc.schema.json ${result} + Log Validated ChangeStateOpOcc schema + +Check Postcondition PeerEntity Resource Returned in Location Header Is Available + Log Going to check postcondition + GET ${response['headers']['Location']} + Integer response status 200 + Log Received a 200 OK as expected + ${contentType}= Output response headers Content-Type + Should Contain ${contentType} application/json + ${result}= Output response body + Validate Json PeerEntity.schema.json ${result} + Log Validated PeerEntity schema Send Put Request for Subscriptions [Documentation] This method is not supported. When this method is requested on this resource, the NFV-MANO shall return a "405 Method diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOEntity.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOEntity.robot index 1da8dcdf6cfba1721c9199f3998e398c99bdd2eb..c1c93b1ab2ab16c1a6d591098ba388303721d437 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOEntity.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOEntity.robot @@ -13,7 +13,7 @@ POST NFV-MANO entity - Method not implemented ... Test title: POST NFV-MANO entity - Method not implemented ... Test objective: The objective is to test that POST method is not allowed to create an NFV-MANO Entity. ... Pre-conditions: none - ... Reference: clause 5.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.3.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -25,7 +25,7 @@ GET NFV-MANO entity ... Test title: Get NFV-MANO entity ... Test objective: The objective is to test the retrieval of information about an NFV-MANO functional entity by reading the NFV-MANO entity resource and perform a JSON schema and content validation of the collected job data structure. ... Pre-conditions: none - ... Reference: clause 5.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -38,7 +38,7 @@ GET NFV-MANO entity - Not Found ... Test title: Get NFV-MANO entity - Not Found ... Test objective: The objective is to test the retrieval of information about an NFV-MANO functional entity by reading the NFV-MANO entity resource fails when the resource is not present. ... Pre-conditions: none - ... Reference: clause 5.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -50,7 +50,7 @@ PUT NFV-MANO entity - Method not implemented ... Test title: PUT NFV-MANO entity - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to update an NFV-MANO Entity. ... Pre-conditions: none - ... Reference: clause 5.5.3.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.3.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -62,7 +62,7 @@ PATCH NFV-MANO entity ... Test title: PATCH NFV-MANO entity ... Test objective: The objective is to test that PATCH method modifies the NFV-MANO entity resource and perform a JSON schema and content validation of the modified response. ... Pre-conditions: NFV-MANO entity resource is already created. - ... Reference: clause 5.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The NFV-MANO entity is modified by the operation @@ -75,7 +75,7 @@ PATCH NFV-MANO entity - Conflict ... Test title: PATCH NFV-MANO entity - Conflict ... Test objective: The objective is to test that the modification of the NFV-MANO entity resource failed due to a conflict with the state of the NFV-MANO entity resource and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: NFV-MANO entity resource is already created. - ... Reference: clause 5.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The NFV-MANO entity is not modified by the operation @@ -88,7 +88,7 @@ PATCH NFV-MANO entity - PreCondition Failed ... Test title: PATCH NFV-MANO entity - PreCondition Failed ... Test objective: The objective is to test that the modification of the NFV-MANO entity resource failed because precondition given in an HTTP request header is not fulfilled and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: NFV-MANO entity resource is already created. - ... Reference: clause 5.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.3.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The NFV-MANO entity is not modified by the operation @@ -101,7 +101,7 @@ DELETE NFV-MANO entity - Method not implemented ... Test title: DELETE NFV-MANO entity - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed to delete an NFV-MANO Entity. ... Pre-conditions: none - ... Reference: clause 5.5.3.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.3.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -113,7 +113,7 @@ GET NFV-MANO entity with permitted authorization scope ... Test title: Get NFV-MANO entity with permitted authorization scope ... Test objective: The objective is to test the retrieval of information about an NFV-MANO functional entity by reading the NFV-MANO entity resource when a permitted authorization scope is used. ... Pre-conditions: none - ... Reference: clause 5.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -126,7 +126,7 @@ GET NFV-MANO entity with not permitted authorization scope ... Test title: Get NFV-MANO entity with not permitted authorization scope ... Test objective: The objective is to test the retrieval of information about an NFV-MANO functional entity fails when a not permitted authorization scope is used. ... Pre-conditions: none - ... Reference: clause 5.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.3.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOServiceInterfaces.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOServiceInterfaces.robot index 76c607a59d12f01cc1578b2afe72d5dce95cd44a..f5dfecc3e5bc51b8b72c22bb0c630f0c0f2aeedc 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOServiceInterfaces.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/NFVMANOServiceInterfaces.robot @@ -13,7 +13,7 @@ POST NFV-MANO Service Interfaces - Method not implemented ... Test title: POST NFV-MANO Service Interfaces - Method not implemented ... Test objective: The objective is to test that POST method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -25,7 +25,7 @@ GET NFV-MANO Service Interfaces ... Test title: GET NFV-MANO Service Interfaces ... Test objective: The objective is to query status information about multiple NFV-MANO service interfaces of the NFV-MANO functional entity, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -38,7 +38,7 @@ GET NFV-MANO Service Interfaces - invalid attribute-based filter ... Test title: GET NFV-MANO Service Interfaces - invalid attribute-based filter ... Test objective: The objective is to test that the retrieval of NFV-MANO Service Interfaces fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -51,7 +51,7 @@ GET NFV-MANO Service Interfaces - invalid attribute selector ... Test title: GET NFV-MANO Service Interfaces - invalid attribute selector ... Test objective: The objective is to test that the retrieval of NFV-MANO Service Interfaces fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -64,7 +64,7 @@ GET NFV-MANO Service Interfaces - Bad Request Response too Big ... Test title: GET NFV-MANO Service Interfaces - Bad Request Response too Big ... Test objective: The objective is to test that the retrieval of NFV-MANO Service Interfaces fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -77,7 +77,7 @@ GET NFV-MANO Service Interfaces with attribute-based filter ... Test title: GET NFV-MANO Service Interfaces with attribute-based filter ... Test objective: The objective is to query status information about multiple NFV-MANO service interfaces of the NFV-MANO functional entities with attribute filters, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -90,7 +90,7 @@ GET NFV-MANO Service Interfaces with "all_fields" attribute selector ... Test title: GET NFV-MANO Service Interface with "all_fields" attribute selector ... Test objective: The objective is to retrieve NFV-MANO Service Interfaces with "all_fields" attribute selector, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -103,7 +103,7 @@ GET NFV-MANO Service Interfaces with "exclude_default" attribute selector ... Test title: GET NFV-MANO Service Interfaces with "exclude_default" attribute selector ... Test objective: The objective is to retrieve NFV-MANO Service Interfaces with "exclude_default" attribute selector, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -116,7 +116,7 @@ GET NFV-MANO Service Interfaces with "fields" attribute selector ... Test title: GET NFV-MANO Service Interfaces with "fields" attribute selector ... Test objective: The objective is to retrieve NFV-MANO Service Interfaces with fields attribute selector, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -129,7 +129,7 @@ GET NFV-MANO Service Interfaces with "exclude_fields" attribute selector ... Test title: GET NFV-MANO Service Interfaces with "exclude_fields" attribute selector ... Test objective: The objective is to retrieve NFV-MANO Service Interfaces with "exclude_fields" attribute selector, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -142,7 +142,7 @@ GET NFV-MANO Service Interfaces with "exclude_default" and "fields" attribute se ... Test title: GET NFV-MANO Service Interfaces with "exclude_default" and "fields" attribute selector ... Test objective: The objective is to retrieve NFV-MANO Service Interfaces with "exclude_default" and "fields" attribute selector, and perform the JSON schema validation of the HTTP response. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -155,7 +155,7 @@ GET NFV-MANO Service Interfaces with Paged Response ... Test title: GET NFV-MANO Service Interfaces with Paged Response ... Test objective: The objective is to query NFV-MANO Service Interface to get Paged Response. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -168,7 +168,7 @@ PUT NFV-MANO Service Interfaces - Method not implemented ... Test title: PUT NFV-MANO Service Interfaces - Method not implemented ... Test objective: The objective is to test that PUT method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -180,7 +180,7 @@ PATCH NFV-MANO Service Interfaces - Method not implemented ... Test title: PATCH NFV-MANO Service Interfaces - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -192,7 +192,7 @@ DELETE NFV-MANO Service Interfaces - Method not implemented ... Test title: DELETE NFV-MANO Service Interfaces - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -204,7 +204,7 @@ GET NFV-MANO Service Interfaces with permitted authorization scope ... Test title: GET NFV-MANO Service Interfaces with permitted authorization scope ... Test objective: The objective is to query status information about multiple NFV-MANO service interfaces of the NFV-MANO functional entity with permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -217,7 +217,7 @@ GET NFV-MANO Service Interfaces with not permitted authorization scope ... Test title: GET NFV-MANO Service Interfaces with not permitted authorization scope ... Test objective: The objective is test that the query status information about multiple NFV-MANO service interfaces of the NFV-MANO functional entity fails when using not permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.10.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/NotificationEndpoint.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/NotificationEndpoint.robot index e6def01b00850ad625ad7b465da63e5046600ca2..046c51e1088a562137bef61d2c502bb2d549db1d 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/NotificationEndpoint.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/NotificationEndpoint.robot @@ -13,7 +13,7 @@ Information Changed Notification ... Test title: Information Changed Notification ... Test objective: The objective is to test that Information Changed Notification is delivered with success to the notification consumer ... Pre-conditions: A subscription for information availability notification is available in the NFV-MANO. - ... Reference: clause 5.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_Notif_Endpoint ... Applicability: none ... Post-Conditions: none @@ -25,7 +25,7 @@ Change State Notification ... Test title: Change State Notification ... Test objective: The objective is to test that Change State Notification is delivered with success to the notification consumer ... Pre-conditions: A subscription for change state notification is available in the NFV-MANO. - ... Reference: clause 5.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_Notif_Endpoint ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/Notifications.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/Notifications.robot index f239cf39630ca0b6ca751478b6f96d96dcd0602c..4213c9dc94e29c8dadd1acc97f398cc093e206c1 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/Notifications.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/Notifications.robot @@ -16,7 +16,7 @@ Information Changed Notification ... Test title: Information Changed Notification ... Test objective: The objective is to test the dispatch of Information Changed Notification when configuration or information is changed in the NFV-MANO, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system. ... Pre-conditions: A subscription for information availability notifications is available in the NFV-MANO. - ... Reference: clause 5.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -29,7 +29,7 @@ Change State Notification ... Test title: Change State Notification ... Test objective: The objective is to test the dispatch of Change State Notification when state changes of the NFV-MANO functional entity and its managed objects, and perform a JSON schema and content validation of the delivered notification. The action that triggers the notification under test is an explicit test step, but it is not performed by the test system. ... Pre-conditions: A performance job is created, and a state change subscription is available in the NFV-MANO. - ... Reference: clause 5.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.6.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANOz ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/PeerEntities.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/PeerEntities.robot index e4df90c55d22de2f45123cd78ef8297e291182f3..858383ec4e76c83e6deddabb1b67d74efba39dac 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/PeerEntities.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/PeerEntities.robot @@ -13,7 +13,7 @@ POST Peer Entity ... Test title: POST Peer Entity ... Test objective: The objective is to creates in the producer NFV-MANO functional entity a new peer entity resource which contains configuration and information with regards to the peer functional entity and perform the JSON schema validation of the returned job data structure. ... Pre-conditions: none - ... Reference: clause 5.5.13.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Peer Entity is created @@ -21,14 +21,14 @@ POST Peer Entity Check HTTP Response Status Code Is 201 Check HTTP Response Body Json Schema Is PeerEntity Check HTTP Response Header Contains Location - Check Postcondition Peer Entity Resource is created + Check Postcondition Peer Entity Resource Returned in Location Header Is Available GET Peer Entities [Documentation] Test ID: 8.3.1.8.2 ... Test title: GET Peer Entities ... Test objective: The objective is to query information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities, and perform the JSON schema validation of the returned job data structure. ... Pre-conditions: At least one Peer Entity is already created. - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -41,7 +41,7 @@ GET Peer Entities - invalid attribute-based filter ... Test title: GET Peer Entities - invalid attribute-based filter ... Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one Peer Entity is already created. - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -54,7 +54,7 @@ GET Peer Entities - invalid attribute selector ... Test title: GET Peer Entities - invalid attribute selector ... Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one Peer Entity is already created. - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -67,7 +67,7 @@ GET Peer Entities - Bad Request Response too Big ... Test title: GET Peer Entities - Bad Request Response too Big ... Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one Peer Entity is already created. - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -80,7 +80,7 @@ GET Peer Entities with attribute-based filter ... Test title: GET Peer Entities with attribute-based filter ... Test objective: The objective is to query information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with attribute filters, and perform the JSON schema validation of the returned job data structure. ... Pre-conditions: At least one Peer Entity is already created. - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -93,7 +93,7 @@ GET Peer Entities with "all_fields" attribute selector ... Test title: GET Peer Entities with "all_fields" attribute selector ... Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "all_fields" attribute selector, and perform the JSON schema validation of the returned job data structure. ... Pre-conditions: At least one Peer Entity is already created. - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -106,7 +106,7 @@ GET Peer Entities with "exclude_default" attribute selector ... Test title: GET Peer Entities with "exclude_default" attribute selector ... Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_default" attribute selector, and perform the JSON schema validation of the returned job data structure. ... Pre-conditions: At least one Peer Entity is already created. - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -119,7 +119,7 @@ GET Peer Entities with "fields" attribute selector ... Test title: GET Peer Entities with "fields" attribute selector ... Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with fields attribute selector, and perform the JSON schema validation of the returned job data structure. ... Pre-conditions: At least one Peer Entity is already created. - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -132,7 +132,7 @@ GET Peer Entities with "exclude_fields" attribute selector ... Test title: GET Peer Entities with "exclude_fields" attribute selector ... Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_fields" attribute selector, and perform the JSON schema validation of the returned job data structure. ... Pre-conditions: At least one Peer Entity is already created. - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -145,7 +145,7 @@ GET Peer Entities with "exclude_default" and "fields" attribute selector ... Test title: GET Peer Entities with "exclude_default" and "fields" attribute selector ... Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_default" and "fields" attribute selector, and perform the JSON schema validation of the returned job data structure. ... Pre-conditions: At least one Peer Entity is already created. - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -158,7 +158,7 @@ GET Peer Entity with Paged Response ... Test title: GET Peer Entity with Paged Response ... Test objective: The objective is to query information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities to get Paged Response. ... Pre-conditions: At least one Peer Entity is already created. - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -171,7 +171,7 @@ Get Peer Entity with malformed authorization token ... Test title: Get Peer Entity with malformed authorization token ... Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using malformed authorization token. ... Pre-conditions: none - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The Peer Entity requires the usage of access tokens for authorizing the API requests. ... Post-Conditions: none @@ -183,7 +183,7 @@ Get Peer Entity without authorization token ... Test title: Get Peer Entity without authorization token ... Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when omitting the authorization token. ... Pre-conditions: none - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The Peer Entity requires the usage of access tokens for authorizing the API requests. ... Post-Conditions: none @@ -195,7 +195,7 @@ GET information about multiple alarms with expired or revoked authorization toke ... Test title: GET information about multiple alarms with expired or revoked authorization token ... Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using expired or revoked authorization token. ... Pre-conditions: none - ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The Peer Entity requires the usage of access tokens for authorizing the API requests. ... Post-Conditions: none @@ -207,7 +207,7 @@ PUT Peer Entities - Method not implemented ... Test title: PUT Peer Entities - Method not implemented ... Test objective: The objective is to test that PUT method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.13.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -219,7 +219,7 @@ PATCH Peer Entities - Method not implemented ... Test title: PATCH Peer Entities - Method not implemented ... Test objective: The objective is to test that PATCH method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.13.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -231,7 +231,7 @@ DELETE Peer Entities - Method not implemented ... Test title: DELETE Peer Entities - Method not implemented ... Test objective: The objective is to test that DELETE method is not implemeted. ... Pre-conditions: none - ... Reference: clause 5.5.13.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -243,7 +243,7 @@ POST Peer Entity with permitted authorization scope ... Test title: POST Peer Entity with permitted authorization scope ... Test objective: The objective is to create in the producer NFV-MANO functional entity a new peer entity resource with permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 5.5.13.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Peer Entity is created @@ -258,7 +258,7 @@ POST Peer Entity with not permitted authorization scope ... Test title: POST Peer Entity with not permitted authorization scope ... Test objective: The objective is to test that creation in the producer NFV-MANO functional entity of a new peer entity resource fails with not permitted authorization scope. ... Pre-conditions: none - ... Reference: clause 5.5.13.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.13.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: Peer Entity is created diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/Subscriptions.robot b/SOL009/NFVManoConfigurationAndInformationManagement-API/Subscriptions.robot index 4d7cc67e73c1607a018e948a7616084626381254..9ad4c352c7386e8cdd4d0e3f3b2d327302aff96d 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/Subscriptions.robot +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/Subscriptions.robot @@ -16,7 +16,7 @@ GET all Subscriptions ... Test title: GET all Subscriptions ... Test objective: The objective is to test the retrieval list of active subscriptions of API consumer and perform a JSON schema validation of the returned subscriptions data structure. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -29,7 +29,7 @@ GET Subscriptions with attribute-based filter ... Test title: GET Subscriptions with attribute-based filter ... Test objective: The objective is to test the retrieval of active subscriptions list of API consumer using attribute-based filter and perform a JSON schema validation of the collected indicators data structure. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -42,7 +42,7 @@ GET Subscriptions with Paged Response ... Test title: GET Subscriptions with Paged Response ... Test objective: The objective is to query information of active subscriptions list to of API consumer to get Paged Response. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: ... Post-Conditions: @@ -55,7 +55,7 @@ GET Subscriptions - invalid attribute-based filter ... Test title: GET Subscriptions - invalid attribute-based filter ... Test objective: The objective is to test that the retrieval of active subscriptions list of API consumer fails when using invalid attribute-based filters, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -69,7 +69,7 @@ GET Subscriptions - Bad Request Response too Big ... Test title: GET Subscriptions - Bad Request Response too Big ... Test objective: The objective is to test that the retrieval of active subscriptions list of API consumer fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -82,7 +82,7 @@ GET Subscriptions - invalid resource endpoint ... Test title: GET Subscriptions - invalid resource endpoint ... Test objective: The objective is to test that the retrieval of active subscriptions list of API consumer fails when using invalid resource endpoint. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -94,7 +94,7 @@ POST Create new Subscription ... Test title: Create new Subscription ... Test objective: The objective is to test the creation of a new subscription and perform a JSON schema and content validation of the returned subscription data structure ... Pre-conditions: none - ... Reference: clause 5.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: The subscription is successfully set and it matches the issued subscription @@ -113,7 +113,7 @@ POST Create request for duplicated Subscription not creating duplicated subscrip ... Test title: Create request for duplicated Subscription not creating duplicated subscriptions ... Test objective: The objective is to test the attempt of a creation of a duplicated subscription failed and check that no new subscription is created and a link to the original subscription is returned ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO does not support the creation of duplicated subscriptions ... Post-Conditions: The existing Subscription returned is available in the NFV-MANO @@ -129,7 +129,7 @@ POST Create request for duplicated Subscription creating duplicated subscription ... Test title: Create request for duplicated Subscription creating duplicated subscriptions ... Test objective: The objective is to test the creation of a duplicated subscription and perform a JSON schema and content validation of the returned duplicated subscription data structure ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO supports the creation of duplicated subscriptions ... Post-Conditions: The duplicated subscription is successfully set and it matches the issued subscription @@ -144,7 +144,7 @@ POST new subscription - Unprocessable Content ... Test title: POST new subscription - Unprocessable Content ... Test objective: The objective is to test the creation of a new subscription fails when a request contains syntactically correct data but the data cannot be processed. ... Pre-conditions: none - ... Reference: clause 5.5.4.3.1 - ETSI GS NFV-SOL 005 [3] v5.1.1 + ... Reference: clause 5.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -157,7 +157,7 @@ PUT Subscriptions - Method not implemented ... Test title: PUT Subscriptions - Method not implemented ... Test objective: The objective is to test that PUT method is not allowed to modify subscriptions ... Pre-conditions: none - ... Reference: clause 5.5.4.3.3 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -169,7 +169,7 @@ PATCH Subscriptions - Method not implemented ... Test title: PATCH Subscriptions - Method not implemented ... Test objective: The objective is to test that PATCH method is not allowed to update subscriptions ... Pre-conditions: none - ... Reference: clause 5.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -181,7 +181,7 @@ DELETE Subscriptions - Method not implemented ... Test title: DELETE Subscriptions - Method not implemented ... Test objective: The objective is to test that DELETE method is not allowed to delete subscriptions ... Pre-conditions: none - ... Reference: clause 5.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -193,7 +193,7 @@ POST Create a new subscription - Unprocessable Content ... Test title: POST Create a new Subscription - Unprocessable Content ... Test objective: The objective is to test that a new subscription is not created if the notification endpoint is unreachable by the NFV-MANO. ... Pre-conditions: none - ... Reference: clause 5.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: Notification endpoint is unreachable by the NFV-MANO ... Post-Conditions: none @@ -206,7 +206,7 @@ GET all Subscriptions with permitted authorization scope ... Test title: GET all Subscriptions with permitted authorization scope ... Test objective: The objective is to test the retrieval list of active subscriptions of API consumer when a permitted authorization scope is used. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none @@ -219,7 +219,7 @@ GET all Subscriptions with not permitted authorization scope ... Test title: GET all Subscriptions with not permitted authorization scope ... Test objective: The objective is to test the retrieval list of active subscriptions of API consumer ffails when a not permitted authorization scope is used. ... Pre-conditions: At least one subscription is available in the NFV-MANO. - ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.1.1 + ... Reference: clause 5.5.4.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none ... Post-Conditions: none diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/environment/variables.txt b/SOL009/NFVManoConfigurationAndInformationManagement-API/environment/variables.txt index 843004f34b7165ecd6c2f42b63c48d2ea144dcff..a814512371c74ad7481af963083a07ba9c855fe7 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/environment/variables.txt +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/environment/variables.txt @@ -45,6 +45,8 @@ ${manoServiceInterfaceId} ${peerEntityId} +${consumedManoInterfaceId} + ${callback_port} 9091 ${callback_uri} http://172.22.1.7:${callback_port} ${unreachable_callback_uri} http://unreachable_callback_uri-error-code-422 diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/log.html b/SOL009/NFVManoConfigurationAndInformationManagement-API/log.html new file mode 100644 index 0000000000000000000000000000000000000000..e4963328a4a7f406aa0d397e409c3db6d2ebbc95 --- /dev/null +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/log.html @@ -0,0 +1,2196 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework log failed

+ +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/output.xml b/SOL009/NFVManoConfigurationAndInformationManagement-API/output.xml new file mode 100644 index 0000000000000000000000000000000000000000..13a652d8a8d0364cc59044981f03afb44c66acb1 --- /dev/null +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/output.xml @@ -0,0 +1,2538 @@ + + + + + + +Trying to perform a POST for Peer Entity +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${template} +jsons/CreatePeerEntityRequest.json +Returns the contents of a specified file. + + + +${body} +${template} +peerEntityId=${peerEntityId} +name=${name} +type=${type} +Formats a ``template`` using the given ``positional`` and ``named`` arguments. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +${body} +http +*Sends a POST request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +201 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PeerEntity + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +${loc} +${response['headers']} +$..Location +Get Value From JSON using JSONPath + + + +${loc} +Verifies that the given item is not empty. + + + + + + +Going to check postcondition +Logs the given message with the given level. + + + +${response['headers']['Location']} +http +*Sends a GET request to the endpoint.* + + + +response status +200 +assertions +*Asserts the field as JSON integer.* + + + +Received a 200 OK as expected +Logs the given message with the given level. + + + +${contentType} +response headers Content-Type +I/O +*Outputs JSON to terminal or a file.* + + + +${contentType} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${result} +response body +I/O +*Outputs JSON to terminal or a file.* + + + +PeerEntity.schema.json +${result} +Validates the sample JSON against the given schema. + + + +Validated PeerEntity schema +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.1 +Test title: POST Peer Entity +Test objective: The objective is to creates in the producer NFV-MANO functional entity a new peer entity resource which contains configuration and information with regards to the peer functional entity and perform the JSON schema validation of the returned job data structure. +Pre-conditions: none +Reference: clause 5.5.13.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: Peer Entity is created + + + + + +Query to GET information about multiple peer entities. +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +Execute Query and validate response +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PeerEntities + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.2 +Test title: GET Peer Entities +Test objective: The objective is to query information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities, and perform the JSON schema validation of the returned job data structure. +Pre-conditions: At least one Peer Entity is already created. +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +{"Accept":"${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +Execute Query and validate response +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities?attribute_not_exist=some_value +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +400 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +ProblemDetails + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.3 +Test title: GET Peer Entities - invalid attribute-based filter +Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using invalid attribute-based filter, and perform the JSON schema validation of the failed operation HTTP response. +Pre-conditions: At least one Peer Entity is already created. +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +{"Accept":"${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +Execute Query and validate response +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities?fields=wrong_field +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +400 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +ProblemDetails + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.4 +Test title: GET Peer Entities - invalid attribute selector +Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using invalid attribute selector, and perform the JSON schema validation of the failed operation HTTP response. +Pre-conditions: At least one Peer Entity is already created. +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Query to GET information about multiple peer entities. +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +Execute Query and validate response +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +400 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +ProblemDetails + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.5 +Test title: GET Peer Entities - Bad Request Response too Big +Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when response is too big, and perform the JSON schema validation of the failed operation HTTP response. +Pre-conditions: At least one Peer Entity is already created. +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Query +information about multiple peer entities with attribute filters. +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +Execute Query and validate response +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities?${filter}=${filter_value} +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PeerEntities + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.6 +Test title: GET Peer Entities with attribute-based filter +Test objective: The objective is to query information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with attribute filters, and perform the JSON schema validation of the returned job data structure. +Pre-conditions: At least one Peer Entity is already created. +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Queries information about multiple peer entities, using all_fields +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities?exclude_default +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PeerEntities + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.7 +Test title: GET Peer Entities with "all_fields" attribute selector +Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "all_fields" attribute selector, and perform the JSON schema validation of the returned job data structure. +Pre-conditions: At least one Peer Entity is already created. +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Queries information about multiple peer entities, using all_fields +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities?exclude_default +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PeerEntities + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.8 +Test title: GET Peer Entities with "exclude_default" attribute selector +Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_default" attribute selector, and perform the JSON schema validation of the returned job data structure. +Pre-conditions: At least one Peer Entity is already created. +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Queries information about multiple peer entities, using fields +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities?fields=${fields} +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PeerEntities + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.9 +Test title: GET Peer Entities with "fields" attribute selector +Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with fields attribute selector, and perform the JSON schema validation of the returned job data structure. +Pre-conditions: At least one Peer Entity is already created. +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Queries information about multiple peer entities, using fields +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities?exclude_fields=${fields} +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PeerEntities + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.10 +Test title: GET Peer Entities with "exclude_fields" attribute selector +Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_fields" attribute selector, and perform the JSON schema validation of the returned job data structure. +Pre-conditions: At least one Peer Entity is already created. +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Queries information about multiple peer entities, using fields +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities?exclude_default&fields=${fields} +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PeerEntities + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.11 +Test title: GET Peer Entities with "exclude_default" and "fields" attribute selector +Test objective: The objective is to retrieve information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities with "exclude_default" and "fields" attribute selector, and perform the JSON schema validation of the returned job data structure. +Pre-conditions: At least one Peer Entity is already created. +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Query to GET information about multiple peer entities. +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +Execute Query and validate response +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +http +*Sends a GET request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + + +${linkURL} +${response['headers']} +$..Link +Get Value From JSON using JSONPath + + + +${linkURL} +Verifies that the given item is not empty. + + + + +Test ID: 8.3.1.8.12 +Test title: GET Peer Entity with Paged Response +Test objective: The objective is to query information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities to get Paged Response. +Pre-conditions: At least one Peer Entity is already created. +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +${AUTH_USAGE} == 0 +Skipping test as NFVO is not supporting authentication +Conditionally skips rest of the current test, setup, or teardown with PASS status. + + + +The GET method queries using invalid token +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +{"${AUTHORIZATION_HEADER}": "${BAD_AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + +Execute Query and validate response +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +401 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.13 +Test title: Get Peer Entity with malformed authorization token +Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using malformed authorization token. +Pre-conditions: none +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: The Peer Entity requires the usage of access tokens for authorizing the API requests. +Post-Conditions: none + + + + + +${AUTH_USAGE} == 0 +Skipping test as it is not supporting authentication +Conditionally skips rest of the current test, setup, or teardown with PASS status. + + + +The GET method queries omitting token +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +Execute Query and validate response +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +401 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.14 +Test title: Get Peer Entity without authorization token +Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when omitting the authorization token. +Pre-conditions: none +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: The Peer Entity requires the usage of access tokens for authorizing the API requests. +Post-Conditions: none + + + + + +${AUTH_USAGE} == 0 +Skipping test as it is not supporting authentication +Conditionally skips rest of the current test, setup, or teardown with PASS status. + + + +The GET method queries +using invalid token +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +{"${AUTHORIZATION_HEADER}": "${NEG_AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + +Execute Query and validate response +Logs the given message with the given level. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +401 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.15 +Test title: GET information about multiple alarms with expired or revoked authorization token +Test objective: The objective is to test that the retrieval of information and configuration in the producer NFV-MANO functional entity with regards to multiple peer entities fails when using expired or revoked authorization token. +Pre-conditions: none +Reference: clause 5.5.13.3.2 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: The Peer Entity requires the usage of access tokens for authorizing the API requests. +Post-Conditions: none + + + + + +Trying to perform a PUT. This method should not be implemented +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +http +*Sends a PUT request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +405 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.16 +Test title: PUT Peer Entities - Method not implemented +Test objective: The objective is to test that PUT method is not implemeted. +Pre-conditions: none +Reference: clause 5.5.13.3.3 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to perform a PATCH. This method should not be implemented +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +http +*Sends a PATCH request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +405 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.17 +Test title: PATCH Peer Entities - Method not implemented +Test objective: The objective is to test that PATCH method is not implemeted. +Pre-conditions: none +Reference: clause 5.5.13.3.4 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to perform a DELETE. This method should not be implemented +Logs the given message with the given level. + + + +{"Accept":"${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"} +settings +*Sets new request headers or updates the existing.* + + + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +http +*Sends a DELETE request to the endpoint.* + + + +${outputResponse} +response +I/O +*Outputs JSON to terminal or a file.* + + + +@{response} +${outputResponse} +Makes a variable available globally in all tests and suites. + + + + + +405 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + +Test ID: 8.3.1.8.18 +Test title: DELETE Peer Entities - Method not implemented +Test objective: The objective is to test that DELETE method is not implemeted. +Pre-conditions: none +Reference: clause 5.5.13.3.5 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: none + + + + + +Trying to perform a POST for Peer Entity +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${scopeValue} +scope=${PEER_PERMITTED_SCOPE} +Creates and returns a dictionary based on the given ``items``. + + + +${authorizationToken} +payload=${scopeValue} +key='' +algorithm=${OAUTH_ENCRIPTION_ALGORITHM} + +${encoded} +jwt.encode(${payload}, ${key}, ${algorithm}) +Evaluates the given expression in Python and returns the result. + + + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${authorizationToken}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${authorizationToken}"} +settings +*Sets new request headers or updates the existing.* + + + + + +Authorization Token: ${authorizationToken} +Logs the given message with the given level. + + + +${template} +jsons/CreatePeerEntityRequest.json +Returns the contents of a specified file. + + + +${body} +${template} +peerEntityId=${peerEntityId} +name=${name} +type=${type} +Formats a ``template`` using the given ``positional`` and ``named`` arguments. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +${body} +http +*Sends a POST request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +201 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PeerEntity + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +${loc} +${response['headers']} +$..Location +Get Value From JSON using JSONPath + + + +${loc} +Verifies that the given item is not empty. + + + + + + +Check Postcondition Peer Entity resource +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + + +Test ID: 8.3.1.8.19 +Test title: POST Peer Entity with permitted authorization scope +Test objective: The objective is to create in the producer NFV-MANO functional entity a new peer entity resource with permitted authorization scope. +Pre-conditions: none +Reference: clause 5.5.13.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: Peer Entity is created + + + + + +Trying to perform a POST for Peer Entity +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${scopeValue} +scope=${PEER_NOT_PERMITTED_SCOPE} +Creates and returns a dictionary based on the given ``items``. + + + +${authorizationToken} +payload=${scopeValue} +key='' +algorithm=${OAUTH_ENCRIPTION_ALGORITHM} + +${encoded} +jwt.encode(${payload}, ${key}, ${algorithm}) +Evaluates the given expression in Python and returns the result. + + + + + +${AUTH_USAGE} == 1 +Set Headers +{"${AUTHORIZATION_HEADER}":"${authorizationToken}"} +Runs the given keyword with the given arguments, if ``condition`` is true. + +{"${AUTHORIZATION_HEADER}":"${authorizationToken}"} +settings +*Sets new request headers or updates the existing.* + + + + + +Authorization Token: ${authorizationToken} +Logs the given message with the given level. + + + +${template} +jsons/CreatePeerEntityRequest.json +Returns the contents of a specified file. + + + +${body} +${template} +peerEntityId=${peerEntityId} +name=${name} +type=${type} +Formats a ``template`` using the given ``positional`` and ``named`` arguments. + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +${body} +http +*Sends a POST request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + + + +201 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + +PeerEntity + +'${input}' == 'ProblemDetails' +Should Contain +${response['headers']['Content-Type']} +application/problem+json +ELSE +Should Contain +${response['headers']['Content-Type']} +application/json +Runs the given keyword with the given arguments, if ``condition`` is true. + +${response['headers']['Content-Type']} +application/problem+json +Fails if ``container`` does not contain ``item`` one or more times. + + + +${response['headers']['Content-Type']} +application/json +Fails if ``container`` does not contain ``item`` one or more times. + + + + + +${schema} +SEPARATOR= +${input} +.schema.json +Catenates the given items together and returns the resulted string. + + + +${schema} +${response['body']} +Validates the sample JSON against the given schema. + + + +Json Schema Validation OK +Logs the given message with the given level. + + + + + + +${loc} +${response['headers']} +$..Location +Get Value From JSON using JSONPath + + + +${loc} +Verifies that the given item is not empty. + + + + + + +Check Postcondition Peer Entity resource +Logs the given message with the given level. + + + +{"Accept": "${ACCEPT_JSON}"} +settings +*Sets new request headers or updates the existing.* + + + +${apiRoot}/${apiName}/${apiMajorVersion}/peer_entities +http +*Sends a GET request to the endpoint.* + + + +${output} +response +I/O +*Outputs JSON to terminal or a file.* + + + +${response} +${output} +Makes a variable available everywhere within the scope of the current suite. + + + +200 + +${status} +${expected_status} +Converts the given item to an integer number. + + + +${response['status']} +${status} +Fails if the given objects are unequal. + + + +Status code validated +Logs the given message with the given level. + + + + + + +Test ID: 8.3.1.8.20 +Test title: POST Peer Entity with not permitted authorization scope +Test objective: The objective is to test that creation in the producer NFV-MANO functional entity of a new peer entity resource fails with not permitted authorization scope. +Pre-conditions: none +Reference: clause 5.5.13.3.1 - ETSI GS NFV-SOL 009 [7] v5.2.1 +Config ID: Config_prod_NFV-MANO +Applicability: none +Post-Conditions: Peer Entity is created + + + + + + +All Tests + + + + +PeerEntities + + + + + diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/report.html b/SOL009/NFVManoConfigurationAndInformationManagement-API/report.html new file mode 100644 index 0000000000000000000000000000000000000000..26c01e01d7d5ff7275b7125f7b289431f9cbcc00 --- /dev/null +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/report.html @@ -0,0 +1,2462 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Opening Robot Framework report failed

+ +
+ + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/ManoEntity.schema.json b/SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/ManoEntity.schema.json index e46747bb5f75f9fe98da553844e387a66e6274ee..59165a362f5e255f0e8dcd3eef90d0477995c9c4 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/ManoEntity.schema.json +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/ManoEntity.schema.json @@ -1,5 +1,5 @@ { - "description": "This type represents an NFV-MANO functional entity. * NOTE 1:\tIt shall be present when \"type\" attribute is \"NFVO\", and it shall be absent in any other case. * NOTE 2:\tIt shall be present when \"type\" attribute is \"VNFM\", and it shall be absent in any other case. * NOTE 3:\tIt shall be present when \"type\" attribute is \"VIM\", and it shall be absent in any other case. * NOTE 4:\tThe information about the NFV-MANO services offered by a specific type of NFV-MANO functional\n entity is specified by the manoServices attribute.\n* NOTE 5:\tIt is optional for the API producer to support the \"manoEntityComponents\" attribute. * NOTE 6:\tIt shall be present when \"type\" attribute is \"WIM\", and it shall be absent in any other case. * NOTE 7:\tIt shall be present when \"type\" attribute is \"CISM\", and it shall be absent in any other case. * NOTE 8:\tIt shall be present when \"type\" attribute is \"CIR\", and it shall be absent in any other case. * NOTE 9:\tIt shall be present when \"type\" attribute is \"CCM\", and it shall be absent in any other case. * NOTE 10: It shall be present when \"type\" attribute is \"MDAF\", and it shall be absent in any other case. * NOTE 11: It shall be present when \"type\" attribute is \"CMF\", and it shall be absent in any other case.\n", + "description": "This type represents an NFV-MANO functional entity. NOTE: As of the current release of the present document the Certificate Management Function (CMF) is out of \n scope of ETSI GS NFV 006 [i.3] however it is included in the present document with the rest of \n NFV-MANO interoperability for the purpose of discovery only.\n* NOTE 1:\tIt shall be present when \"type\" attribute is \"NFVO\", and it shall be absent in any other case. * NOTE 2:\tIt shall be present when \"type\" attribute is \"VNFM\", and it shall be absent in any other case. * NOTE 3:\tIt shall be present when \"type\" attribute is \"VIM\", and it shall be absent in any other case. * NOTE 4:\tThe information about the NFV-MANO services offered by a specific type of NFV-MANO functional\n entity is specified by the manoServices attribute.\n* NOTE 5:\tIt is optional for the API producer to support the \"manoEntityComponents\" attribute. * NOTE 6:\tIt shall be present when \"type\" attribute is \"WIM\", and it shall be absent in any other case. * NOTE 7:\tIt shall be present when \"type\" attribute is \"CISM\", and it shall be absent in any other case. * NOTE 8:\tIt shall be present when \"type\" attribute is \"CIR\", and it shall be absent in any other case. * NOTE 9:\tIt shall be present when \"type\" attribute is \"CCM\", and it shall be absent in any other case. * NOTE 10: It shall be present when \"type\" attribute is \"MDAF\", and it shall be absent in any other case. * NOTE 11: It shall be present when \"type\" attribute is \"CMF\", and it shall be absent in any other case. * NOTE 12: It shall be present when \"type\" attribute is \"IM\", and it shall be absent in any other case.\n", "type": "object", "required": [ "id", @@ -18,7 +18,7 @@ "type": "string" }, "type": { - "description": "The enumeration ManoEntityEnumType defines the permitted values to represent NFV-MANO functional entities. It shall comply with the provisions :\n - NFVO\tThe NFV-MANO functional entity is an NFVO.\n - VNFM\tThe NFV-MANO functional entity is a VNFM.\n - VIM\t The NFV-MANO functional entity is a VIM.\n - WIM The NFV-MANO functional entity is a WIM.\n - CISM The NFV-MANO functional entity is a CISM. \n - CIR The NFV-MANO functional entity is a CIR.\n - CCM The NFV-MANO functional entity is a CCM.\n - MDAF The NFV-MANO functional entity is a MDAF.\n - CMF The NFV-MANO functional entity is a CMF.\n", + "description": "The enumeration ManoEntityEnumType defines the permitted values to represent NFV-MANO functional entities. It shall comply with the provisions :\n - NFVO\tThe NFV-MANO functional entity is an NFVO.\n - VNFM\tThe NFV-MANO functional entity is a VNFM.\n - VIM\t The NFV-MANO functional entity is a VIM.\n - WIM The NFV-MANO functional entity is a WIM.\n - CISM The NFV-MANO functional entity is a CISM. \n - CIR The NFV-MANO functional entity is a CIR.\n - CCM The NFV-MANO functional entity is a CCM.\n - MDAF The NFV-MANO functional entity is a MDAF.\n - CMF The NFV-MANO functional entity is a CMF.\n - IM The NFV-MANO functional entity is a Intent Management.\n", "type": "string", "enum": [ "NFVO", @@ -29,7 +29,8 @@ "CIR", "CCM", "MDAF", - "CMF" + "CMF", + "IM" ] }, "name": { @@ -166,12 +167,15 @@ ] }, "administrativeState": { - "description": "The enumeration AdministrativeStateEnumType defines values representing the administrative state of a managed entity. The AdministrativeStateEnumType shall comply with the provisions:\n - LOCKED\tThe managed entity is administratively prohibited to be used.\n - UNLOCKED\tThe managed entity is administratively allowed to be used.\n - LOCKING\tThe managed entity is in the transition to be locked.\n", + "description": "The enumeration AdministrativeStateEnumType defines values representing the administrative state of a managed entity. The AdministrativeStateEnumType shall comply with the provisions:\n - LOCKED\tThe managed entity is administratively prohibited to be used.\n - UNLOCKED\tThe managed entity is administratively allowed to be used.\n - LOCKING\tThe managed entity is in the transition to be locked.\n - SUSPENDED The managed entity is administratively prohibited from use, including for current objects managed by the managed entity.\n - SUSPENDING The managed entity is in the transition to be suspended.\n - RESUMING The managed entity is in the transition to be resumed.\n", "type": "string", "enum": [ "LOCKED", "UNLOCKED", - "LOCKING" + "LOCKING", + "SUSPENDED", + "SUSPENDING", + "RESUMING" ] }, "usageState": { @@ -679,6 +683,42 @@ } } }, + "imSpecificInfo": { + "description": "This type represents information attributes specific to a IM entity, and that can be relevant to more than one NFV MANO service offered by a IM entity. It shall comply with the provisions defined in table 5.6.3.19-1.\n", + "type": "object", + "required": [ + "supportedIntentObjectTypes" + ], + "properties": { + "supportedIntentObjectTypes": { + "type": "array", + "minItems": 1, + "items": { + "type": "string" + } + } + } + }, + "cmfSpecificInfo": { + "description": "The supported list of VNF certificate management mode. Permitted Values: - DELEGATION-MODE: the CMF supports delegation-mode. - DIRECT-MODE: the CMF supports direct mode.\n", + "type": "object", + "required": [ + "certificateManagementMode" + ], + "properties": { + "certificateManagementMode": { + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "enum": [ + "DELEGATION-MODE", + "DIRECT-MODE" + ] + } + } + } + }, "_links": { "description": "Links to resources related to this resource.\n", "type": "object", diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/PeerEntities.schema.json b/SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/PeerEntities.schema.json index dc9cc2e443460b554a6d567c33e01db5c39002c6..eb949cf3d1668d46dcb830ee22de7d37e082288e 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/PeerEntities.schema.json +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/PeerEntities.schema.json @@ -24,7 +24,7 @@ "type": "string" }, "type": { - "description": "The enumeration PeerEntityEnumType defines the permitted values to represent peer functional entities. it shall complains with the provisions : - NFVO\tThe peer functional entity is an NFVO. - VNFM\tThe peer functional entity is a VNFM. - VIM\t The peer functional entity is a VIM. - WIM\t The peer functional entity is a WIM. - CISM The peer functional entity is a CISM. - CIR The NFV-MANO functional entity is a CIR. - CCM The NFV-MANO functional entity is a CCM. - MDAF The peer functional entity is a MDAF. - CMF The peer functional entity is a CMF. - EM\t The peer functional entity is an EM. - OSS\t The peer functional entity is an OSS/BSS.\n", + "description": "The enumeration PeerEntityEnumType defines the permitted values to represent peer functional entities. it shall complains with the provisions : - NFVO\tThe peer functional entity is an NFVO. - VNFM\tThe peer functional entity is a VNFM. - VIM\t The peer functional entity is a VIM. - WIM\t The peer functional entity is a WIM. - CISM The peer functional entity is a CISM. - CIR The NFV-MANO functional entity is a CIR. - CCM The NFV-MANO functional entity is a CCM. - MDAF The peer functional entity is a MDAF. - CMF The peer functional entity is a CMF. - IM The peer functional entity is a Intent Management. - EM\t The peer functional entity is an EM. - OSS\t The peer functional entity is an OSS/BSS.\n", "type": "string", "enum": [ "NFVO", @@ -36,6 +36,7 @@ "CCM", "MDAF", "CMF", + "IM", "EM", "OSS" ] @@ -63,7 +64,7 @@ "type": "string" }, "additionalProperties": { - "description": "This type represents an interface consumed by the producer NFV MANO functional entity from another peer functional entity. * NOTE 1:\tThe information to be provided in this attribute shall relate to the specification and its version.\n For instance, \"ETSI GS NFV-SOL 003 (V2.4.1)\".\n* NOTE 2:\tDue to the security sensitive information associated to the attribute, based on access control\n policies, the API consumer might have read only, write only, read/write, or no access at all to\n the attribute's value. In case the API consumer is not allowed to read the value of the security\n sensitive attribute, the attribute shall be omitted when the information is to be provided in a\n response message, and shall be provided otherwise. In case the API consumer is not allowed to\n modify the value of the security sensitive attribute, and the modification request includes new\n attribute values, the whole modification request shall be rejected, and proper error information returned.\n", + "description": "This type represents an interface consumed by the producer NFV MANO functional entity from another peer functional entity. * NOTE 1:\tThe information to be provided in this attribute shall relate to the specification and its version.\n For instance, \"ETSI GS NFV-SOL 003 (V5.2.1)\".\n* NOTE 2:\tDue to the security sensitive information associated to the attribute, based on access control\n policies, the API consumer might have read only, write only, read/write, or no access at all to\n the attribute's value. In case the API consumer is not allowed to read the value of the security\n sensitive attribute, the attribute shall be omitted when the information is to be provided in a\n response message, and shall be provided otherwise. In case the API consumer is not allowed to\n modify the value of the security sensitive attribute, and the modification request includes new\n attribute values, the whole modification request shall be rejected, and proper error information returned.\n", "type": "object", "required": [ "id", @@ -71,7 +72,8 @@ "type", "standardVersion", "apiVersion", - "apiEndpoint" + "apiEndpoint", + "administrativeState" ], "properties": { "name": { @@ -193,6 +195,18 @@ } } } + }, + "administrativeState": { + "description": "The enumeration AdministrativeStateEnumType defines values representing the administrative state of a managed entity. The AdministrativeStateEnumType shall comply with the provisions:\n - LOCKED\tThe managed entity is administratively prohibited to be used.\n - UNLOCKED\tThe managed entity is administratively allowed to be used.\n - LOCKING\tThe managed entity is in the transition to be locked.\n - SUSPENDED The managed entity is administratively prohibited from use, including for current objects managed by the managed entity.\n - SUSPENDING The managed entity is in the transition to be suspended.\n - RESUMING The managed entity is in the transition to be resumed.\n", + "type": "string", + "enum": [ + "LOCKED", + "UNLOCKED", + "LOCKING", + "SUSPENDED", + "SUSPENDING", + "RESUMING" + ] } } } @@ -213,12 +227,15 @@ ] }, "administrativeState": { - "description": "The enumeration AdministrativeStateEnumType defines values representing the administrative state of a managed entity. The AdministrativeStateEnumType shall comply with the provisions:\n - LOCKED\tThe managed entity is administratively prohibited to be used.\n - UNLOCKED\tThe managed entity is administratively allowed to be used.\n - LOCKING\tThe managed entity is in the transition to be locked.\n", + "description": "The enumeration AdministrativeStateEnumType defines values representing the administrative state of a managed entity. The AdministrativeStateEnumType shall comply with the provisions:\n - LOCKED\tThe managed entity is administratively prohibited to be used.\n - UNLOCKED\tThe managed entity is administratively allowed to be used.\n - LOCKING\tThe managed entity is in the transition to be locked.\n - SUSPENDED The managed entity is administratively prohibited from use, including for current objects managed by the managed entity.\n - SUSPENDING The managed entity is in the transition to be suspended.\n - RESUMING The managed entity is in the transition to be resumed.\n", "type": "string", "enum": [ "LOCKED", "UNLOCKED", - "LOCKING" + "LOCKING", + "SUSPENDED", + "SUSPENDING", + "RESUMING" ] } }, diff --git a/SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/PeerEntity.schema.json b/SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/PeerEntity.schema.json index 70f8cc29be7cc072326f61015019bf9aa5d9f6f2..01e0cfab2d176c8b015181690b0db97404d62b1b 100644 --- a/SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/PeerEntity.schema.json +++ b/SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/PeerEntity.schema.json @@ -22,7 +22,7 @@ "type": "string" }, "type": { - "description": "The enumeration PeerEntityEnumType defines the permitted values to represent peer functional entities. it shall complains with the provisions : - NFVO\tThe peer functional entity is an NFVO. - VNFM\tThe peer functional entity is a VNFM. - VIM\t The peer functional entity is a VIM. - WIM\t The peer functional entity is a WIM. - CISM The peer functional entity is a CISM. - CIR The NFV-MANO functional entity is a CIR. - CCM The NFV-MANO functional entity is a CCM. - MDAF The peer functional entity is a MDAF. - CMF The peer functional entity is a CMF. - EM\t The peer functional entity is an EM. - OSS\t The peer functional entity is an OSS/BSS.\n", + "description": "The enumeration PeerEntityEnumType defines the permitted values to represent peer functional entities. it shall complains with the provisions : - NFVO\tThe peer functional entity is an NFVO. - VNFM\tThe peer functional entity is a VNFM. - VIM\t The peer functional entity is a VIM. - WIM\t The peer functional entity is a WIM. - CISM The peer functional entity is a CISM. - CIR The NFV-MANO functional entity is a CIR. - CCM The NFV-MANO functional entity is a CCM. - MDAF The peer functional entity is a MDAF. - CMF The peer functional entity is a CMF. - IM The peer functional entity is a Intent Management. - EM\t The peer functional entity is an EM. - OSS\t The peer functional entity is an OSS/BSS.\n", "type": "string", "enum": [ "NFVO", @@ -34,6 +34,7 @@ "CCM", "MDAF", "CMF", + "IM", "EM", "OSS" ] @@ -61,7 +62,7 @@ "type": "string" }, "additionalProperties": { - "description": "This type represents an interface consumed by the producer NFV MANO functional entity from another peer functional entity. * NOTE 1:\tThe information to be provided in this attribute shall relate to the specification and its version.\n For instance, \"ETSI GS NFV-SOL 003 (V2.4.1)\".\n* NOTE 2:\tDue to the security sensitive information associated to the attribute, based on access control\n policies, the API consumer might have read only, write only, read/write, or no access at all to\n the attribute's value. In case the API consumer is not allowed to read the value of the security\n sensitive attribute, the attribute shall be omitted when the information is to be provided in a\n response message, and shall be provided otherwise. In case the API consumer is not allowed to\n modify the value of the security sensitive attribute, and the modification request includes new\n attribute values, the whole modification request shall be rejected, and proper error information returned.\n", + "description": "This type represents an interface consumed by the producer NFV MANO functional entity from another peer functional entity. * NOTE 1:\tThe information to be provided in this attribute shall relate to the specification and its version.\n For instance, \"ETSI GS NFV-SOL 003 (V5.2.1)\".\n* NOTE 2:\tDue to the security sensitive information associated to the attribute, based on access control\n policies, the API consumer might have read only, write only, read/write, or no access at all to\n the attribute's value. In case the API consumer is not allowed to read the value of the security\n sensitive attribute, the attribute shall be omitted when the information is to be provided in a\n response message, and shall be provided otherwise. In case the API consumer is not allowed to\n modify the value of the security sensitive attribute, and the modification request includes new\n attribute values, the whole modification request shall be rejected, and proper error information returned.\n", "type": "object", "required": [ "id", @@ -69,7 +70,8 @@ "type", "standardVersion", "apiVersion", - "apiEndpoint" + "apiEndpoint", + "administrativeState" ], "properties": { "name": { @@ -191,6 +193,18 @@ } } } + }, + "administrativeState": { + "description": "The enumeration AdministrativeStateEnumType defines values representing the administrative state of a managed entity. The AdministrativeStateEnumType shall comply with the provisions:\n - LOCKED\tThe managed entity is administratively prohibited to be used.\n - UNLOCKED\tThe managed entity is administratively allowed to be used.\n - LOCKING\tThe managed entity is in the transition to be locked.\n - SUSPENDED The managed entity is administratively prohibited from use, including for current objects managed by the managed entity.\n - SUSPENDING The managed entity is in the transition to be suspended.\n - RESUMING The managed entity is in the transition to be resumed.\n", + "type": "string", + "enum": [ + "LOCKED", + "UNLOCKED", + "LOCKING", + "SUSPENDED", + "SUSPENDING", + "RESUMING" + ] } } } @@ -211,12 +225,15 @@ ] }, "administrativeState": { - "description": "The enumeration AdministrativeStateEnumType defines values representing the administrative state of a managed entity. The AdministrativeStateEnumType shall comply with the provisions:\n - LOCKED\tThe managed entity is administratively prohibited to be used.\n - UNLOCKED\tThe managed entity is administratively allowed to be used.\n - LOCKING\tThe managed entity is in the transition to be locked.\n", + "description": "The enumeration AdministrativeStateEnumType defines values representing the administrative state of a managed entity. The AdministrativeStateEnumType shall comply with the provisions:\n - LOCKED\tThe managed entity is administratively prohibited to be used.\n - UNLOCKED\tThe managed entity is administratively allowed to be used.\n - LOCKING\tThe managed entity is in the transition to be locked.\n - SUSPENDED The managed entity is administratively prohibited from use, including for current objects managed by the managed entity.\n - SUSPENDING The managed entity is in the transition to be suspended.\n - RESUMING The managed entity is in the transition to be resumed.\n", "type": "string", "enum": [ "LOCKED", "UNLOCKED", - "LOCKING" + "LOCKING", + "SUSPENDED", + "SUSPENDING", + "RESUMING" ] } },