Initial source code
[oam/tr069-adapter.git] / acs / application-booter / src / main / resources / application.properties
diff --git a/acs/application-booter/src/main/resources/application.properties b/acs/application-booter/src/main/resources/application.properties
new file mode 100644 (file)
index 0000000..a834eec
--- /dev/null
@@ -0,0 +1,53 @@
+# ============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
+## Tomcat REST service ports\r
+server.port=${ACS_REST_PORT}\r
+server.additional.http.port=${ACS_ADDITIONAL_REST_PORT}\r
+\r
+## SSL/TLS configuration propetris\r
+server.ssl.enabled=${ACS_SSL_ENABLED}\r
+server.ssl.key-alias=selfsigned_localhost_sslserver\r
+server.ssl.key-password=changeit\r
+server.ssl.key-store=file:${CERT_FILE}\r
+server.ssl.key-store-provider=SUN\r
+server.ssl.key-store-type=JKS\r
+\r
+## Datasource properties\r
+spring.datasource.username=${DB_USERNAME}\r
+spring.datasource.password=${DB_PASSWORD}\r
+spring.datasource.url=jdbc:mariadb://${DB_SERVICE}:3306/${DB_NAME}\r
+spring.datasource.driver-class-name=org.mariadb.jdbc.Driver\r
+spring.datasource.platform=mariadb\r
+spring.datasource.initialization-mode=always\r
+spring.jpa.show-sql=true\r
+spring.jpa.hibernate.ddl-auto=none\r
+\r
+## Quartz Properties\r
+spring.quartz.job-store-type=jdbc\r
+spring.quartz.jdbc.initialize-schema=never\r
+spring.quartz.properties.org.quartz.threadPool.threadCount=10\r
+\r
+## Factory configuration\r
+config.basicAuthorizationURL=http://${FACTORY_REST_HOST}:${FACTORY_REST_PORT}/basicAuthenticate\r
+config.digestAuthorizationURL=http://${FACTORY_REST_HOST}:${FACTORY_REST_PORT}/digestAuthenticate\r
+config.deviceValidationURL=http://${FACTORY_REST_HOST}:${FACTORY_REST_PORT}/validateDevice\r
+\r
+## Mapper Configuration\r
+config.mapperInformNotificationServiceURL=http://${MAPPER_REST_HOST}:${MAPPER_REST_PORT}/tr069MapperSBI/notification\r
+config.mapperDeviceRPCResponseNotificationServiceURL=http://${MAPPER_REST_HOST}:${MAPPER_REST_PORT}/tr069MapperSBI/opResult
\ No newline at end of file