summaryrefslogtreecommitdiffstats
path: root/docs/drools/tutorial_cl.rst
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2020-02-13 13:41:20 -0500
committerRam Krishna Verma <ram_krishna.verma@bell.ca>2020-02-14 10:19:56 -0500
commitafb51f1a2acc1abc3254a72aed47cb2e86904d04 (patch)
treee0bb943c2a3c829d9f38849da122f91b3e5c2e85 /docs/drools/tutorial_cl.rst
parent81c8b33fc9dc16cd9bb4ec885673451e773a1179 (diff)
Fix documents for drools-pdp
Issue-ID: POLICY-2366 Change-Id: I5e832a882fbfd70747242734b2c1eb3a26e795a4 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
Diffstat (limited to 'docs/drools/tutorial_cl.rst')
-rw-r--r--docs/drools/tutorial_cl.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/drools/tutorial_cl.rst b/docs/drools/tutorial_cl.rst
index 323ca628..ee719cab 100644
--- a/docs/drools/tutorial_cl.rst
+++ b/docs/drools/tutorial_cl.rst
@@ -32,11 +32,13 @@ without companion components.
sed -i "s/^RELEASE_REPOSITORY_ID=.*$/RELEASE_REPOSITORY_ID=/g" base.conf
sed -i "s/^RELEASE_REPOSITORY_URL=.*$/RELEASE_REPOSITORY_URL=/g" base.conf
+ Note: For MacOS use - sed -i'' -e "s/^SQL_HOST=.*$/SQL_HOST=/g" base.conf and similar for all sed commands.
+
**Step 3:** Open a *bash* shell into the PDP-D Control Loop container.
.. code-block:: 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
+ docker run --rm --env-file config/base.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.
@@ -65,13 +67,13 @@ without companion components.
sed -i "s/^guard.disabled=*$/guard.disabled=true/g" $POLICY_HOME/config/controlloop.properties.environment
sed -i "s/^aai.customQuery=*$/aai.customQuery=false/g" $POLICY_HOME/config/controlloop.properties.environment
-**Step 5:** Start the CL PDP-D.
+**Step 8:** Start the CL PDP-D.
.. code-block:: bash
policy start
-**Step 6:** Place the CL PDP-D in *ACTIVE* mode.
+**Step 9:** Place the CL PDP-D in *ACTIVE* mode.
.. code-block:: bash