drools documentation redo
[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 - onap.policies.controlloop.Operational
37
38
39 **PDP-D Applications**
40
41 A PDP-D application, ie. a *controller*, contains references to the
42 resources that the application needs.   These include networked endpoint references,
43 and maven coordinates.
44
45 *Control Loop* applications are used in ONAP to enforce operational policies.
46
47
48 The following guides offer more information in these two functional areas.
49
50 .. toctree::
51    :maxdepth: 2
52
53    pdpdEngine.rst
54    pdpdApps.rst
55