Merge "Fix LCN API inconsistency with code"
[vfc/nfvo/lcm.git] / lcm / swagger / vfc.nslcm.swagger.json
index 0a8fc09..e8a8390 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
               "$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
-      },      \r
+      },\r
       "delete": {\r
         "tags": [\r
           "ns"\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