blob: 3f5b1b43368c832f94a27d32d6282e2bb7fce75d [file] [log] [blame]
dglFromAttd9d3f422018-10-18 21:04:35 +00001# Copyright © 2018 AT&T, Amdocs, Bell Canada Intellectual Property. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
dglFromAttd9d3f422018-10-18 21:04:35 +000015
16#####################################################
17#
18# Hooks for specific environment configurations
19#
20#####################################################
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000021# Indicator for whether to use AAF for authentication
efiacore62958b2019-09-27 16:54:36 +010022UseAAF: {{ .Values.global.aafEnabled }}
dglFromAttd9d3f422018-10-18 21:04:35 +000023
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000024# Stub out southbound calls for Unit Test cases to run. e.g. not timeout
25# Comment out in other environments to get default (No)
26#UnitTest: Yes
dglFromAttd9d3f422018-10-18 21:04:35 +000027
dglFromAttd9d3f422018-10-18 21:04:35 +000028
29#####################################################
30#
31# Settings for Southbound API: Datarouter
32#
33#####################################################
dglFromAttd9d3f422018-10-18 21:04:35 +000034
35# URI to retrieve dynamic DR configuration
36ProvisioningURI: /internal/prov
37
38# indicator for handling feed delete:
39# DeleteOnDR - means use the DR API to DELETE a feed. (default for backwards compatibility)
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000040# SimulateDelete - means preserve the feed on DR (after cleaning it up), and mark as DELETED in DBCL. Better for cloudify environments.
dglFromAttd9d3f422018-10-18 21:04:35 +000041Feed.deleteHandling: SimulateDelete
42
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000043###########################################################
44# The following properties default to match ONAP DR instance.
45# However, there are some non-ONAP DR instances that require other values.
46# Sets the X-DR-ON-BEHALF-OF HTTP Header value
47#DR.onBehalfHeader:
48# Value for the Content-Type Header in DR Feed API
49#DR.feedContentType:
50# Value for the Content-Type Header in DR Subscription API
51#DR.subContentType:
52#
53# END OF properties helpful for non-ONAP DR instance.
54############################################################
55
dglFromAttd9d3f422018-10-18 21:04:35 +000056#####################################################
57#
58# Settings for Soutbound API: Postgresql
59#
60#####################################################
dglFromAttfb58a9d2019-04-12 20:12:26 +000061# flag indicates if we are using postgresql
62UsePGSQL: {{ .Values.PG.enabled }}
dglFromAttd9d3f422018-10-18 21:04:35 +000063
64# postgres host name
65# Need to connect to PG primary service, designated by service.name2
66DB.host: {{ .Values.postgres.service.name2 }}
67
68# postgres schema name
69#DB.schema: {{ .Values.postgres.config.pgDatabase }}
70
71# postgres user name
Krzysztof Opasiak03a125a2020-05-05 02:11:09 +020072DB.user: ${PG_USER}
dglFromAttd9d3f422018-10-18 21:04:35 +000073
74# postgres user password
Krzysztof Opasiak03a125a2020-05-05 02:11:09 +020075DB.cred: ${PG_PASSWORD}
dglFromAttd9d3f422018-10-18 21:04:35 +000076
77
78#####################################################
79#
80# Settings for Soutbound API: Message Router
81#
82#####################################################
83# indicator for multi-site (locations) deployment. Give clue to buscontroller whether
84# there is a need for message replication between edge and central.
85# ONAP Casablanca is a single site deployment
86MR.multisite: false
87
88# FQDN of primary message router.
89# In ONAP Casablanca, there is only 1 message router service, so use that.
90# In a multi-site, MR cluster deployment, use the CNAME DNS entry which resolves to the primary central MR
91MR.CentralCname: {{ .Values.dmaapMessageRouterService }}
92
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +000093# Indicator for whether we want hostname verification on SSL connection to MR
94MR.hostnameVerify: false
95
dglFromAttd9d3f422018-10-18 21:04:35 +000096# MR Client Delete Level thoroughness:
97# 0 = don't delete
98# 1 = delete from persistent store
99# 2 = delete from persistent store (DB) and authorization store (AAF)
100MR.ClientDeleteLevel: 1
101
102# namespace of MR Topic Factory
103MR.TopicFactoryNS: org.onap.dmaap.mr.topicFactory
104
105# AAF Role assigned to Topic Manager Identity
106MR.TopicMgrRole: org.onap.dmaap-bc-topic-mgr.client
107
108# MR topic ProjectID (used in certain topic name generation formats)
dglFromAtt7bc16362019-01-18 20:50:20 +0000109MR.projectID: mr
dglFromAttd9d3f422018-10-18 21:04:35 +0000110
dglFromAtt2ce13652019-05-03 18:25:12 +0000111# Use Basic Authentication when provisioning topics
112MR.authentication: basicAuth
113
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +0000114# MR topic name style (default is FQTN_LEGACY_FORMAT)
115#MR.topicStyle: FQTN_LEGACY_FORMAT
116#
117# end of MR Related Properties
118################################################################################
119
dglFromAttd9d3f422018-10-18 21:04:35 +0000120
121#####################################################
122#
123# Settings for Southbound API: CADI
124#
125#####################################################
126# path to cadi.properties
burdziake07c3312019-04-10 09:59:01 +0200127cadi.properties: /opt/app/osaaf/local/org.onap.dmaap-bc.props
dglFromAttd9d3f422018-10-18 21:04:35 +0000128
129#####################################################
130#
131# Settings for Southbound API: AAF proxy
132#
133#####################################################
134# URL of the AAF server
135aaf.URL: {{ .Values.aafURL }}
136
137# TopicMgr Identity
138aaf.TopicMgrUser: {{ .Values.topicMgrUser }}
139
140# Password for TopicMgr identity
141aaf.TopicMgrPassword: {{ .Values.topicMgrPwd }}
142
143# Buscontroller Admin Identity
144aaf.AdminUser: {{ .Values.adminUser }}
145
146# Admin Password
147aaf.AdminPassword: {{ .Values.adminPwd }}
148
dglFromAtt7bc16362019-01-18 20:50:20 +0000149# Identity that is owner of any created namespaces for topics
150aaf.NsOwnerIdentity: {{ .Values.adminUser }}
151
dglFromAttd9d3f422018-10-18 21:04:35 +0000152
153# this overrides the Class used for Decryption.
154# This allows for a plugin encryption/decryption method if needed.
155# Call this Class for decryption at runtime.
156#AafDecryption.Class: com.company.proprietaryDecryptor
157
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +0000158# location of the codec keyfile used to decrypt passwords in this properties file before they are passed to AAF
159# Not used in ONAP, but possibly used with Decryption override class.
160#CredentialCodeKeyfile: etc/LocalKey
161
162#
163# endof AAF Properties
164####################################################
165
dglFromAttd9d3f422018-10-18 21:04:35 +0000166
167#####################################################
168#
169# Settings for authorization of DBCAPI
170#
171#####################################################
172# Namespace for URI values for the API used to create AAF permissions
173# e.g. if ApiNamespace is X.Y.dmaapbc.api then for URI /mr_clients we create AAF perm X.Y.dmaapbc.api.mr_clients
174ApiNamespace: org.onap.dmaap-bc.api
175
176# If API authorization is required, then implement a class to enforce it.
177# This overrides the Class used for API permission check.
pkarascd790842019-04-18 10:21:40 +0200178ApiPermission.Class: org.onap.dmaap.dbcapi.authentication.AllowAll
dglFromAttd9d3f422018-10-18 21:04:35 +0000179
180#####################################################
181#
182# Settings for Southbound API: MirrorMaker provisioning
183#
184#####################################################
185# AAF Role of client publishing MM prov cmds
186MM.ProvRole: org.onap.dmaap-bc-mm-prov.prov
187
188# AAF identity when publishing MM prov cmds
189MM.ProvUserMechId: dmaap-bc-mm-prov@dmaap-bc-mm-prov.onap.org
190
191# pwd for Identity used to publish MM prov cmds
192MM.ProvUserPwd: demo123456!
193
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +0000194# AAF Role of MirrorMaker agent subscribed to prov cmds.
dglFromAttd9d3f422018-10-18 21:04:35 +0000195MM.AgentRole: org.onal.dmaap-bc-mm-prov.agent
196
197#####################################################
198#
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +0000199# Certificate Management
200#
201#####################################################
202
203# Indicates how we are expecting certificates to be provided:
204# cadi - a set of artifacts will be downloaded from AAF at deployment time, and details will be in a cadi properties file
205# legacy (default) - artifacts will be installed manually or some other way and details will be in this file
206CertificateManagement: cadi
207
208# When CertificateManagement is cadi, then this is where all the cadi properties will be.
209# Note that the cadi properties include where the cert is, and the encrypted passwords to read.
210cadi.properties: /opt/app/osaaf/local/org.onap.dmaap-bc.props
211
212###########################################################################################
213# When CertificateManagement is legacy, we need to provide more details about cert handling:
214#CertificateManagement: legacy
215# the type of keystore for https (for legacy CertificateManagment only)
216#KeyStoreType: jks
217
218# path to the keystore file (for legacy CertificateManagment only)
219#KeyStoreFile: etc/keystore
220
221# password for the https keystore (for legacy CertificateManagment only)
222#KeyStorePassword: Y@Y5f&gm?PAz,CVQL,lk[VAF
223# password for the private key in the https keystore (for legacy CertificateManagment only)
224#KeyPassword: changeit
225
226# type of truststore for https (for legacy CertificateManagment only)
227#TrustStoreType: jks
228
229# path to the truststore for https (for legacy CertificateManagment only)
230#TrustStoreFile: etc/org.onap.dmaap-bc.trust.jks
231
232# password for the https truststore (for legacy CertificateManagment only)
233#TrustStorePassword: changeit
234#
235# END OF legacy CertificateManagement properties
236###########################################################################################
237
238
239#####################################################
240#
dglFromAttd9d3f422018-10-18 21:04:35 +0000241# HTTP Server Configuration
242#
243#####################################################
244
245# Allow http access to dbcapi
246HttpAllowed: true
247
248# listen to http port within this container (server)
249IntHttpPort: 8080
250
251# listen to https port within this container (server)
252# set to 0 if no certificates are available.
253IntHttpsPort: 8443
254
dglFromAttd9d3f422018-10-18 21:04:35 +0000255
dglFromAttd9d3f422018-10-18 21:04:35 +0000256
sunil.unnava02f077e2019-03-28 20:50:29 -0400257inHttpsPort: 0
Dominic Lunanuovade7a02b2020-03-12 16:36:09 +0000258
259#####################################################
260#
261# Deprecated
262#
263#####################################################
264# csit: stubs out some southbound APIs for csit (deprecated)
265#csit: No
266# name of this DMaaP instance (deprecated)
267#DmaapName: demo
268# external port number for https taking port mapping into account (deprecated)
269#ExtHttpsPort: 443
270# path to the file used to trigger an orderly shutdown (deprecated)
271#QuiesceFile: etc/SHUTDOWN
272# FQDN of DR Prov Server (deprecated)
273#DR.provhost: dcae-drps.domain.not.set
274# root of topic namespace (decrecated)
275#topicNsRoot: org.onap.dcae.dmaap