blob: b0dc7de9518cd4956c7cbbb3f8e704a3f0cd2f20 [file] [log] [blame]
Dominic Lunanuova1ab29ec2018-02-13 22:44:20 +00001#
dglFromAtt9308e9c2018-05-09 21:26:07 -04002#
3# ============LICENSE_START==========================================
4# org.onap.dmaap
5# ===================================================================
6# Copyright © 2018 AT&T Intellectual Property. All rights reserved.
7# ===================================================================
8# Licensed under the Apache License, Version 2.0 (the "License");
9# you may not use this file except in compliance with the License.
10# You may obtain a copy of the License at
11#
12# http://www.apache.org/licenses/LICENSE-2.0
13#
14# Unless required by applicable law or agreed to in writing, software
15# distributed under the License is distributed on an "AS IS" BASIS,
16# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17# See the License for the specific language governing permissions and
18# limitations under the License.
19# ============LICENSE_END============================================
20# ECOMP is a trademark and service mark of AT&T Intellectual Property.
21#
22#
Dominic Lunanuova1ab29ec2018-02-13 22:44:20 +000023# Configuration parameters fixed at startup for the DMaaP Bus Controller
24#
25#
26# URI to retrieve dynamic DR configuration
27#
dglFromAtt503da872018-02-28 08:00:19 -050028UnitTest: Yes
Dominic Lunanuova1ab29ec2018-02-13 22:44:20 +000029ProvisioningURI: /internal/prov
30#
31# Allow http access to API
32#
33HttpAllowed: true
34#
35# The port number for http as seen within the server
36#
37IntHttpPort: 8080
38#
39# The port number for https as seen within the server
40# Set to 0 if no certificate is available yet...
41#
42IntHttpsPort: 0
43#
44# The external port number for https taking port mapping into account
45#
46ExtHttpsPort: 0
47#
48# The type of keystore for https
49#
50KeyStoreType: jks
51#
52# The path to the keystore for https
53#
54KeyStoreFile: etc/keystore
55#
56# The password for the https keystore
57#
58KeyStorePassword: changeit
59#
60# The password for the private key in the https keystore
61#
62KeyPassword: changeit
63#
64# The type of truststore for https
65#
66TrustStoreType: jks
67#
68# The path to the truststore for https
69#
70TrustStoreFile: ${DMAAPBC_TSTOREFILE}
71#
72# The password for the https truststore
73#
74TrustStorePassword: changeit
75#
76# The path to the file used to trigger an orderly shutdown
77#
78QuiesceFile: etc/SHUTDOWN
79#
80# Enable postgress
81#
82UsePGSQL: false
83#
84# The host for postgres access
85#
86DB.host: none
87#
88# For postgres access
89#
90DB.cred: none
91#
92# Name of this environment
93#
94DmaapName: onap-cit
95#
96# Name of DR prov server
97#
dglFromAtt41317d52018-02-28 14:24:03 -050098DR.provhost: localhost
Dominic Lunanuova1ab29ec2018-02-13 22:44:20 +000099#
100# handling of feed delete
101# DeleteOnDR - means use the DR API to DELETE a feed. (default for backwards compatibility)
102# SimulateDelete - means preserve the feed on DR (after cleaning it up), and mark as DELETED in DBCL. Better for cfy environments
103Feed.deleteHandling: DeleteOnDR
104
105################################################################################
106# MR Related Properties:
107#
108# Value of the CNAME DNS entry which resolves to the primary central MR cluster (when there are more than one central clusters).
109# if there is only one MR cluster in an environment, set this to the DNS name for that cluster
110#
111MR.CentralCname: notSet.onap.org
112#
113# MR Client Delete Level thoroughness:
114# 0 = don't delete
115# 1 = delete from persistent store
116# 2 = delete from persistent store (DB) and authorization store (AAF)
117MR.ClientDeleteLevel: 1
118#
119# MR Topic Factory Namespace
120#
dglFromAttb16582c2018-10-23 17:15:14 -0400121MR.TopicFactoryNS: org.onap.dmaap.mr.topicFactory
Dominic Lunanuova1ab29ec2018-02-13 22:44:20 +0000122#
123# MR TopicMgr Role
dglFromAttb16582c2018-10-23 17:15:14 -0400124MR.TopicMgrRole: org.onap.dmaap-bc.TopicMgr
Dominic Lunanuova1ab29ec2018-02-13 22:44:20 +0000125
126# MR topic name style
127MR.topicStyle: FQTN_LEGACY_FORMAT
128
129# MR topic ProjectID
130MR.projectID: 23456
dglFromAttb16582c2018-10-23 17:15:14 -0400131
dglFromAttbfe1f522019-03-12 16:59:35 -0400132MR.multisite: true
Dominic Lunanuova1ab29ec2018-02-13 22:44:20 +0000133#
134# end of MR Related Properties
135################################################################################
136
137#
138# The Role and credentials of the MirrorMaker Provisioner. This is used by DMaaP Bus Controller to pub to the provisioning topic
139# Not part of 1701
140#
141MM.ProvRole: org.onap.dmaapBC.MMprov.prov
142MM.ProvUserMechId: idNotSet@namespaceNotSet
143MM.ProvUserPwd: pwdNotSet
144#
145# The Role of the MirrorMaker Agent. This is used by MM to sub to provisioning topic
146#
147MM.AgentRole: org.onap.dmaapBC.MMagent.agent
148#################
149# AAF Properties:
150#
151# regarding password encryption:
152# In the dependencies that Maven retrieves (e.g., under dcae_dmaapbc/target/deps/ is a jar file cadi-core-version.jar. Generate the key file with:
153#
154# java \u2013jar wherever/cadi-core-*.jar keygen keyfilename
155# chmod 400 keyfilename
156#
157# To encrypt a key:
158#
159# java \u2013jar wherever/cadi-core-*.jar digest password-to-encrypt keyfilename
160#
161# This will generate a string. Put \u201Cenc:\u201D on the front of the string, and put the result in this properties file.
162#
163# Location of the Codec Keyfile which is used to decrypt passwords in this properties file before they are passed to AAF
164#
165# REF: https://wiki.domain.notset.com/display/cadi/CADI+Deployment
166#
167CredentialCodecKeyfile: etc/LocalKey
168#
169# This overrides the Class used for Decryption.
170# This allows for a plugin encryption/decryption method if needed.
171# Call this Class for decryption at runtime.
172#AafDecryption.Class: com.company.proprietaryDecryptor
173
174#
175# This overrides the Class used for API Permission check.
176# This allows for a plugin policy check, if needed
177#ApiPermission.Class: com.company.policy.DecisionPolicy
178
179#
180# URL of AAF environment to use.
181#
dglFromAtt503da872018-02-28 08:00:19 -0500182aaf.URL: https://localhost:8095/proxy/
Dominic Lunanuova1ab29ec2018-02-13 22:44:20 +0000183#
184# TopicMgr mechid@namespace
185#
186aaf.TopicMgrUser: idNotSet@namespaceNotSet
187#
188# TopicMgr password
189#
190aaf.TopicMgrPassword: pwdNotSet
191#
192# Bus Controller Namespace Admin mechid@namespace
193#
194aaf.AdminUser: idNotSet@namespaceNotSet
195#
196# Bus Controller Namespace Admin password
197#
198aaf.AdminPassword: pwdNotSet
199#
200# endof AAF Properties
201#################
202#################
203# PolicyEngine Properties
204#
205# Flag to turn on/off Authentication
206UsePE: false
207#
208# Argument to decisionAttributes.put("AAF_ENVIRONMENT", X);
209# where X is: TEST= UAT, PROD = PROD, DEVL = TEST
210#
211PeAafEnvironment: DEVL
dglFromAtt503da872018-02-28 08:00:19 -0500212PeAafUrl.DEVL: https://localhost:8095/proxy/
Dominic Lunanuova1ab29ec2018-02-13 22:44:20 +0000213PeAafUrl.TEST: https://aafist..onap.org:8095/proxy/
214PeAafUrl.PROD: https://aafprod.onap.org:8095/proxy/
215
216#
217# Name of PolicyEngineApi properties file
218PolicyEngineProperties: config/PolicyEngineApi.properties
219#
220# Namespace for URI values for API used to create AAF permissions
221# e.g. if ApiNamespace is X.Y..dmaapBC.api then for URI /topics we create an AAF perm X.Y..dmaapBC.api.topics
222ApiNamespace: org.onap.dmaapBC.api
223#
224# endof PolicyEngineProperties
225#################