From 9c8e836fe19301b3000e1d11ff3d50e7409cfe28 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Fri, 31 Aug 2018 12:07:50 +0530 Subject: Fix MSB moco samples Issue-ID: CLI-122 Change-Id: I3ef83e688d05d36300ab1febdc8bc44bb1f60533 Signed-off-by: Kanagaraj Manickam k00365106 --- .../microservice-create-schema-sample.yaml | 24 +++++++++++----------- .../microservice-delete-schema-moco.json | 2 +- .../microservice-delete-schema-sample.yaml | 2 +- .../microservice-show-schema-moco.json | 4 ++-- 4 files changed, 16 insertions(+), 16 deletions(-) (limited to 'products/onap-casablanca/features/msb/src') 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", -- cgit 1.2.3-korg