Merge 1806 code of vid-common

Change-Id: I75d52abed4a24dfe3827d79edc4a2938726aa87a
Issue-ID: VID-208
Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
diff --git a/vid-app-common/src/main/resources/adiod.zip b/vid-app-common/src/main/resources/adiod.zip
index a0fddbe..415fa48 100644
--- a/vid-app-common/src/main/resources/adiod.zip
+++ b/vid-app-common/src/main/resources/adiod.zip
Binary files differ
diff --git a/vid-app-common/src/main/resources/csar317927061915233480.zip b/vid-app-common/src/main/resources/csar317927061915233480.zip
index dbf0df1..36ac9f9 100644
--- a/vid-app-common/src/main/resources/csar317927061915233480.zip
+++ b/vid-app-common/src/main/resources/csar317927061915233480.zip
Binary files differ
diff --git a/vid-app-common/src/main/resources/csar3933948645405128424.zip b/vid-app-common/src/main/resources/csar3933948645405128424.zip
index 4601acb..b92d533 100644
--- a/vid-app-common/src/main/resources/csar3933948645405128424.zip
+++ b/vid-app-common/src/main/resources/csar3933948645405128424.zip
Binary files differ
diff --git a/vid-app-common/src/main/resources/json/mso/asyncRequestStatus b/vid-app-common/src/main/resources/json/mso/asyncRequestStatus
deleted file mode 100755
index 23d2c28..0000000
--- a/vid-app-common/src/main/resources/json/mso/asyncRequestStatus
+++ /dev/null
@@ -1,54 +0,0 @@
-{

-    "$schema": "http://json-schema.org/draft-04/schema#",

-    "description": "request structure",

-    "properties": {

-        "correlator": {

-            "description": "Optional correlation Id originally provided with the request in requestInfo",

-            "type": "string"

-        },

-        "finishTime": {

-            "description": "Date and time the request was finished in GMT with the following sample format: Wed, 15 Oct 2014 13:01:52 GMT",

-            "type": "string"

-        },

-        "instanceIds": {},

-        "requestId": {

-            "description": "UUID for the request generated by the instantiation service",

-            "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",

-            "type": "string"

-        },

-        "requestScope": {

-            "description": "short description of the entity being operated on",

-            "enum": [

-                "network",

-                "service",

-                "vfModule",

-                "vnf",

-                "volumeGroup"

-            ],

-            "type": "string"

-        },

-        "requestStatus": {},

-        "requestType": {

-            "description": "short description of the action being performed on the requestScope",

-            "enum": [

-                "createInstance",

-                "deleteInstance",

-                "replaceInstance",

-                "updateInstance"

-            ],

-            "type": "string"

-        },

-        "startTime": {

-            "description": "Date and time the request was created in GMT with the following sample format: Wed, 15 Oct 2014 13:01:52 GMT",

-            "type": "string"

-        }

-    },

-    "required": [

-        "requestId",

-        "requestScope",

-        "requestStatus",

-        "requestType",

-        "startTime"

-    ],

-    "type": "object"

-}

