aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/msb/src/test/resources/onap-cli-sample/microservice-show-schema-moco.json
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-27 11:00:17 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-27 11:17:02 +0530
commit2b748469cee89d3a8e1e4ec6f5c2733892f30da5 (patch)
treeb5740e0f707fb77f16dc9adbacf1bcf92d482c1d /plugins/msb/src/test/resources/onap-cli-sample/microservice-show-schema-moco.json
parentc313fc67228e624350e918f47b1e6f847160fffd (diff)
Add sample for microservice-show
CLI-57 Change-Id: I2e06f53a9d5aab1df05787c693a9d7df365b912c Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/msb/src/test/resources/onap-cli-sample/microservice-show-schema-moco.json')
-rw-r--r--plugins/msb/src/test/resources/onap-cli-sample/microservice-show-schema-moco.json41
1 files changed, 41 insertions, 0 deletions
diff --git a/plugins/msb/src/test/resources/onap-cli-sample/microservice-show-schema-moco.json b/plugins/msb/src/test/resources/onap-cli-sample/microservice-show-schema-moco.json
new file mode 100644
index 00000000..7d0863f7
--- /dev/null
+++ b/plugins/msb/src/test/resources/onap-cli-sample/microservice-show-schema-moco.json
@@ -0,0 +1,41 @@
+[ {
+ "request" : {
+ "method" : "get",
+ "uri" : "/api/microservices/v1/services/test/version/v1",
+ "headers" : {
+ "Accept" : "application/json",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "serviceName" : "test",
+ "version" : "v1",
+ "url" : "/C:/Git/test",
+ "protocol" : "REST",
+ "visualRange" : "1",
+ "lb_policy" : "ip_hash",
+ "publish_port" : "",
+ "namespace" : "",
+ "network_plane_type" : "",
+ "host" : "",
+ "path" : "/C:/Git/test",
+ "enable_ssl" : false,
+ "nodes" : [ {
+ "ip" : "10.0.0.1",
+ "port" : "8080",
+ "checkType" : "",
+ "checkUrl" : "",
+ "ha_role" : "",
+ "nodeId" : "_test_10.0.0.1_8080",
+ "status" : "passing"
+ } ],
+ "metadata" : [ ],
+ "labels" : [ ],
+ "status" : "1",
+ "is_manual" : false
+ }
+ }
+} ] \ No newline at end of file