X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fplatform%2Fcookbook.rst;h=e79b4a9c847b4ea59038c97fcd7b23262eac41fb;hb=52ee4af3ad37e2e89815ce8c3cc1e9fc1e6db603;hp=3281d571c64c2363634577e4d18b380870dad302;hpb=5a91dc31a529ff9d795e83650d400a5a35bf8755;p=policy%2Fengine.git diff --git a/docs/platform/cookbook.rst b/docs/platform/cookbook.rst index 3281d571c..e79b4a9c8 100644 --- a/docs/platform/cookbook.rst +++ b/docs/platform/cookbook.rst @@ -186,6 +186,24 @@ 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: + + sed -i "s/^role_access_centralized.*$/#role_access_centralized=remote/g" /opt/app/policy/servers/console/webapps/onap/WEB-INF/classes/portal.properties; 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