478a5b5ac797192f7364b51240df0deb2689b92b
[so.git] / so-etsi-nfvo / so-etsi-nfvo-ns-lcm / so-etsi-nfvo-ns-lcm-database-service / src / test / resources / application.yaml
1 # Copyright © 2020 Nordix Foundation
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
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 spring:
15    main:
16       web-application-type: none
17    datasource:
18       hikari:
19          nfvo:
20             jdbcUrl: jdbc:h2:mem:nfvo;DB_CLOSE_DELAY=-1;INIT=CREATE SCHEMA IF NOT EXISTS nfvo;MODE=MYSQL;DATABASE_TO_LOWER=TRUE;CASE_INSENSITIVE_IDENTIFIERS=TRUE
21             driver-class-name: org.h2.Driver
22             pool-name: ns-lcm-bpmn-pool
23             registerMbeans: true
24          test:
25             database:
26               replace: NONE
27    jpa:
28       generate-ddl: true
29       dialect: org.hibernate.dialect.MySQL5Dialect
30       hibernate:
31          ddl-auto: create
32       database-platform: org.hibernate.dialect.MariaDBDialect
33 hibernate:
34    dialect: org.hibernate.dialect.H2Dialect
35    hbm2ddl:
36       auto: create