9af0d7e6451af913fdf1c82cf5bfe5c7fb61f28b
[dmaap/buscontroller.git] / misc / dmaapbc.properties.tmpl
1 cat <<!EOF
2 #
3 #       Configuration parameters fixed at startup for the DMaaP Bus Controller
4 #
5 #
6 #       URI to retrieve dynamic DR configuration
7 #
8 ProvisioningURI:        ${DMAAPBC_INTURI:-/internal/prov}
9 #
10 #       Allow http access to API 
11 #
12 HttpAllowed:    ${DMAAPBC_HTTPALLOWED:-true}
13 #
14 #       The port number for http as seen within the server
15 #
16 IntHttpPort:    ${DMAAPBC_INT_HTTP_PORT:-8080}
17 #
18 #       The port number for https as seen within the server
19 #   Set to 0 if no certificate is available yet...
20 #
21 IntHttpsPort:   ${DMAAPBC_INT_HTTPS_PORT:-8443}
22 #
23 #       The external port number for https taking port mapping into account
24 #
25 ExtHttpsPort:   ${DMAAPBC_EXT_HTTPS_PORT:-443}
26 #
27 #       The type of keystore for https
28 #
29 KeyStoreType:   jks
30 #
31 #       The path to the keystore for https
32 #
33 KeyStoreFile:   ${DMAAPBC_KSTOREFILE:-etc/keystore}
34 #
35 #       The password for the https keystore
36 #
37 KeyStorePassword:       ${DMAAPBC_KSTOREPASS:-changeit}
38 #
39 #       The password for the private key in the https keystore
40 #
41 KeyPassword:    ${DMAAPBC_PVTKEYPASS:-changeit}
42 #
43 #       The type of truststore for https
44 #
45 TrustStoreType: jks
46 #
47 #       The path to the truststore for https
48 #
49 TrustStoreFile: ${DMAAPBC_TSTOREFILE}
50 #
51 #       The password for the https truststore
52 #
53 TrustStorePassword:     ${DMAAPBC_TSTOREPASS:-changeit}
54 #
55 #       The path to the file used to trigger an orderly shutdown
56 #
57 QuiesceFile:    etc/SHUTDOWN
58 #
59 #       Enable postgress
60 #
61 UsePGSQL:       ${DMAAPBC_PG_ENABLED:-true}
62 #
63 #       The host for postgres access
64 #
65 DB.host:        ${DMAAPBC_PGHOST:-HostNotSet}
66 #
67 #       For postgres access
68 #
69 DB.cred:        ${DMAAPBC_PGCRED:-ValueNotSet}
70 #
71 #       Name of this environment
72 #
73 DmaapName:      ${DMAAPBC_INSTANCE_NAME:-FTLIST}
74 #
75 #       Name of DR prov server
76 #
77 DR.provhost:    ${DMAAPBC_DRPROV_FQDN:-dcae-drps.domain.notset.com}
78 #
79 #       The Role and credentials of the MirrorMaker Provisioner.  This is used by DMaaP Bus Controller to pub to the provisioning topic
80 #   Not part of 1701
81 #
82 #MM.ProvRole: ${DMAAPBC_MMPROV_ROLE:-org.openecomp.dmaapBC.MMprov.prov}
83 #MM.ProvUserMechId: ${DMAAPBC_MMPROV_ID:-idNotSet@namespaceNotSet}
84 #MM.ProvUserPwd: ${DMAAPBC_MMPROV_PWD:-enc:fMxh-hzYZldbtyXumQq9aJU08SslhbM6mXtt}
85 #
86 #       The Role of the MirrorMaker Agent. This is used by MM to sub to provisioning topic
87 #
88 MM.AgentRole: ${DMAAPBC_MMAGENT_ROLE:-org.openecomp.dmaapBC.MMagent.agent}
89 #################
90 # AAF Properties:
91 #
92 # regarding password encryption:
93 # 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:
94 #
95 # java \u2013jar wherever/cadi-core-*.jar keygen keyfilename
96 # chmod 400 keyfilename
97 #
98 # To encrypt a key:
99 #
100 # java \u2013jar wherever/cadi-core-*.jar digest password-to-encrypt keyfilename
101 #
102 # This will generate a string.  Put \u201Cenc:\u201D on the front of the string, and put the result in this properties file.
103 #
104 # Location of the Codec Keyfile which is used to decrypt passwords in this properties file before they are passed to AAF
105 #
106 # REF: https://wiki.domain.notset.com/display/cadi/CADI+Deployment
107 #
108 CredentialCodecKeyfile: ${DMAAPBC_CODEC_KEYFILE:-etc/LocalKey}
109 #
110 # URL of AAF environment to use.
111 #
112 aaf.URL:        ${DMAAPBC_AAF_URL:-https://authentication.simpledemo.openecomp.org:8095/proxy/}
113 #
114 # TopicMgr mechid@namespace
115 #
116 aaf.TopicMgrUser:       ${DMAAPBC_TOPICMGR_USER:-idNotSet@namespaceNotSet}
117 #
118 # TopicMgr password
119
120 aaf.TopicMgrPassword:   ${DMAAPBC_TOPICMGR_PWD:-enc:zyRL9zbI0py3rJAjMS0dFOnYfEw_mJhO}
121 #
122 # Bus Controller Namespace Admin  mechid@namespace
123 #
124 aaf.AdminUser:  ${DMAAPBC_ADMIN_USER:-idNotSet@namespaceNotSet}
125 #
126 # Bus Controller Namespace Admin password
127 #
128 aaf.AdminPassword:      ${DMAAPBC_ADMIN_PWD:-enc:YEaHwOJrwhDY8a6usetlhbB9mEjUq9m}
129 #
130 # endof AAF Properties
131 #################
132 #################
133 # PolicyEngine Properties
134 #
135 # Flag to turn on/off Authentication
136 UsePE: ${DMAAPBC_PE_ENABLED:-false}
137 #
138 # Argument to decisionAttributes.put("AAF_ENVIRONMENT", X); 
139 # where X is:  TEST= UAT, PROD = PROD, DEVL = TEST
140 #
141 PeAafEnvironment: ${DMAAPBC_PE_AAF_ENV:-DEVL}
142 #
143 # Name of PolicyEngineApi properties file
144 PolicyEngineProperties: config/PolicyEngineApi.properties
145 #
146 # Namespace for URI values for API used to create AAF permissions
147 # e.g. if ApiNamespace is X.Y..dmaapBC.api then for URI /topics we create an AAF perm X.Y..dmaapBC.api.topics
148 ApiNamespace: org.openecomp.dmaapBC.api
149 #
150 # endof PolicyEngineProperties
151 #################
152 !EOF