Merge "[UUI] Service Mesh Compliance for UUI"
[oom.git] / kubernetes / so / components / so-oof-adapter / resources / config / overrides / override.yaml
1 {{/*
2 # Copyright © 2020 Wipro Limited.
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 logging:
17   path: logs
18 spring:
19   security:
20     usercredentials:
21       - username: ${BPEL_USERNAME}
22         password: ${BPEL_PASSWORD}
23         role: BPEL-Client
24       - username: ${ACTUATOR_USERNAME}
25         password: ${ACTUATOR_PASSWORD}
26         role: ACTUATOR
27 server:
28   {{- if include "common.onServiceMesh" . }}
29   forward-headers-strategy: none
30   {{- end }}
31   port: {{ index .Values.containerPort }}
32   tomcat:
33     max-threads: 50
34
35 mso:
36   site-name: localSite
37   logPath: ./logs/oof-adapter
38   msb-ip: msb-iag.{{ include "common.namespace" . }}
39   msb-port: 80
40   msoKey: ${MSO_KEY}
41   camundaURL: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081
42   camundaAuth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.camundaAuth )}}
43   workflow:
44     message:
45       endpoint: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/mso/WorkflowMessage
46   oof:
47     auth: ${OOF_LOGIN}:${OOF_PASSWORD}
48     {{ if (include "common.needTLS" .) }}
49     endpoint: https://oof-osdf.{{ include "common.namespace" . }}:8698
50     {{ else }}
51     endpoint: http://oof-osdf.{{ include "common.namespace" . }}:8698
52     {{ end }}
53 #Actuator
54 management:
55   endpoints:
56     web:
57       base-path: /manage
58       exposure:
59         include: "*"
60   metrics:
61     se-global-registry: false
62     export:
63       prometheus:
64         enabled: true # Whether exporting of metrics to Prometheus is enabled.
65         step: 1m # Step size (i.e. reporting frequency) to use.