summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2018-11-06 12:05:41 -0600
committerJorge Hernandez <jorge.hernandez-herrero@att.com>2018-11-06 20:29:56 +0000
commit1a966e98f13b7c100e19882c9fb04de4f5f98472 (patch)
treef3b00013cdaa4adc7fda16b77aa62ea536cc5555 /docs
parent216aa6119a6f5aec0c63f6b07dcfd12bd4fed8aa (diff)
Bypass Portal Cookbook recipes
Change-Id: I3c975859518a4623def71edc0975f6bc5121362e Issue-ID: POLICY-1218 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com> (cherry picked from commit a4c3b2d2359375ba99f761a3871e6baccb92231f)
Diffstat (limited to 'docs')
-rw-r--r--docs/platform/cookbook.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/platform/cookbook.rst b/docs/platform/cookbook.rst
index fee191358..4bee685fd 100644
--- a/docs/platform/cookbook.rst
+++ b/docs/platform/cookbook.rst
@@ -111,6 +111,26 @@ PDP-D Recipes ("drools" container)
curl --silent --user "${HEALTHCHECK_USER}:${HEALTHCHECK_PASSWORD}"
-X GET http://localhost:6969/healthcheck | python -m json.tool
+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://<pap-vm>:8443/onap/login.htm (Heat)
+ https://<pap-vm>:30219/onap/login.htm (Kubernetes)
+
+
End of Document
.. SSNote: Wiki page ref. https://wiki.onap.org/display/DW/Policy+Cookbook