df260502ca617abcfac0191d83c18cddc040c633
[cli.git] / framework / src / test / resources / onap-test-schema.yaml
1 onap_cmd_schema_version: 1.0
2 name: sample-test
3 description: Onap sample command to test the command features
4 service:
5   name: sample
6   version: v1
7   no-auth: true
8 parameters:
9   - name: bool-param
10     type: bool
11     description: Onap boolean param, by default its always false.
12     short_option: b
13     long_option: bool
14     is_optional: true
15     default_value: false
16   - name: secure-param
17     type: string
18     description: Onap secure param such as password
19     short_option: x
20     long_option: secure
21     is_secured: true
22     is_optional: false
23     default_Value: pass123#
24   - name: string-param
25     type: string
26     description: Onap string param
27     long_option: string-param
28     short_option: c
29     is_optional: false
30     default_Value: test
31   - name: yaml-param
32     type: json
33     description: Onap yaml file location param
34     long_option: yaml-param
35     short_option: y
36     is_optional: false
37   - name: json-param
38     type: json
39     description: Onap json file location param
40     long_option: json-param
41     short_option: j
42     is_optional: false
43   - name: long-param
44     type: long
45     description: Onap long param
46     short_option: l
47     long_option: long-opt
48     is_optional: false
49     default_value: 10
50   - name: url-param
51     type: url
52     description: Onap url param
53     short_option: r
54     long_option: url
55     is_optional: false
56     default_value: http://localhost:8082/file.txt
57   - name: env-param
58     type: string
59     description: Onap env param.
60     short_option: z
61     long_option: env
62     is_optional: false
63     default_value: ${ENV_VAR}
64   - name: positional-args
65     type: string
66     description: Onap positional args, if no short option and no long option given for it
67     is_optional: false
68     default_value: http://localhost:8082/file.txt
69 results:
70   direction: portrait
71   attributes:
72     - name: output-1
73       description: Onap output attribute marked in short
74       scope: short
75       type: string
76       is_secured: true
77     - name: output-2
78       description: Onap output attribute marked in long
79       scope: short
80       is_secured: false
81       type: string