SO create service instance fails
[oom.git] / kubernetes / so / charts / so-catalog-db-adapter / resources / config / overrides / override.yaml
1 # Copyright © 2018 AT&T USA
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 server:
15     port: 8082
16     tomcat:
17         max-threads: 50
18 ssl-enable: false
19 mso:
20   logPath: logs
21   site-name: onapheat
22   catalog:
23     db:
24       spring:
25         endpoint: http://so-catalog-db-adapter.{{ include "common.namespace" . }}:8082
26   db:
27     auth: Basic YnBlbDpwYXNzd29yZDEk
28 spring:
29   datasource:
30     url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
31     username: ${DB_USERNAME}
32     password: ${DB_PASSWORD}
33     driver-class-name: org.mariadb.jdbc.Driver
34     initialize: false
35     initialization-mode: never
36     dbcp2:
37       initial-size: 5
38       max-total: 20
39       validation-query: select 1
40       test-on-borrow: true
41   jpa:
42     generate-ddl: false
43     show-sql: false
44     hibernate:
45       ddl-auto: validate
46       naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
47       enable-lazy-load-no-trans: true
48     database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
49   security:
50     usercredentials:
51     -
52       username: bpel
53       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
54       role: BPEL-Client
55     -
56       username: mso_admin
57       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
58       role: ACTUATOR
59 #Actuator
60 management:
61   context-path: /manage
62 flyway:
63   baseline-on-migrate: true
64   url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
65   username: ${DB_USERNAME}
66   password: ${DB_PASSWORD}