aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/test/resources/application-test.yaml
blob: 1429ac9b52d6b4dbb9ac54bbb7c60873a9226493 (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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# will be used as entry in DB to say SITE OFF/ON for healthcheck

server:  
  port: 8080
  tomcat:
    max-threads: 50
  

mso:
  health:
    endpoints:
      - subsystem: apih
        uri: http://localhost:${wiremock.server.port}
      - subsystem: asdc
        uri: http://localhost:${wiremock.server.port}
      - subsystem: bpmn
        uri: http://localhost:${wiremock.server.port}
      - subsystem: catalogdb
        uri: http://localhost:${wiremock.server.port}
      - subsystem: openstack
        uri: http://localhost:${wiremock.server.port}
      - subsystem: requestdb
        uri: http://localhost:${wiremock.server.port}
      - subsystem: sdnc
        uri: http://localhost:${wiremock.server.port}
      - subsystem: soappcorchestrator
        uri: http://localhost:${wiremock.server.port}
  infra-requests:
    archived:
      period: 180
  adapters:
    requestDb:
      endpoint:  http://localhost:${wiremock.server.port}
      auth: Basic YnBlbDptc28tZGItMTUwNyE=
  logPath: logs
  site-name: mtanj
  catalog:
    db:
      spring:
        endpoint: http://localhost:${wiremock.server.port}
  db:
    auth: Basic YnBlbDptc28tZGItMTUwNyE=
  config: 
    path: /src/main/resources/
  infra:
    default:
      alacarte:
        orchestrationUri: /mso/async/services/ALaCarteOrchestrator
        recipeTimeout: 180
        testApi: GR_API
    service:
      macro:
        default:
          testApi: GR_API
      versions:
        apiMinorVersion: 0
        apiPatchVersion: 0
  camundaURL: http://localhost:${wiremock.server.port}
  camundaAuth: 015E7ACF706C6BBF85F2079378BDD2896E226E09D13DC2784BA309E27D59AB9FAD3A5E039DF0BB8408
  async:
    core-pool-size: 50
    max-pool-size: 50
    queue-capacity: 500
  sdc:
    client:
      auth: 97FF88AB352DA16E00DDD81E3876431DEF8744465DACA489EB3B3BE1F10F63EDA1715E626D0A4827A3E19CD88421BF
    activate:
      instanceid: test
      userid: cs0008
    endpoint: http://localhost:${wiremock.server.port}
  msoKey: 07a7159d3bf51a0e53be7a8f89699be7
  tenant:
    isolation:
      retry:
        count: 3
  aai:
    endpoint: http://localhost:${wiremock.server.port}
    auth: 5E12ACACBD552A415E081E29F2C4772F9835792A51C766CCFDD7433DB5220B59969CB2798C
  grm:
    endpoint: http://localhost:${wiremock.server.port}
    auth: 6AAD26000E278148A0B987436D9696A5B2D99BBF0DC545F9E64D6DF05298FFA987A6CF565F6F274EBC085678
  so:
    operational-environment:
      dmaap:
        username: testuser
        password: VjR5NDcxSzA=
        host: http://localhost:${wiremock.server.port}
        auth: B3705D6C2D521257CC2422ACCF03B001811ACC49F564DDB3A2CF2A1378B6D35A23CDCB696F2E1EDFBE6758DFE7C74B94F4A7DF84A0E2BB904935AC4D900D5597DF981ADE6CE1FF3AF993BED0
      publisher:
        topic: test.operationalEnvironmentEvent
  

spring:
  jersey:
    type: filter
  datasource:
    jdbcUrl: 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: false
    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: InfraPortal-Client
request:
  datasource:
    jdbcUrl: jdbc:mariadb://localhost:3307/requestdb
    username: root
    password: password
    driver-class-name: org.mariadb.jdbc.Driver
    
mariaDB4j:
  dataDir: 
  port: 3307
  databaseName: catalogdb
  databaseName2: requestdb
#Actuator
management:
  endpoints:
    web:
      base-path: /manage
      exposure:
        include: "*"

org:
  onap:
    so:
      adapters:
        network:
          encryptionKey: aa3871669d893c7fb8abbcda31b88b4f