Update open-cli.properties 44/92544/2
authorKanagaraj M <mkr1481@gmail.com>
Fri, 2 Aug 2019 08:20:11 +0000 (13:50 +0530)
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Mon, 5 Aug 2019 14:16:54 +0000 (19:46 +0530)
Issue-ID: CLI-169

Change-Id: I243858b5553ec52e8f4f0bafbcc727d4efaf1219
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
deployment/zip/src/main/release/conf/open-cli.properties
framework/src/main/resources/open-cli.properties

index eca284a..65d4db7 100644 (file)
 # limitations under the License.
 
 cli.product_name=open-cli
-cli.version=2.0.5
+cli.version=3.0.0
 cli.discover_always=false
-cli.data.dir=/opt/oclip/data
-cli.artifact.dir=/opt/oclip/artifacts
+cli.data.dir=$s{env:OPEN_CLI_HOME}/data
+cli.artifact.dir=$s{env:OPEN_CLI_HOME}/data/artifacts
+cli.tmp.dir=$s{env:OPEN_CLI_HOME}/data/tmp
+#timeout in seconds
+cli.grpc.client.timeout=60
 
 #schema validation
 cli.schema.base.sections=open_cli_schema_version,name,description,parameters,results,info
@@ -31,12 +34,12 @@ cli.schema.base.parameters.sections.mandatory=name,description,type
 cli.schema.base.results.sections=name,description,scope,type,is_secured, default_value
 cli.schema.base.results.sections.mandatory=name, description, type, scope
 
-cli.schema.boolean_values=true,false
+cli.schema.boolean_values=true
 cli.schema.command.type=cmd,auth,catalog
 
 # moco properties
 cli.sample.gen.enable=false
-cli.sample.gen.target=.
+cli.sample.gen.target=$s{env:OPEN_CLI_HOME}/open-cli-sample
 
 # mrkanag Move this to db, once exteranl command registration is supported in place of discovery
 cli.schema.profile.available=http,snmp,cmd
index e0ca44a..259fd22 100644 (file)
 # limitations under the License.
 
 cli.product_name=open-cli
-cli.version=2.0.5
+cli.version=3.0.0
 cli.discover_always=false
-cli.data.dir=data
-cli.artifact.dir=d:/temp/OCLIP
+cli.data.dir=./data
+cli.artifact.dir=./data/artifacts
+cli.tmp.dir=./data/tmp
+#timeout in seconds
+cli.grpc.client.timeout=60
 
 #schema validation
 cli.schema.base.sections=open_cli_schema_version,name,description,parameters,results,info
@@ -36,10 +39,10 @@ cli.schema.command.type=cmd,auth,catalog
 
 # moco properties
 cli.sample.gen.enable=false
-cli.sample.gen.target=.
+cli.sample.gen.target=./open-cli-sample
 
 # mrkanag Move this to db, once exteranl command registration is supported in place of discovery
-cli.schema.profile.available=
+cli.schema.profile.available=http,snmp,cmd
 
 #other properties to load (it should be hanled when plugins are made as externally register-able
 #when command plugin management support is enabled in oclip