aboutsummaryrefslogtreecommitdiffstats
path: root/docs/drools/tutorial_cl.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/drools/tutorial_cl.rst')
-rw-r--r--docs/drools/tutorial_cl.rst15
1 files changed, 11 insertions, 4 deletions
diff --git a/docs/drools/tutorial_cl.rst b/docs/drools/tutorial_cl.rst
index 6579ed43..936bf28f 100644
--- a/docs/drools/tutorial_cl.rst
+++ b/docs/drools/tutorial_cl.rst
@@ -36,7 +36,7 @@ without companion components.
.. code-block:: bash
- docker run --rm --env-file config/base.conf -p 9696:9696 -it --name pdp nexus3.onap.org:10001/onap/policy-pdpd-cl:1.4.1 bash
+ docker run --rm --env-file config/base.conf --env-file feature-healthcheck.conf -p 9696:9696 -p 6969:6969 -it --name pdpd -h pdpd nexus3.onap.org:10001/onap/policy-pdpd-cl:1.4.1 bash
**Step 4:** Disable the distributed-locking feature, since this is a single CL PDP-D instance.
@@ -44,19 +44,26 @@ without companion components.
features disable distributed-locking
-**Step 4:** [OPTIONAL] If using simulators (see tutorials), enable the *controlloop-utils* feature.
+**Step 5:** If using simulators (see tutorials), enable the *controlloop-utils* feature.
.. code-block:: bash
features enable controlloop-utils
-**Step 5:** [OPTIONAL] To reduce error logs due to being unable to communicate with DMaaP, change the official configuration to use *noop* topics instead (no network IO involved).
+**Step 6:** To reduce error logs due to being unable to communicate with DMaaP, change the official configuration to use *noop* topics instead (no network IO involved).
.. code-block:: bash
cd $POLICY_HOME/config
sed -i "s/^dmaap/noop/g" *.properties
+**Step 7:** Disable PDP-X guard functionality.
+
+ .. code-block:: bash
+
+ cd $POLICY_HOME/config
+ sed -i "s/^guard.disabled=*$/guard.disabled=true/g" $POLICY_HOME/config/controlloop.properties.environment
+
**Step 5:** Start the CL PDP-D.
.. code-block:: bash
@@ -73,7 +80,7 @@ without companion components.
"messageName": "PDP_STATE_CHANGE",
"requestId": "385146af-adeb-4157-b97d-6ae85c1ddcb3",
"timestampMs": 1555791893587,
- "name": "8a9e0c256c59",
+ "name": "pdpd",
"pdpGroup": "controlloop",
"pdpSubgroup": "drools"
}