diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2019-10-02 22:35:40 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-10-03 13:09:43 +0000 |
commit | 8fe98c69244e6a1caa3af8d08b32071200dc9edd (patch) | |
tree | a91d12b8aa303830012deeceb521ec4826c0eac2 /docs | |
parent | 8e3fa9369fb445e3c5a4d7e979c0ea0134b9b399 (diff) |
Update standalone legacy policy UI recipe
Issue-ID: PORTAL-760
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: I02c96873768660403b86db736cb3762d0ff8f5ff
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
(cherry picked from commit ffd7241c7bfa8d8b68b504406fc6ed4cc299ffe6)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/platform/cookbook.rst | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/platform/cookbook.rst b/docs/platform/cookbook.rst index e79b4a9c8..0a834b40a 100644 --- a/docs/platform/cookbook.rst +++ b/docs/platform/cookbook.rst @@ -94,7 +94,7 @@ OOM Installation - Policy Kubernetes Recipes :caption: Access the PAP container :linenos: - kubectl exec -it <pap-pod> -c pap -n onap bash + kubectl exec -it <pap-pod> -c pap -n onap -- bash --login .. code-block:: bash @@ -112,7 +112,7 @@ OOM Installation - Policy Kubernetes Recipes # <policy-deployment-prefix> depends on the deployment configuration - kubectl exec -it <policy-deployment-prefix>-pdp-0 -c drools -n onap bash + kubectl exec -it <policy-deployment-prefix>-pdp-0 -c pdp -n onap -- bash --login .. code-block:: bash @@ -193,15 +193,17 @@ PAP Recipes (inside the "pap" container) :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; + sed -i "s/^role_access_centralized.*$/#role_access_centralized=remote/g" /opt/app/policy/servers/console/webapps/onap/WEB-INF/classes/portal.properties + cd /opt/app/policy/servers/pap + /opt/app/policy/etc/init.d/pap stop; /opt/app/policy/etc/init.d/pap start + policy.sh status .. 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) + https://policy.api.simpledemo.onap.org:30219/onap/policy (Kubernetes) End of Document |