aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-08-13 14:29:48 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-08-13 15:09:53 +0530
commitf2e5ce82e0b855b3f14c6192232a97a5c266aa99 (patch)
tree1a0c2909e6355eba06d6fddbb5ce21ce00f9bca9
parent4390219da3662195edd44c8cc0003003fc13c864 (diff)
Add command profile configuration
Issue-ID: VNFSDK-300 CLI-123 Change-Id: I41e3b1de4373966f86382ff4ffd9db367cd444ec Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--profiles/command/src/main/java/org/onap/cli/fw/cmd/conf/OnapCommandCmdConstants.java42
1 files changed, 42 insertions, 0 deletions
diff --git a/profiles/command/src/main/java/org/onap/cli/fw/cmd/conf/OnapCommandCmdConstants.java b/profiles/command/src/main/java/org/onap/cli/fw/cmd/conf/OnapCommandCmdConstants.java
new file mode 100644
index 00000000..fcd182ab
--- /dev/null
+++ b/profiles/command/src/main/java/org/onap/cli/fw/cmd/conf/OnapCommandCmdConstants.java
@@ -0,0 +1,42 @@
+/*
+ * Copyright 2018 Huawei Technologies Co., Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.onap.cli.fw.cmd.conf;
+
+/**
+ * OnapCommandCmdConstants.
+ *
+ */
+public class OnapCommandCmdConstants {
+ public static final String CONF = "open-cli-cmd.properties";
+
+ //cmd
+ public static final String CMD = "cmd";
+ public static final String COMMAND = "command";
+ public static final String ENVIRONMENT = "environment";
+ public static final String WD = "working_directory";
+ public static final String SUCCESS_EXIT_CODE = "success_code";
+
+ public static final String CMD_MANDATORY_SECTIONS = "cli.schema.cmd.sections.mandatory";
+ public static final String CMD_SECTIONS = "cli.schema.cmd.sections";
+
+ public static final String DEFAULT_PARAMETER_CMD_FILE_NAME = "default_input_parameters_cmd.yaml";
+ private OnapCommandCmdConstants() {
+ //as per coding standard !
+ }
+}
+
+