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
20 spring.datasource.username=${DB_USERNAME}
\r
21 spring.datasource.password=${DB_PASSWORD}
\r
22 spring.datasource.url=jdbc:mariadb://${DB_SERVICE}:3306/${DB_NAME}
\r
23 spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
\r
24 spring.datasource.platform=mariadb
\r
25 spring.datasource.initialization-mode=always
\r
26 spring.jpa.show-sql=true
\r
27 spring.jpa.hibernate.ddl-auto=none
\r
28 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDBDialect
\r
30 ## MULTIPART (MultipartProperties)
\r
31 # Enable multipart uploads
\r
32 spring.servlet.multipart.enabled=true
\r
33 # Threshold after which files are written to disk.
\r
34 spring.servlet.multipart.file-size-threshold=2KB
\r
36 spring.servlet.multipart.max-file-size=200MB
\r
38 spring.servlet.multipart.max-request-size=215MB