Update drools-pdp documents
[policy/parent.git] / docs / drools / drools.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2
3 .. _drools-label:
4
5 Policy Drools PDP Engine
6 ########################
7
8 .. contents::
9     :depth: 1
10
11 The Drools PDP, aka PDP-D, is the PDP in the Policy Framework that uses the
12 `Drools BRMS <https://www.drools.org/>`__ to enforce policies.
13
14 The PDP-D functionality has been partitioned into two functional areas:
15
16 - PDP-D Engine.
17 - PDP-D Applications.
18
19 **PDP-D Engine**
20
21 The PDP-D Engine is the infrastructure that *policy applications* use.
22 It provides networking services, resource grouping, and diagnostics.
23
24 The PDP-D Engine supports the following Tosca Native Policy Types:
25
26 - onap.policies.native.Drools
27 - onap.policies.native.drools.Controller
28
29 These types are used to dynamically add and configure new application controllers.
30
31 The PDP-D Engine hosts applications by means of *controllers*.
32 *Controllers* may support other Tosca Policy Types.   The
33 types supported by the *Control Loop* applications are:
34
35 - onap.policies.controlloop.operational.common.Drools
36
37
38 **PDP-D Applications**
39
40 A PDP-D application, ie. a *controller*, contains references to the
41 resources that the application needs.   These include networked endpoint references,
42 and maven coordinates.
43
44 *Control Loop* applications are used in ONAP to enforce operational policies.
45
46
47 The following guides offer more information in these two functional areas.
48
49 .. toctree::
50    :maxdepth: 2
51
52    pdpdEngine.rst
53    pdpdApps.rst
54