aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/microservice-create-schema-moco.json
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/microservice-create-schema-moco.json')
-rw-r--r--plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/microservice-create-schema-moco.json55
1 files changed, 55 insertions, 0 deletions
diff --git a/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/microservice-create-schema-moco.json b/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/microservice-create-schema-moco.json
new file mode 100644
index 00000000..d2b703d0
--- /dev/null
+++ b/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/microservice-create-schema-moco.json
@@ -0,0 +1,55 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/api/microservices/v1/services",
+ "headers" : {
+ "Accept" : "application/json",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "serviceName" : "test",
+ "version" : "v1",
+ "path" : "/test",
+ "url" : "/test",
+ "protocol" : "REST",
+ "enable_ssl" : "",
+ "visualRange" : "1",
+ "lb_policy" : "ip_hash",
+ "nodes" : [ {
+ "ip" : "10.0.0.1",
+ "port" : "8080",
+ "ttl" : 0
+ } ]
+ }
+ },
+ "response" : {
+ "status" : 201,
+ "json" : {
+ "serviceName" : "test",
+ "version" : "v1",
+ "url" : "/test",
+ "protocol" : "REST",
+ "visualRange" : "1",
+ "lb_policy" : "ip_hash",
+ "publish_port" : "",
+ "namespace" : "",
+ "network_plane_type" : "",
+ "host" : "",
+ "path" : "/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