From a4c3b2d2359375ba99f761a3871e6baccb92231f Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Tue, 6 Nov 2018 12:05:41 -0600 Subject: [PATCH] Bypass Portal Cookbook recipes Change-Id: I3c975859518a4623def71edc0975f6bc5121362e Issue-ID: POLICY-1218 Signed-off-by: Jorge Hernandez --- docs/platform/cookbook.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 -- 2.16.6