VES Heartbeat and Software Management Feature
[oam/tr069-adapter.git] / netconf-server / src / main / resources / application.properties
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
10 #\r
11 # http://www.apache.org/licenses/LICENSE-2.0\r
12 #\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
18 \r
19 # Spring boot application properties\r
20 spring.application.name=tr069adapter-netconf-server\r
21 server.port=${NETCONF_REST_PORT}\r
22 config.requestTimeOut=30\r
23 config.mapperPath=http://${MAPPER_REST_HOST}:${MAPPER_REST_PORT}/tr069MapperNBI\r
24 config.netconfServerRestPort=${NETCONF_REST_PORT}\r
25 config.netconfServersStartPort=${NETCONFSRVS_START_PORT}\r
26 config.netconfServersEndPort=${NETCONFSRVS_END_PORT}\r
27 config.maxNumOfNetconfServers=${NUM_SERVERS}\r
28 config.netconfServerIP=${netConfServerIP}\r
29 config.schemaDirPath=/opt/CSAdapter/schemas/\r
30 config.vesURI=http://${VES_REST_HOST}:${VES_REST_PORT}/vesagent\r
31 \r
32 \r
33 ## Datasource properties\r
34 spring.datasource.platform=mariadb\r
35 spring.datasource.initialization-mode=always\r
36 spring.jpa.hibernate.ddl-auto=none\r
37 spring.datasource.username=${DB_USERNAME}\r
38 spring.datasource.password=${DB_PASSWORD}\r
39 spring.datasource.url=jdbc:mariadb://${DB_SERVICE}:3306/${DB_NAME}\r
40 spring.datasource.driver-class-name=org.mariadb.jdbc.Driver\r
41 spring.jpa.show-sql=true\r
42 \r