dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 1 | # 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 | |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 15 | |
| 16 | ##################################################### |
| 17 | # |
| 18 | # Hooks for specific environment configurations |
| 19 | # |
| 20 | ##################################################### |
Dominic Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 21 | # Indicator for whether to use AAF for authentication |
efiacor | e62958b | 2019-09-27 16:54:36 +0100 | [diff] [blame] | 22 | UseAAF: {{ .Values.global.aafEnabled }} |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 23 | |
Dominic Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 24 | # 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 |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 27 | |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 28 | |
| 29 | ##################################################### |
| 30 | # |
| 31 | # Settings for Southbound API: Datarouter |
| 32 | # |
| 33 | ##################################################### |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 34 | |
| 35 | # URI to retrieve dynamic DR configuration |
| 36 | ProvisioningURI: /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 Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 40 | # SimulateDelete - means preserve the feed on DR (after cleaning it up), and mark as DELETED in DBCL. Better for cloudify environments. |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 41 | Feed.deleteHandling: SimulateDelete |
| 42 | |
Dominic Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 43 | ########################################################### |
| 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 | |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 56 | ##################################################### |
| 57 | # |
| 58 | # Settings for Soutbound API: Postgresql |
| 59 | # |
| 60 | ##################################################### |
dglFromAtt | fb58a9d | 2019-04-12 20:12:26 +0000 | [diff] [blame] | 61 | # flag indicates if we are using postgresql |
| 62 | UsePGSQL: {{ .Values.PG.enabled }} |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 63 | |
| 64 | # postgres host name |
| 65 | # Need to connect to PG primary service, designated by service.name2 |
| 66 | DB.host: {{ .Values.postgres.service.name2 }} |
| 67 | |
| 68 | # postgres schema name |
| 69 | #DB.schema: {{ .Values.postgres.config.pgDatabase }} |
| 70 | |
| 71 | # postgres user name |
Krzysztof Opasiak | 03a125a | 2020-05-05 02:11:09 +0200 | [diff] [blame] | 72 | DB.user: ${PG_USER} |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 73 | |
| 74 | # postgres user password |
Krzysztof Opasiak | 03a125a | 2020-05-05 02:11:09 +0200 | [diff] [blame] | 75 | DB.cred: ${PG_PASSWORD} |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 76 | |
| 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 |
| 86 | MR.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 |
| 91 | MR.CentralCname: {{ .Values.dmaapMessageRouterService }} |
| 92 | |
Dominic Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 93 | # Indicator for whether we want hostname verification on SSL connection to MR |
| 94 | MR.hostnameVerify: false |
| 95 | |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 96 | # 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) |
| 100 | MR.ClientDeleteLevel: 1 |
| 101 | |
| 102 | # namespace of MR Topic Factory |
| 103 | MR.TopicFactoryNS: org.onap.dmaap.mr.topicFactory |
| 104 | |
| 105 | # AAF Role assigned to Topic Manager Identity |
| 106 | MR.TopicMgrRole: org.onap.dmaap-bc-topic-mgr.client |
| 107 | |
| 108 | # MR topic ProjectID (used in certain topic name generation formats) |
dglFromAtt | 7bc1636 | 2019-01-18 20:50:20 +0000 | [diff] [blame] | 109 | MR.projectID: mr |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 110 | |
dglFromAtt | 2ce1365 | 2019-05-03 18:25:12 +0000 | [diff] [blame] | 111 | # Use Basic Authentication when provisioning topics |
| 112 | MR.authentication: basicAuth |
| 113 | |
Dominic Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 114 | # MR topic name style (default is FQTN_LEGACY_FORMAT) |
| 115 | #MR.topicStyle: FQTN_LEGACY_FORMAT |
| 116 | # |
| 117 | # end of MR Related Properties |
| 118 | ################################################################################ |
| 119 | |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 120 | |
| 121 | ##################################################### |
| 122 | # |
| 123 | # Settings for Southbound API: CADI |
| 124 | # |
| 125 | ##################################################### |
| 126 | # path to cadi.properties |
burdziak | e07c331 | 2019-04-10 09:59:01 +0200 | [diff] [blame] | 127 | cadi.properties: /opt/app/osaaf/local/org.onap.dmaap-bc.props |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 128 | |
| 129 | ##################################################### |
| 130 | # |
| 131 | # Settings for Southbound API: AAF proxy |
| 132 | # |
| 133 | ##################################################### |
| 134 | # URL of the AAF server |
| 135 | aaf.URL: {{ .Values.aafURL }} |
| 136 | |
| 137 | # TopicMgr Identity |
| 138 | aaf.TopicMgrUser: {{ .Values.topicMgrUser }} |
| 139 | |
| 140 | # Password for TopicMgr identity |
| 141 | aaf.TopicMgrPassword: {{ .Values.topicMgrPwd }} |
| 142 | |
| 143 | # Buscontroller Admin Identity |
| 144 | aaf.AdminUser: {{ .Values.adminUser }} |
| 145 | |
| 146 | # Admin Password |
| 147 | aaf.AdminPassword: {{ .Values.adminPwd }} |
| 148 | |
dglFromAtt | 7bc1636 | 2019-01-18 20:50:20 +0000 | [diff] [blame] | 149 | # Identity that is owner of any created namespaces for topics |
| 150 | aaf.NsOwnerIdentity: {{ .Values.adminUser }} |
| 151 | |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 152 | |
| 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 Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 158 | # 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 | |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 166 | |
| 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 |
| 174 | ApiNamespace: 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. |
pkaras | cd79084 | 2019-04-18 10:21:40 +0200 | [diff] [blame] | 178 | ApiPermission.Class: org.onap.dmaap.dbcapi.authentication.AllowAll |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 179 | |
| 180 | ##################################################### |
| 181 | # |
| 182 | # Settings for Southbound API: MirrorMaker provisioning |
| 183 | # |
| 184 | ##################################################### |
| 185 | # AAF Role of client publishing MM prov cmds |
| 186 | MM.ProvRole: org.onap.dmaap-bc-mm-prov.prov |
| 187 | |
| 188 | # AAF identity when publishing MM prov cmds |
| 189 | MM.ProvUserMechId: dmaap-bc-mm-prov@dmaap-bc-mm-prov.onap.org |
| 190 | |
| 191 | # pwd for Identity used to publish MM prov cmds |
| 192 | MM.ProvUserPwd: demo123456! |
| 193 | |
Dominic Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 194 | # AAF Role of MirrorMaker agent subscribed to prov cmds. |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 195 | MM.AgentRole: org.onal.dmaap-bc-mm-prov.agent |
| 196 | |
| 197 | ##################################################### |
| 198 | # |
Dominic Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 199 | # 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 |
| 206 | CertificateManagement: 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. |
| 210 | cadi.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 | # |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 241 | # HTTP Server Configuration |
| 242 | # |
| 243 | ##################################################### |
| 244 | |
| 245 | # Allow http access to dbcapi |
| 246 | HttpAllowed: true |
| 247 | |
| 248 | # listen to http port within this container (server) |
| 249 | IntHttpPort: 8080 |
| 250 | |
| 251 | # listen to https port within this container (server) |
| 252 | # set to 0 if no certificates are available. |
| 253 | IntHttpsPort: 8443 |
| 254 | |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 255 | |
dglFromAtt | d9d3f42 | 2018-10-18 21:04:35 +0000 | [diff] [blame] | 256 | |
sunil.unnava | 02f077e | 2019-03-28 20:50:29 -0400 | [diff] [blame] | 257 | inHttpsPort: 0 |
Dominic Lunanuova | de7a02b | 2020-03-12 16:36:09 +0000 | [diff] [blame] | 258 | |
| 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 |