8ca23903e1bd37fe1ef33b4f5b1ed69d946944f7
[cli.git] /
1 open_cli_schema_version: 1.0
2 name: customer-create
3 description: Create a customer in Onap
4
5 info:
6   product: openecomp
7   service: aai
8   author: ONAP CLI Team onap-discuss@lists.onap.org
9
10
11 parameters:
12   - name: customer-name
13     description: Onap customer name
14     type: string
15     short_option: x
16     long_option: customer-name
17     is_optional: false
18   - name: subscriber-name
19     description: Onap subscriber name
20     type: string
21     short_option: y
22     long_option: subscriber-name
23     is_optional: false
24
25 http:
26   service:
27     auth: basic
28     mode: direct
29   request:
30     uri: /aai/v8/business/customers/customer/${customer-name}
31     method: PUT
32     body: '{"global-customer-id": "${customer-name}", "subscriber-name": "${subscriber-name}", "subscriber-type": "INFRA"}'
33   success_codes:
34     - 201
35   sample_response:
36     body: ''