Merge changes I49475957,Ic4104a40,I310bded6
[cli.git] / deployment / zip / src / main / release / conf / open-cli.properties
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 cli.product_name=open-cli
16 cli.version=3.0.0
17 cli.discover_always=false
18 cli.data.dir=$s{env:OPEN_CLI_HOME}/data
19 cli.artifact.dir=$s{env:OPEN_CLI_HOME}/data/artifacts
20 cli.tmp.dir=$s{env:OPEN_CLI_HOME}/data/tmp
21 #timeout in seconds
22 cli.grpc.client.timeout=60
23 cli.execution.search.mode=file
24
25 #schema validation
26 cli.schema.base.sections=open_cli_schema_version,name,description,parameters,results,info
27 cli.schema.base.sections.mandatory=open_cli_schema_version
28
29 cli.schema.base.info.sections=product,service,type,author,ignore,state
30 cli.schema.base.info.sections.mandatory=product,service
31
32 cli.schema.base.parameters.sections=name,description,type,short_option,long_option, is_optional,default_value,is_secured,is_include,is_default_param
33 cli.schema.base.parameters.sections.mandatory=name,description,type
34
35 cli.schema.base.results.sections=name,description,scope,type,is_secured, default_value
36 cli.schema.base.results.sections.mandatory=name, description, type, scope
37
38 cli.schema.boolean_values=true,false
39 cli.schema.command.type=cmd,auth,catalog
40
41 # moco properties
42 cli.sample.gen.enable=true
43 cli.sample.gen.name=$s{env:OPEN_CLI_USECASE}
44 cli.sample.gen.target=$s{env:OPEN_CLI_HOME}/open-cli-sample
45
46 # mrkanag Move this to db, once exteranl command registration is supported in place of discovery
47 cli.schema.profile.available=http,snmp,cmd,robot
48
49 #other properties to load (it should be hanled when plugins are made as externally register-able
50 #when command plugin management support is enabled in oclip
51 cli.schema.profile.confs=open-cli-http.properties,open-cli-snmp.properties,open-cli-cmd.properties