aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/zip/src/main
diff options
context:
space:
mode:
authorKanagaraj M <mkr1481@gmail.com>2019-08-02 13:50:11 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-08-05 19:46:54 +0530
commit0f9eadcf15651b6b73018200c41865422b7a2860 (patch)
tree8919e92e633b37533e454bc608e5d73f8a5bdff2 /deployment/zip/src/main
parentab20aed26e0cb5d1647b671b96637736c2510825 (diff)
Update open-cli.properties
Issue-ID: CLI-169 Change-Id: I243858b5553ec52e8f4f0bafbcc727d4efaf1219 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'deployment/zip/src/main')
-rw-r--r--deployment/zip/src/main/release/conf/open-cli.properties13
1 files changed, 8 insertions, 5 deletions
diff --git a/deployment/zip/src/main/release/conf/open-cli.properties b/deployment/zip/src/main/release/conf/open-cli.properties
index eca284ad..65d4db7e 100644
--- a/deployment/zip/src/main/release/conf/open-cli.properties
+++ b/deployment/zip/src/main/release/conf/open-cli.properties
@@ -13,10 +13,13 @@
# 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