Merge "catalog module for onap-dublin cli product"
[cli.git] / products / onap-dublin / features / aai / src / main / resources / open-cli-schema / business / customer / customer-list-schema-dublin.yaml
1 # Copyright © Intel Corporation 2019
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 open_cli_schema_version: 1.0
16 name: customer-list
17 description: Lists the registered customers in Onap
18
19 info:
20   product: onap-dublin
21   service: aai
22   author: ONAP CLI Team onap-discuss@lists.onap.org
23
24 results:
25   direction: landscape
26   attributes:
27     - name: name
28       description: Onap customer name
29       scope: short
30       type: string
31     - name: resource-version
32       description: Onap customer resource version
33       scope: short
34       type: string
35 http:
36   service:
37     auth: basic
38     mode: direct
39   request:
40     uri: /aai/v13/business/customers
41     method: GET
42   success_codes:
43     - 200
44     - 404
45   result_map:
46     name: $b{customer.[*].global-customer-id}
47     resource-version: $b{customer.[*].resource-version}