aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-08-31 12:07:50 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-11 15:11:00 +0530
commit9c8e836fe19301b3000e1d11ff3d50e7409cfe28 (patch)
tree9ecd8a2fb5d9a5dc974da1f13ca8b11d99d86c0c
parent7200442d081d8bf469379a452c7564b5ad427c42 (diff)
Fix MSB moco samples
Issue-ID: CLI-122 Change-Id: I3ef83e688d05d36300ab1febdc8bc44bb1f60533 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-create-schema-sample.yaml24
-rw-r--r--products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-delete-schema-moco.json2
-rw-r--r--products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-delete-schema-sample.yaml2
-rw-r--r--products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-show-schema-moco.json4
4 files changed, 16 insertions, 16 deletions
diff --git a/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-create-schema-sample.yaml b/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-create-schema-sample.yaml
index 4c302df8..a3e4b4ac 100644
--- a/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-create-schema-sample.yaml
+++ b/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-create-schema-sample.yaml
@@ -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 |
+ +----------+--------+
diff --git a/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-delete-schema-moco.json b/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-delete-schema-moco.json
index 0c3d7e82..c2d3022c 100644
--- a/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-delete-schema-moco.json
+++ b/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-delete-schema-moco.json
@@ -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"
diff --git a/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-delete-schema-sample.yaml b/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-delete-schema-sample.yaml
index 4ed44fa2..c2ae5143 100644
--- a/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-delete-schema-sample.yaml
+++ b/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-delete-schema-sample.yaml
@@ -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:
diff --git a/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-show-schema-moco.json b/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-show-schema-moco.json
index 5064b7b6..b46de6ec 100644
--- a/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-show-schema-moco.json
+++ b/products/onap-casablanca/features/msb/src/main/resources/open-cli-sample/microservice-show-schema-moco.json
@@ -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",