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