X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=blobdiff_plain;f=docs%2Fplatform%2Fcookbook.rst;h=c4a2c7cf3cdadb813ff810fd75fd89d58d72e060;hp=3281d571c64c2363634577e4d18b380870dad302;hb=8c082fe337098954693af0ec3112722b882a63a9;hpb=c5db7f47bf3440429b4f6082ca729f3dcf92c98e diff --git a/docs/platform/cookbook.rst b/docs/platform/cookbook.rst index 3281d571c..c4a2c7cf3 100644 --- a/docs/platform/cookbook.rst +++ b/docs/platform/cookbook.rst @@ -186,6 +186,26 @@ PDP-D Recipes (inside the "drools" container) -X PUT https://localhost:9696/policy/pdp/engine/tools/loggers/network/WARN +PAP Recipes (inside the "pap" container) +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + + .. code-block:: bash + :caption: Bypass Portal Authentication with the Policy Web UI + :linenos: + + edit: /opt/app/policy/servers/console/webapps/onap/WEB-INF/classes/portal.properties + comment out: #role_access_centralized = remote + restart pap: policy.sh stop; policy.sh start; + + + .. code-block:: bash + :caption: Access the Policy Web UI without going through the Portal UI + :linenos: + + https://:8443/onap/login.htm (Heat) + https://:30219/onap/login.htm (Kubernetes) + + End of Document .. SSNote: Wiki page ref. https://wiki.onap.org/display/DW/Policy+Cookbook