lukegleeson | 665e224 | 2023-01-11 09:45:53 +0000 | [diff] [blame^] | 1 | # ============LICENSE_START======================================================= |
| 2 | # Copyright (C) 2023 Nordix Foundation. |
| 3 | # ================================================================================ |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # |
| 15 | # SPDX-License-Identifier: Apache-2.0 |
| 16 | # ============LICENSE_END========================================================= |
| 17 | |
| 18 | spring: |
| 19 | jpa: |
| 20 | ddl-auto: create |
| 21 | show-sql: false |
| 22 | properties: |
| 23 | hibernate: |
| 24 | enable_lazy_load_no_trans: true |
| 25 | dialect: org.hibernate.dialect.PostgreSQLDialect |
| 26 | format_sql: true |
| 27 | show_sql: false |
| 28 | |
| 29 | datasource: |
| 30 | url: ${DB_URL} |
| 31 | username: ${DB_USERNAME} |
| 32 | password: ${DB_PASSWORD} |
| 33 | driverClassName: org.postgresql.Driver |
| 34 | initialization-mode: always |
| 35 | |
| 36 | liquibase: |
| 37 | change-log: classpath:liquibase/test-changelog.yaml |