From 4d04e56e297cb9808a7e5378480526ba44f6a0bd Mon Sep 17 00:00:00 2001 From: liamfallon Date: Mon, 7 Nov 2022 13:53:29 +0000 Subject: Move GUI forwarding to gui-server from clamp-be This commit: - Adds redirect support for policy-api to the gui-server microservice. The gui-server can now proxy and forward calls to it across to policy-api, and can act as an autherntication/authorization gateway for policy-api for https - Adds redirect support for clamp-ACM, as for policy-gui - Restructured the static pages to add a designtime-ui and runtime-ui strucuture for current and future UIs - CLAMP UI moved into the runtime-ui part - Apex editor moved into the designtime-ui part - Unit tests added and coverage on code is > 95% This change moves the forwarding functionality from the clamp-backend microservice to the gui-server microservice, so once this review is merged, the clamp-backend microservice is no longer needed. Issue-ID: POLICY-4138 Change-Id: I4b45f7026d13b5e1046198cdba52074668b29956 Signed-off-by: liamfallon --- .../src/main/resources/static/designtime-ui/index.html | 12 ++++++++++++ gui-server/src/main/resources/static/index.html | 4 ++-- gui-server/src/main/resources/static/runtime-ui/index.html | 12 ++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 gui-server/src/main/resources/static/designtime-ui/index.html create mode 100644 gui-server/src/main/resources/static/runtime-ui/index.html (limited to 'gui-server/src/main/resources') diff --git a/gui-server/src/main/resources/static/designtime-ui/index.html b/gui-server/src/main/resources/static/designtime-ui/index.html new file mode 100644 index 0000000..8da1b06 --- /dev/null +++ b/gui-server/src/main/resources/static/designtime-ui/index.html @@ -0,0 +1,12 @@ + + + + + ONAP Policy GUI + + + + + diff --git a/gui-server/src/main/resources/static/index.html b/gui-server/src/main/resources/static/index.html index 3b079a8..b0bdb06 100644 --- a/gui-server/src/main/resources/static/index.html +++ b/gui-server/src/main/resources/static/index.html @@ -6,8 +6,8 @@ diff --git a/gui-server/src/main/resources/static/runtime-ui/index.html b/gui-server/src/main/resources/static/runtime-ui/index.html new file mode 100644 index 0000000..74fa41a --- /dev/null +++ b/gui-server/src/main/resources/static/runtime-ui/index.html @@ -0,0 +1,12 @@ + + + + + ONAP Policy GUI + + + + + -- cgit 1.2.3-korg