X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=blobdiff_plain;f=docs%2Fplatform%2Fcookbook.rst;h=0a834b40acd2edee70f5e990c04918534d51fc9a;hp=e79b4a9c847b4ea59038c97fcd7b23262eac41fb;hb=8fe98c69244e6a1caa3af8d08b32071200dc9edd;hpb=8e3fa9369fb445e3c5a4d7e979c0ea0134b9b399 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 -c pap -n onap bash + kubectl exec -it -c pap -n onap -- bash --login .. code-block:: bash @@ -112,7 +112,7 @@ OOM Installation - Policy Kubernetes Recipes # depends on the deployment configuration - kubectl exec -it -pdp-0 -c drools -n onap bash + kubectl exec -it -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://:8443/onap/login.htm (Heat) - https://:30219/onap/login.htm (Kubernetes) + https://policy.api.simpledemo.onap.org:30219/onap/policy (Kubernetes) End of Document