31ec9871520fbe3314c357395f801ded044fb54e
[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: true
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   camundaURL: http://localhost:${wiremock.server.port}/        
70   db:
71     auth: Basic YnBlbDptc28tZGItMTUwNyE=
72   site-name: siteName
73   asdc-connections:
74     asdc-controller1:
75       user: msopreist
76       consumerGroup: msoasdc-id-local
77       consumerId: msoasdc-id-local
78       environmentName: Pre-IST
79       asdcAddress: localhost:8443
80       password: CB655C3C236F1F0370A347E3A0E0E133BE10ADCF4D16377E7378D3FE46A4BF60C27DF1FFB4
81       pollingInterval: 30
82       pollingTimeout: 30
83       relevantArtifactTypes: HEAT,HEAT_ENV,HEAT_VOL
84       useHttpsWithDmaap: true
85       activateServerTLSAuth: false
86       keyStorePassword:  
87       keyStorePath:
88       watchDogTimeout: 1
89       isFilterInEmptyResources: true
90       messageBusAddress: localhost,localhost
91   asdc:
92     config:
93       activity:
94         endpoint: http://localhost:${wiremock.server.port}
95       key: 566B754875657232314F5548556D3665
96       components:
97         count: 3,
98         componentNames: SO,AAI,SDNC
99   scheduling:
100     enabled: false
101   aai:
102     endpoint: http://localhost:${wiremock.server.port}
103   config:
104     defaultpath: src/test/resources
105
106 sdc:
107   endpoint: http://localhost:${wiremock.server.port}
108