commit | 3eb9e8975b8d9e1f44106b3c9c4c6d8b711ad3a2 | [log] [tgz] |
---|---|---|
author | brunomilitzer <bruno.militzer@est.tech> | Mon Jan 10 17:06:32 2022 +0000 |
committer | brunomilitzer <bruno.militzer@est.tech> | Tue Jan 11 12:05:55 2022 +0000 |
tree | 00d41e96baa2fe2096245bb0f4ab99b594c3578a | |
parent | 4be96f85c65df9384b11d68e87ca9e03e27a083c [diff] |
Added Test Code Coverage Issue-ID: POLICY-3563 Change-Id: I65cd2bfc72b973baa8f2b28a14e5d364ca4562a2 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
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.