summaryrefslogtreecommitdiffstats
path: root/deployment/zip/src/main
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2019-02-28 10:02:37 +0000
committerGerrit Code Review <gerrit@onap.org>2019-02-28 10:02:37 +0000
commitadfc77d913cb8e54750d8fe167fde2bb4ffc57ef (patch)
tree91d238a78898420633991803b66db792b7d1a254 /deployment/zip/src/main
parentc5bd732f37c9b8b06c802cfe38dcf9ec64228341 (diff)
parent73747e103b5ce41abe253af5d9b55994375eaa86 (diff)
Merge changes I60285973,I612ecfe2
* changes: CVC: Add support for execution, schema, product CMD: Enhace command profile with additional macros
Diffstat (limited to 'deployment/zip/src/main')
-rw-r--r--deployment/zip/src/main/release/conf/log4j.properties11
-rw-r--r--deployment/zip/src/main/release/conf/open-cli.properties11
2 files changed, 15 insertions, 7 deletions
diff --git a/deployment/zip/src/main/release/conf/log4j.properties b/deployment/zip/src/main/release/conf/log4j.properties
index 659f4a23..d535098e 100644
--- a/deployment/zip/src/main/release/conf/log4j.properties
+++ b/deployment/zip/src/main/release/conf/log4j.properties
@@ -12,11 +12,18 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-log4j.rootLogger=INFO, file
+log4j.rootLogger=ERROR, file
+log4j.logger.org.onap.cli=ERROR, file
+log4j.logger.org.open.infc.grpc.server=INFO, file, stdout
+# Direct log messages to stdout
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.Target=System.out
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
# Redirect log messages to a log file, support file rolling.
log4j.appender.file=org.apache.log4j.RollingFileAppender
-log4j.appender.file.File=${OPEN_CLI_HOME}/logs/oclip.log
+log4j.appender.file.File=${OPEN_CLI_HOME}/logs/open-cli.log
log4j.appender.file.MaxFileSize=5MB
log4j.appender.file.MaxBackupIndex=10
log4j.appender.file.layout=org.apache.log4j.PatternLayout
diff --git a/deployment/zip/src/main/release/conf/open-cli.properties b/deployment/zip/src/main/release/conf/open-cli.properties
index 113963b9..eca284ad 100644
--- a/deployment/zip/src/main/release/conf/open-cli.properties
+++ b/deployment/zip/src/main/release/conf/open-cli.properties
@@ -13,18 +13,19 @@
# limitations under the License.
cli.product_name=open-cli
-cli.version=2.0.0
-
+cli.version=2.0.5
cli.discover_always=false
+cli.data.dir=/opt/oclip/data
+cli.artifact.dir=/opt/oclip/artifacts
#schema validation
-cli.schema.base.sections=open_cli_schema_version,name,description,parameters,results,http,info
+cli.schema.base.sections=open_cli_schema_version,name,description,parameters,results,info
cli.schema.base.sections.mandatory=open_cli_schema_version
-cli.schema.base.info.sections=product,service,type,author,ignore
+cli.schema.base.info.sections=product,service,type,author,ignore,state
cli.schema.base.info.sections.mandatory=product,service
-cli.schema.base.parameters.sections=name,description,type,short_option,long_option, is_optional,default_value,is_secured,is_include
+cli.schema.base.parameters.sections=name,description,type,short_option,long_option, is_optional,default_value,is_secured,is_include,is_default_param
cli.schema.base.parameters.sections.mandatory=name,description,type
cli.schema.base.results.sections=name,description,scope,type,is_secured, default_value