[DMAAP-BC] Consolidate bus controller repos
[dmaap/buscontroller.git] / csit / scripts / dmaap-buscontroller / docker-compose / dmaapbc.properties
1
2 #####################################################
3 #
4 # Hooks for specific environment configurations
5 #
6 #####################################################
7 # Indicator for whether to use AAF for authentication
8 UseAAF: false
9
10 # Stub out southbound calls for Unit Test cases to run.  e.g. not timeout
11 # Comment out in other environments to get default (No)
12 #UnitTest: Yes
13
14
15 #####################################################
16 #
17 # Settings for Southbound API: Datarouter
18 #
19 #####################################################
20
21 # URI to retrieve dynamic DR configuration
22 ProvisioningURI:  /internal/prov
23
24 # indicator for handling feed delete:
25 #  DeleteOnDR - means use the DR API to DELETE a feed.  (default for backwards compatibility)
26 #  SimulateDelete - means preserve the feed on DR (after cleaning it up), and mark as DELETED in DBCL.  Better for cloudify environments.
27 Feed.deleteHandling: SimulateDelete
28
29 ###########################################################
30 # The following properties default to match ONAP DR instance.
31 # However, there are some non-ONAP DR instances that require other values.
32 # Sets the X-DR-ON-BEHALF-OF HTTP Header value
33 #DR.onBehalfHeader:
34 # Value for the Content-Type Header in DR Feed API
35 #DR.feedContentType:
36 # Value for the Content-Type Header in DR Subscription API
37 #DR.subContentType:
38 #
39 # END OF properties helpful for non-ONAP DR instance.
40 ############################################################
41
42 #####################################################
43 #
44 # Settings for Soutbound API: Postgresql
45 #
46 #####################################################
47 # flag indicates if we are using postgresql
48 UsePGSQL: true
49
50 # postgres host name
51 # Need to connect to PG primary service, designated by service.name2
52 DB.host: dbc-pg
53
54 # postgres schema name
55 DB.schema: dmaapbc
56
57 # postgres user name
58 DB.user: dmaapbc
59
60 # postgres user password
61 DB.cred: secret
62
63 #####################################################
64 #
65 # Settings for Soutbound API: Message Router
66 #
67 #####################################################
68 # indicator for multi-site (locations) deployment.  Give clue to buscontroller whether
69 # there is a need for message replication between edge and central.
70 # ONAP Casablanca is a single site deployment
71 MR.multisite: false
72
73 # FQDN of primary message router.
74 # In ONAP Casablanca, there is only 1 message router service, so use that.
75 # In a multi-site, MR cluster deployment, use the CNAME DNS entry which resolves to the primary central MR
76 MR.CentralCname: message-router
77
78 # Indicator for whether we want hostname verification on SSL connection to MR
79 MR.hostnameVerify: false
80
81
82 # MR Client Delete Level thoroughness:
83 #  0 = don't delete
84 #  1 = delete from persistent store
85 #  2 = delete from persistent store (DB) and authorization store (AAF)
86 MR.ClientDeleteLevel: 1
87
88 # namespace of MR Topic Factory
89 MR.TopicFactoryNS: org.onap.dmaap.mr.topicFactory
90
91 # AAF Role assigned to Topic Manager Identity
92 MR.TopicMgrRole: org.onap.dmaap-bc-topic-mgr.client
93
94 # MR topic ProjectID (used in certain topic name generation formats)
95 MR.projectID:  mr
96
97 # Use Basic Authentication when provisioning topics
98 MR.authentication: basicAuth
99
100 # MR topic name style (default is FQTN_LEGACY_FORMAT)
101 #MR.topicStyle: FQTN_LEGACY_FORMAT
102 #
103 # end of MR Related Properties
104 ################################################################################
105
106 #####################################################
107 #
108 # Settings for authorization of DBCAPI
109 #
110 #####################################################
111 # Namespace for URI values for the API used to create AAF permissions
112 # e.g. if ApiNamespace is X.Y.dmaapbc.api then for URI /mr_clients we create AAF perm X.Y.dmaapbc.api.mr_clients
113 ApiNamespace: org.onap.dmaap-bc.api
114
115 # If API authorization is required, then implement a class to enforce it.
116 # This overrides the Class used for API permission check.
117 ApiPermission.Class: org.onap.dmaap.dbcapi.authentication.AllowAll
118
119
120 #####################################################
121 #
122 # Certificate Management
123 #
124 #####################################################
125
126 # Indicates how we are expecting certificates to be provided:
127 #  cadi - a set of artifacts will be downloaded from AAF at deployment time, and details will be in a cadi properties file
128 #  legacy (default) - artifacts will be installed manually or some other way and details will be in this file
129 CertificateManagement: cadi
130
131 # When CertificateManagement is cadi, then this is where all the cadi properties will be.
132 # Note that the cadi properties include where the cert is, and the encrypted passwords to read.
133 cadi.properties: /opt/app/osaaf/local/org.onap.dmaap-bc.props
134
135
136 #####################################################
137 #
138 # HTTP Server Configuration
139 #
140 #####################################################
141
142 # Allow http access to dbcapi
143 HttpAllowed: true
144
145 # listen to http port within this container (server)
146 IntHttpPort: 8080
147
148 # listen to https port within this container (server)
149 # set to 0 if no certificates are available.
150 IntHttpsPort: 8443