aboutsummaryrefslogtreecommitdiffstats
path: root/gui-server/src
AgeCommit message (Collapse)AuthorFilesLines
2023-04-20Replace CLAMP GUI text with The first Runtime GUIlapentafd1-2/+1
Issue-ID: POLICY-4610 Change-Id: Ia543de466b72ac2f5df6639bea3374e57076c1b6 Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2023-02-02Replace Eclipselink with Hibernateliamfallon1-2/+2
Issue-ID: POLICY-4533 Change-Id: Ieda653947935448036b822960aae5498595ad4e0 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-11-09Enable health check and prometheus on gui-serverliamfallon4-2/+10
Issue-ID: POLICY-4138 Change-Id: Ibd815d54e7ee1df787412ed55d70d8a5dc95f1c0 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-11-09Add forwarding support for policy-papliamfallon20-49/+284
The GUI server must forward calls to PAP to allow policies to be deployed and undeployed. Issue-ID: POLICY-4138 Change-Id: I10ef96a8154cf618c3a22be1e06ec969729db54e Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-11-08Remove duplication in REST Controller Testsliamfallon3-242/+191
Issue-ID: POLICY-4138 Change-Id: I796942a33031d572bac931861faa5dc736128c9b Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-11-08Move GUI forwarding to gui-server from clamp-beliamfallon27-239/+763
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>
2022-09-28Amend GUI to work directly towards ACM runtimeliamfallon3-1/+21
GUI proxies the URLs towards the ACM runtime server across CLAMP backend because clamp-backend handles the certificates for HTTPS communication and also handles AAF. For now, the Policy GUI is being used for testing and demonstration purposes only. As AAF is disabled and we are using HTTP, the GUI can now work towards the ACM runtime server port directly for test installations. Issue-ID: POLICY-4122 Change-Id: Idca87d520a5eef2058781534df6f96a0260c5eaf Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-15Code coverage for policy/gui gui-serverdanielhanrahan3-0/+123
Write tests to increase gui-server code coverage to 100% Issue-ID: POLICY-3351 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: If5fa5d57f912496d1adab93b1e714e3c77a05b61
2022-03-02Fix sonar security issues in policy-guidanielhanrahan2-0/+2
Suppress warnings regarding use of @RequestMapping without HTTP method. It is intentional that these proxy methods handle all requests. Issue-ID: POLICY-3638 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I79ce6ef994fcbac17d5d8226eedfd98885e2cdbf
2022-02-28Run policy GUIs in a single JARdanielhanrahan26-0/+1610
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