MEC010-2_AppPkgMgmt.json 100 KB
Newer Older
						"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'"
					}
				},
				"description": "NOTE: It is for further study how to convey appPkgPath, and align with ETSI GS NFV-SOL 005 [i.7].\n"
			},
			"LinkType": {
				"title": "LinkType",
				"required": [
					"href"
				],
				"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",
						"format": "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.",
						"format": "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.",
						"format": "int32"
					}
				}
			},
			"OperationalState": {
				"title": "OperationalState",
				"description": "Operational state of the application package:\n\nENABLED: the application package can be used for instantiation of new application instances.\nDISABLED: the application package cannot be used for further application instantiation requests.\n",
				"type": "string",
				"enum": [
					"DISABLED",
					"ENABLED"
				],
				"examples": [
					"DISABLED"
				]
			},
			"OperationalState2": {
				"title": "OperationalState",
				"description": "New value of the \"operationalState\" attribute of the \"OnboardedAppPkgInfo\" structure.\n\nPermitted values\nDISABLED: to disable the individual application package.\nENABLED: to enable the individual application package.\n",
				"type": "string",
				"enum": [
					"DISABLED",
					"ENABLED"
				],
				"examples": [
					"ENABLED"
				]
			},
			"OperationalState3": {
				"title": "OperationalState",
				"description": "Match particular operational state of the application package.\n\nENABLED: the application package can be used for instantiation of new application instances.\nDISABLED: the application package cannot be used for further application instantiation requests.\n\nMay be present if the \"subscriptionType\" attribute contains the value \"AppPackageChangeSubscription\",\nand shall be absent otherwise.\n",
				"type": "string",
				"enum": [
					"ENABLED",
					"DISABLED"
				],
				"examples": [
					"DISABLED"
				]
			}
		},
		"responses": {
			"400": {
				"description": "Bad Request : used to indicate that incorrect parameters were passed to the request.",
				"content": {
					"application/problem+json": {
						"schema": {
							"$ref": "#/components/schemas/ProblemDetails"
						}
					}
				}
			},
			"401": {
				"description": "Unauthorized :  used when the client did not submit credentials.",
				"content": {
					"application/problem+json": {
						"schema": {
							"$ref": "#/components/schemas/ProblemDetails"
						}
					}
				}
			},
			"403": {
				"description": "Forbidden :  operation is not allowed given the current status of the resource.",
				"content": {
					"application/problem+json": {
						"schema": {
							"$ref": "#/components/schemas/ProblemDetails"
						}
					}
				}
			},
			"404": {
				"description": "Not Found :  used when a client provided a URI that cannot be mapped to a valid resource URI.",
				"content": {
					"application/problem+json": {
						"schema": {
							"$ref": "#/components/schemas/ProblemDetails"
						}
					}
				}
			},
			"406": {
				"description": "Not Acceptable : used to indicate that the server cannot provide the any of the content formats supported by the client.",
				"content": {
					"application/problem+json": {
						"schema": {
							"$ref": "#/components/schemas/ProblemDetails"
						}
					}
				}
			},
			"429": {
				"description": "Too Many Requests: used when a rate limiter has triggered.",
				"content": {
					"application/problem+json": {
						"schema": {
							"$ref": "#/components/schemas/ProblemDetails"
						}
					}
				}
			}
		}
	},
	"security": [{}]