diff --git a/SOL009/NFVMANOLogManagement-API/CompileLogTask.robot b/SOL009/NFVMANOLogManagement-API/CompileLogTask.robot index d7a15dae492acecd07643efc5588aa9b96f5b5cf..c4fd5b4c7d6e3cade7462bc65a0cab823fde0888 100644 --- a/SOL009/NFVMANOLogManagement-API/CompileLogTask.robot +++ b/SOL009/NFVMANOLogManagement-API/CompileLogTask.robot @@ -12,7 +12,7 @@ Request to compile the logged data into a file - Synchronous mode [Documentation] Test ID: 8.3.4.4.1 ... 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: + ... Pre-conditions: none ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO can decide immediately what to respond to a compile request @@ -27,7 +27,7 @@ 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 and perform a JSON schema validation on the returned log report data structure - ... Pre-conditions: + ... Pre-conditions: none ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: The NFV-MANO can not decide immediately what to respond to a compile request @@ -41,11 +41,11 @@ Request to compile the logged data into a file - Already Processing [Documentation] Test ID: 8.3.4.4.3 ... 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 and perform a JSON schema validation on the returned log report data structure - ... Pre-conditions: + ... Pre-conditions: none ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO - ... Applicability: - ... Post-Conditions: + ... Applicability: none + ... Post-Conditions: none Send Log data Request Check HTTP Response Status Code Is 303 Check Operation Occurrence Id @@ -54,7 +54,7 @@ Request to compile the logged data into a file with unprocessable entity [Documentation] Test ID: 8.3.4.4.4 ... Test title: Request to compile the logged data into a file with unprocessable entity ... 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: + ... Pre-conditions: none ... Reference: clause 8.5.6.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none @@ -67,11 +67,11 @@ GET Compiled Log Data - Method not implemented [Documentation] Test ID: 8.3.4.4.5 ... 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: + ... Pre-conditions: none ... Reference: clause 8.5.6.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none - ... Post-Conditions: + ... Post-Conditions: none Send Get Compiled Log Data Check HTTP Response Status Code Is 405 @@ -79,11 +79,11 @@ PUT Compiled Log Data - Method not implemented [Documentation] Test ID: 8.3.4.4.6 ... 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: + ... Pre-conditions: none ... Reference: clause 8.5.6.3.3 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none - ... Post-Conditions: + ... Post-Conditions: none Send PUT Compiled Log Data Check HTTP Response Status Code Is 405 @@ -91,11 +91,11 @@ PATCH Compiled Log Data - Method not implemented [Documentation] Test ID: 8.3.4.4.7 ... 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: + ... Pre-conditions: none ... Reference: clause 8.5.6.3.4 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none - ... Post-Conditions: + ... Post-Conditions: none Send PATCH Compiled Log Data Check HTTP Response Status Code Is 405 @@ -103,11 +103,11 @@ DELETE Compiled Log Data - Method not implemented [Documentation] Test ID: 8.3.4.4.8 ... 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: + ... Pre-conditions: none ... Reference: clause 8.5.6.3.5 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none - ... Post-Conditions: + ... Post-Conditions: none Send DELETE Compiled Log Data Check HTTP Response Status Code Is 405 \ No newline at end of file diff --git a/SOL009/NFVMANOLogManagement-API/IndividualLoggingJob.robot b/SOL009/NFVMANOLogManagement-API/IndividualLoggingJob.robot index 2d3891671e6038e76fe355de7c68a11e14e80e11..c63498ea4b7241f5c5f5392e6e5d0e0265bdb33e 100644 --- a/SOL009/NFVMANOLogManagement-API/IndividualLoggingJob.robot +++ b/SOL009/NFVMANOLogManagement-API/IndividualLoggingJob.robot @@ -11,7 +11,7 @@ POST Individual Logging Job - Method not implemented [Documentation] Test ID: 8.3.4.2.1 ... 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: + ... Pre-conditions: none ... Reference: clause 8.5.4.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO ... Applicability: none @@ -31,7 +31,7 @@ GET individual Logging Job ... Post-Conditions: none GET individual Logging Job Check HTTP Response Status Code Is 200 - Check HTTP Response Body Json Schema Is PmJob + Check HTTP Response Body Json Schema Is LoggingJob Check HTTP Response Body Logging Job Identifier matches the requested Logging Job GET individual Logging Job with invalid resource identifier @@ -95,3 +95,4 @@ DELETE Individual Logging Job with invalid resource identifier ... Post-Conditions: none Send Delete request for individual Logging Job with invalid resource identifier Check HTTP Response Status Code Is 404 + Check HTTP Response Body Json Schema Is ProblemDetails diff --git a/SOL009/NFVMANOLogManagement-API/IndividualReport.robot b/SOL009/NFVMANOLogManagement-API/IndividualReport.robot index 66a8e04a3cd70049ebbc5498fc4abad34d652297..e85b2ecf0c62ec0b064eb957f756d7206988a006 100644 --- a/SOL009/NFVMANOLogManagement-API/IndividualReport.robot +++ b/SOL009/NFVMANOLogManagement-API/IndividualReport.robot @@ -56,6 +56,7 @@ Get Individual Log Report with invalid resource endpoint ... Post-Conditions: none Get Individual Log Report with invalid resource endpoint Check HTTP Response Status Code Is 404 + Check HTTP Response Body Json Schema Is ProblemDetails PUT Individual Log Report - Method not implemented [Documentation] Test ID: 8.3.4.3.5 diff --git a/SOL009/NFVMANOLogManagement-API/LoggingJobs.robot b/SOL009/NFVMANOLogManagement-API/LoggingJobs.robot index dc4b136d2e37f6c6c227d5e400ed7e7859924c85..97cbed71a3491c17fd60d3b74a8462b473ddb554 100644 --- a/SOL009/NFVMANOLogManagement-API/LoggingJobs.robot +++ b/SOL009/NFVMANOLogManagement-API/LoggingJobs.robot @@ -11,10 +11,10 @@ POST Create a new logging job [Documentation] Test ID: 8.3.4.1.1 ... Test title: POST Create a new logging job ... Test objective: The objective is to create a new logging job - ... Pre-conditions: + ... Pre-conditions: none ... Reference: clause 8.5.3.3.1 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO - ... Applicability: + ... Applicability: none ... Post-Conditions: logging job created POST Create a new logging job Check HTTP Response Status Code Is 201 @@ -28,8 +28,8 @@ GET information about logging jobs ... Pre-conditions: At least one logging job is created. ... Reference: clause 8.5.3.3.2 - ETSI GS NFV-SOL 009 [5] V3.3.1 ... Config ID: Config_prod_NFV-MANO - ... Applicability: - ... Post-Conditions: + ... Applicability: none + ... Post-Conditions: none GET Logging Jobs Check HTTP Response Status Code Is 200 Check HTTP Response Body Json Schema Is LoggingJobs diff --git a/SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot b/SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot index 198f96f6e460ec6ab7d180827190d0850e707b1d..09c6698a873bccd49304419527fb9f7d06ec178c 100644 --- a/SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot +++ b/SOL009/NFVMANOLogManagement-API/NFVMANOLogManagementKeywords.robot @@ -99,7 +99,7 @@ GET Logging Jobs with fields attribute selector Set Suite Variable ${response} ${output} GET Logging Jobs with exclude_fields attribute selector - Log Query VNF The GET method queries information about multiple alarms, using fields + Log Query NFV-MANO The GET method queries information about multiple alarms, using fields Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${apiRoot}/${apiName}/${apiMajorVersion}/log_jobs?exclude_fields=${fields} @@ -150,7 +150,7 @@ Check Postcondition Logging Job is not Created Check HTTP Response Status Code Is 404 GET individual Logging Job - Log Trying to get a Pm Job + Log Trying to get a Logging Job Set Headers {"Accept": "${ACCEPT_JSON}"} Run Keyword If ${AUTH_USAGE} == 1 Set Headers {"Authorization": "${AUTHORIZATION}"} GET ${apiRoot}/${apiName}/${apiMajorVersion}/log_jobs/${logJobId} @@ -413,8 +413,6 @@ Send Post Request for Subscription POST ${apiRoot}/${apiName}/${apiMajorVersion}/subscriptions ${body_request} ${output}= Output response Set Suite Variable ${response} ${output} - Run Keyword If ${NFVMANO_CHECKS_NOTIF_ENDPOINT} == 1 - ... Check Notification Endpoint Check HTTP Response Body LogmSubscription Attributes Values Match the Issued Subscription Log Check Response matches subscription diff --git a/SOL009/NFVMANOLogManagement-API/Subscriptions.robot b/SOL009/NFVMANOLogManagement-API/Subscriptions.robot index 2e92a3ab60a8ce9a4a23af63d5b5aef73e13900e..eb6be70c6bf0da61abaf786be6d1ac603c416b4b 100644 --- a/SOL009/NFVMANOLogManagement-API/Subscriptions.robot +++ b/SOL009/NFVMANOLogManagement-API/Subscriptions.robot @@ -89,7 +89,6 @@ GET Subscriptions - invalid resource endpoint Get all Subscriptions Check HTTP Response Status Code Is 404 - Create new Subscription [Documentation] Test ID 8.3.4.5.7 ... Test title: Create new Subscription @@ -105,7 +104,6 @@ Create new Subscription Check HTTP Response Body LogmSubscription Attributes Values Match the Issued Subscription Check Postcondition Subscription Is Set - Create request for duplicated Subscription not creating duplicated subscriptions [Tags] no-duplicated-subs [Documentation] Test ID 8.3.4.5.8