aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-controller/src/test/resources/application-test.yaml
blob: ec536491a19c4e76e798ad4e332b304150657f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# will be used as entry in DB to say SITE OFF/ON for healthcheck

server-port: 8080
ssl-enable: false



spring:
  datasource:
    jdbc-url: jdbc:mariadb://localhost:3307/catalogdb
    username: root
    password: password
    driver-class-name: org.mariadb.jdbc.Driver    
    initialization-mode: always
  jpa:   
    generate-ddl: false
    show-sql: true
    hibernate:
      ddl-auto: none
      naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
      enable-lazy-load-no-trans: true
    database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
  security:
    usercredentials:
    -  
      username: test
      password: '$2a$12$Zi3AuYcZoZO/gBQyUtST2.F5N6HqcTtaNci2Et.ufsQhski56srIu'
      role: Asdc-Client        

mariaDB4j:
  dataDir: 
  port: 3307
  databaseName: catalogdb
  databaseName2: requestdb
        
request:
  datasource:
    jdbc-url: jdbc:mariadb://localhost:3307/requestdb
    username: root
    password: password
    driver-class-name: org.mariadb.jdbc.Driver


#Actuator
management:
  endpoints:
    web:
      base-path: /manage
  server:
    servlet:
      context-path: /manage
  metrics:
    se-global-registry: false
    export:
      prometheus:
        enabled: true # Whether exporting of metrics to Prometheus is enabled.
        step: 1m # Step size (i.e. reporting frequency) to use.  

mso:
  adapters:
    requestDb:
      auth: Basic YnBlbDptc28tZGItMTUwNyE=
      endpoint: http://localhost:8081  
  logPath: logs
  catalog:
    db:
      spring:
        endpoint: "http://localhost:"
  db:
    auth: Basic YnBlbDptc28tZGItMTUwNyE=
  site-name: siteName
  asdc-connections:
    asdc-controller1:
      user: msopreist
      consumerGroup: msoasdc-id-local
      consumerId: msoasdc-id-local
      environmentName: Pre-IST
      asdcAddress: localhost:8443
      password: CB655C3C236F1F0370A347E3A0E0E133BE10ADCF4D16377E7378D3FE46A4BF60C27DF1FFB4
      pollingInterval: 30
      pollingTimeout: 30
      relevantArtifactTypes: HEAT,HEAT_ENV,HEAT_VOL
      useHttpsWithDmaap: true
      activateServerTLSAuth: false
      keyStorePassword:  
      keyStorePath:
      watchDogTimeout: 1
      isFilterInEmptyResources: true
      messageBusAddress: localhost,localhost
  asdc:
    config:
      activity:
        endpoint: http://localhost:${wiremock.server.port}
      key: 566B754875657232314F5548556D3665
      components:
        count: 3,
        componentNames: SO,AAI,SDNC
  scheduling:
    enabled: false
  aai:
    endpoint: http://localhost:${wiremock.server.port}
  config:
    defaultpath: src/test/resources