Adding docs for CADI
[dmaap/datarouter.git] / docs / configuration.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3
4 ..  _configuration:
5
6 Configuration
7 =============
8
9 Configuration properties for both Data Router Provisioning server and Data Router Node server should remain as default values.
10
11 The only exception to this, is when enabling the AAF CADI framework to authorize the DR provisioning requests.
12
13 .. note:: The AAF CADI filtering feature is disabled by default. When AAF CADI auth is enabled, all DR API calls must provide an AAF AppID to access the relevant API endpoint.
14
15 To enable DR AAF CADI authorization, the following steps are required:
16
17 DR CADI Prerequisites:
18     * AAF deployment
19
20 Update the following properties at deployment time.
21
22
23 **DMaaP DR Prov AAF properties**
24
25 ::
26
27     # AAF config
28     org.onap.dmaap.datarouter.provserver.cadi.enabled = true
29
30     # AAF URL to connect to AAF server
31     org.onap.dmaap.datarouter.provserver.cadi.aaf.url = https://<RELEVANT_AAF_URL>:8095
32
33
34 **DMaaP DR Node AAF properties**
35
36 ::
37
38     # AAF URL to connect to AAF server
39     AafUrl = https://<RELEVANT_AAF_URL>:8095
40
41     # AAF CADI enabled flag
42     CadiEnabled = true
43