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