improve logstash parsing
[oom.git] / kubernetes / so / charts / so-request-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 # will be used as entry in DB to say SITE OFF/ON for healthcheck
15 server:
16     port: 8083
17     tomcat:
18         max-threads: 50
19 ssl-enable: false
20 mso:
21   logPath: logs
22   site-name: localSite
23   adapters:
24     requestDb:
25       auth: Basic YnBlbDptc28tZGItMTUwNyE=
26       endpoint: https://c1.vm1.mso.simpledemo.onap.org:8081
27 spring:
28   datasource:
29     url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
30     username: ${DB_USERNAME}
31     password: ${DB_PASSWORD}
32     driver-class-name: org.mariadb.jdbc.Driver
33     initialize: false
34     initialization-mode: never
35     dbcp2:
36       initial-size: 5
37       max-total: 20
38       validation-query: select 1
39       test-on-borrow: true
40   jpa:
41     generate-ddl: false
42     show-sql: false
43     hibernate:
44       ddl-auto: validate
45       naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
46       enable-lazy-load-no-trans: true
47     database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
48   security:
49     usercredentials:
50     -
51       username: bpel
52       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
53       role: BPEL-Client
54     -
55       username: mso_admin
56       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
57       role: ACTUATOR
58 #Actuator
59 management:
60   context-path: /manage
61 flyway:
62   base-on-migrate: true
63   url: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
64   username: ${DB_USERNAME}
65   password: ${DB_PASSWORD}