Commit 60b60aec authored by Muhammad Umair Zafar's avatar Muhammad Umair Zafar
Browse files

update schema of AppPkgInfo data model

parent b017d52f
Loading
Loading
Loading
Loading
Loading
+0 −31
Original line number Diff line number Diff line
@@ -3,12 +3,7 @@
        "type": "object",
        "required": [
          "id",
          "appDId",
          "appName",
          "appSoftwareVersion",
          "appDVersion",
          "checksum",
          "softwareImages",
          "onboardingState",
          "operationalState",
          "usageState",
@@ -19,26 +14,6 @@
            "description": "Identifier of the onboarded application package.",
            "type": "string"
          },
          "appDId": {
            "description": "Identifier of this MEC application descriptor. This attribute shall be globally unique.",
            "type": "string"
          },
          "appProvider": {
            "description": "Provider of the application and of the AppD.",
            "type": "string"
          },
          "appName": {
            "description": "Name to identify the MEC application.",
            "type": "string"
          },
          "appSoftwareVersion": {
            "description": "Software version of the application. This is updated when there is any change to the software in the onboarded application package.",
            "type": "string"
          },
          "appDVersion": {
            "description": "Identifies the version of the application descriptor.",
            "type": "string"
          },
          "checksum": {
            "description": "",
            "properties": {
@@ -57,12 +32,6 @@
            ],
            "type": "object"
          },
          "softwareImages": {
            "description": "Information of application software image in application package. Type is TBD"
          },
          "additionalArtifacts": {
            "description": "Additional information of application package artifacts that are not application software images. Type is TBD"
          },
          "onboardingState": {
            "description": "Onboarding state of application package",
            "type": "string",
+109 −150
Original line number Diff line number Diff line
@@ -3,16 +3,10 @@
	"type": "object",
	"required": [
	  "id",
		"appDId",
		"appName",
		"appSoftwareVersion",
		"appDVersion",
	  "checksum",
		"softwareImages",
	  "onboardingState",
	  "operationalState",
	  "usageState",
		"mecInfo",
	  "_links"
	],
	"properties": {
@@ -20,26 +14,6 @@
		"description": "Identifier of the onboarded application package.",
		"type": "string"
	  },
		"appDId": {
			"description": "Identifier of this MEC application descriptor. This attribute shall be globally unique.",
			"type": "string"
		},
		"appProvider": {
			"description": "Provider of the application and of the AppD.",
			"type": "string"
		},
		"appName": {
			"description": "Name to identify the MEC application.",
			"type": "string"
		},
		"appSoftwareVersion": {
			"description": "Software version of the application. This is updated when there is any change to the software in the onboarded application package.",
			"type": "string"
		},
		"appDVersion": {
			"description": "Identifies the version of the application descriptor.",
			"type": "string"
		},
	  "checksum": {
		"description": "",
		"properties": {
@@ -58,12 +32,6 @@
		],
		"type": "object"
	  },
		"softwareImages": {
			"description": "Information of application software image in application package. Type is TBD"
		},
		"additionalArtifacts": {
			"description": "Additional information of application package artifacts that are not application software images. Type is TBD"
		},
	  "onboardingState": {
		"description": "Onboarding state of application package",
		"type": "string",
@@ -92,15 +60,6 @@
		  "NOT_IN_USE"
		]
	  },
		"mecInfo": {
			"description": "",
			"type": "array",
			"items": {
				"type": "string"
			}
		},


	  "userDefinedData": {
		"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'",
		"type": "object",