X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fdrools%2Ftutorial_cl.rst;h=d7c2430c9227b02bef3b8ece841eeac97f65b9db;hb=11de40286f2a91edc9755f6ea9e621006452527b;hp=323ca628a4ed6e6fe4fac5c579baeaf06cbd21d2;hpb=39290a743d097a4f4a8996d07bf5af46127c23d3;p=policy%2Fparent.git diff --git a/docs/drools/tutorial_cl.rst b/docs/drools/tutorial_cl.rst index 323ca628..d7c2430c 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 @@ -99,7 +101,7 @@ Proceed with testing your new policy as described in the specific tutorials: • vDNS - `Tutorial: Testing the vDNS Use Case in a standalone PDP-D `_ • vFW - `Tutorial: Testing the vFW flow in a standalone PDP-D `_ -.. seealso:: To deploy a control loop in Eclipse from the control loop archetype template, refer to `Modifying the Release Template `_. +.. seealso:: `Methods to run PDP-D `_. End of Document