From 3a62a31feeb5e4e250e4bfc828d2a2336690d1cd Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Thu, 30 Aug 2018 19:19:11 +0530 Subject: Fix to remove invalid entries in msb OCS Issue-ID: CLI-122 Change-Id: I03cc319b7fb3ad8e01a2e6a15028989c83a3eb60 Signed-off-by: Kanagaraj Manickam k00365106 --- .../main/resources/open-cli-schema/microservice-create-schema.yaml | 3 --- .../main/resources/open-cli-schema/microservice-list-schema.yaml | 6 ------ .../main/resources/open-cli-schema/microservice-show-schema.yaml | 6 ------ 3 files changed, 15 deletions(-) diff --git a/products/onap-casablanca/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml b/products/onap-casablanca/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml index 9b897287..7e0cc8e6 100644 --- a/products/onap-casablanca/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml +++ b/products/onap-casablanca/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml @@ -116,6 +116,3 @@ http: enable-ssl: $b{$.enable_ssl} path: $b{$.path} nodes: $b{$.nodes[*].ip}:$b{$.nodes[*].port} - - sample_response: - body: '{"serviceName":"test","version":"v1","url":"/api/test/v1","protocol":"REST","visualRange":"1","lb_policy":"hash","nodes":[{"ip":"127.0.0.1","port":"8012","ttl":0,"nodeId":"test_127.0.0.1_8012","expiration":"2017-02-10T05:33:25Z","created_at":"2017-02-10T05:33:25Z","updated_at":"2017-02-10T05:33:25Z"}],"status":"1"}' diff --git a/products/onap-casablanca/features/msb/src/main/resources/open-cli-schema/microservice-list-schema.yaml b/products/onap-casablanca/features/msb/src/main/resources/open-cli-schema/microservice-list-schema.yaml index 56e5512b..bd63ff58 100644 --- a/products/onap-casablanca/features/msb/src/main/resources/open-cli-schema/microservice-list-schema.yaml +++ b/products/onap-casablanca/features/msb/src/main/resources/open-cli-schema/microservice-list-schema.yaml @@ -71,9 +71,3 @@ http: enable-ssl: $b{$.[*].enable_ssl} path: $b{$.[*].path} nodes: $b{$.[*].nodes[*].ip}:$b{$.[*].nodes[*].port} - sample_response: - body: '[{"serviceName":"test","version":"v1","url":"/api/test/v1","protocol":"REST","visualRange":"1","lb_policy":"hash","nodes":[{"ip":"127.0.0.1","port":"8012","ttl":0,"nodeId":"test_127.0.0.1_8012","expiration":"2017-02-10T05:33:25Z","created_at":"2017-02-10T05:33:25Z","updated_at":"2017-02-10T05:33:25Z"}],"status":"1"}]' - - - - diff --git a/products/onap-casablanca/features/msb/src/main/resources/open-cli-schema/microservice-show-schema.yaml b/products/onap-casablanca/features/msb/src/main/resources/open-cli-schema/microservice-show-schema.yaml index 4bb1bf98..58b7ded6 100644 --- a/products/onap-casablanca/features/msb/src/main/resources/open-cli-schema/microservice-show-schema.yaml +++ b/products/onap-casablanca/features/msb/src/main/resources/open-cli-schema/microservice-show-schema.yaml @@ -83,9 +83,3 @@ http: enable-ssl: $b{$.enable_ssl} path: $b{$.path} nodes: $b{$.nodes[*].ip}:$b{$.nodes[*].port} - sample_response: - body: '{"serviceName":"test","version":"v1","url":"/api/test/v1","protocol":"REST","visualRange":"1","lb_policy":"hash","nodes":[{"ip":"127.0.0.1","port":"8012","ttl":0,"nodeId":"test_127.0.0.1_8012","expiration":"2017-02-10T05:33:25Z","created_at":"2017-02-10T05:33:25Z","updated_at":"2017-02-10T05:33:25Z"}],"status":"1"}' - - - - -- cgit 1.2.3-korg