aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/msb/src
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-14 20:42:01 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-09-14 20:58:48 +0530
commit72b4cdffcd021828e2b4ac00b59496b0b3bc7a26 (patch)
tree70bf182bd329ea91474e18b1471453112865f931 /plugins/msb/src
parentdd075504299c817ea899f32af2b558860da7c6fe (diff)
Migrate type long into digit
CLI-3 Change-Id: I5706963146d9575a9094aa7c24b85e1a0d8e7f80 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/msb/src')
-rw-r--r--plugins/msb/src/main/resources/onap-cli-schema/microservice-create-schema.yaml3
-rw-r--r--plugins/msb/src/main/resources/onap-cli-schema/microservice-list-schema.yaml2
-rw-r--r--plugins/msb/src/main/resources/onap-cli-schema/microservice-show-schema.yaml2
-rw-r--r--plugins/msb/src/test/resources/service-list-schema.yaml2
4 files changed, 4 insertions, 5 deletions
diff --git a/plugins/msb/src/main/resources/onap-cli-schema/microservice-create-schema.yaml b/plugins/msb/src/main/resources/onap-cli-schema/microservice-create-schema.yaml
index 1d0053fc..dd3aead1 100644
--- a/plugins/msb/src/main/resources/onap-cli-schema/microservice-create-schema.yaml
+++ b/plugins/msb/src/main/resources/onap-cli-schema/microservice-create-schema.yaml
@@ -53,7 +53,7 @@ results:
- name: status
description: Onap service status
scope: short
- type: long
+ type: digit
- name: nodes
description: Onap service running nodes
scope: long
@@ -83,4 +83,3 @@ http:
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/plugins/msb/src/main/resources/onap-cli-schema/microservice-list-schema.yaml b/plugins/msb/src/main/resources/onap-cli-schema/microservice-list-schema.yaml
index 981d6190..b9bc3065 100644
--- a/plugins/msb/src/main/resources/onap-cli-schema/microservice-list-schema.yaml
+++ b/plugins/msb/src/main/resources/onap-cli-schema/microservice-list-schema.yaml
@@ -24,7 +24,7 @@ results:
- name: status
description: Onap service status
scope: short
- type: long
+ type: digit
- name: nodes
description: Onap service running nodes
scope: long
diff --git a/plugins/msb/src/main/resources/onap-cli-schema/microservice-show-schema.yaml b/plugins/msb/src/main/resources/onap-cli-schema/microservice-show-schema.yaml
index 919af2d7..437e5672 100644
--- a/plugins/msb/src/main/resources/onap-cli-schema/microservice-show-schema.yaml
+++ b/plugins/msb/src/main/resources/onap-cli-schema/microservice-show-schema.yaml
@@ -37,7 +37,7 @@ results:
- name: status
description: Onap service status
scope: short
- type: long
+ type: digit
- name: nodes
description: Onap service running nodes
scope: long
diff --git a/plugins/msb/src/test/resources/service-list-schema.yaml b/plugins/msb/src/test/resources/service-list-schema.yaml
index 3c97d30b..d6ec32fa 100644
--- a/plugins/msb/src/test/resources/service-list-schema.yaml
+++ b/plugins/msb/src/test/resources/service-list-schema.yaml
@@ -23,7 +23,7 @@ results:
- name: status
description: Onap service status
scope: short
- type: long
+ type: digit
- name: nodes
description: Onap service running nodes
scope: long