709e735875fcaad9a2eff76b970719085bdf748d
[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: onap-amsterdam
7   service: aai
8   author: ONAP CLI Team onap-discuss@lists.onap.org
9
10 parameters:
11   - name: customer-name
12     description: Onap customer name
13     type: string
14     short_option: x
15     long_option: customer-name
16     is_optional: false
17   - name: subscriber-name
18     description: Onap subscriber name
19     type: string
20     short_option: y
21     long_option: subscriber-name
22     is_optional: false
23
24 http:
25   service:
26     auth: basic
27     mode: direct
28   request:
29     uri: /aai/v11/business/customers/customer/${customer-name}
30     method: PUT
31     body: '{"global-customer-id": "${customer-name}", "subscriber-name": "${subscriber-name}", "subscriber-type": "INFRA"}'
32   success_codes:
33     - 201
34   sample_response:
35     body: ''