Newer
Older
},
"AppPkgSubscriptionInfo": {
"required": [
"id",
"subscriptionType",
"callbackUri",
"_links"
],
"properties": {
"id": {
"description": "Identifier of the subscription to application package notification."
},
"subscriptionType": {
"description": "Type of subscription.",
"$ref": "#/components/schemas/AppPkgSubscriptionType"
},
"callbackUri": {
"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"
"description": "type of a subscription.",
"AppPackageOnBoardingSubscription"
]
},
"AppPkgSubscriptionInfo.links": {
"required": [
"self"
],
"properties": {
"self": {
"$ref": "#/components/schemas/LinkType"
}
},
"description": "Links to resources related to this resource."
},
"AppPkgSubscriptionLinkList": {
"required": [
"_links"
],
"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",
"required": [
"self"
],
"properties": {
"self": {
"$ref": "#/components/schemas/LinkType"
},
"subscriptions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Subscriptions.AppPkgSubscription"
},
"description": "Links to resources related to this resource."
},
"Subscriptions.AppPkgSubscription": {
"title": "Subscriptions.AppPkgSubscription",
"required": [
"href",
"properties": {
"href": {
"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.'"
},
"AppPkgSubscription": {
"required": [
"callbackUri",
"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.'"
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
"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"
]
}
}
},
"Checksum": {
"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."
},
"hash": {
"type": "string",
"description": "'String 1 The hexadecimal value of the checksum'"
},
"CreateAppPkg": {
"title": "CreateAppPkg",
"required": [
"appPkgName",
"appPkgPath",
"appPkgVersion",
"checksum"
],
"type": "object",
"properties": {
"appPkgName": {
"type": "string",
"description": "Name of the application package to be onboarded."
},
"appPkgPath": {
},
"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'"
"additionalProperties": {
"type": "object"
}
},
"LinkType": {
"title": "LinkType",
"required": [
],
"type": "object",
"properties": {
"href": {
"type": "string",
"description": "URI referring to a resource"
},
"ProblemDetails": {
"title": "ProblemDetails",
"type": "object",
"properties": {
"detail": {
"type": "string",
"description": "A human-readable explanation specific to this occurrence of the problem"
},
"instance": {
"type": "string",
"description": "A URI reference that identifies the specific occurrence of the problem"
},
"status": {
"type": "integer",
"description": "The HTTP status code for this occurrence of the problem",
"contentEncoding": "int32"
},
"title": {
"type": "string",
"description": "A short, human-readable summary of the problem type"
},
"type": {
"type": "string",
"description": "A URI reference according to IETF RFC 3986 that identifies the problem type"
},
"TimeStamp": {
"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"
},
"seconds": {
"type": "integer",
"description": "The seconds part of the Time. Time is defined as Unix-time since January 1, 1970, 00:00:00 UTC.",
"OperationalState": {
"title": "OperationalState",
"enum": [
"DISABLED",
"ENABLED"
],
"type": "string",
"examples": [
"DISABLED"
]
"OperationState": {
"title": "OperationState",
"enum": [
"DISABLED",
"ENABLED"
],
"type": "string",
"examples": [
"DISABLED"
]