X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fdrools%2FpdpdEngine.rst;h=6992a8ed4cda0dca27223bdf450432aa4df769fc;hb=688a2dd3a681c28ac48ad737316c2dc1dff08526;hp=d990290481f8aa45f3a846f9a2c1192fa299c43c;hpb=f4009f0e29a39f4ab0821e6d335de833acf0b0c1;p=policy%2Fparent.git diff --git a/docs/drools/pdpdEngine.rst b/docs/drools/pdpdEngine.rst index d9902904..6992a8ed 100644 --- a/docs/drools/pdpdEngine.rst +++ b/docs/drools/pdpdEngine.rst @@ -473,7 +473,7 @@ commit to execute policies against these policy types if a supporting controller Software Architecture -====================== +===================== PDP-D is divided into 2 layers: @@ -872,7 +872,7 @@ The drools libraries in the PDP-D uses maven to fetch rules artifacts and softwa The default *settings.xml* file specifies the repositories to search. This configuration can be overriden with a custom copy that would sit in a mounted configuration directory. See an example of the OOM override -`settings.xml `__. +`settings.xml `_. The default ONAP installation of the *control loop* child image *onap/policy-pdpd-cl:1.6.4* is *OFFLINE*. In this configuration, the *rules* artifact and the *dependencies* retrieves all the artifacts from the local @@ -883,7 +883,7 @@ An offline configuration requires two items: - *OFFLINE* environment variable set to true. - override *settings.xml* customization, see - `settings.xml `__. + `settings.xml `_. The default mode in the *onap/policy-drools:1.6.3* is ONLINE instead. @@ -1357,7 +1357,7 @@ A post-start script *config/active.post.sh* can place PDP-D in *active* mode at .. code-block:: bash - bash -c "http --verify=no -a ${TELEMETRY_USER}:${TELEMETRY_PASSWORD} PUT https://localhost:9696/policy/pdp/engine/lifecycle/state/ACTIVE" + bash -c "http --verify=no -a ${TELEMETRY_USER}:${TELEMETRY_PASSWORD} PUT ://localhost:9696/policy/pdp/engine/lifecycle/state/ACTIVE" Bring up the PDP-D, nexus, and mariadb ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1377,22 +1377,22 @@ To take it down: Other examples ~~~~~~~~~~~~~~ -The reader can also look at the `integration/csit repository `__. +The reader can also look at the `policy/docker repository `__. More specifically, these directories have examples of other PDP-D configurations: -* `plans `__: startup scripts. -* `scripts `__: docker-compose related files. -* `plans `__: test plan. +* `plans `__: startup & teardown scripts. +* `scripts `__: docker-compose file. +* `tests `__: test plan. Configuring the PDP-D in an OOM Kubernetes installation ======================================================= -The `PDP-D OOM chart `__ can be +The `PDP-D OOM chart `__ can be customized at the following locations: -* `values.yaml `__: custom values for your installation. -* `configmaps `__: place in this directory any configuration extensions or overrides to customize the PDP-D that does not contain sensitive information. -* `secrets `__: place in this directory any configuration extensions or overrides to customize the PDP-D that does contain sensitive information. +* `values.yaml `__: custom values for your installation. +* `configmaps `__: place in this directory any configuration extensions or overrides to customize the PDP-D that does not contain sensitive information. +* `secrets `__: place in this directory any configuration extensions or overrides to customize the PDP-D that does contain sensitive information. The same customization techniques described in the docker sections for PDP-D, fully apply here, by placing the corresponding files or scripts in these two directories. @@ -1401,4 +1401,4 @@ Additional information ====================== For additional information, please see the -`Drools PDP Development and Testing (In Depth) `__ page. +`Drools PDP Development and Testing (In Depth) `__ page.