Initial source code
[oam/tr069-adapter.git] / ves-agent / src / main / resources / application.properties
diff --git a/ves-agent/src/main/resources/application.properties b/ves-agent/src/main/resources/application.properties
new file mode 100644 (file)
index 0000000..b4827c2
--- /dev/null
@@ -0,0 +1,43 @@
+# ============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\r
+# under the Apache License, Version 2.0 (the "License");\r
+# you may not use this file except in compliance with the License.\r
+# You 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,\r
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+# See the License for the specific language governing permissions and\r
+# limitations under the License.\r
+# ===============LICENSE_END=======================================================================\r
+\r
+# Spring boot application properties\r
+spring.application.name=${CONFIG_MAP_NAME}\r
+spring.cloud.kubernetes.config.namespace=${CONFIG_NAME_SPACE}\r
+spring.cloud.kubernetes.reload.enabled=true\r
+management.endpoint.restart.enabled=true\r
+spring.cloud.kubernetes.reload.strategy=refresh\r
+management.endpoint.refresh.enabled=true\r
+spring.cloud.kubernetes.reload.mode=polling\r
+spring.cloud.kubernetes.reload.period=${CONFIG_RELOAD_TIME}\r
+#spring.cloud.kubernetes.reload.monitoring-config-maps=true\r
+server.port=${VES_REST_PORT}\r
+config.vendorName=${vendorName}\r
+config.vesVersion=7.0.1\r
+config.eventVersion=4.0.1\r
+config.pnfRegEventType=${pnfRegEventType}\r
+config.faultEventType=${faultEventType}\r
+config.faultFeildVersion=4.0\r
+config.pnfFeildVersion=2.0\r
+config.faultvesCollectorHost=${faultvesCollectorHost}\r
+config.faultvesCollectorPort=${faultvesCollectorPort}\r
+config.pnfregvesCollectorHost=${pnfregvesCollectorHost}\r
+config.pnfregvesCollectorPort=${pnfregvesCollectorPort}\r
+config.unitFamily=${unitFamily}\r
+config.unitType=${unitType}\r
+config.faultEventSourcePrefix=${faultEventSourcePrefix}
\ No newline at end of file