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 ## Tomcat REST service ports
\r
20 server.port=${ACS_REST_PORT}
\r
21 server.additional.http.port=${ACS_ADDITIONAL_REST_PORT}
\r
23 ## SSL/TLS configuration propetris
\r
24 server.ssl.enabled=${ACS_SSL_ENABLED}
\r
25 server.ssl.key-alias=selfsigned_localhost_sslserver
\r
26 server.ssl.key-password=changeit
\r
27 server.ssl.key-store=file:${CERT_FILE}
\r
28 server.ssl.key-store-provider=SUN
\r
29 server.ssl.key-store-type=JKS
\r
31 ## Datasource properties
\r
32 spring.datasource.username=${DB_USERNAME}
\r
33 spring.datasource.password=${DB_PASSWORD}
\r
34 spring.datasource.url=jdbc:mariadb://${DB_SERVICE}:3306/${DB_NAME}
\r
35 spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
\r
36 spring.datasource.platform=mariadb
\r
37 spring.datasource.initialization-mode=always
\r
38 spring.jpa.show-sql=true
\r
39 spring.jpa.hibernate.ddl-auto=none
\r
41 ## Quartz Properties
\r
42 spring.quartz.job-store-type=jdbc
\r
43 spring.quartz.jdbc.initialize-schema=never
\r
44 spring.quartz.properties.org.quartz.threadPool.threadCount=10
\r
46 ## Factory configuration
\r
47 config.basicAuthorizationURL=http://${FACTORY_REST_HOST}:${FACTORY_REST_PORT}/basicAuthenticate
\r
48 config.digestAuthorizationURL=http://${FACTORY_REST_HOST}:${FACTORY_REST_PORT}/digestAuthenticate
\r
49 config.deviceValidationURL=http://${FACTORY_REST_HOST}:${FACTORY_REST_PORT}/validateDevice
\r
51 ## Mapper Configuration
\r
52 config.mapperInformNotificationServiceURL=http://${MAPPER_REST_HOST}:${MAPPER_REST_PORT}/tr069MapperSBI/notification
\r
53 config.mapperDeviceRPCResponseNotificationServiceURL=http://${MAPPER_REST_HOST}:${MAPPER_REST_PORT}/tr069MapperSBI/opResult