Commit 99faa09b authored by Hammad Zafar's avatar Hammad Zafar Committed by Giacomo Bernini
Browse files

updated PerformanceInformationAvailableNotification schema

parent 5377c07b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -9,6 +9,7 @@ ${AUTHORIZATION_TOKEN} Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
${NEG_AUTHORIZATION}    Bearer negativetoken
${NEG_AUTHORIZATION}    Bearer negativetoken


${CONTENT_TYPE_JSON}    application/json
${CONTENT_TYPE_JSON}    application/json
${CONTENT_TYPE_PATCH}    application/merge-patch+json
${ACCEPT_JSON}    application/json
${ACCEPT_JSON}    application/json
${AUTH_USAGE}     1
${AUTH_USAGE}     1
${FIELD_USAGE}    1
${FIELD_USAGE}    1
+99 −104
Original line number Original line Diff line number Diff line
{
{
    "description": "This notification informs the receiver that performance information is available. The timing of sending this notification is determined by the capability of the producing entity to evaluate the threshold crossing condition. The notification shall be triggered by the VNFM when new performance information collected by a PM job is available.\n",
	"description": "This notification informs the receiver that performance information is available. The notification shall be triggered by the VNFM when new performance information collected by a PM job is available. The periodicity of triggering this notification is influenced by the  \"reportingPeriod\" attribute in the \"PmJobCriteria\" data structure.\n",
	"type": "object",
	"type": "object",
	"required": [
	"required": [
		"id",
		"id",
		"notificationType",
		"notificationType",
      "subscriptionId",
		"timeStamp",
		"timeStamp",
		"pmJobId",
		"objectType",
		"objectInstanceId",
		"objectInstanceId",
		"_links"
		"_links"
	],
	],
@@ -21,81 +22,75 @@
				"PerformanceInformationAvailableNotification"
				"PerformanceInformationAvailableNotification"
			]
			]
		},
		},
      "subscriptionId": {
        "description": "An identifier with the intention of being globally unique.\n",
        "type": "string"
      },
		"timeStamp": {
		"timeStamp": {
			"description": "Date-time stamp. Representation: String formatted according to IETF RFC 3339.\n",
			"description": "Date-time stamp. Representation: String formatted according to IETF RFC 3339.\n",
			"type": "string",
			"type": "string",
			"format": "date-time"
			"format": "date-time"
		},
		},
		"pmJobId": {
			"description": "An identifier with the intention of being globally unique.\n",
			"type": "string"
		},
		"objectType": {
			"description": "Type of the measured object. The applicable measured object type for a measurement is defined in clause 7.2 of ETSI GS NFV-IFA 027.\n",
			"type": "string"
		},
		"objectInstanceId": {
		"objectInstanceId": {
			"description": "An identifier with the intention of being globally unique.\n",
			"description": "An identifier with the intention of being globally unique.\n",
			"type": "string"
			"type": "string"
		},
		},
		"subObjectInstanceIds": {
			"description": "Identifiers of the sub-object instances of the measured object instance for which the measurements have been taken. Shall be present if the related PM job has been set up to measure only a subset of all sub-object instances of the measured object instance and a sub-object is defined in clause\n 6.2 of ETSI GS NFV-IFA 027 for the related measured object type.\nShall be absent otherwise.\n",
			"type": "array",
			"items": {
				"description": "An identifier that is unique for the respective type within a VNF instance, but may not be globally unique.\n",
				"type": "string"
			}
		},
		"_links": {
		"_links": {
			"description": "Links to resources related to this notification.\n",
			"description": "Links to resources related to this notification.\n",
			"type": "object",
			"type": "object",
			"required": [
			"required": [
          "subscription",
				"pmJob",
				"pmJob",
				"performanceReport"
				"performanceReport"
			],
			],
			"properties": {
			"properties": {
          "subscription": {
            "description": "This type represents a link to a resource.\n",
            "type": "object",
            "required": [
              "href"
            ],
            "properties": {
              "href": {
                "description": "URI of the referenced resource.\n",
                "type": "string",
                "format": "url"
              }
            }
          },
				"objectInstance": {
				"objectInstance": {
            "description": "This type represents a link to a resource.\n",
					"description": "This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
					"type": "object",
					"type": "object",
					"required": [
					"required": [
						"href"
						"href"
					],
					],
					"properties": {
					"properties": {
						"href": {
						"href": {
                "description": "URI of the referenced resource.\n",
							"description": "String formatted according to IETF RFC 3986.\n",
                "type": "string",
							"type": "string"
                "format": "url"
						}
						}
					}
					}
				},
				},
				"pmJob": {
				"pmJob": {
            "description": "This type represents a link to a resource.\n",
					"description": "This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
					"type": "object",
					"type": "object",
					"required": [
					"required": [
						"href"
						"href"
					],
					],
					"properties": {
					"properties": {
						"href": {
						"href": {
                "description": "URI of the referenced resource.\n",
							"description": "String formatted according to IETF RFC 3986.\n",
                "type": "string",
							"type": "string"
                "format": "url"
						}
						}
					}
					}
				},
				},
				"performanceReport": {
				"performanceReport": {
            "description": "This type represents a link to a resource.\n",
					"description": "This type represents a link to a resource in a notification, using an absolute or relative URI.\n",
					"type": "object",
					"type": "object",
					"required": [
					"required": [
						"href"
						"href"
					],
					],
					"properties": {
					"properties": {
						"href": {
						"href": {
                "description": "URI of the referenced resource.\n",
							"description": "String formatted according to IETF RFC 3986.\n",
                "type": "string",
							"type": "string"
                "format": "url"
						}
						}
					}
					}
				}
				}