summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/main/resources/application-local.yaml
blob: cabee8e8f75a6e1047bf52f86af8e45a3016e5fc (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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
# will be used as entry in DB to say SITE OFF/ON for healthcheck

server:
    port: 8080
    tomcat:
        max-threads: 50
ssl-enable: false

apih-healthcheck-urn: /ecomp/mso/healthcheck,/ecomp/mso/homing/healthcheck,/ecomp/mso/infra/healthcheck,/asdc/healthcheck,/dbadapters/healthcheck,/ecomp/mso/catalog/v2/healthcheck
jra-healthcheck-urn: /networks/rest/healthcheck,/adapters/rest/healthcheck,/vnfs/rest/healthcheck,/tenants/rest/healthcheck,/appc/rest/healthcheck,/workflows/messages/healthcheck
camunda-healthcheck-urn: /mso/healthcheck

apih-nodehealthcheck-urn: /ecomp/mso/infra/nodehealthcheck
jra-nodehealthcheck-urn: /adapters/rest/nodehealthcheck
camunda-nodehealthcheck-urn: /mso/nodehealthcheck



mso:
  health:
    endpoints:
      catalogdb: http://localhost:8800
      sdnc: http://localhost:8400
      openstack: http://localhost:8300
      requestdb: http://localhost:8700
      bpmn: http://localhost:8200
      asdc: http://localhost:8400
      requestdbattsvc: http://localhost:8600
      
  adapters:
    requestDb:
      auth: Basic YnBlbDptc28tZGItMTUwNyE=
      endpoint: http://localhost:8081
  logPath: logs
  site-name: mtanj
  catalog:
    db:
      spring:
        endpoint: "http://localhost:8080"
  db:
    auth: Basic YnBlbDptc28tZGItMTUwNyE=
  config: 
    path: /src/main/resources/
  infra:
    default:
      alacarte:
        orchestrationUri: /mso/async/services/ALaCarteOrchestrator
        recipeTimeout: 180
        testApi: VNF_API
      service:
        macro:
          default:
            testApi: GR_API
  apih:
    homing:
      sdna:
        url: http://localhost:8089/
        password: 4E0BDC08EE8EDC0572ABBE9FD2D59B62DB725A00B8469E39393D6C86D64284C5D34A57D56F7B58C375316F
  camundaURL: http://localhost:8089/
  camundaAuth: E8E19DD16CC90D2E458E8FF9A884CC0452F8F3EB8E321F96038DE38D5C1B0B02DFAE00B88E2CF6E2A4101AB2C011FC161212EE
  async:
    core-pool-size: 50
    max-pool-size: 50
    queue-capacity: 500
  sdc:
    client:
      auth: 97FF88AB352DA16E00DDD81E3876431DEF8744465DACA489EB3B3BE1F10F63EDA1715E626D0A4827A3E19CD88421BF
    activate:
      instanceid: test
      userid: cs0008
    endpoint: http://localhost:28090
  msoKey: 07a7159d3bf51a0e53be7a8f89699be7
  tenant:
    isolation:
      retry:
        count: 3
  aai:
    endpoint: http://localhost:28090
    auth: 5E12ACACBD552A415E081E29F2C4772F9835792A51C766CCFDD7433DB5220B59969CB2798C
  grm:
    endpoint: http://localhost:28090
    username: gmruser
    password: test
  so:
    operational-environment:
      dmaap:
        username: testuser
        password: VjR5NDcxSzA=
        host: http://localhost:28090
      publisher:
        topic: com.att.ecomp.mso.operationalEnvironmentEvent

# controls what actions the infra API (APIH) allows sent in on REST request
vnf:
  v1:
    ApiAllowableActions: 
  v2:
    ApiAllowableActions: 
  v3:
    ApiAllowableActions: 
  
network:
  v1:
    ApiAllowableActions: 
  v2:
    ApiAllowableActions: 
  v3:
    ApiAllowableActions: 
  
volume:
  v1:
    ApiAllowableActions: 
  v2:
    ApiAllowableActions: 
  v3:
    ApiAllowableActions: 

# H2
spring:
  datasource:
    jdbc-url: jdbc:h2:mem:AZ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
    username: sa
    password: sa
    driver-class-name: org.h2.Driver
    intialize: true
  h2:
    console:
      enabled: true
      path: /h2

  jpa:
      show-sql: true
      hibernate:
        dialect: org.hibernate.dialect.H2Dialect
        ddl-auto: validate
        naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
        enable_lazy_load_no_trans: true
  jersey:
    type: filter
  security:
    usercredentials:
    -  
      username: sitecontrol
      password: '$2a$12$VBUF.qBmeK1FNyO2MqTpD.P2M1tvlesZlhCkAjjHvF9hmYNVdMDmu'
      role: SiteControl-Client 
    -  
      username: gui
      password: '$2a$12$9Y4daXavh.oX5fz6t/e7TuCdj7EKW5B5ibqq425fN3/xpp0/Fhyti'
      role: GUI-Client  
    -  
      username: infraportal
      password: '$2a$12$IpUEhQijWTNbq0fGYVkA9upZrDvdIK6QfblIaKAiwi0vBQRE.C6Ri'
      role: InfraPortal-Client        
    -  
      username: bpel
      password: '$2a$12$1xyutEZNfjGewIZRfKaE8eZE99f5sYFUmmM80BobI65KNjmcK0JuO'
      role: BPEL-Client   
    -  
      username: mso_admin
      password: '$2a$12$tidKuu.h88E2nuL95pTVY.ZOYMN/1dp29A9b1o.0GFDsVVSYlMkHa'
      role: ACTUATOR      
request:
  datasource:
    jdbc-url: jdbc:h2:mem:AZ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
    username: sa
    password: sa
    driver-class-name: org.h2.Driver
    intialize: true 

#Actuator
management: 
  context-path: /manage

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