[DMAAP-BC] Consolidate bus controller repos
[dmaap/buscontroller.git] / dmaap-bc / src / test / resources / dmaapbc.properties
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
15
16 #####################################################
17 #
18 # Hooks for specific environment configurations
19 #
20 #####################################################
21 # Indicator for whether to use AAF for authentication
22 #UseAAF: false
23
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
27
28
29 #####################################################
30 #
31 # Settings for Southbound API: Datarouter
32 #
33 #####################################################
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)
40 #  SimulateDelete - means preserve the feed on DR (after cleaning it up), and mark as DELETED in DBCL.  Better for cloudify environments.
41 Feed.deleteHandling: DeleteOnDR
42
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
56 #####################################################
57 #
58 # Settings for Soutbound API: Postgresql
59 #
60 #####################################################
61 # flag indicates if we are using postgresql
62 UsePGSQL: false
63
64 # postgres host name
65 # Need to connect to PG primary service, designated by service.name2
66 DB.host: none
67
68 # postgres schema name
69 #DB.schema: {{ .Values.postgres.config.pgDatabase }}
70
71 # postgres user name
72 #DB.user: {{ .Values.postgres.config.pgUserName }}
73
74 # postgres user password
75 DB.cred: none
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: true
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: notSet.onap.org
92
93 # Indicator for whether we want hostname verification on SSL connection to MR
94 MR.hostnameVerify: false
95
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.TopicMgr
107
108 # MR topic ProjectID (used in certain topic name generation formats)
109 MR.projectID:  23456
110
111 # Use Basic Authentication when provisioning topics
112 #MR.authentication: basicAuth
113
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
120
121 #####################################################
122 #
123 # Settings for Southbound API: CADI
124 #
125 #####################################################
126 # path to cadi.properties
127 #cadi.properties: /opt/app/osaaf/local/org.onap.dmaap-bc.props
128
129 #####################################################
130 #
131 # Settings for Southbound API: AAF proxy
132 #
133 #####################################################
134 # URL of the AAF server
135 aaf.URL: https://localhost:8100/proxy
136
137 # TopicMgr Identity
138 aaf.TopicMgrUser: idNotSet@namespaceNotSet
139
140 # Password for TopicMgr identity
141 aaf.TopicMgrPassword: pwdNotSet
142
143 # Buscontroller Admin Identity
144 aaf.AdminUser: idNotSet@namespaceNotSet
145
146 # Admin Password
147 aaf.AdminPassword: pwdNotSet
148
149 # Identity that is owner of any created namespaces for topics
150 #aaf.NsOwnerIdentity: ownerNotSet@namespaceNotSet.org
151
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
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 CredentialCodecKeyfile: etc/LocalKey
161
162 #
163 # endof AAF Properties
164 ####################################################
165
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.dmaapBC.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.
178 ApiPermission.Class: org.onap.dmaap.dbcapi.authentication.AllowAll
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.dmaapBC.MMprov.prov
187
188 # AAF identity when publishing MM prov cmds
189 MM.ProvUserMechId: idNotSet@namespaceNotSet
190
191 # pwd for Identity used to publish MM prov cmds
192 MM.ProvUserPwd: pwdNotSet
193
194 # AAF Role of MirrorMaker agent subscribed to prov cmds. 
195 MM.AgentRole: org.onap.dmaapBC.MMagent.agent
196
197 #####################################################
198 #
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: legacy
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:  changeit
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: ${DMAAPBC_TSTOREFILE}
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 #
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: 0
254
255
256 inHttpsPort: 0
257
258 #####################################################
259 #
260 # Deprecated properties
261 #
262 #####################################################
263 # csit: stubs out some southbound APIs for csit  (deprecated)
264 #csit: No
265 # name of this DMaaP instance (deprecated)
266 #DmaapName: onap-cit
267 # external port number for https taking port mapping into account  (deprecated)
268 #ExtHttpsPort: 443
269 # path to the file used to trigger an orderly shutdown (deprecated)
270 #QuiesceFile: etc/SHUTDOWN
271 # FQDN of DR Prov Server (deprecated)
272 #DR.provhost: localhost
273 # root of topic namespace (decrecated)
274 #topicNsRoot: org.onap.dcae.dmaap