Initial source code
[oam/tr069-adapter.git] / mapper / src / main / java / org / commscope / tr069adapter / mapper / MapperConfigProperties.java
diff --git a/mapper/src/main/java/org/commscope/tr069adapter/mapper/MapperConfigProperties.java b/mapper/src/main/java/org/commscope/tr069adapter/mapper/MapperConfigProperties.java
new file mode 100644 (file)
index 0000000..c3f3a0a
--- /dev/null
@@ -0,0 +1,124 @@
+/*\r
+ * ============LICENSE_START========================================================================\r
+ * ONAP : tr-069-adapter\r
+ * =================================================================================================\r
+ * Copyright (C) 2020 CommScope Inc Intellectual Property.\r
+ * =================================================================================================\r
+ * This tr-069-adapter software file is distributed by CommScope Inc under the Apache License,\r
+ * Version 2.0 (the "License"); you may not use this file except in compliance with the License. You\r
+ * may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,\r
+ * either express or implied. See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ * ===============LICENSE_END=======================================================================\r
+ */\r
+\r
+package org.commscope.tr069adapter.mapper;\r
+\r
+import org.springframework.boot.context.properties.ConfigurationProperties;\r
+import org.springframework.context.annotation.Configuration;\r
+\r
+@Configuration\r
+@ConfigurationProperties(prefix = "config")\r
+public class MapperConfigProperties {\r
+\r
+  private String requesTimeout;\r
+\r
+  private String preConfigureOnPNP;\r
+\r
+  private String sbiUri;\r
+\r
+  private String configDBUri;\r
+\r
+  private String nbiNotificationUri;\r
+  private String nbiServerManagerUri;\r
+  private String vesUri;\r
+\r
+  private String netConfServerIP;\r
+  private String netConfServerPort;\r
+\r
+  private String alarmMORegex;\r
+\r
+  public String getRequesTimeout() {\r
+    return requesTimeout;\r
+  }\r
+\r
+  public void setRequesTimeout(String requesTimeout) {\r
+    this.requesTimeout = requesTimeout;\r
+  }\r
+\r
+  public String getPreConfigureOnPNP() {\r
+    return preConfigureOnPNP;\r
+  }\r
+\r
+  public void setPreConfigureOnPNP(String preConfigureOnPNP) {\r
+    this.preConfigureOnPNP = preConfigureOnPNP;\r
+  }\r
+\r
+  public String getSbiUri() {\r
+    return sbiUri;\r
+  }\r
+\r
+  public void setSbiUri(String sbiUri) {\r
+    this.sbiUri = sbiUri;\r
+  }\r
+\r
+  public String getConfigDBUri() {\r
+    return configDBUri;\r
+  }\r
+\r
+  public void setConfigDBUri(String configDBUri) {\r
+    this.configDBUri = configDBUri;\r
+  }\r
+\r
+  public String getNbiNotificationUri() {\r
+    return nbiNotificationUri;\r
+  }\r
+\r
+  public void setNbiNotificationUri(String nbiNotificationUri) {\r
+    this.nbiNotificationUri = nbiNotificationUri;\r
+  }\r
+\r
+  public String getNbiServerManagerUri() {\r
+    return nbiServerManagerUri;\r
+  }\r
+\r
+  public void setNbiServerManagerUri(String nbiServerManagerUri) {\r
+    this.nbiServerManagerUri = nbiServerManagerUri;\r
+  }\r
+\r
+  public String getVesUri() {\r
+    return vesUri;\r
+  }\r
+\r
+  public void setVesUri(String vesUri) {\r
+    this.vesUri = vesUri;\r
+  }\r
+\r
+  public String getNetConfServerIP() {\r
+    return netConfServerIP;\r
+  }\r
+\r
+  public void setNetConfServerIP(String netConfServerIP) {\r
+    this.netConfServerIP = netConfServerIP;\r
+  }\r
+\r
+  public String getNetConfServerPort() {\r
+    return netConfServerPort;\r
+  }\r
+\r
+  public void setNetConfServerPort(String netConfServerPort) {\r
+    this.netConfServerPort = netConfServerPort;\r
+  }\r
+\r
+  public String getAlarmMORegex() {\r
+    return alarmMORegex;\r
+  }\r
+\r
+  public void setAlarmMORegex(String alarmMORegex) {\r
+    this.alarmMORegex = alarmMORegex;\r
+  }\r
+}\r