commit | fc2177dfac650f364743277abd4258f4b7b4557a | [log] [tgz] |
---|---|---|
author | brunomilitzer <bruno.militzer@est.tech> | Fri Feb 11 09:15:36 2022 +0000 |
committer | brunomilitzer <bruno.militzer@est.tech> | Fri Feb 11 15:52:56 2022 +0000 |
tree | bfce0e4811cbff6877c551556f75986cc5c62318 | |
parent | 5ca5cc1e2607518d1fd2c05421a6e6b8c9cd12ea [diff] |
Added Jest Tests on ViewAllPolicies and PolicyDeploymentEditor Issue-ID: POLICY-3916 Change-Id: I81e34903bf1e8d2d059b755d58eea7738b600829 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.