Commit e36f56e3 authored by Giacomo Bernini's avatar Giacomo Bernini Committed by Giacomo Bernini
Browse files

[fix-test][SOL025][DATA-ANALYTICS][v5.2.1][12.3.1.x.y Test-IDs] Added missing...

[fix-test][SOL025][DATA-ANALYTICS][v5.2.1][12.3.1.x.y Test-IDs] Added missing DataAnalyticsChangeNotification json schema file
parent ab769e11
Loading
Loading
Loading
Loading
+92 −0
Original line number Diff line number Diff line
{
  "description": "This notification informs the receiver of events related to Telco-cloud data analytics processing.  This notification is produced by the Telco-cloud DAF when there is an event caused by the Telco-cloud data analytics process,  e.g. the result of the Telco-cloud data analytics (i.e. availability of a corresponding Telco-cloud data analytics report). If this is a notification about the start of a Telco-cloud data analytics process,  the notification shall be sent before any action (including sending the input information collection requests  for Telco-cloud data analytics purpose) is taken, however,  after acknowledging the Telco-cloud data analytics request to the Telco-cloud DAF Consumer. If this is a notification about the result of a Telco-cloud data analytics process,  the notification shall be sent after all other actions of the Telco-cloud data analytics have been executed.  This notification can also be raised in case of an unsuccessful Telco-cloud data analytics process to provide appropriate error information.\n",
  "type": "object",
  "required": [
    "id",
    "notificationType",
    "timeStamp",
    "analyticsId",
    "notificationStatus",
    "analysisStatus",
    "_links"
  ],
  "properties": {
    "id": {
      "description": "An identifier with the intention of being globally unique\n",
      "type": "string"
    },
    "notificationType": {
      "description": "Discriminator for the different notification types. Shall be set to \"DataAnalyticsChangeNotification\" for this notification type.\n",
      "type": "string",
      "enum": [
        "DataAnalyticsChangeNotification"
      ]
    },
    "timeStamp": {
      "description": "Date-time stamp. Representation: String formatted according toas defined by the date-time production in IETF RFC 3339.\n",
      "format": "date-time"
    },
    "analyticsId": {
      "description": "An identifier with the intention of being globally unique\n",
      "type": "string"
    },
    "notificationStatus": {
      "description": "Indicates whether this notification reports about the start or the result of a data analytics process. Permitted values:: -\tSTART: Informs about the start of the data analytics -\tRESULT: Informs about the result of the data analytics\n",
      "type": "string",
      "enum": [
        "START",
        "RESULT"
      ]
    },
    "analysisStatus": {
      "description": "Indicates the analysis status.  Permitted values: -\tPROCESSING: The Telco-cloud data analytics process is currently in execution. -\tCOMPLETED: The Telco-cloud data analytics process has been completed successfully. -\tFAILED: The Telco-cloud data analytics process is failed and determined that it will not succeed.\n",
      "type": "string",
      "enum": [
        "PROCESSING",
        "COMPLETED",
        "FAILED"
      ]
    },
    "failureReason": {
      "description": "Indicates the failure reason for a Telco-cloud data analytics process, e.g., lack of resources.  Shall be present in case the \"analysisStatus\" is set to \"FAILED\".\n",
      "type": "string"
    },
    "_links": {
      "description": "Links to resources related to this notification.\n",
      "type": "object",
      "required": [
        "analytics"
      ],
      "properties": {
        "analytics": {
          "description": "This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification.   Should be an absolute URI (i.e. a URI that contains {apiRoot}),  however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        },
        "analyticsReport": {
          "description": "This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
          "type": "object",
          "required": [
            "href"
          ],
          "properties": {
            "href": {
              "description": "URI of a resource referenced from a notification.   Should be an absolute URI (i.e. a URI that contains {apiRoot}),  however, may be a relative URI (i.e. a URI where the {apiRoot} part is omitted) if the {apiRoot} information is not available.\n",
              "type": "string",
              "format": "url"
            }
          }
        }
      }
    }
  }
}
 No newline at end of file