Merge "[UUI] Service Mesh Compliance for UUI"
[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" . }}:80
22   {{ end }}
23 server:
24   {{- if include "common.onServiceMesh" . }}
25   forward-headers-strategy: none
26   {{- end }}
27   port: {{ index .Values.containerPort }}
28 SW  port: {{ index .Values.containerPort }}
29 spring:
30   datasource:
31     hikari:
32       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
33       username: ${DB_USERNAME}
34       password: ${DB_PASSWORD}
35       driver-class-name: org.mariadb.jdbc.Driver
36       pool-name: catdb-pool
37       registerMbeans: false
38   security:
39     usercredentials:
40     -
41       username: sdnc
42       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
43       role: SDNC-Client
44     -
45       username: sitecontrol
46       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
47       role: SiteControl-Client
48     -
49       username: bpel
50       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
51       role: BPEL-Client
52     -
53       username: sniro
54       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
55       role: SNIRO-Client
56     -
57       username: apih
58       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
59       role: MSO-Client
60     -
61       username: mso_admin
62       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
63       role: ACTUATOR
64 org:
65   onap:
66     so:
67       adapters:
68         {{- if eq .Values.config.openStackKeystoneVersion "KEYSTONE_V3" }}
69         default_keystone_url_version: /v3
70         {{- else }}
71         default_keystone_url_version: /v2.0
72         {{- end }}
73         default_keystone_reg_ex: "/[vV][0-9]"
74         vnf:
75           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 )}}
76           checkRequiredParameters: true
77           addGetFilesOnVolumeReq: false
78           sockettimeout: 30
79           connecttimeout: 30
80           retrycount: 5
81           retryinterval: -15
82           retrylist: 408,429,500,502,503,504,900
83           valet_enabled: false
84           fail_requests_on_valet_failure: false
85         network:
86           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 )}}
87           sockettimeout: 5
88           connecttimeout: 5
89           retrycount: 5
90           retryinterval: -15
91           retrylist: 408,429,500,502,503,504,900
92           encryptionKey: 07a7159d3bf51a0e53be7a8f89699be7
93         tenant:
94           {{- if eq .Values.config.openStackKeystoneVersion "KEYSTONE_V3" }}
95           default_keystone_url_version: /v3
96           {{- else }}
97           default_keystone_url_version: /v2.0
98           {{- end }}
99           default_keystone_reg_ex: "/[vV][0-9]"
100           default_tenant_description: Tenant
101           default_region_type: single
102           default_user_role: admin
103           default_success_status_string: Success
104           default_no_regions_status_string: no regions
105           default_quota_value: 10
106           set_default_quota: false
107 ecomp:
108   mso:
109     adapters:
110       po:
111         retryCodes: 504
112         retryDelay: 5
113         retryCount: 3
114         pollTimeout: 7500
115         pollInterval: 15
116 mso:
117   adapters:
118     requestDb:
119       endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083
120       auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.mso.db.auth )}}
121   auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.aaf.auth.encrypted "value2" .Values.mso.auth )}}
122   logPath: ./logs/openstack
123   msb-ip: msb-iag
124   msb-port: 80
125   msb-scheme: http
126   workflow:
127     endpoint: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/sobpmnengine
128   msoKey: {{ .Values.mso.msoKey }}
129   config:
130     {{ if eq .Values.global.security.aaf.enabled true }}
131     cadi: {{ include "so.cadi.keys" . | nindent 8}}
132     {{- else }}
133     cadi:
134       aafId: {{ .Values.mso.basicUser }}
135     {{- end }}
136   catalog:
137     db:
138       spring:
139         endpoint: http://so-catalog-db-adapter.{{ include "common.namespace" . }}:8082
140   db:
141     auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.mso.db.auth )}}
142   site-name: localDevEnv
143   async:
144     core-pool-size: 50
145     max-pool-size: 50
146     queue-capacity: 500