Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / so / components / so-openstack-adapter / resources / config / overrides / override.yaml
1 {{/*
2 # Copyright © 2018 AT&T USA
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 */}}
16 aai:
17   auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.aai.auth )}}
18   {{ if (include "common.needTLS" .) }}
19   endpoint: https://aai.{{ include "common.namespace" . }}:8443
20   {{ else }}
21   endpoint: http://aai.{{ include "common.namespace" . }}:8080
22   {{ end }}
23 server:
24   port: {{ index .Values.containerPort }}
25 spring:
26   datasource:
27     hikari:
28       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
29       username: ${DB_USERNAME}
30       password: ${DB_PASSWORD}
31       driver-class-name: org.mariadb.jdbc.Driver
32       pool-name: catdb-pool
33       registerMbeans: false
34   security:
35     usercredentials:
36     -
37       username: sdnc
38       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
39       role: SDNC-Client
40     -
41       username: sitecontrol
42       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
43       role: SiteControl-Client
44     -
45       username: bpel
46       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
47       role: BPEL-Client
48     -
49       username: sniro
50       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
51       role: SNIRO-Client
52     -
53       username: apih
54       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
55       role: MSO-Client
56     -
57       username: mso_admin
58       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
59       role: ACTUATOR
60 org:
61   onap:
62     so:
63       adapters:
64         {{- if eq .Values.config.openStackKeystoneVersion "KEYSTONE_V3" }}
65         default_keystone_url_version: /v3
66         {{- else }}
67         default_keystone_url_version: /v2.0
68         {{- end }}
69         default_keystone_reg_ex: "/[vV][0-9]"
70         vnf:
71           bpelauth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.org.onap.so.adapters.bpelauth )}}
72           checkRequiredParameters: true
73           addGetFilesOnVolumeReq: false
74           sockettimeout: 30
75           connecttimeout: 30
76           retrycount: 5
77           retryinterval: -15
78           retrylist: 408,429,500,502,503,504,900
79           valet_enabled: false
80           fail_requests_on_valet_failure: false
81         network:
82           bpelauth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.org.onap.so.adapters.bpelauth )}}
83           sockettimeout: 5
84           connecttimeout: 5
85           retrycount: 5
86           retryinterval: -15
87           retrylist: 408,429,500,502,503,504,900
88           encryptionKey: 07a7159d3bf51a0e53be7a8f89699be7
89         tenant:
90           {{- if eq .Values.config.openStackKeystoneVersion "KEYSTONE_V3" }}
91           default_keystone_url_version: /v3
92           {{- else }}
93           default_keystone_url_version: /v2.0
94           {{- end }}
95           default_keystone_reg_ex: "/[vV][0-9]"
96           default_tenant_description: Tenant
97           default_region_type: single
98           default_user_role: admin
99           default_success_status_string: Success
100           default_no_regions_status_string: no regions
101           default_quota_value: 10
102           set_default_quota: false
103 ecomp:
104   mso:
105     adapters:
106       po:
107         retryCodes: 504
108         retryDelay: 5
109         retryCount: 3
110         pollTimeout: 7500
111         pollInterval: 15
112 mso:
113   adapters:
114     requestDb:
115       endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083
116       auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.mso.db.auth )}}
117   auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.aaf.auth.encrypted "value2" .Values.mso.auth )}}
118   logPath: ./logs/openstack
119   msb-ip: msb-iag
120   msb-port: 443
121   msb-scheme: https
122   workflow:
123     endpoint: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/sobpmnengine
124   msoKey: {{ .Values.mso.msoKey }}
125   config:
126     {{ if eq .Values.global.security.aaf.enabled true }}
127     cadi: {{ include "so.cadi.keys" . | nindent 8}}
128     {{- else }}
129     cadi:
130       aafId: {{ .Values.mso.basicUser }}
131     {{- end }}
132   catalog:
133     db:
134       spring:
135         endpoint: http://so-catalog-db-adapter.{{ include "common.namespace" . }}:8082
136   db:
137     auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.mso.db.auth )}}
138   site-name: localDevEnv
139   async:
140     core-pool-size: 50
141     max-pool-size: 50
142     queue-capacity: 500