2f7999a22b192239eb4d10456c2b736f3ebc5682
[cli.git] / profiles / http / src / main / resources / open-cli-schema / http / default_input_parameters_http.yaml
1 # Copyright 2018 Huawei Technologies Co., Ltd.
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
17 parameters:
18   - name: host-username
19     type: string
20     description: Host user name
21     short_option: u
22     long_option: host-username
23     default_value: $s{env:OPEN_CLI_HOST_USERNAME}
24     is_optional: false
25     is_default_param: true
26   - name: host-password
27     type: string
28     description: Host user password
29     short_option: p
30     long_option: host-password
31     default_value: $s{env:OPEN_CLI_HOST_PASSWORD}
32     is_secured: true
33     is_optional: false
34     is_default_param: true
35   - name: host-url
36     type: url
37     description: host url in http(s)
38     short_option: m
39     long_option: host-url
40     is_optional: false
41     default_value: $s{env:OPEN_CLI_HOST_URL}
42     is_default_param: true
43   - name: no-auth
44     type: bool
45     description: whether to authenticate user or not
46     short_option: a
47     long_option: no-auth
48     default_value: false
49     is_default_param: true
50   - name: no-catalog
51     type: bool
52     description: whether to use given host-url directly without looking into catalog, it will override the service->mode.
53     short_option: C
54     long_option: no-catalog
55     is_optional: true
56     is_default_param: true
57     default_value: false
58   - name: verify
59     type: bool
60     description: verify the command using available command sample file and mocking file. By default it goes with mock style. To enable the verification in real time, set DISABLE_MOCKING=true in the context param.
61     default_value: false
62     is_include: true
63     is_optional: true