commit | 4a50604b767176aa323acae366fa762015a7f9f6 | [log] [tgz] |
---|---|---|
author | danielhanrahan <daniel.hanrahan@est.tech> | Fri Jan 28 11:41:38 2022 +0000 |
committer | danielhanrahan <daniel.hanrahan@est.tech> | Wed Feb 23 09:50:14 2022 +0000 |
tree | 065f6be626573df3da5df23b3b2d2533cb9ed819 | |
parent | 6e3d850c1b6efda12a70a111c8734972c99e3db5 [diff] |
Apex Editor using Spring Boot Changed Apex Editor to use Spring Boot (MVC) Changed all tests to use JUnit 5 Added more tests for policy upload feature Updated JS files to reflect JSON encoding change Added Apex Editor README Changed rest path to /policy/gui/v1/apex/editor Issue-ID: POLICY-3896 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I10f1ee3c40244a822a7032b4b24cb02060698fc3
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.