Merge "fix API inconsistency in ext VLs"
[vfc/nfvo/lcm.git] / lcm / swagger / vfc.nslcm.swagger.json
index 0a8fc09..891e178 100644 (file)
@@ -47,6 +47,9 @@
             "schema": {\r
               "$ref": "#/definitions/NsCreateResponse"\r
             }\r
+          },\r
+          "404": {\r
+            "description": "URL not found"\r
           }\r
         }\r
       },\r
@@ -72,6 +75,9 @@
             "schema": {\r
               "$ref": "#/definitions/NsInstancesInfo"\r
             }\r
+          },\r
+          "404": {\r
+            "description": "URL not found"\r
           }\r
         }\r
       }\r
           },\r
           "201": {\r
             "description": "Invalid Request"\r
+          },\r
+          "404": {\r
+            "description": "URL not found"\r
           }\r
         }\r
       }\r
           },\r
           "201": {\r
             "description": "Invalid Request"\r
+          },\r
+          "404": {\r
+            "description": "URL not found"\r
           }\r
         }\r
       }\r
     },\r
-    "/ns/{ns_instance_id}/heal": {\r
+    "/ns/{nsInstanceId}/heal": {\r
       "post": {\r
         "tags": [\r
           "ns"\r
             "required": true,\r
             "type": "string",\r
             "description": "Identifier of the NS instance.",\r
-            "name": "ns_instance_id",\r
+            "name": "nsInstanceId",\r
             "in": "path"\r
           },\r
           {\r
               "$ref": "#/definitions/JobInfo"\r
             }\r
           },\r
+          "404": {\r
+            "description": "URL not found"\r
+          },\r
           "500": {\r
             "description": "the url is invalid"\r
           }\r
         }\r
       }\r
     },\r
-    "/ns/{ns_instance_id}/terminate": {\r
+    "/ns/{nsInstanceId}/terminate": {\r
       "post": {\r
         "tags": [\r
           "ns"\r
             "required": true,\r
             "type": "string",\r
             "description": "Identifier of the NS instance.",\r
-            "name": "ns_instance_id",\r
+            "name": "nsInstanceId",\r
             "in": "path"\r
           },\r
           {\r
         }\r
       }\r
     },\r
-    "/ns/{ns_instance_id}": {\r
+    "/ns/{nsInstanceId}": {\r
       "get": {\r
         "tags": [\r
           "ns"\r
         "summary": "ns get",\r
         "description": "ns get",\r
         "operationId": "ns_instance_get",\r
-        "parameters": [],\r
+        "parameters": [\r
+          {\r
+            "required": true,\r
+            "type": "string",\r
+            "description": "Identifier of the NS instance.",\r
+            "name": "nsInstanceId",\r
+            "in": "path"\r
+          }\r
+        ],\r
         "responses": {\r
           "200": {\r
             "description": "successful operation",\r
             }\r
           }\r
         }\r
-      },      \r
+      },\r
       "delete": {\r
         "tags": [\r
           "ns"\r
             "required": true,\r
             "type": "string",\r
             "description": "Identifier of the NS instance.",\r
-            "name": "ns_instance_id",\r
+            "name": "nsInstanceId",\r
             "in": "path"\r
           }\r
         ],\r
     "NsCreateRequest": {\r
       "type": "object",\r
       "properties": {\r
+        "context":{\r
+          "type": "object",\r
+           "properties": {\r
+              "globalCustomerId":{\r
+                 "type": "string",\r
+                 "description": "the global customer id"\r
+              },\r
+              "serviceType":{\r
+                 "type": "string",\r
+                 "description": "service type"\r
+              }\r
+            }\r
+        },\r
         "csarId": {\r
           "type": "string",\r
           "description": "the NS package ID"\r
             "jobId": {\r
                "type": "string"\r
              },\r
-            "responseDescriptor": \r
+            "responseDescriptor":\r
             {\r
                 "type":"object",\r
                 "properties": {\r