1 # ============LICENSE_START========================================================================
\r
2 # ONAP : tr-069-adapter
\r
3 # =================================================================================================
\r
4 # Copyright (C) 2020 CommScope Inc Intellectual Property.
\r
5 # =================================================================================================
\r
6 # This tr-069-adapter software file is distributed by CommScope Inc
\r
7 # under the Apache License, Version 2.0 (the "License");
\r
8 # you may not use this file except in compliance with the License.
\r
9 # You may obtain a copy of the License at
\r
11 # http://www.apache.org/licenses/LICENSE-2.0
\r
13 # This file is distributed on an "AS IS" BASIS,
\r
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
15 # See the License for the specific language governing permissions and
\r
16 # limitations under the License.
\r
17 # ===============LICENSE_END=======================================================================
\r
19 # Spring boot application properties
\r
20 spring.application.name=tr069adapter-netconfig-mapper
\r
21 server.port=${MAPPER_REST_PORT}
\r
22 config.requesTimeout=${REQUEST_TIMEOUT}
\r
23 config.alarmMORegex=${ALARM_MO_REGEX}
\r
24 config.preConfigureOnPNP=${preConfigureOnPNP}
\r
25 config.sbiUri=http://${SBI_REST_HOST}:${SBI_REST_PORT}/MapperService/initiateDeviceOperation
\r
26 config.connStatusUri=http://${SBI_REST_HOST}:${SBI_REST_PORT}/MapperService/connectionStatusOperation
\r
27 config.configDBUri=http://${CONFIG_DB_REST_HOST}:${CONFIG_DB_REST_PORT}/getConfig
\r
28 config.nbiNotificationUri=http://${NBI_REST_HOST}:${NBI_REST_PORT}/netConfNotificationService/notification
\r
29 config.nbiServerManagerUri=http://${NBI_REST_HOST}:${NBI_REST_PORT}/netConfServerManagerService
\r
30 config.vesUri=http://${VES_REST_HOST}:${VES_REST_PORT}/vesagent/deviceEvent
\r
31 config.verConfigUri=http://${VES_REST_HOST}:${VES_REST_PORT}/vesagent
\r
32 config.netConfServerIP=${netConfServerIP}
\r
33 config.netConfServerPort=${netConfServerPort}
\r
34 config.vendorName=${VENDOR_NAME}
\r
36 ## Datasource properties
\r
37 spring.datasource.platform=mariadb
\r
38 spring.datasource.initialization-mode=always
\r
39 spring.jpa.hibernate.ddl-auto=none
\r
40 spring.datasource.username=${DB_USERNAME}
\r
41 spring.datasource.password=${DB_PASSWORD}
\r
42 spring.datasource.url=jdbc:mariadb://${DB_SERVICE}:3306/${DB_NAME}
\r
43 spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
\r
44 spring.jpa.show-sql=true
\r