Automated test coverage code
[dmaap/dbcapi.git] / etc / dmaapbc.properties
1 #
2 #       Configuration parameters fixed at startup for the DMaaP Bus Controller
3 #
4 #
5 #       URI to retrieve dynamic DR configuration
6 #
7 ProvisioningURI:        /internal/prov
8 #
9 #       Allow http access to API 
10 #
11 HttpAllowed:    true
12 #
13 #       The port number for http as seen within the server
14 #
15 IntHttpPort:    8080
16 #
17 #       The port number for https as seen within the server
18 #   Set to 0 if no certificate is available yet...
19 #
20 IntHttpsPort:   0
21 #
22 #       The external port number for https taking port mapping into account
23 #
24 ExtHttpsPort:   0
25 #
26 #       The type of keystore for https
27 #
28 KeyStoreType:   jks
29 #
30 #       The path to the keystore for https
31 #
32 KeyStoreFile:   etc/keystore
33 #
34 #       The password for the https keystore
35 #
36 KeyStorePassword:       changeit
37 #
38 #       The password for the private key in the https keystore
39 #
40 KeyPassword:    changeit
41 #
42 #       The type of truststore for https
43 #
44 TrustStoreType: jks
45 #
46 #       The path to the truststore for https
47 #
48 TrustStoreFile: ${DMAAPBC_TSTOREFILE}
49 #
50 #       The password for the https truststore
51 #
52 TrustStorePassword:     changeit
53 #
54 #       The path to the file used to trigger an orderly shutdown
55 #
56 QuiesceFile:    etc/SHUTDOWN
57 #
58 #       Enable postgress
59 #
60 UsePGSQL:       false
61 #
62 #       The host for postgres access
63 #
64 DB.host:        none
65 #
66 #       For postgres access
67 #
68 DB.cred:        none
69 #
70 #       Name of this environment
71 #
72 DmaapName:      onap-cit
73 #
74 #       Name of DR prov server
75 #
76 DR.provhost:    dmaap-drps
77 #
78 # handling of feed delete
79 # DeleteOnDR - means use the DR API to DELETE a feed. (default for backwards compatibility)
80 # SimulateDelete - means preserve the feed on DR (after cleaning it up), and mark as DELETED in DBCL.  Better for cfy environments
81 Feed.deleteHandling: DeleteOnDR
82
83 ################################################################################
84 # MR Related Properties:
85 #
86 #   Value of the CNAME DNS entry which resolves to the primary central MR cluster (when there are more than one central clusters).
87 #   if there is only one MR cluster in an environment, set this to the DNS name for that cluster
88 #
89 MR.CentralCname:  notSet.onap.org
90 #
91 #   MR Client Delete Level thoroughness:
92 #   0 = don't delete
93 #   1 = delete from persistent store
94 #   2 = delete from persistent store (DB) and authorization store (AAF)
95 MR.ClientDeleteLevel: 1
96 #
97 #   MR Topic Factory Namespace
98 #
99 MR.TopicFactoryNS: org.onap.dcae.dmaap.topicFactory
100 #
101 #   MR TopicMgr Role
102 MR.TopicMgrRole:    org.onap.dmaapBC.TopicMgr
103
104 #   MR topic name style
105 MR.topicStyle:  FQTN_LEGACY_FORMAT
106
107 #   MR topic ProjectID
108 MR.projectID:  23456
109 #
110 # end of MR Related Properties
111 ################################################################################
112
113 #
114 #       The Role and credentials of the MirrorMaker Provisioner.  This is used by DMaaP Bus Controller to pub to the provisioning topic
115 #   Not part of 1701
116 #
117 MM.ProvRole: org.onap.dmaapBC.MMprov.prov
118 MM.ProvUserMechId: idNotSet@namespaceNotSet
119 MM.ProvUserPwd: pwdNotSet
120 #
121 #       The Role of the MirrorMaker Agent. This is used by MM to sub to provisioning topic
122 #
123 MM.AgentRole: org.onap.dmaapBC.MMagent.agent
124 #################
125 # AAF Properties:
126 #
127 # regarding password encryption:
128 # 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:
129 #
130 # java \u2013jar wherever/cadi-core-*.jar keygen keyfilename
131 # chmod 400 keyfilename
132 #
133 # To encrypt a key:
134 #
135 # java \u2013jar wherever/cadi-core-*.jar digest password-to-encrypt keyfilename
136 #
137 # This will generate a string.  Put \u201Cenc:\u201D on the front of the string, and put the result in this properties file.
138 #
139 # Location of the Codec Keyfile which is used to decrypt passwords in this properties file before they are passed to AAF
140 #
141 # REF: https://wiki.domain.notset.com/display/cadi/CADI+Deployment
142 #
143 CredentialCodecKeyfile: etc/LocalKey
144 #
145 # This overrides the Class used for Decryption.
146 # This allows for a plugin encryption/decryption method if needed.
147 # Call this Class for decryption at runtime.
148 #AafDecryption.Class: com.company.proprietaryDecryptor 
149
150 #
151 # This overrides the Class used for API Permission check.
152 # This allows for a plugin policy check, if needed
153 #ApiPermission.Class: com.company.policy.DecisionPolicy
154
155 #
156 # URL of AAF environment to use.
157 #
158 aaf.URL:        https://authentication.simpledemo.onap.org:8095/proxy/
159 #
160 # TopicMgr mechid@namespace
161 #
162 aaf.TopicMgrUser:       idNotSet@namespaceNotSet
163 #
164 # TopicMgr password
165
166 aaf.TopicMgrPassword:   pwdNotSet
167 #
168 # Bus Controller Namespace Admin  mechid@namespace
169 #
170 aaf.AdminUser:  idNotSet@namespaceNotSet
171 #
172 # Bus Controller Namespace Admin password
173 #
174 aaf.AdminPassword:      pwdNotSet
175 #
176 # endof AAF Properties
177 #################
178 #################
179 # PolicyEngine Properties
180 #
181 # Flag to turn on/off Authentication
182 UsePE: false
183 #
184 # Argument to decisionAttributes.put("AAF_ENVIRONMENT", X); 
185 # where X is:  TEST= UAT, PROD = PROD, DEVL = TEST
186 #
187 PeAafEnvironment: DEVL
188 PeAafUrl.DEVL:  https://aafdev.onap.org:8095/proxy/
189 PeAafUrl.TEST:  https://aafist..onap.org:8095/proxy/
190 PeAafUrl.PROD:  https://aafprod.onap.org:8095/proxy/
191
192 #
193 # Name of PolicyEngineApi properties file
194 PolicyEngineProperties: config/PolicyEngineApi.properties
195 #
196 # Namespace for URI values for API used to create AAF permissions
197 # e.g. if ApiNamespace is X.Y..dmaapBC.api then for URI /topics we create an AAF perm X.Y..dmaapBC.api.topics
198 ApiNamespace: org.onap.dmaapBC.api
199 #
200 # endof PolicyEngineProperties
201 #################