lukegleeson | 665e224 | 2023-01-11 09:45:53 +0000 | [diff] [blame] | 1 | # ============LICENSE_START======================================================= |
danielhanrahan | 36b81b2 | 2023-08-17 14:58:30 +0100 | [diff] [blame] | 2 | # Copyright (C) 2023-2024 Nordix Foundation. |
lukegleeson | 665e224 | 2023-01-11 09:45:53 +0000 | [diff] [blame] | 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: |
danielhanrahan | 36b81b2 | 2023-08-17 14:58:30 +0100 | [diff] [blame] | 23 | hibernate.enable_lazy_load_no_trans: true |
| 24 | hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect |
| 25 | hibernate.format_sql: true |
| 26 | hibernate.show_sql: false |
| 27 | # Please ensure these values match those used in cps-application/src/main/resources/application.yml |
| 28 | hibernate.id.new_generator_mappings: true |
| 29 | hibernate.jdbc.batch_size: 100 |
lukegleeson | 665e224 | 2023-01-11 09:45:53 +0000 | [diff] [blame] | 30 | |
| 31 | datasource: |
| 32 | url: ${DB_URL} |
| 33 | username: ${DB_USERNAME} |
| 34 | password: ${DB_PASSWORD} |
| 35 | driverClassName: org.postgresql.Driver |
| 36 | initialization-mode: always |
| 37 | |
| 38 | liquibase: |
| 39 | change-log: classpath:liquibase/test-changelog.yaml |