Springboot 2.0 upgrade
[so.git] / asdc-controller / src / test / resources / application-test.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 spring:
9   datasource:
10     jdbc-url: jdbc:mariadb://localhost:3307/catalogdb
11     username: root
12     password: password
13     driver-class-name: org.mariadb.jdbc.Driver    
14     initialization-mode: always
15   jpa:   
16     generate-ddl: false
17     show-sql: false
18     hibernate:
19       ddl-auto: none
20       naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
21       enable-lazy-load-no-trans: true
22     database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
23   security:
24     usercredentials:
25     -  
26       username: test
27       password: '$2a$12$Zi3AuYcZoZO/gBQyUtST2.F5N6HqcTtaNci2Et.ufsQhski56srIu'
28       role: Asdc-Client        
29
30 mariaDB4j:
31   dataDir: 
32   port: 3307
33   databaseName: catalogdb
34   databaseName2: requestdb
35         
36 request:
37   datasource:
38     jdbc-url: jdbc:mariadb://localhost:3307/requestdb
39     username: root
40     password: password
41     driver-class-name: org.mariadb.jdbc.Driver
42
43
44 #Actuator
45 management:
46   endpoints:
47     web:
48       base-path: /manage
49   server:
50     servlet:
51       context-path: /manage
52   metrics:
53     se-global-registry: false
54     export:
55       prometheus:
56         enabled: true # Whether exporting of metrics to Prometheus is enabled.
57         step: 1m # Step size (i.e. reporting frequency) to use.  
58
59 mso:
60   adapters:
61     requestDb:
62       auth: Basic YnBlbDptc28tZGItMTUwNyE=
63       endpoint: http://localhost:8081  
64   logPath: logs
65   catalog:
66     db:
67       spring:
68         endpoint: "http://localhost:"
69   db:
70     auth: Basic YnBlbDptc28tZGItMTUwNyE=
71   site-name: siteName
72   asdc-connections:
73     asdc-controller1:
74       user: msopreist
75       consumerGroup: msoasdc-id-local
76       consumerId: msoasdc-id-local
77       environmentName: Pre-IST
78       asdcAddress: localhost:8443
79       password: CB655C3C236F1F0370A347E3A0E0E133BE10ADCF4D16377E7378D3FE46A4BF60C27DF1FFB4
80       pollingInterval: 30
81       pollingTimeout: 30
82       relevantArtifactTypes: HEAT,HEAT_ENV,HEAT_VOL
83       activateServerTLSAuth: false
84       keyStorePassword:  
85       keyStorePath:
86       watchDogTimeout: 1
87       isFilterInEmptyResources: true
88       messageBusAddress: localhost,localhost
89   asdc:
90     config:
91       key: 566B754875657232314F5548556D3665
92       components:
93         count: 3,
94         componentNames: SO,AAI,SDNC
95   scheduling:
96     enabled: false
97   aai:
98     endpoint: http://localhost:${wiremock.server.port}