From afb51f1a2acc1abc3254a72aed47cb2e86904d04 Mon Sep 17 00:00:00 2001 From: Ram Krishna Verma Date: Thu, 13 Feb 2020 13:41:20 -0500 Subject: Fix documents for drools-pdp Issue-ID: POLICY-2366 Change-Id: I5e832a882fbfd70747242734b2c1eb3a26e795a4 Signed-off-by: Ram Krishna Verma --- docs/drools/tutorial_cl.rst | 8 +++++--- docs/drools/tutorial_vDNS.rst | 2 +- docs/drools/tutorial_vFW.rst | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) (limited to 'docs') 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 diff --git a/docs/drools/tutorial_vDNS.rst b/docs/drools/tutorial_vDNS.rst index dc1823d8..e9056b30 100644 --- a/docs/drools/tutorial_vDNS.rst +++ b/docs/drools/tutorial_vDNS.rst @@ -41,7 +41,7 @@ Running the Flow "messageName": "PDP_UPDATE", "requestId": "a7a32d3b-37b4-4fb7-9322-b90c6a6fe365", "timestampMs": 1556125347251, - "name": "PDPDcl", + "name": "pdpd", "pdpGroup": "controlloop", "pdpSubgroup": "drools" } diff --git a/docs/drools/tutorial_vFW.rst b/docs/drools/tutorial_vFW.rst index 5162cf33..02ebb7ad 100644 --- a/docs/drools/tutorial_vFW.rst +++ b/docs/drools/tutorial_vFW.rst @@ -43,7 +43,7 @@ Running the Flow "messageName": "PDP_UPDATE", "requestId": "a7a32d3b-37b4-4fb7-9322-b90c6a6fe365", "timestampMs": 1556125347251, - "name": "PDPDcl", + "name": "pdpd", "pdpGroup": "controlloop", "pdpSubgroup": "drools" } -- cgit 1.2.3-korg