blob: 55560aa62676a252c7b3e617e7a907e77e0c4dce [file] [log] [blame]
lukegleeson665e2242023-01-11 09:45:53 +00001# ============LICENSE_START=======================================================
danielhanrahan36b81b22023-08-17 14:58:30 +01002# Copyright (C) 2023-2024 Nordix Foundation.
lukegleeson665e2242023-01-11 09:45:53 +00003# ================================================================================
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
18spring:
19 jpa:
20 ddl-auto: create
21 show-sql: false
22 properties:
danielhanrahan36b81b22023-08-17 14:58:30 +010023 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
lukegleeson665e2242023-01-11 09:45:53 +000030
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