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/aai/src/main/resources/open-cli-schema/customer | |
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/aai/src/main/resources/open-cli-schema/customer')
4 files changed, 33 insertions, 24 deletions
diff --git a/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-create-schema-1.1.yaml b/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-create-schema-1.1.yaml index 41c1515c..9d3bdf50 100644 --- a/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-create-schema-1.1.yaml +++ b/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-create-schema-1.1.yaml @@ -1,12 +1,11 @@ open_cli_schema_version: 1.0 name: customer-create description: Create a customer in Onap -version: onap-1.1 -service: - name: aai - version: v11 - auth: basic - mode: direct + +info: + product: onap-1.1 + service: aai + author: ONAP CLI Team onap-discuss@lists.onap.org parameters: - name: customer-name @@ -23,6 +22,9 @@ parameters: is_optional: false http: + service: + auth: basic + mode: direct request: uri: /aai/v11/business/customers/customer/${customer-name} method: PUT diff --git a/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema-1.1.yaml b/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema-1.1.yaml index 673cb94a..5f9d0edc 100644 --- a/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema-1.1.yaml +++ b/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema-1.1.yaml @@ -1,12 +1,11 @@ open_cli_schema_version: 1.0 name: customer-delete description: Delete a customer from Onap -version: onap-1.1 -service: - name: aai - version: v11 - auth: basic - mode: direct + +info: + product: onap-1.1 + service: aai + author: ONAP CLI Team onap-discuss@lists.onap.org parameters: - name: customer-name @@ -22,6 +21,9 @@ parameters: long_option: resource-version is_optional: true http: + service: + auth: basic + mode: direct request: uri: /aai/v11/business/customers/customer/${customer-name}?resource-version=${resource-version} method: DELETE diff --git a/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema-1.1.yaml b/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema-1.1.yaml index 1e408f78..3dc1f509 100644 --- a/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema-1.1.yaml +++ b/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-list-schema-1.1.yaml @@ -1,12 +1,12 @@ open_cli_schema_version: 1.0 name: customer-list description: Lists the registetred customers in Onap -version: onap-1.1 -service: - name: aai - version: v11 - auth: basic - mode: direct + +info: + product: onap-1.1 + service: aai + author: ONAP CLI Team onap-discuss@lists.onap.org + results: direction: landscape attributes: @@ -19,6 +19,9 @@ results: scope: short type: string http: + service: + auth: basic + mode: direct request: uri: /aai/v11/business/customers method: GET diff --git a/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-show-schema-1.1.yaml b/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-show-schema-1.1.yaml index f12e235a..8779ce2a 100644 --- a/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-show-schema-1.1.yaml +++ b/plugins/onap-1.1/features/aai/src/main/resources/open-cli-schema/customer/customer-show-schema-1.1.yaml @@ -1,12 +1,11 @@ open_cli_schema_version: 1.0 name: customer-show description: Lists the registetred customers in Onap -version: onap-1.1 -service: - name: aai - version: v11 - auth: basic - mode: direct + +info: + product: onap-1.1 + service: aai + author: ONAP CLI Team onap-discuss@lists.onap.org parameters: - name: customer-name @@ -36,6 +35,9 @@ results: scope: long type: string http: + service: + auth: basic + mode: direct request: uri: /aai/v11/business/customers/customer/${customer-name} method: GET |