aboutsummaryrefslogtreecommitdiffstats
path: root/docs
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
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')
-rw-r--r--docs/drools/tutorial_cl.rst8
-rw-r--r--docs/drools/tutorial_vDNS.rst2
-rw-r--r--docs/drools/tutorial_vFW.rst2
3 files changed, 7 insertions, 5 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
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"
}