[SO] Service mesh compatibility
[oom.git] / kubernetes / so / resources / config / overrides / override.yaml
1 aai:
2   {{ if (include "common.needTLS" .) }}
3   endpoint: https://aai.{{ include "common.namespace" . }}:8443
4   {{ else }}
5   endpoint: http://aai.{{ include "common.namespace" . }}:8080
6   {{ end }}
7   auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.mso.aai.auth )}}
8 server:
9     port: {{ index .Values.containerPort }}
10     tomcat:
11         max-threads: 50
12 ssl-enable: false
13 mso:
14   msoKey: {{ .Values.mso.msoKey }}
15   logPath: ./logs/apih
16   site-name: {{ index .Values.global.app.siteName }}
17   adapters:
18     requestDb:
19       endpoint: http://so-request-db-adapter.{{ include "common.namespace" . }}:8083
20       auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.adapters.requestDb.auth )}}
21   catalog:
22     db:
23       spring:
24         endpoint: http://so-catalog-db-adapter.{{ include "common.namespace" . }}:8082
25   db:
26     auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.adapters.requestDb.auth )}}
27   config:
28     path: /src/main/resources/
29     cadi: {{ include "so.cadi.keys" . | nindent 10}}
30   infra:
31     default:
32       alacarte:
33         orchestrationUri: /mso/async/services/ALaCarteOrchestrator
34         recipeTimeout: 180
35         testApi: VNF_API
36       service:
37         macro:
38           default:
39             testApi: GR_API
40   camundaURL: http://so-bpmn-infra.{{ include "common.namespace" . }}:8081/
41   camundaAuth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.mso.camundaAuth )}}
42   async:
43     core-pool-size: 50
44     max-pool-size: 50
45     queue-capacity: 500
46   sdc:
47     client:
48       auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.mso.sdc.client.auth )}}
49     activate:
50       instanceid: test
51       userid: cs0008
52     {{ if (include "common.needTLS" .) }}
53     endpoint: https://sdc-be.{{ include "common.namespace" . }}:8443
54     {{ else }}
55     endpoint: http://sdc-be.{{ include "common.namespace" . }}:8080
56     {{ end }}
57   tenant:
58     isolation:
59       retry:
60         count: 3
61   aai:
62     {{ if (include "common.needTLS" .) }}
63     endpoint: https://aai.{{ include "common.namespace" . }}:8443
64     {{ else }}
65     endpoint: http://aai.{{ include "common.namespace" . }}:8080
66     {{ end }}
67     auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.mso.aai.auth )}}
68
69   extApi:
70     endpoint: http://nbi.onap:8080/nbi/api/v3
71   so:
72     operational-environment:
73       dmaap:
74         username: testuser
75         password: VjR5NDcxSzA=
76         host: http://dmaap-bc.{{ include "common.namespace" . }}:8080
77         auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.encrypted "value2" .Values.mso.so.operationalEnv.dmaap.auth )}}
78       publisher:
79         topic: com.att.ecomp.mso.operationalEnvironmentEvent
80   health:
81     auth: {{ include "so.helpers.profileProperty" (dict "condition" .Values.global.security.aaf.enabled "value1" .Values.global.aaf.auth.header "value2" .Values.mso.health.auth )}}
82     endpoints:
83       - subsystem: apih
84         uri: http://so-bpmn-infra:8081
85       - subsystem: catalogdb
86         uri: http://so-catalog-db-adapter:8082
87 spring:
88   datasource:
89     hikari:
90       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/catalogdb
91       username: ${DB_USERNAME}
92       password: ${DB_PASSWORD}
93       driver-class-name: org.mariadb.jdbc.Driver
94       pool-name: catdb-pool
95       registerMbeans: true
96   jersey:
97     type: filter
98   security:
99     usercredentials:
100     -
101       username: sitecontrol
102       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
103       role: SiteControl-Client
104     -
105       username: gui
106       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
107       role: GUI-Client
108     -
109       username: infraportal
110       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
111       role: InfraPortal-Client
112     -
113       username: InfraPortalClient
114       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
115       role: InfraPortal-Client
116     -
117       username: bpel
118       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
119       role: BPEL-Client
120     -
121       username: mso_admin
122       password: '$2a$10$Fh9ffgPw2vnmsghsRD3ZauBL1aKXebigbq3BB1RPWtE62UDILsjke'
123       role: ACTUATOR
124 request:
125   datasource:
126     hikari:
127       jdbcUrl: jdbc:mariadb://${DB_HOST}:${DB_PORT}/requestdb
128       username: ${DB_USERNAME}
129       password: ${DB_PASSWORD}
130       driver-class-name: org.mariadb.jdbc.Driver
131       pool-name: reqdb-pool
132       registerMbeans: true
133 org:
134   onap:
135     so:
136       cloud-owner: CloudOwner
137       adapters:
138         network:
139           encryptionKey: {{ .Values.mso.msoKey }}