608cde247111473a831993b31c0ba4e61ddbc078
[so.git] / so-etsi-nfvo / so-etsi-nfvo-ns-lcm / so-etsi-nfvo-ns-lcm-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       allow-bean-definition-overriding: true
17    flyway:
18       baseline-on-migrate: false
19    datasource:
20       hikari:
21          camunda:
22             jdbcUrl: jdbc:h2:mem:example-simple;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
23             driver-class-name: org.h2.Driver
24             pool-name: ns-lcm-bpmn-pool
25             registerMbeans: true
26          nfvo:
27             jdbcUrl: jdbc:h2:mem:NFVO;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE;INIT=CREATE SCHEMA IF NOT EXISTS NFVO;MODE=MYSQL;DATABASE_TO_LOWER=TRUE;CASE_INSENSITIVE_IDENTIFIERS=TRUE
28             driver-class-name: org.h2.Driver
29             pool-name: ns-lcm-nfvo-pool
30             registerMbeans: true
31          test:
32             database:
33               replace: NONE
34    jpa:
35       generate-ddl: true
36       dialect: org.hibernate.dialect.MySQL5Dialect
37       hibernate:
38          ddl-auto: create
39       database-platform: org.hibernate.dialect.MariaDBDialect
40 logging:
41    level:
42       org.reflections.Reflections: ERROR
43
44 etsi-catalog-manager:
45    base:
46       endpoint: http://modeling-etsicatalog.onap:8806/api