commit | e56f12777c43885696a98f07e01c040f95ca7015 | [log] [tgz] |
---|---|---|
author | danielhanrahan <daniel.hanrahan@est.tech> | Fri Jan 28 11:41:38 2022 +0000 |
committer | Daniel Hanrahan <daniel.hanrahan@est.tech> | Mon Feb 28 13:33:32 2022 +0000 |
tree | 6366ce00bb7ca9740a98347bbc6e38ff62a54593 | |
parent | 4a4a638d6d0336134cdb4cdab093054f3b3f09f9 [diff] |
Run policy GUIs in a single JAR Create gui-server module serving clamp and apex GUIs using Spring Add Spring filter to pass client SSL cert to clamp backend Remove nginx from docker image Add logback.xml to docker image Add helper scripts for running gui-server jar and docker Issue-ID: POLICY-3638 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ie857f5755015c522b8cf781de255f7a1d567e263
Copyright 2017-2018 AT&T Intellectual Property. All rights reserved. Copyright (C) 2021-2022 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
The gui-server module contains a server that hosts the GUIs. There are helper scripts for running the gui-server JAR and Docker image. They may be found under gui/gui-server/extra/bin-for-dev/
These scripts assume the clamp backend is running at https://localhost:8443
For integration with AAF, gui-server requests client SSL cert.
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.