Springboot 2.0 upgrade
[so.git] / asdc-controller / src / main / resources / application-local.yaml
1 # will be used as entry in DB to say SITE OFF/ON for healthcheck
2
3 server-port: 8080
4 ssl-enable: false
5
6
7
8 # H2
9 spring:
10   datasource:
11     jdbc-url: jdbc:mariadb://localhost:3306/catalogdb
12     username: root
13     password: password
14     driver-class-name: org.mariadb.jdbc.Driver
15     initialize: true
16
17   jpa:
18       show-sql: true
19       hibernate:
20         ddl-auto: validate
21         naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
22         enable-lazy-load-no-trans: true
23       database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
24   security:
25     usercredentials:
26     -  
27       username: asdc
28       password: '$2a$12$4R2QhxH7elzoZYoC.HJKTOHYDoaC9LbJD44Q9/tm4t/UzPF9Cgifi'
29       role: Asdc-Client 
30     -  
31       username: mso_admin
32       password: '$2a$12$tidKuu.h88E2nuL95pTVY.ZOYMN/1dp29A9b1o.0GFDsVVSYlMkHa'
33       role: ACTUATOR        
34 request:
35   datasource:
36     jdbc-url: jdbc:mariadb://localhost:3306/requestdb
37     username: root
38     password: password
39     driver-class-name: org.mariadb.jdbc.Driver
40     initialize: true
41     initialization-mode: never
42
43 #Actuator
44 management:
45   endpoints:
46     web:
47       base-path: /manage
48   server:
49     servlet:
50       context-path: /manage
51   metrics:
52     se-global-registry: false
53     export:
54       prometheus:
55         enabled: true # Whether exporting of metrics to Prometheus is enabled.
56         step: 1m # Step size (i.e. reporting frequency) to use.  
57
58
59 mso:
60   logPath: logs
61   catalog:
62     db:
63       spring:
64         endpoint: "http://localhost:8090"
65   db:
66     auth: Basic YnBlbDptc28tZGItMTUwNyE=
67   site-name: siteName
68   aai:  
69     endpoint: https://localhost:8443
70   asdc-connections:
71     asdc-controller1:
72       user: msopreist
73       consumerGroup: msoasdc-id-local
74       consumerId: msoasdc-id-local
75       environmentName: Pre-IST
76       asdcAddress: localhost:8443
77       password: CB655C3C236F1F0370A347E3A0E0E133BE10ADCF4D16377E7378D3FE46A4BF60C27DF1FFB4
78       pollingInterval: 30
79       pollingTimeout: 30
80       relevantArtifactTypes: HEAT,HEAT_ENV,HEAT_VOL
81       activateServerTLSAuth: false
82       keyStorePassword:  
83       keyStorePath:
84       watchDogTimeout: 1
85       isFitlerInEmptyResources: true
86       messageBusAddress: localhost,localhost,localhost
87   asdc:
88     config:
89       key: 566B754875657232314F5548556D3665
90       components:
91         count: 3,
92         componentNames: SO,AAI,SDNC
93   scheduling:
94     enabled: false