diff --git a/vid-app-common/src/main/resources/json/mso/modelInfo b/vid-app-common/src/main/resources/json/mso/modelInfo
index d368e35..56d268c 100755
--- a/vid-app-common/src/main/resources/json/mso/modelInfo
+++ b/vid-app-common/src/main/resources/json/mso/modelInfo
@@ -31,16 +31,7 @@
 		},

 		"modelType": {

 			"description": "short description of the entity being operated on",

-			"type": "string",

-			"enum": [

-			    "pnf",

-				"network",

-				"service",

-				"vfModule",

-				"vnf",

-				"volumeGroup",

-				"configuration"

-			]

+			"type": "string"

 		},

 		"modelVersion": {

 			"description": "the version of the model as defined in SDC--not authoritative",

diff --git a/vid-app-common/src/main/resources/json/mso/request b/vid-app-common/src/main/resources/json/mso/request
index 95720bf..61f1040 100755
--- a/vid-app-common/src/main/resources/json/mso/request
+++ b/vid-app-common/src/main/resources/json/mso/request
@@ -16,31 +16,12 @@
 		},

 		"requestScope": {

 			"description": "short description of the entity being operated on",

-			"type": "string",

-			"enum": [

-				"network",

-				"service",

-				"vfModule",

-				"vnf",

-				"volumeGroup",

-				"unknown",

-				"configuration"

-			]

+			"type": "string"

 		},

 		"requestStatus": {},

 		"requestType": {

 			"description": "short description of the action being performed on the requestScope",

-			"type": "string",

-			"enum": [

-				"createInstance",

-				"deleteInstance",

-				"replaceInstance",

-				"updateInstance",

-				"activateInstance",

-				"deactivateInstance",

-				"unknown",

-				"not provided"

-			]

+			"type": "string"

 		},

 		"startTime": {

 			"description": "Date and time the request was created in GMT with the following sample format: Wed, 15 Oct 2014 13:01:52 GMT",

diff --git a/vid-app-common/src/main/resources/sdcservices.json b/vid-app-common/src/main/resources/sdcservices.json
index 1d936f6..1d9d160 100644
--- a/vid-app-common/src/main/resources/sdcservices.json
+++ b/vid-app-common/src/main/resources/sdcservices.json
@@ -1,6 +1,48 @@
 {
   "services": [
     {
+      "uuid": "6bce7302-70bd-4057-b48e-8d5b99e686ca",
+      "invariantUUID": "9aa04749-c02c-432d-a90c-18caa361c833",
+      "name": "vDBE_srv",
+      "version": "1.0",
+      "toscaModelURL": "./service-VdbeSrv-csar.zip",
+      "category": "Mobility",
+      "lifecycleState": "CERTIFIED",
+      "lastUpdaterUserId": "rg276b",
+      "lastUpdaterFullName": null,
+      "distributionStatus": "DISTRIBUTED",
+      "artifacts": null,
+      "resources": null
+    },
+    {
+      "uuid": "76f27dfe-33e5-472f-8e0b-acf524adc4f0",
+      "invariantUUID": "c3618e16-bb5b-433a-a6e0-565ca79d8b65",
+      "name": "4-27_vMME_Service",
+      "version": "1.0",
+      "toscaModelURL": "./service-MsoExampleService-csar.zip",
+      "category": "Mobility",
+      "lifecycleState": "CERTIFIED",
+      "lastUpdaterUserId": "rg276b",
+      "lastUpdaterFullName": null,
+      "distributionStatus": "DISTRIBUTED",
+      "artifacts": null,
+      "resources": null
+    },
+    {
+      "uuid": "f4d84bb4-a416-4b4e-997e-0059973630b9",
+      "invariantUUID": "598e3f9e-3244-4d8f-a8e0-0e5d7a29eda9",
+      "name": "ADIOD vMX vPE_BV Service 488",
+      "version": "1.0",
+      "toscaModelURL": "./service-vf-with-annotations.zip",
+      "category": "Mobility",
+      "lifecycleState": "CERTIFIED",
+      "lastUpdaterUserId": "rg276b",
+      "lastUpdaterFullName": null,
+      "distributionStatus": "DISTRIBUTED",
+      "artifacts": null,
+      "resources": null
+    },
+    {
       "uuid": "48a52540-8772-4368-9cdb-1f124ea5c931",
       "invariantUUID": "f430728a-4530-42be-a577-1206b9484cef",
       "name": "4-27_vMME_Service",
@@ -103,7 +145,7 @@
       "invariantUUID": "b7d923c9-6175-41f1-91ba-4565c4953408",
       "name": "Multiple pProbes",
       "version": "1.0",
-      "toscaModelURL": "./service-Servicecontainermultiplepprobes-csar.csar",
+      "toscaModelURL": "./service-Servicecontainermultiplepprobes-csar.zip",
       "category": "Mobility",
       "lifecycleState": "CERTIFIED",
       "lastUpdaterUserId": "rg276b",
@@ -111,6 +153,20 @@
       "distributionStatus": "DISTRIBUTED",
       "artifacts": null,
       "resources": null
+    },
+    {
+      "uuid": "ee6d61be-4841-4f98-8f23-5de9da845544",
+      "invariantUUID": "b7d923c9-6175-41f1-91ba-4565c4955555",
+      "name": "ServiceContainerMultiplepProbes2",
+      "version": "2.0",
+      "toscaModelURL": "./service-ServicecontainerContainsPprobe.zip",
+      "category": "Network L1-3",
+      "lifecycleState": "CERTIFIED",
+      "lastUpdaterUserId": "rg276b",
+      "lastUpdaterFullName": null,
+      "distributionStatus": "DISTRIBUTED",
+      "artifacts": null,
+      "resources": null
     }
   ]
 }
\ No newline at end of file
diff --git a/vid-app-common/src/main/resources/service-AmpPhSvc-csar.zip b/vid-app-common/src/main/resources/service-AmpPhSvc-csar.zip
index 5b50f4d..6d5002c 100644
--- a/vid-app-common/src/main/resources/service-AmpPhSvc-csar.zip
+++ b/vid-app-common/src/main/resources/service-AmpPhSvc-csar.zip
Binary files differ
diff --git a/vid-app-common/src/main/resources/service-MsoExampleService-csar.zip b/vid-app-common/src/main/resources/service-MsoExampleService-csar.zip
new file mode 100644
index 0000000..83131de
--- /dev/null
+++ b/vid-app-common/src/main/resources/service-MsoExampleService-csar.zip
Binary files differ
diff --git a/vid-app-common/src/main/resources/service-Servicecontainermultiplepprobes-csar.csar b/vid-app-common/src/main/resources/service-ServicecontainerContainsPprobe.zip
similarity index 67%
copy from vid-app-common/src/main/resources/service-Servicecontainermultiplepprobes-csar.csar
copy to vid-app-common/src/main/resources/service-ServicecontainerContainsPprobe.zip
index 81691fe..fc74ba0 100644
--- a/vid-app-common/src/main/resources/service-Servicecontainermultiplepprobes-csar.csar
+++ b/vid-app-common/src/main/resources/service-ServicecontainerContainsPprobe.zip
Binary files differ
diff --git a/vid-app-common/src/main/resources/service-Servicecontainermultiplepprobes-csar.csar b/vid-app-common/src/main/resources/service-Servicecontainermultiplepprobes-csar.zip
similarity index 75%
rename from vid-app-common/src/main/resources/service-Servicecontainermultiplepprobes-csar.csar
rename to vid-app-common/src/main/resources/service-Servicecontainermultiplepprobes-csar.zip
index 81691fe..e0a5331 100644
--- a/vid-app-common/src/main/resources/service-Servicecontainermultiplepprobes-csar.csar
+++ b/vid-app-common/src/main/resources/service-Servicecontainermultiplepprobes-csar.zip
Binary files differ
diff --git a/vid-app-common/src/main/resources/service-VdbeSrv-csar.zip b/vid-app-common/src/main/resources/service-VdbeSrv-csar.zip
new file mode 100644
index 0000000..3defd1e
--- /dev/null
+++ b/vid-app-common/src/main/resources/service-VdbeSrv-csar.zip
Binary files differ
diff --git a/vid-app-common/src/main/resources/service-vf-csar.zip b/vid-app-common/src/main/resources/service-vf-csar.zip
index 090c8ef..f66d084 100644
--- a/vid-app-common/src/main/resources/service-vf-csar.zip
+++ b/vid-app-common/src/main/resources/service-vf-csar.zip
Binary files differ
diff --git a/vid-app-common/src/main/resources/service-vf-with-annotations.zip b/vid-app-common/src/main/resources/service-vf-with-annotations.zip
new file mode 100644
index 0000000..a742d60
--- /dev/null
+++ b/vid-app-common/src/main/resources/service-vf-with-annotations.zip
Binary files differ