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 <liam.fallon@est.tech>
diff --git a/gui-server/pom.xml b/gui-server/pom.xml
index ef1563b..b774f0d 100644
--- a/gui-server/pom.xml
+++ b/gui-server/pom.xml
@@ -112,7 +112,7 @@
<classifier>clamp-build</classifier>
<type>tar.gz</type>
<overWrite>true</overWrite>
- <outputDirectory>${project.build.directory}/classes/static</outputDirectory>
+ <outputDirectory>${project.build.directory}/classes/static/runtime-ui</outputDirectory>
</artifactItem>
<!-- copy static resources from apex editor jar into static/apex-editor/ -->
<artifactItem>
@@ -121,7 +121,7 @@
<version>${project.version}</version>
<type>jar</type>
<overWrite>true</overWrite>
- <outputDirectory>${project.build.directory}/classes/static/apex-editor</outputDirectory>
+ <outputDirectory>${project.build.directory}/classes/static/designtime-ui/apex-editor</outputDirectory>
<includes>static/**</includes>
<fileMappers>
<org.codehaus.plexus.components.io.filemappers.RegExpFileMapper>