diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-04 18:26:10 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-11-20 12:24:16 +0530 |
commit | 325ea8e8f7bc4df7b07fd107cc9b3bd315d8e7f1 (patch) | |
tree | 70d829802692d52f2bd8aa8f9091e00e313893c4 /plugins/onap-1.1/features/msb | |
parent | 864eafac295bb9cc4c0b4315aa7c262eb214ccc6 (diff) |
Migrate plugins to use info section
Issue-Id: CLI-66
Change-Id: I06a2b76ac426bfcfe3b5fcf5e3b828d18c0e9a68
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/onap-1.1/features/msb')
4 files changed, 35 insertions, 20 deletions
diff --git a/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml b/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml index 79afd2c7..560fde38 100644 --- a/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml +++ b/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml @@ -1,11 +1,11 @@ open_cli_schema_version: 1.0 name: microservice-create description: Register microservice into Onap -version: onap-1.1 -service: - name: msb - version: v1 - auth: none + +info: + product: onap-1.1 + service: msb + author: ONAP CLI Team onap-discuss@lists.onap.org parameters: - name: service-name @@ -81,6 +81,9 @@ results: scope: long type: string http: + service: + auth: none + mode: direct request: uri: /services method: POST diff --git a/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-delete-schema.yaml b/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-delete-schema.yaml index 82eabf95..28fe2094 100644 --- a/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-delete-schema.yaml +++ b/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-delete-schema.yaml @@ -1,11 +1,11 @@ open_cli_schema_version: 1.0 name: microservice-delete description: Deletes the micro service from Onap -version: onap-1.1 -service: - name: msb - version: v1 - auth: none + +info: + product: onap-1.1 + service: msb + author: ONAP CLI Team onap-discuss@lists.onap.org parameters: - name: service-name @@ -33,6 +33,9 @@ parameters: long_option: node-port is_optional: false http: + service: + auth: none + mode: direct request: uri: /services/${service-name}/version/${service-version}/nodes/${node-ip}/${node-port} method: DELETE diff --git a/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-list-schema.yaml b/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-list-schema.yaml index 52014c9b..e355e2cc 100644 --- a/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-list-schema.yaml +++ b/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-list-schema.yaml @@ -1,11 +1,13 @@ open_cli_schema_version: 1.0 name: microservice-list description: Lists the registetred micro services in Onap -version: onap-1.1 -service: - name: msb - version: v1 - auth: none + + +info: + product: onap-1.1 + service: msb + author: ONAP CLI Team onap-discuss@lists.onap.org + results: direction: landscape attributes: @@ -38,6 +40,9 @@ results: scope: long type: string http: + service: + auth: none + mode: direct request: uri: /services method: GET diff --git a/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-show-schema.yaml b/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-show-schema.yaml index a9e1cced..d3d1d08a 100644 --- a/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-show-schema.yaml +++ b/plugins/onap-1.1/features/msb/src/main/resources/open-cli-schema/microservice-show-schema.yaml @@ -1,11 +1,12 @@ open_cli_schema_version: 1.0 name: microservice-show description: Details the registered microservice in Onap -version: onap-1.1 -service: - name: msb - version: v1 - auth: none + +info: + product: onap-1.1 + service: msb + author: ONAP CLI Team onap-discuss@lists.onap.org + parameters: - name: service-name description: Onap service name @@ -51,6 +52,9 @@ results: scope: long type: string http: + service: + auth: none + mode: direct request: uri: /services/${service-name}/version/${service-version} method: GET |