Fix MSB moco samples 45/65745/2
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Fri, 31 Aug 2018 06:37:50 +0000 (12:07 +0530)
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Tue, 11 Sep 2018 09:41:00 +0000 (15:11 +0530)
Issue-ID: CLI-122

Change-Id: I3ef83e688d05d36300ab1febdc8bc44bb1f60533
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-create-schema-sample.yaml
products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-delete-schema-moco.json
products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-delete-schema-sample.yaml
products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-show-schema-moco.json

index 4c302df..a3e4b4a 100644 (file)
@@ -18,17 +18,17 @@ version: onap-casablanca
 samples:
   sample1:
     name: microservice-create
-    input: --service-name test --service-version v1 --service-url /test --path /test 10.0.0.1 8080
+    input: --service-name test --service-version v1 --service-url /test --path /test true 10.0.0.1 8080
     moco: microservice-create-schema-moco.json
     output: |
-      +----------+--------------+
-      |property  |value         |
-      +----------+--------------+
-      |name      |test          |
-      +----------+--------------+
-      |version   |v1            |
-      +----------+--------------+
-      |url       |/test         |
-      +----------+--------------+
-      |status    |1             |
-      +----------+--------------+
+        +----------+--------+
+        |property  |value   |
+        +----------+--------+
+        |name      |test    |
+        +----------+--------+
+        |version   |v1      |
+        +----------+--------+
+        |url       |/test   |
+        +----------+--------+
+        |status    |1       |
+        +----------+--------+
index 0c3d7e8..c2d3022 100644 (file)
@@ -1,7 +1,7 @@
 [ {
   "request" : {
     "method" : "delete",
-    "uri" : "/api/microservices/v1/services/test/version/v1/nodes/10.0.0.1/8080",
+    "uri" : "/api/microservices/v1/services/test/version/v1/nodes/23.14.15.156/80",
     "headers" : {
       "Accept" : "application/json",
       "Content-Type" : "application/json"
index 4ed44fa..c2ae514 100644 (file)
@@ -19,6 +19,6 @@ version: onap-casablanca
 samples:
     sample1:
         name: microservice-delete
-        input: --service-name test --service-version v1 --host-url http://192.168.17.23:80 --node-ip 23.14.15.156 --node-port 80
+        input: --service-name test --service-version v1 --node-ip 23.14.15.156 --node-port 80
         moco: microservice-delete-schema-moco.json
         output:
index 5064b7b..b46de6e 100644 (file)
@@ -13,7 +13,7 @@
     "json" : {
       "serviceName" : "test",
       "version" : "v1",
-      "url" : "/C:/Git/test",
+      "url" : "/test",
       "protocol" : "REST",
       "visualRange" : "1",
       "lb_policy" : "ip_hash",
@@ -21,7 +21,7 @@
       "namespace" : "",
       "network_plane_type" : "",
       "host" : "",
-      "path" : "/C:/Git/test",
+      "path" : "/test",
       "enable_ssl" : false,
       "nodes" : [ {
         "ip" : "10.0.0.1",