commit | ebfaf98391758738e2c1ce5a37d4973966be62cc | [log] [tgz] |
---|---|---|
author | Liam Fallon <liam.fallon@est.tech> | Fri Sep 10 23:17:49 2021 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Fri Sep 10 23:17:49 2021 +0000 |
tree | d524b806d2e23996a5e65f60c9ac9889f743fb76 | |
parent | 426fa90230fc6732bd2a74e4c202e697ecd4c11b [diff] | |
parent | 69d300a2132f103162a5e98f68ae4256750ce527 [diff] |
Merge "Remove CLAMP_REST_URL variable from Docker image"
Copyright 2017-2018 AT&T Intellectual Property. All rights reserved. Copyright (C) 2021 Nordix Foundation. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
This source repository contains the ONAP Policy GUI code.
To build it using Maven 3, run: mvn clean install -P docker
Maven produces a single docker image containing the policy GUIs. These are exposed on the same port (2443) using different URLs:
You can use the following command to build the policy-gui docker image:
mvn clean install -P docker
Currently, the policy-gui docker image can be deployed without configuration. For the GUI container to start correctly, the CLAMP backend policy-clamp-backend
should be started first.
For local testing, if the CLAMP backend is running on localhost port 8443, the policy-gui docker container can be started with:
docker run -p 2443:2443 --add-host policy-clamp-backend:host-gateway onap/policy-gui
A certificate must be added in the browser and is required to log in properly:
org.onap.clamp.p12 (from clamp master) (Password: "China in the Spring")
See onap/clamp repo README for details.