Commit ed5933e8 authored by Eisha Ayaz's avatar Eisha Ayaz Committed by Giacomo Bernini
Browse files

[test-upd][SOL025][DATA-ANALYTICS][v5.2.1][12.3.1.1.x Test-IDs] Fix editorial...

[test-upd][SOL025][DATA-ANALYTICS][v5.2.1][12.3.1.1.x Test-IDs] Fix editorial issues and add Authorization
parent eff57034
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -112,7 +112,7 @@ GET information about Analytics Bad Request Invalid attribute selector
    GET Analytics with bad filter
    Check HTTP Response Status Code Is    400
    Check HTTP Response Body Json Schema Is   ProblemDetails
GET information about Analytics with "all_fields" attribute selector
GET information about Analytics with all_fields attribute selector
    [Documentation]    Test ID: 12.3.1.1.9
    ...    Test title: GET information about Analytics with "all_fields" attribute selector
    ...    Test objective: The objective is to query information about Analytics 
@@ -124,7 +124,7 @@ GET information about Analytics with "all_fields" attribute selector
    GET Analytics with all_fields attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    telcoCloudAnalytics
GET information about Analytics with "exclude_default" attribute selector
GET information about Analytics with exclude_default attribute selector
    [Documentation]    Test ID: 12.3.1.1.10
    ...    Test title: GET information about Analytics with "exclude_default" attribute selector
    ...    Test objective: The objective is to query information about Analytics
@@ -138,7 +138,7 @@ GET information about Analytics with "exclude_default" attribute selector
    Check HTTP Response Body Json Schema Is    telcoCloudAnalytics
    Check Response should not Contains    reports

GET information about Analytics with "fields" attribute selector
GET information about Analytics with fields attribute selector
    [Documentation]    Test ID: 12.3.1.1.11
    ...    Test title: GET information about Analytics with "fields" attribute selector
    ...    Test objective: The objective is to query information about Analytics
@@ -151,7 +151,7 @@ GET information about Analytics with "fields" attribute selector
    Check HTTP Response Status Code Is    200
    Check HTTP Response Body Json Schema Is    telcoCloudAnalytics

GET information about Analytics with "exclude_fields" attribute selector
GET information about Analytics with exclude_fields attribute selector
    [Documentation]    Test ID: 12.3.1.1.12
    ...    Test title: GET information about Analytics with "exclude_fields" attribute selector
    ...    Test objective: The objective is to query information about Analytics
+1 −0
Original line number Diff line number Diff line
@@ -313,6 +313,7 @@ Get Individual Telco-Cloud data Analytics report
    Set Headers    {"Accept":"${ACCEPT}"}
    Set Headers    {"Version": "${API_VERSION}"}  
    Set Headers    {"Content-Type": "${CONTENT_TYPE}"}
    Run Keyword If    ${AUTH_USAGE} == 1    Set Headers    {"${AUTHORIZATION_HEADER}":"${AUTHORIZATION_TOKEN}"}
    Get    ${apiRoot}/${apiName}/${apiMajorVersion}/analytics/${analyticsId}/reports/${reportId} 		
    ${outputResponse}=    Output    response
	Set Global Variable    ${response}    ${outputResponse} 
+2 −2
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
      "type": "object",
      "properties": {
        "outputForIncidentAnalysis": {
          "description": "This type represents the specific output contained in a Telco-cloud data analytics report  when the value of tcdaType in TelcoCloudAnalytics is INCIDENT_ANALYSIS. To enable Telco-cloud data analytics with type INCIDENT_ANALYSIS,  the enabling data may be used by Telco-cloud DAF are provided in table A.2.\n",
          "description": "This type represents the specific output contained in a Telco-cloud data analytics report  when the value of \"tcdaType\" in TelcoCloudAnalytics is INCIDENT_ANALYSIS. To enable Telco-cloud data analytics with type INCIDENT_ANALYSIS,  the enabling data may be used by Telco-cloud DAF are provided in table A.2.\n",
          "type": "object",
          "required": [
            "incidentSourceObjects",
@@ -41,7 +41,7 @@
              }
            },
            "faultType": {
              "description": "Indicates the type of source fault that has caused the incident.  Valid values map to Event type values or \"Alarm definition identifier\" values of the Alarm  as defined in ETSI GS NFV-IFA 045.          \n",
              "description": "Indicates the type of source fault that has caused the incident.  Valid values map to \"Event type\" values or \"Alarm definition identifier\" values of the Alarm  as defined in ETSI GS NFV-IFA 045.          \n",
              "type": "string"
            },
            "eventTime": {