Dominic Lunanuova | 1ab29ec | 2018-02-13 22:44:20 +0000 | [diff] [blame] | 1 | # |
dglFromAtt | 9308e9c | 2018-05-09 21:26:07 -0400 | [diff] [blame] | 2 | # |
| 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 Lunanuova | 1ab29ec | 2018-02-13 22:44:20 +0000 | [diff] [blame] | 23 | # Configuration parameters fixed at startup for the DMaaP Bus Controller |
| 24 | # |
| 25 | # |
| 26 | # URI to retrieve dynamic DR configuration |
| 27 | # |
dglFromAtt | 503da87 | 2018-02-28 08:00:19 -0500 | [diff] [blame] | 28 | UnitTest: Yes |
Dominic Lunanuova | 1ab29ec | 2018-02-13 22:44:20 +0000 | [diff] [blame] | 29 | ProvisioningURI: /internal/prov |
| 30 | # |
| 31 | # Allow http access to API |
| 32 | # |
| 33 | HttpAllowed: true |
| 34 | # |
| 35 | # The port number for http as seen within the server |
| 36 | # |
| 37 | IntHttpPort: 8080 |
| 38 | # |
| 39 | # The port number for https as seen within the server |
| 40 | # Set to 0 if no certificate is available yet... |
| 41 | # |
| 42 | IntHttpsPort: 0 |
| 43 | # |
| 44 | # The external port number for https taking port mapping into account |
| 45 | # |
| 46 | ExtHttpsPort: 0 |
| 47 | # |
| 48 | # The type of keystore for https |
| 49 | # |
| 50 | KeyStoreType: jks |
| 51 | # |
| 52 | # The path to the keystore for https |
| 53 | # |
| 54 | KeyStoreFile: etc/keystore |
| 55 | # |
| 56 | # The password for the https keystore |
| 57 | # |
| 58 | KeyStorePassword: changeit |
| 59 | # |
| 60 | # The password for the private key in the https keystore |
| 61 | # |
| 62 | KeyPassword: changeit |
| 63 | # |
| 64 | # The type of truststore for https |
| 65 | # |
| 66 | TrustStoreType: jks |
| 67 | # |
| 68 | # The path to the truststore for https |
| 69 | # |
| 70 | TrustStoreFile: ${DMAAPBC_TSTOREFILE} |
| 71 | # |
| 72 | # The password for the https truststore |
| 73 | # |
| 74 | TrustStorePassword: changeit |
| 75 | # |
| 76 | # The path to the file used to trigger an orderly shutdown |
| 77 | # |
| 78 | QuiesceFile: etc/SHUTDOWN |
| 79 | # |
| 80 | # Enable postgress |
| 81 | # |
| 82 | UsePGSQL: false |
| 83 | # |
| 84 | # The host for postgres access |
| 85 | # |
| 86 | DB.host: none |
| 87 | # |
| 88 | # For postgres access |
| 89 | # |
| 90 | DB.cred: none |
| 91 | # |
| 92 | # Name of this environment |
| 93 | # |
| 94 | DmaapName: onap-cit |
| 95 | # |
| 96 | # Name of DR prov server |
| 97 | # |
dglFromAtt | 41317d5 | 2018-02-28 14:24:03 -0500 | [diff] [blame] | 98 | DR.provhost: localhost |
Dominic Lunanuova | 1ab29ec | 2018-02-13 22:44:20 +0000 | [diff] [blame] | 99 | # |
| 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 |
| 103 | Feed.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 | # |
| 111 | MR.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) |
| 117 | MR.ClientDeleteLevel: 1 |
| 118 | # |
| 119 | # MR Topic Factory Namespace |
| 120 | # |
dglFromAtt | b16582c | 2018-10-23 17:15:14 -0400 | [diff] [blame] | 121 | MR.TopicFactoryNS: org.onap.dmaap.mr.topicFactory |
Dominic Lunanuova | 1ab29ec | 2018-02-13 22:44:20 +0000 | [diff] [blame] | 122 | # |
| 123 | # MR TopicMgr Role |
dglFromAtt | b16582c | 2018-10-23 17:15:14 -0400 | [diff] [blame] | 124 | MR.TopicMgrRole: org.onap.dmaap-bc.TopicMgr |
Dominic Lunanuova | 1ab29ec | 2018-02-13 22:44:20 +0000 | [diff] [blame] | 125 | |
| 126 | # MR topic name style |
| 127 | MR.topicStyle: FQTN_LEGACY_FORMAT |
| 128 | |
| 129 | # MR topic ProjectID |
| 130 | MR.projectID: 23456 |
dglFromAtt | b16582c | 2018-10-23 17:15:14 -0400 | [diff] [blame] | 131 | |
dglFromAtt | bfe1f52 | 2019-03-12 16:59:35 -0400 | [diff] [blame] | 132 | MR.multisite: true |
Dominic Lunanuova | 1ab29ec | 2018-02-13 22:44:20 +0000 | [diff] [blame] | 133 | # |
| 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 | # |
| 141 | MM.ProvRole: org.onap.dmaapBC.MMprov.prov |
| 142 | MM.ProvUserMechId: idNotSet@namespaceNotSet |
| 143 | MM.ProvUserPwd: pwdNotSet |
| 144 | # |
| 145 | # The Role of the MirrorMaker Agent. This is used by MM to sub to provisioning topic |
| 146 | # |
| 147 | MM.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 | # |
| 167 | CredentialCodecKeyfile: 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 | # |
dglFromAtt | 503da87 | 2018-02-28 08:00:19 -0500 | [diff] [blame] | 182 | aaf.URL: https://localhost:8095/proxy/ |
Dominic Lunanuova | 1ab29ec | 2018-02-13 22:44:20 +0000 | [diff] [blame] | 183 | # |
| 184 | # TopicMgr mechid@namespace |
| 185 | # |
| 186 | aaf.TopicMgrUser: idNotSet@namespaceNotSet |
| 187 | # |
| 188 | # TopicMgr password |
| 189 | # |
| 190 | aaf.TopicMgrPassword: pwdNotSet |
| 191 | # |
| 192 | # Bus Controller Namespace Admin mechid@namespace |
| 193 | # |
| 194 | aaf.AdminUser: idNotSet@namespaceNotSet |
| 195 | # |
| 196 | # Bus Controller Namespace Admin password |
| 197 | # |
| 198 | aaf.AdminPassword: pwdNotSet |
| 199 | # |
| 200 | # endof AAF Properties |
| 201 | ################# |
| 202 | ################# |
| 203 | # PolicyEngine Properties |
| 204 | # |
| 205 | # Flag to turn on/off Authentication |
| 206 | UsePE: false |
| 207 | # |
| 208 | # Argument to decisionAttributes.put("AAF_ENVIRONMENT", X); |
| 209 | # where X is: TEST= UAT, PROD = PROD, DEVL = TEST |
| 210 | # |
| 211 | PeAafEnvironment: DEVL |
dglFromAtt | 503da87 | 2018-02-28 08:00:19 -0500 | [diff] [blame] | 212 | PeAafUrl.DEVL: https://localhost:8095/proxy/ |
Dominic Lunanuova | 1ab29ec | 2018-02-13 22:44:20 +0000 | [diff] [blame] | 213 | PeAafUrl.TEST: https://aafist..onap.org:8095/proxy/ |
| 214 | PeAafUrl.PROD: https://aafprod.onap.org:8095/proxy/ |
| 215 | |
| 216 | # |
| 217 | # Name of PolicyEngineApi properties file |
| 218 | PolicyEngineProperties: 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 |
| 222 | ApiNamespace: org.onap.dmaapBC.api |
| 223 | # |
| 224 | # endof PolicyEngineProperties |
| 225 | ################# |