summaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapter-utils/src/test/resources/application-test.yaml
blob: 32a4db6b80a11b4c9c24824dbe44a01eaf68a761 (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
# will be used as entry in DB to say SITE OFF/ON for healthcheck
# MSO Properties go here
cloud_config:
  identity_services:
    MT_KEYSTONE:
      identity_url: "http://localhost:${wiremock.server.port}/v2.0"
      mso_id: "john"
      mso_pass: "313DECE408AF7759D442D7B06DD9A6AA"
      admin_tenant: "admin"
      member_role: "_member_"
      tenant_metadata: false
      identity_server_type: "KEYSTONE"
      identity_authentication_type: "USERNAME_PASSWORD"
  cloud_sites:
    regionOne:
      region_id: "regionOne"
      clli: "MT2"
      aic_version: "2.5"
      identity_service_id: "MT_KEYSTONE"
    DEFAULT:
      region_id: ""
      clli: "MTN6"
      aic_version: "3.0"
      identity_service_id: "ORDM3"
org:
  onap:
    so:
      adapters:
        po:
          retryCodes: "504"
          retryDelay: "5"
          retryCount: "3"
  tenant:
    tenant_description: "ECOMP Tenant"
    region_type: "single"
    user_role: "admin"
    success_status_string: "Success"
    no_regions_status_string: "no regions"
    orm_request_path: "/v1/orm/customers/"
    x_aic_orm_client_string: "ECOMP-MSO"
    keystone_url_version: "/v2.0"
    keystone_reg_ex: "/[vV][0-9]"
    orm_url_replace_this: "8080"
    orm_url_replace_with_this: "7080"
    quota_value: "10"
    set_default_quota: "false"
      
server-port: 8080
ssl-enable: false
tomcat:
  max-threads: 50
mso:
  logPath: logs
  msb-ip: localhost
  msb-port: ${wiremock.server.port}
  catalog:
    db:
      spring:
        endpoint: http://localhost:${wiremock.server.port}
  db:
    auth: Basic YnBlbDptc28tZGItMTUwNyE=
  site-name: localDevEnv
  async:
    core-pool-size: 50
    max-pool-size: 50
    queue-capacity: 500
spring:
  datasource:
    jdbc-url: jdbc:mariadb://localhost:3307/catalogdb
    username: root
    password: password
    driver-class-name: org.mariadb.jdbc.Driver    
    initialize: true
    initialization-mode: never
  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

mariaDB4j:
  dataDir: 
  port: 3307
  databaseName: catalogdb


#Actuator
management: 
  endpoints:
    enabled-by-default: false
  endpoint:
    info:
      enabled: true