Merge "Re-commit some changes which were lost"
[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   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       useHttpsWithDmaap: true
84       activateServerTLSAuth: false
85       keyStorePassword:  
86       keyStorePath:
87       watchDogTimeout: 1
88       isFilterInEmptyResources: true
89       messageBusAddress: localhost,localhost
90   asdc:
91     config:
92       activity:
93         endpoint: http://localhost:${wiremock.server.port}
94       key: 566B754875657232314F5548556D3665
95       components:
96         count: 3,
97         componentNames: SO,AAI,SDNC
98   scheduling:
99     enabled: false
100   aai:
101     endpoint: http://localhost:${wiremock.server.port}
102   config:
103     defaultpath: src/test/resources