1 ################################################################################
2 # Copyright (c) 2019 AT&T Intellectual Property. #
3 # Copyright (c) 2019 Nokia. #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
18 # Defines multiple config maps for mounting as files; e.g., application.properties
19 # The keys listed below MUST be configured in each deployment;
20 # this list does not include all keys recognized by the app.
21 # The template directives in the URL prefix definitions use common
22 # K8S ingress values, but use Dashboard values if present.
27 name: {{ include "common.configmapname.dashboard" . }}-appconfig
32 port: {{ include "common.serviceport.dashboard.container" . }}
33 userfile: {{ .Values.dashboard.userfile }}
35 # constants for all deployments
36 decryptor: org.oransc.ric.portal.dashboard.portalapi.PortalSdkDecryptorAes
38 # different in all deployments
39 security: {{ .Values.dashboard.portalapi.security }}
40 appname: {{ .Values.dashboard.portalapi.appname }}
41 username: {{ .Values.dashboard.portalapi.username }}
42 password: {{ .Values.dashboard.portalapi.password }}
45 suffix: {{ .Values.dashboard.a1med.url.suffix }}
48 suffix: {{ .Values.dashboard.appmgr.url.suffix }}
51 suffix: {{ .Values.dashboard.e2mgr.url.suffix }}
53 insecure: {{ .Values.dashboard.caasingress.insecure }}
56 suffix: {{ .Values.dashboard.caasingress.plt.url.suffix }}
58 {{ tpl .Values.dashboard.ricinstances . | indent 6 }}
61 cipher.enc.key = {{ .Values.dashboard.cipher.enc.key }}
65 portal.api.impl.class = org.oransc.ric.portal.dashboard.portalapi.PortalRestCentralServiceImpl
66 role_access_centralized = remote
68 ecomp_redirect_url = {{ .Values.dashboard.portalapi.ecomp_redirect_url }}
69 ecomp_rest_url = {{ .Values.dashboard.portalapi.ecomp_rest_url }}
70 ueb_app_key = {{ .Values.dashboard.portalapi.ueb_app_key }}
72 # Temp solution before Portal 2.6
74 [{"orgId":null,"managerId":null,"firstName":"First","middleInitial":null,"lastName":"Last","phone":null,"email":null,"hrid":null,"orgUserId":null,"orgCode":null,"orgManagerUserId":null,"jobTitle":null,"loginId":"demo","active":true,"roles":[{"id":1,"name":"System_Administrator","roleFunctions":null}]}]