MEC010-2_AppPkgMgmt.json 105 KB
Newer Older
      },
      "AppPkgSubscriptionInfo": {
        "title": "AppPkgSubscriptionInfo",
        "required": [
          "id",
          "subscriptionType",
          "callbackUri",
          "_links"
        ],
        "type": "object",
            "type": "string",
            "description": "Identifier of the subscription to application package notification."
            "description": "Type of subscription.",
            "$ref": "#/components/schemas/AppPkgSubscriptionType"
            "type": "string",
            "description": "The URI of the endpoint for the notification to be sent to."
          },
          "_links": {
            "$ref": "#/components/schemas/AppPkgSubscriptionInfo.links"
          }
        },
        "description": "'The data type represents a subscription to notification of application package management for the onboarding, or operational state change of application package'"
      "AppPkgSubscriptionType": {
        "title": "AppPkgSubscriptionType",
          "AppPackageOnBoardingSubscription",
          "AppPackageChangeSubscription",
          "AppPackageDeletionSubscription"
        ],
        "type": "string",
        "description": "type of a subscription.",
        "examples": [
          "AppPackageOnBoardingSubscription"
        ]
      },
      "AppPkgSubscriptionInfo.links": {
        "title": "AppPkgSubscriptionInfo.links",
        "type": "object",
        "properties": {
          "self": {
            "$ref": "#/components/schemas/LinkType"
          }
        },
        "description": "Links to resources related to this resource."
      },
      "AppPkgSubscriptionLinkList": {
        "title": "AppPkgSubscriptionLinkList",
        "type": "object",
        "properties": {
          "_links": {
            "$ref": "#/components/schemas/AppPkgSubscriptionLinkList.links"
          }
        },
        "description": "'The data type represents a subscription link list of notification on application package management'"
      },
      "AppPkgSubscriptionLinkList.links": {
        "title": "AppPkgSubscriptionLinkList.links",
        "type": "object",
        "properties": {
          "self": {
            "$ref": "#/components/schemas/LinkType"
          },
          "subscriptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Subscriptions.AppPkgSubscription"
            },
            "description": ""
        },
        "description": "Links to resources related to this resource."
      },
      "Subscriptions.AppPkgSubscription": {
        "title": "Subscriptions.AppPkgSubscription",
          "subscriptionType"
        "type": "object",
            "type": "string",
            "description": "The URI referring to the subscription."
          "subscriptionType": {
            "$ref": "#/components/schemas/AppPkgSubscriptionType"
        },
        "description": "'The data type represents the input parameters of \"subscription operation\" to notification of application package management for the onboarding, or operational state change of application package.'"
        "title": "AppPkgSubscription",
          "subscriptionType"
        "type": "object",
        "properties": {
          "callbackUri": {
            "type": "string",
            "description": "The URI of the endpoint for the notification to be sent to."
          "subscriptionType": {
            "$ref": "#/components/schemas/AppPkgSubscriptionType"
          },
          "appPkgFilter": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AppPkgFilter"
            "description": "The attribute-based filter is to filter application packages on which the query applies"
        },
        "description": "'The data type represents the input parameters of \"subscription operation\" to notification of application package management for the onboarding, or operational state change of application package.'"
      "AppPkgFilter": {
        "title": "AppPkgFilter",
        "type": "object",
        "properties": {
          "appPkgInfoId": {
            "type": "string",
            "description": "Match the application package identifier which is allocated by the MEO. The attributes \"appPkgInfoId \", and \"appDId\" are alternatives to reference particular application package in a filter."
          },
          "appDId": {
            "type": "string",
            "description": "Match the application descriptor identifier which is allocated by the application provider. The attributes \"appPkgInfoId \", and \"appDId\" are alternatives to reference particular application package in a filter."
          },
          "appProvider": {
            "type": "string",
            "description": "Match the provider's name of the onboarded application."
          },
          "appName": {
            "type": "string",
            "description": "Match the name of the onboarded application."
          },
          "appSoftwareVersion": {
            "type": "string",
            "description": "Match the software version of the application package."
          },
          "appDVersion": {
            "type": "string",
            "description": "Match the version of the application descriptor."
          },
          "operationalState": {
            "type": "string",
            "description": "Match particular operational state of the application package. May be present if the \"subscriptionType\" attribute contains the value \"AppPackageChangeSubscription\", and shall be absent otherwise.",
            "enum": [
              "ENABLED",
              "DISABLED"
            ]
          },
          "usageState": {
            "type": "string",
            "description": "Match particular usage state of the application package. May be present if the \"subscriptionType\" attribute contains the value \"AppPackageChangeSubscription\", and shall be absent otherwise.",
            "enum": [
              "N_USE",
              "NOT_IN_USE"
            ]
          }
        }
        "title": "Checksum",
        "required": [
          "algorithm",
          "hash"
        ],
        "type": "object",
        "properties": {
          "algorithm": {
            "type": "string",
            "description": "Name of the algorithm used to generate the checksum,  as defined in ETSI GS NFV-SOL 004. For example, SHA-256, SHA-512."
            "type": "string",
            "description": "'String 1 The hexadecimal value of the checksum'"
        "title": "CreateAppPkg",
        "required": [
          "appPkgName",
          "appPkgPath",
          "appPkgVersion",
          "checksum"
        ],
        "type": "object",
        "properties": {
          "appPkgName": {
            "type": "string",
            "description": "Name of the application package to be onboarded."
            "type": "string",
            "format": "uri"
          },
          "appPkgVersion": {
            "type": "string",
            "description": "Version of the application package to be onboarded.The appPkgName with appPkgVersion can be used to uniquely identify the application package."
          },
          "appProvider": {
            "type": "string",
            "description": "The provider's name of the application package to be onboarded."
          },
          "checksum": {
            "$ref": "#/components/schemas/Checksum"
          },
          "userDefinedData": {
            "$ref": "#/components/schemas/KeyValuePairs",
            "description": "'This data type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key-value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 8259'"
      "KeyValuePairs": {
        "type": "object",
        "additionalProperties": {
          "type": "object"
        }
      },
      "LinkType": {
        "title": "LinkType",
          "href"
        ],
        "type": "object",
        "properties": {
          "href": {
            "type": "string",
            "description": "URI referring to a resource"
        "title": "ProblemDetails",
        "type": "object",
        "properties": {
          "detail": {
            "type": "string",
            "description": "A human-readable explanation specific to this occurrence of the problem"
            "description": "A URI reference that identifies the specific occurrence of the problem"
            "description": "The HTTP status code for this occurrence of the problem",
            "contentEncoding": "int32"
            "description": "A short, human-readable summary of the problem type"
            "description": "A URI reference according to IETF RFC 3986 that identifies the problem type"
        "title": "TimeStamp",
        "required": [
          "nanoSeconds",
          "seconds"
        ],
        "type": "object",
        "properties": {
          "nanoSeconds": {
            "type": "integer",
            "description": "The nanoseconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.",
            "contentEncoding": "int32"
            "description": "The seconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.",
            "contentEncoding": "int32"
      "OperationalState": {
        "title": "OperationalState",
        "enum": [
          "DISABLED",
          "ENABLED"
        ],
        "type": "string",
        "examples": [
          "DISABLED"
        ]
      "OperationState": {
        "title": "OperationState",
        "enum": [
          "DISABLED",
          "ENABLED"
        ],
        "type": "string",
        "examples": [
          "DISABLED"
        ]
  },
  "security": [