Fix: Update Sonar needed parameters
[oam/tr069-adapter.git] / mapper / src / main / java / org / commscope / tr069adapter / mapper / util / MapperConstants.java
index 5d358eb..36cd193 100644 (file)
@@ -1,18 +1,43 @@
-package org.commscope.tr069adapter.mapper.util;\r
-\r
-public class MapperConstants {\r
-  public static final String HEART_BEAT_PERIOD = "heartbeatPeriod";\r
-  public static final String HEART_BEAT = "heartbeat";\r
-  public static final String COUNT_DOWN_TIMER = "countDownTimer";\r
-  public static final String COUNT_DOWN_TIMER_SET_VAL = "0";\r
-  public static final String INVALID_COUNT_DOWN_TIMER_MSG =\r
-      "Only 0 is allowed for countDownTimer value during set operation";\r
-  public static final String INVALID_PARAM_VAL_ERROR_CODE = "9007";\r
-\r
-  public static final int DEVICE_REACHABLE_STATUS_CODE = 100;\r
-  public static final int DEVICE_REACHABILITY_OP_FAILURE_CODE = 101;\r
-  public static final String DEVICE_TIMEOUT_STATUS_CODE = "8006";\r
-  public static final String DEVICE_REACHABLE_MSG = "Device is reachable";\r
-  public static final String DEFAULT_OP_TIMEOUT_MSG = "Operation Timed out";\r
-  public static final String RPC_SUCCESS = "0";\r
-}\r
+/*
+ * ============LICENSE_START========================================================================
+ * ONAP : tr-069-adapter
+ * =================================================================================================
+ * Copyright (C) 2020 CommScope Inc Intellectual Property.
+ * =================================================================================================
+ * This tr-069-adapter software file is distributed by CommScope Inc 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
+ *
+ * This file 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.
+ * ===============LICENSE_END=======================================================================
+ */
+
+package org.commscope.tr069adapter.mapper.util;
+
+public class MapperConstants {
+  public static final String HEART_BEAT_PERIOD = "heartbeatPeriod";
+  public static final String HEART_BEAT = "heartbeat";
+  public static final String COUNT_DOWN_TIMER = "countDownTimer";
+  public static final String COUNT_DOWN_TIMER_SET_VAL = "0";
+  public static final String INVALID_COUNT_DOWN_TIMER_MSG =
+      "Only 0 is allowed for countDownTimer value during set operation";
+  public static final String INVALID_PARAM_VAL_ERROR_CODE = "9007";
+
+  public static final int DEVICE_REACHABLE_STATUS_CODE = 100;
+  public static final int DEVICE_REACHABILITY_OP_FAILURE_CODE = 101;
+  public static final String DEVICE_TIMEOUT_STATUS_CODE = "8006";
+  public static final String DEVICE_REACHABLE_MSG = "Device is reachable";
+  public static final String DEFAULT_OP_TIMEOUT_MSG = "Operation Timed out";
+  public static final String RPC_SUCCESS = "0";
+  public static final String RPC_FAILED = "1";
+
+  public static final int RPC_SUCCESS_CODE = 0;
+  public static final int RPC_FAILED_CODE = 1;
+
+  public static final String ADMIN_STATE = "FAPControl.LTE.AdminState";
+  public static final String ADMIN_STATUS = "FAPControl.LTE.AdminStatus";
+}