summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2021-09-08 10:49:44 +0100
committerDaniel Hanrahan <daniel.hanrahan@est.tech>2021-09-10 08:23:04 +0000
commit1f68035b96e9336b737bc9a5d055c5ffdd016813 (patch)
tree9deb894ae8e5a9b3820555e79dbb1cdd7be0b5e1 /README.md
parentf2047d16b47f086395856aefca6c5047b488d207 (diff)
Ensure that login in policy-gui works with AAF
Add CLAMP SSL cert and key to Docker image Change nginx port from 8080 to 2443 and enable SSL Update README to include instructions on certificate login Issue-ID: POLICY-3615 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I5211d30c420d75a94621399f33763b8156c50b5b
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 13 insertions, 5 deletions
diff --git a/README.md b/README.md
index 6322319..4bff635 100644
--- a/README.md
+++ b/README.md
@@ -13,10 +13,10 @@ To build it using Maven 3, run: mvn clean install -P docker
# Docker image
Maven produces a single docker image containing the policy GUIs. These are exposed on
-the same port (8080) using different URLs:
-- Apex Policy Editor: http://localhost:8080/apex-editor
-- PDP Monitoring UI: http://localhost:8080/pdp-monitoring
-- CLAMP Designer UI: http://localhost:8080/clamp
+the same port (2443) using different URLs:
+- Apex Policy Editor: http://localhost:2443/apex-editor
+- PDP Monitoring UI: http://localhost:2443/pdp-monitoring
+- CLAMP Designer UI: http://localhost:2443/clamp
## Building
You can use the following command to build the policy-gui docker image:
@@ -38,8 +38,16 @@ backend, then CLAMP_REST_URL should be set to `https://policy-clamp-backend:8443
If running clamp backend on localhost port 8443, the policy-gui docker image would be
started like this:
```
-docker run -p 8080:8080 \
+docker run -p 2443:2443 \
--add-host host.docker.internal:host-gateway \
--env CLAMP_REST_URL=https://host.docker.internal:8443 \
onap/policy-gui
```
+
+## Client Credentials
+A certificate must be added in the browser and is required to log in properly:
+
+[org.onap.clamp.p12 (from clamp master)](URL "https://gerrit.onap.org/r/gitweb?p=clamp.git;a=blob_plain;f=src/main/resources/clds/aaf/org.onap.clamp.p12;hb=refs/heads/master")
+(Password: "China in the Spring")
+
+See onap/clamp repo README for details.