Add command profile configuration 47/60247/1
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Mon, 13 Aug 2018 08:59:48 +0000 (14:29 +0530)
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Mon, 13 Aug 2018 09:39:53 +0000 (15:09 +0530)
Issue-ID: VNFSDK-300 CLI-123

Change-Id: I41e3b1de4373966f86382ff4ffd9db367cd444ec
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
profiles/command/src/main/java/org/onap/cli/fw/cmd/conf/OnapCommandCmdConstants.java [new file with mode: 0644]

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 (file)
index 0000000..fcd182a
--- /dev/null
@@ -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 !
+    }
+}
+
+