acc04061cfbe0e1121c9fc27a753eca8e9229b66
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / resources / application-local.yaml
1 # will be used as entry in DB to say SITE OFF/ON for healthcheck
2
3 server:
4     port: 8080
5     tomcat:
6         max-threads: 50
7 ssl-enable: false
8
9 apih-healthcheck-urn: /ecomp/mso/healthcheck,/ecomp/mso/homing/healthcheck,/ecomp/mso/infra/healthcheck,/asdc/healthcheck,/dbadapters/healthcheck,/ecomp/mso/catalog/v2/healthcheck
10 jra-healthcheck-urn: /networks/rest/healthcheck,/adapters/rest/healthcheck,/vnfs/rest/healthcheck,/tenants/rest/healthcheck,/appc/rest/healthcheck,/workflows/messages/healthcheck
11 camunda-healthcheck-urn: /mso/healthcheck
12
13 apih-nodehealthcheck-urn: /ecomp/mso/infra/nodehealthcheck
14 jra-nodehealthcheck-urn: /adapters/rest/nodehealthcheck
15 camunda-nodehealthcheck-urn: /mso/nodehealthcheck
16
17
18
19 mso:
20   adapters:
21     requestDb:
22       auth: Basic YnBlbDptc28tZGItMTUwNyE=
23       endpoint: http://localhost:8081
24   logPath: logs
25   site-name: mtanj
26   catalog:
27     db:
28       spring:
29         endpoint: "http://localhost:8080"
30   db:
31     auth: Basic YnBlbDptc28tZGItMTUwNyE=
32   config: 
33     path: /src/main/resources/
34   infra:
35     default:
36       alacarte:
37         orchestrationUri: /mso/async/services/ALaCarteOrchestrator
38         recipeTimeout: 180
39         testApi: VNF_API
40       service:
41         macro:
42           default:
43             testApi: GR_API
44   apih:
45     homing:
46       sdna:
47         url: http://localhost:8089/
48         password: 4112B789E942B161228F7D5AFC654C0F  
49   camundaURL: http://localhost:8089/
50   camundaAuth: F8E9452B55DDE4CCE77547B0E748105C54CF5EF1351B4E2CBAABF2981EFE776D
51   async:
52     core-pool-size: 50
53     max-pool-size: 50
54     queue-capacity: 500
55   sdc:
56     client:
57       auth: F3473596C526938329DF877495B494DC374D1C4198ED3AD305EA3ADCBBDA1862
58     activate:
59       instanceid: test
60       userid: cs0008
61     endpoint: http://localhost:28090
62   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
63   tenant:
64     isolation:
65       retry:
66         count: 3
67   aai:
68     endpoint: http://localhost:28090
69     auth: 26AFB797A6A57960D5D718491925C50F77CDC22AC394B3DBA09950D8FD1C0764
70   grm:
71     endpoint: http://localhost:28090
72     username: gmruser
73     password: test
74   so:
75     operational-environment:
76       dmaap:
77         username: testuser
78         password: VjR5NDcxSzA=
79         host: http://localhost:28090
80       publisher:
81         topic: com.att.ecomp.mso.operationalEnvironmentEvent
82
83 # controls what actions the infra API (APIH) allows sent in on REST request
84 vnf:
85   v1:
86     ApiAllowableActions: 
87   v2:
88     ApiAllowableActions: 
89   v3:
90     ApiAllowableActions: 
91   
92 network:
93   v1:
94     ApiAllowableActions: 
95   v2:
96     ApiAllowableActions: 
97   v3:
98     ApiAllowableActions: 
99   
100 volume:
101   v1:
102     ApiAllowableActions: 
103   v2:
104     ApiAllowableActions: 
105   v3:
106     ApiAllowableActions: 
107
108 # H2
109 spring:
110   datasource:
111     url: jdbc:h2:mem:AZ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
112     username: sa
113     password: sa
114     driver-class-name: org.h2.Driver
115     intialize: true
116   h2:
117     console:
118       enabled: true
119       path: /h2
120
121   jpa:
122       show-sql: true
123       hibernate:
124         dialect: org.hibernate.dialect.H2Dialect
125         ddl-auto: validate
126         naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
127         enable_lazy_load_no_trans: true
128   jersey:
129     type: filter
130   security:
131     usercredentials:
132     -  
133       username: sitecontrol
134       password: '$2a$12$VBUF.qBmeK1FNyO2MqTpD.P2M1tvlesZlhCkAjjHvF9hmYNVdMDmu'
135       role: SiteControl-Client 
136     -  
137       username: gui
138       password: '$2a$12$9Y4daXavh.oX5fz6t/e7TuCdj7EKW5B5ibqq425fN3/xpp0/Fhyti'
139       role: GUI-Client  
140     -  
141       username: infraportal
142       password: '$2a$12$IpUEhQijWTNbq0fGYVkA9upZrDvdIK6QfblIaKAiwi0vBQRE.C6Ri'
143       role: InfraPortal-Client        
144     -  
145       username: bpel
146       password: '$2a$12$1xyutEZNfjGewIZRfKaE8eZE99f5sYFUmmM80BobI65KNjmcK0JuO'
147       role: BPEL-Client   
148     -  
149       username: mso_admin
150       password: '$2a$12$tidKuu.h88E2nuL95pTVY.ZOYMN/1dp29A9b1o.0GFDsVVSYlMkHa'
151       role: ACTUATOR      
152 request:
153   datasource:
154     url: jdbc:h2:mem:AZ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
155     username: sa
156     password: sa
157     driver-class-name: org.h2.Driver
158     intialize: true 
159
160 #Actuator
161 management: 
162   context-path: /manage