policy/gui.git
16 months agoReplace Eclipselink with Hibernate 34/133134/2
liamfallon [Thu, 2 Feb 2023 14:47:46 +0000 (14:47 +0000)]
Replace Eclipselink with Hibernate

Issue-ID: POLICY-4533
Change-Id: Ieda653947935448036b822960aae5498595ad4e0
Signed-off-by: liamfallon <liam.fallon@est.tech>
18 months agoUpdate snapshot and/or references of policy/gui to latest snapshots 86/132786/1
liamfallon [Fri, 16 Dec 2022 12:30:26 +0000 (12:30 +0000)]
Update snapshot and/or references of policy/gui to latest snapshots

policy/gui updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I01e28049ea6b24e5fef322f9a93e72f3797cec8c

18 months agoRelease docker images for policy/gui: 2.4.0 82/132782/1
liamfallon [Fri, 16 Dec 2022 10:11:07 +0000 (10:11 +0000)]
Release docker images for policy/gui: 2.4.0

This commit releases docker images for repo policy/gui.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Id5214a3d8aa064a8ef4be895ab2084b8b7011a99

18 months agoRelease policy/gui: 2.4.0 75/132775/1
liamfallon [Thu, 15 Dec 2022 18:33:01 +0000 (18:33 +0000)]
Release policy/gui: 2.4.0

This commit releases repo policy/gui.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I30aff131586a4a5f1280dca06eae0c1172242920

18 months agoupdate references in policy/gui pom 63/132763/1
liamfallon [Thu, 15 Dec 2022 16:20:02 +0000 (16:20 +0000)]
update references in policy/gui pom

updated references in the policy/gui pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4484
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I60842086de072c55410ffe9636a76df2059c52bc

19 months agoMove git-commit-id-maven-plugin to parent pom 72/132472/1
danielhanrahan [Fri, 25 Nov 2022 15:35:17 +0000 (15:35 +0000)]
Move git-commit-id-maven-plugin to parent pom

The POM config for git-commit-id-maven-plugin is duplicated in each
repo, so the config is moved to policy/parent

Issue-ID: POLICY-4466
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I67098f65197d32fbda1b2b929a974a0febf3af3f

19 months agoEnable health check and prometheus on gui-server 06/132106/1
liamfallon [Wed, 9 Nov 2022 18:06:09 +0000 (18:06 +0000)]
Enable health check and prometheus on gui-server

Issue-ID: POLICY-4138
Change-Id: Ibd815d54e7ee1df787412ed55d70d8a5dc95f1c0
Signed-off-by: liamfallon <liam.fallon@est.tech>
19 months agoAdd forwarding support for policy-pap 96/132096/2
liamfallon [Wed, 9 Nov 2022 11:50:59 +0000 (11:50 +0000)]
Add forwarding support for policy-pap

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>
19 months agoRemove duplication in REST Controller Tests 52/132052/1
liamfallon [Tue, 8 Nov 2022 20:06:23 +0000 (20:06 +0000)]
Remove duplication in REST Controller Tests

Issue-ID: POLICY-4138
Change-Id: I796942a33031d572bac931861faa5dc736128c9b
Signed-off-by: liamfallon <liam.fallon@est.tech>
19 months agoMove GUI forwarding to gui-server from clamp-be 30/132030/8
liamfallon [Mon, 7 Nov 2022 13:53:29 +0000 (13:53 +0000)]
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>
20 months agoSet snapshot and/or references of policy/gui for new release 03/131703/1
liamfallon [Fri, 21 Oct 2022 16:53:52 +0000 (17:53 +0100)]
Set snapshot and/or references of policy/gui for new release

policy/gui updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I6d290b5589706dd3931a8bfe50220385b9de1cfa

20 months agoUpdate snapshot and/or references of policy/gui to latest snapshots 63/131663/1
liamfallon [Fri, 21 Oct 2022 14:23:33 +0000 (15:23 +0100)]
Update snapshot and/or references of policy/gui to latest snapshots

policy/gui updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ia2af3d09c25731ac074fba83953c6cf3fc77a381

20 months agoRelease docker images for policy/gui: 2.3.1 61/131661/1
liamfallon [Fri, 21 Oct 2022 13:57:49 +0000 (14:57 +0100)]
Release docker images for policy/gui: 2.3.1

This commit releases docker images for repo policy/gui.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Iad7b7674704b310b74e53859764748546218348b

20 months agoRelease policy/gui: 2.3.1 58/131658/1
liamfallon [Fri, 21 Oct 2022 13:24:47 +0000 (14:24 +0100)]
Release policy/gui: 2.3.1

This commit releases repo policy/gui.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic686c60e8eb9d5f72ec401465c6a5837854377ba

20 months agoupdate references in policy/gui pom 49/131649/1
liamfallon [Fri, 21 Oct 2022 09:50:48 +0000 (10:50 +0100)]
update references in policy/gui pom

updated references in the policy/gui pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4408
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ida9f068cfdc27414e05b961a92ee3db4837ed4e3

21 months agoMerge "Amend GUI to work directly towards ACM runtime"
Liam Fallon [Thu, 29 Sep 2022 08:27:12 +0000 (08:27 +0000)]
Merge "Amend GUI to work directly towards ACM runtime"

21 months agoAmend GUI to work directly towards ACM runtime 90/131190/3
liamfallon [Mon, 26 Sep 2022 14:46:55 +0000 (15:46 +0100)]
Amend GUI to work directly towards ACM runtime

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>
21 months agoUpdate snapshot and/or references of policy/gui to latest snapshots 58/131158/1
liamfallon [Fri, 23 Sep 2022 16:01:57 +0000 (17:01 +0100)]
Update snapshot and/or references of policy/gui to latest snapshots

policy/gui updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic855a9b68b4b521330736d09442c502036a80150

21 months agoRelease docker images for policy/gui: 2.3.0 56/131156/1
liamfallon [Fri, 23 Sep 2022 15:27:51 +0000 (16:27 +0100)]
Release docker images for policy/gui: 2.3.0

This commit releases docker images for repo policy/gui.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic27d2ab942e952b7994a3612c76b521365059134

21 months agoRelease policy/gui: 2.3.0 52/131152/1 2.3.0
liamfallon [Fri, 23 Sep 2022 14:18:05 +0000 (15:18 +0100)]
Release policy/gui: 2.3.0

This commit releases repo policy/gui.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I3b9abd0f778b149d45ed6e84d2ea796f00130f23

21 months agoupdate references in policy/gui pom 34/131134/1
liamfallon [Fri, 23 Sep 2022 09:59:12 +0000 (10:59 +0100)]
update references in policy/gui pom

updated references in the policy/gui pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4343
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I2de2d44e3c1f282e8a0eb1bf0e5e4e4fdab0e8b9

21 months agoRemove inactive committers from INFO.yaml 32/130832/1
liamfallon [Fri, 9 Sep 2022 09:23:48 +0000 (10:23 +0100)]
Remove inactive committers from INFO.yaml

Remove inactive committers from INFO.yaml

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4354
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I257001d66ea750d15f52d0a024d987867d7744fe

22 months agoAllow setting external dockerfile for policy-gui 47/130647/1
danielhanrahan [Thu, 1 Sep 2022 17:43:32 +0000 (18:43 +0100)]
Allow setting external dockerfile for policy-gui

If building with an external dockerfile, e.g. using
 mvn clean install -Pdocker -DdockerFile=/path/to/dockerfile
docker will look for project files in the same directory as the
new dockerfile. A new property is added for setting the context
path, to allow using existing project files in src/main/docker.

Issue-ID: POLICY-4334
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Iff458271c45ff634504f44ea05f2ec7dfdf15f9e

22 months agofixed broken jest tests 52/130452/1
brunomilitzer [Fri, 26 Aug 2022 08:36:03 +0000 (09:36 +0100)]
fixed broken jest tests

Issue-ID: POLICY-4331
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Change-Id: I1456fdd64075fff19813aa26ae54a84fdc80fc33
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
23 months agoUpdate docker base image to snapshot 73/130073/1
liamfallon [Fri, 29 Jul 2022 14:27:27 +0000 (15:27 +0100)]
Update docker base image to snapshot

Update docker base image to snapshot

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4287
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Ic0554cfe1b81c2f6136a1e378cd1ab9f68d6a303

23 months agoUpgrade OpenSuse version to 15.4 for gui 73/129873/1
danielhanrahan [Mon, 11 Jul 2022 15:04:43 +0000 (16:04 +0100)]
Upgrade OpenSuse version to 15.4 for gui

Issue-ID: POLICY-4278
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I5ad06a6b85d3c069cfe0794fd1bd73de0694d619

2 years agoOCI image spec labels for GUI 15/129715/1
danielhanrahan [Tue, 28 Jun 2022 13:37:30 +0000 (14:37 +0100)]
OCI image spec labels for GUI

Issue-ID: POLICY-4261
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Id4a6e81302aede6b451916db5b0e4b99c494881f

2 years agoMerge "Add Ramesh Murugan Iyer as a committer"
Liam Fallon [Thu, 2 Jun 2022 08:08:52 +0000 (08:08 +0000)]
Merge "Add Ramesh Murugan Iyer as a committer"

2 years agoAdd Ramesh Murugan Iyer as a committer 45/129445/1
liamfallon [Wed, 1 Jun 2022 12:05:21 +0000 (13:05 +0100)]
Add Ramesh Murugan Iyer as a committer

Issue-ID: POLICY-4228
Change-Id: If90cbcd1be181efa0a161782e407884efde5ccf7
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoOpenSuse docker file for policy-gui 14/129414/1
danielhanrahan [Thu, 26 May 2022 19:41:24 +0000 (20:41 +0100)]
OpenSuse docker file for policy-gui

Create OpenSuse docker file
Add build profile for OpenSuse docker image

Issue-ID: POLICY-4195
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I5c69bfae239a2efe266d41e8efb5d6c5ac0da912

2 years agoMerge "Added Edit Button Functionality"
Liam Fallon [Mon, 23 May 2022 13:04:09 +0000 (13:04 +0000)]
Merge "Added Edit Button Functionality"

2 years agoAdded Edit Button Functionality 20/129320/1
brunomilitzer [Thu, 5 May 2022 13:19:39 +0000 (14:19 +0100)]
Added Edit Button Functionality

Issue-ID: POLICY-4094
Change-Id: I7e83e1c194272f274f351bc1ee34761fcc7353a4
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2 years agoSet snapshot and/or references of policy/gui for new release 57/129057/1
liamfallon [Tue, 3 May 2022 16:22:15 +0000 (17:22 +0100)]
Set snapshot and/or references of policy/gui for new release

policy/gui updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4073
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I81d9ad228ad553e1546ad8c39ea99d864a521c04
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoUpdate snapshot and/or references of policy/gui to latest snapshots 42/129042/1
liamfallon [Tue, 3 May 2022 08:37:13 +0000 (09:37 +0100)]
Update snapshot and/or references of policy/gui to latest snapshots

policy/gui updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I43fb331d70487c78f640ae9205c926ff7f4868f5

2 years agoRelease docker images for policy/gui: 2.2.3 05/129005/1
liamfallon [Sat, 30 Apr 2022 14:03:36 +0000 (15:03 +0100)]
Release docker images for policy/gui: 2.2.3

This commit releases docker images for repo policy/gui.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I0796cae54742ac307306de205998b42903dbcd72

2 years agoRelease policy/gui: 2.2.3 82/128982/1
liamfallon [Thu, 28 Apr 2022 17:46:05 +0000 (18:46 +0100)]
Release policy/gui: 2.2.3

This commit releases repo policy/gui.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I8b23932cd2651eb9a541bf2591e8054c154c6568

2 years agoupdate references in policy/gui pom 70/128970/1
liamfallon [Thu, 28 Apr 2022 15:00:58 +0000 (16:00 +0100)]
update references in policy/gui pom

updated references in the policy/gui pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I1644da02524eaaadb19c56153ac818ce02d0698b

2 years agoUpdate snapshot and/or references of policy/gui to latest snapshots 79/128579/1
liamfallon [Wed, 13 Apr 2022 17:13:42 +0000 (18:13 +0100)]
Update snapshot and/or references of policy/gui to latest snapshots

policy/gui updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I234c75ed30b497871afcb6b5f5306a73b755f989

2 years agoRelease docker images for policy/gui: 2.2.2 59/128559/1
liamfallon [Wed, 13 Apr 2022 12:59:25 +0000 (13:59 +0100)]
Release docker images for policy/gui: 2.2.2

This commit releases docker images for repo policy/gui.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I7933d1b2d2450a910ff5926be13fef29b65aff39

2 years agoRelease policy/gui: 2.2.2 45/128545/1
liamfallon [Wed, 13 Apr 2022 10:21:56 +0000 (11:21 +0100)]
Release policy/gui: 2.2.2

This commit releases repo policy/gui.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I1d83499a482076a3a549fa96053c559f7e1ac5ee

2 years agoupdate references in policy/gui pom 24/128524/1
liamfallon [Tue, 12 Apr 2022 20:35:22 +0000 (21:35 +0100)]
update references in policy/gui pom

updated references in the policy/gui pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-4089
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Iefc7babde8593c04f670b5937c37d72562eba38e

2 years agoUpdate version of npm-maven-plugin 76/128376/2
liamfallon [Thu, 7 Apr 2022 16:29:16 +0000 (17:29 +0100)]
Update version of npm-maven-plugin

The older version of the npm-maven-plugin does nto work on the latest version of MacOS.

Issue-ID: POLICY-4082
Change-Id: I24606a0761132868904699df4387ccd8d529d0c2
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoGray-out links from older UI functionality 40/128340/1
saul.gill [Wed, 6 Apr 2022 14:27:45 +0000 (15:27 +0100)]
Gray-out links from older UI functionality

Links are disabled and greyed out for non-acm functionality
Altered menu bar test

Issue-ID: POLICY-4082
Change-Id: I5b0807cfdc687de9fdc0accd38825ed6309f79db
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoMerge "Duplicate log entries in policy-gui"
Liam Fallon [Sat, 26 Mar 2022 17:49:49 +0000 (17:49 +0000)]
Merge "Duplicate log entries in policy-gui"

2 years agoDuplicate log entries in policy-gui 94/127994/1
danielhanrahan [Tue, 22 Mar 2022 13:14:52 +0000 (13:14 +0000)]
Duplicate log entries in policy-gui

Issue-ID: POLICY-4041
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Icbf4948733da3e40a9d6349142a0b9ff0f7b30f5

2 years agoUse TLSv1.2 in policy-gui 31/127931/1
danielhanrahan [Mon, 21 Mar 2022 16:05:29 +0000 (16:05 +0000)]
Use TLSv1.2 in policy-gui

TLSv1.2 is needed for optional client cert auth

Issue-ID: POLICY-3980
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I244fa88a92f74e912780a52e46bc313df6506bc7

2 years agoMerge "Excluding Loop components from SONAR"
Liam Fallon [Mon, 21 Mar 2022 16:02:31 +0000 (16:02 +0000)]
Merge "Excluding Loop components from SONAR"

2 years agoExcluding Loop components from SONAR 03/127903/1
lapentafd [Wed, 16 Mar 2022 10:44:25 +0000 (10:44 +0000)]
Excluding Loop components from SONAR

Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: Ia31841938be19f356e4efdb48c7be6186dcff540

2 years agoMerge "Code coverage for policy/gui gui-server"
Liam Fallon [Wed, 16 Mar 2022 09:43:51 +0000 (09:43 +0000)]
Merge "Code coverage for policy/gui gui-server"

2 years agoUpdate snapshot and/or references of policy/gui to latest snapshots 27/127827/1
liamfallon [Tue, 15 Mar 2022 20:29:28 +0000 (20:29 +0000)]
Update snapshot and/or references of policy/gui to latest snapshots

policy/gui updated to its latest own and reference snapshots

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I71ca42a74e1d6fbb397c58ac5ecfa443a9b78e8d
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoCode coverage for policy/gui gui-server 20/127820/1
danielhanrahan [Tue, 15 Mar 2022 17:34:14 +0000 (17:34 +0000)]
Code coverage for policy/gui gui-server

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

2 years agoRelease docker images for policy/gui: 2.2.1 13/127813/1
liamfallon [Tue, 15 Mar 2022 15:57:34 +0000 (15:57 +0000)]
Release docker images for policy/gui: 2.2.1

This commit releases docker images for repo policy/gui.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I6cd003dc90fd9da0f6b2dacaa6e47f70f38bc924

2 years agoRelease policy/gui: 2.2.1 04/127804/1
liamfallon [Tue, 15 Mar 2022 14:29:57 +0000 (14:29 +0000)]
Release policy/gui: 2.2.1

This commit releases repo policy/gui.

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: Id24cd91bfbb0a59bad574cb910f9cda916ad86fb

2 years agoupdate references in policy/gui pom 01/127801/1
liamfallon [Tue, 15 Mar 2022 13:33:59 +0000 (13:33 +0000)]
update references in policy/gui pom

updated references in the policy/gui pom

*** This commit is generated by a PF release script ***

Issue-ID: POLICY-3982
Signed-off-by: liamfallon <liam.fallon@est.tech>
Change-Id: I79359201bdc7e5e37206bdf82811bcbb3967390a

2 years agoMerge "Make client cert authentication optional in policy-gui"
Liam Fallon [Tue, 15 Mar 2022 13:06:02 +0000 (13:06 +0000)]
Merge "Make client cert authentication optional in policy-gui"

2 years agoMerge "Added more unit tests for overall coverage"
Liam Fallon [Tue, 15 Mar 2022 12:36:10 +0000 (12:36 +0000)]
Merge "Added more unit tests for overall coverage"

2 years agoAdded more unit tests for overall coverage 48/127748/4
brunomilitzer [Mon, 14 Mar 2022 11:29:25 +0000 (11:29 +0000)]
Added more unit tests for overall coverage

Issue-ID: POLICY-3932
Change-Id: I481f5da35047da7a790f02368cc915d5e1a9e04d
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2 years agoMake client cert authentication optional in policy-gui 91/127791/1
danielhanrahan [Mon, 14 Mar 2022 15:37:24 +0000 (15:37 +0000)]
Make client cert authentication optional in policy-gui

Set client auth to optional as Apex Editor does not need certs.

Issue-ID: POLICY-3980
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Iad03f80f5fb79e6f48a21699c45e9fbf7c746106

2 years agoUpgrade apex-pdp version in Apex Editor 50/127750/1
danielhanrahan [Thu, 10 Mar 2022 14:39:42 +0000 (14:39 +0000)]
Upgrade apex-pdp version in Apex Editor

Upgrade apex-pdp version to 2.7.1-SNAPSHOT
Fix NullPointerException in ModelHandler::setUuidAndDescription
Allow parsing models from policy_type_impl or apexPolicyModel
Remove deprecated Task input and output field functionality
Fix JS REST calls and tests after JAXB to Gson changes
Fix bugs in Task Edit form relating to task logic edit area

Issue-ID: POLICY-3990
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I4f506889df46619a0178ab99c99c73ec2fd5a1e3

2 years agoMerge "Added Jest Tests for Overall Coverage"
Liam Fallon [Thu, 10 Mar 2022 15:44:31 +0000 (15:44 +0000)]
Merge "Added Jest Tests for Overall Coverage"

2 years agoAdded Jest Tests for Overall Coverage 57/127657/1
brunomilitzer [Thu, 10 Mar 2022 11:59:39 +0000 (11:59 +0000)]
Added Jest Tests for Overall Coverage

Issue-ID: POLICY-3873
Change-Id: Ie3516ad0178b7960e3ecc380eb0ad3a48a78ce1f
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2 years agoMove version properties to policy/gui root pom 50/127650/1
danielhanrahan [Thu, 10 Mar 2022 10:00:07 +0000 (10:00 +0000)]
Move version properties to policy/gui root pom

Version properties must be in root pom for release scripts to work.

Issue-ID: POLICY-3638
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ia2067c7716d21f6a4905ff95263ad6690e8f4739

2 years agoCode coverage policy gui react 63/127563/6
lapentafd [Tue, 8 Mar 2022 09:25:43 +0000 (09:25 +0000)]
Code coverage policy gui react

Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I5329a7437be4702361940ef9e22f51413ed892d0

2 years agoFixed Instance Properties Name 34/127534/1
brunomilitzer [Mon, 7 Mar 2022 15:19:21 +0000 (15:19 +0000)]
Fixed Instance Properties Name

Added a input text box so the user can
customize the instance name properties

Issue-ID: POLICY-3978
Change-Id: I505eff37699dbe50a285ce2f153c70be246e1d8c
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2 years agoMerge "Enable console logging in policy-gui"
Liam Fallon [Fri, 4 Mar 2022 14:44:21 +0000 (14:44 +0000)]
Merge "Enable console logging in policy-gui"

2 years agoMerge "Fix sonar security issues in policy-gui"
Liam Fallon [Thu, 3 Mar 2022 15:43:26 +0000 (15:43 +0000)]
Merge "Fix sonar security issues in policy-gui"

2 years agoEnable console logging in policy-gui 81/127481/1
danielhanrahan [Thu, 3 Mar 2022 15:09:54 +0000 (15:09 +0000)]
Enable console logging in policy-gui

Enable logging to STDOUT so that logs can be viewed with `kubectl logs`

Issue-ID: POLICY-3638
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I8325223d77089801df92683ea51cf07b3c2dd44c

2 years agoMerge "Code Coverage in gui ui react"
Liam Fallon [Thu, 3 Mar 2022 09:02:08 +0000 (09:02 +0000)]
Merge "Code Coverage in gui ui react"

2 years agoFix sonar security issues in policy-gui 68/127468/1
danielhanrahan [Wed, 2 Mar 2022 20:32:45 +0000 (20:32 +0000)]
Fix sonar security issues in policy-gui

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

2 years agoCode Coverage in gui ui react 49/127449/1
lapentafd [Wed, 2 Mar 2022 14:35:12 +0000 (14:35 +0000)]
Code Coverage in gui ui react

Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I0a2ada8e19619eaf95012300c7a3c2c6013f2495

2 years agoSkip lombok sonar detection 36/127436/1
lapentafd [Wed, 2 Mar 2022 10:26:47 +0000 (10:26 +0000)]
Skip lombok sonar detection

Skip the sonar check on the @Data methods for code coverage policy-gui

Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: Ic6626b600d0dc0dc1b510e1a860b9f111b120a39

2 years agoMerge "Run policy GUIs in a single JAR"
Liam Fallon [Tue, 1 Mar 2022 19:45:52 +0000 (19:45 +0000)]
Merge "Run policy GUIs in a single JAR"

2 years agoRenamed Control Loop to ACM 04/127304/3
brunomilitzer [Fri, 25 Feb 2022 10:38:47 +0000 (10:38 +0000)]
Renamed Control Loop to ACM

Issue-ID: POLICY-3940
Change-Id: I37d768ac339e4e354a369fcb659bf36da861d7aa
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2 years agoRun policy GUIs in a single JAR 17/126417/7
danielhanrahan [Fri, 28 Jan 2022 11:41:38 +0000 (11:41 +0000)]
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

2 years agoMerge "Code coverage apex editor"
Liam Fallon [Sat, 26 Feb 2022 10:47:46 +0000 (10:47 +0000)]
Merge "Code coverage apex editor"

2 years agoCode coverage apex editor 05/127305/1
lapentafd [Wed, 23 Feb 2022 18:49:20 +0000 (18:49 +0000)]
Code coverage apex editor

Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: Ib3043be521c37efe60e96b7917077db8c70b1645

2 years agoApex Editor using Spring Boot 14/127214/7
danielhanrahan [Fri, 28 Jan 2022 11:41:38 +0000 (11:41 +0000)]
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

2 years agoCode Coverage policy gui Edit Forms 18/127218/1
lapentafd [Fri, 18 Feb 2022 12:56:12 +0000 (12:56 +0000)]
Code Coverage policy gui Edit Forms

Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: Ifea662ee9575dd73c738dd6a93998af0a19d6599

2 years agoCode coverage policy gui Policy Edit Form 02/127202/1
lapentafd [Thu, 17 Feb 2022 16:46:55 +0000 (16:46 +0000)]
Code coverage policy gui Policy Edit Form

Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I682f046955b06bc7738987b8998ecd4cdb287276

2 years agoExclude tests from sonar coverage in apex-editor 72/127172/1
danielhanrahan [Thu, 17 Feb 2022 11:16:19 +0000 (11:16 +0000)]
Exclude tests from sonar coverage in apex-editor

Exclude all *.test.js files from sonar coverage.

Issue-ID: POLICY-3896
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ic0ad8e58c1b079a6beeb10b4b4c02b604d280204

2 years agoRefactor apex-editor frontend build 45/127145/4
danielhanrahan [Tue, 15 Feb 2022 18:02:23 +0000 (18:02 +0000)]
Refactor apex-editor frontend build

Moved frontend from src/main/resources/webapp to src/main/webapp
Moved static resources such as jquery-ui to webapp/dist folder
Configured jest to exclude webapp/dist from coverage report
Removed unused ZIP file assembly
Cleaned up POM

Issue-ID: POLICY-3896
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ia006eb94a39586219029866eef94aef38912ad65

2 years agoFix test duplication in policy gui 43/127143/2
lapentafd [Wed, 16 Feb 2022 10:39:50 +0000 (10:39 +0000)]
Fix test duplication in policy gui

Deleting some duplicationg tests, and fixing test skipping

Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I2a9ac9061eaffdf70a1b6bff053dae287b895314

2 years agoMerge "Code coverage for ApexPolicyEditForm_State"
Liam Fallon [Tue, 15 Feb 2022 17:36:37 +0000 (17:36 +0000)]
Merge "Code coverage for ApexPolicyEditForm_State"

2 years agoMerge "Added Jest Test on SVG Generator"
Liam Fallon [Tue, 15 Feb 2022 15:39:45 +0000 (15:39 +0000)]
Merge "Added Jest Test on SVG Generator"

2 years agoCode coverage for ApexPolicyEditForm_State 36/127136/1
lapentafd [Mon, 14 Feb 2022 16:54:03 +0000 (16:54 +0000)]
Code coverage for ApexPolicyEditForm_State

Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I6146510025c33bc754b26970d57da343edfe8311

2 years agoAdded Jest Test on SVG Generator 26/127126/1
brunomilitzer [Tue, 15 Feb 2022 08:57:03 +0000 (08:57 +0000)]
Added Jest Test on SVG Generator

Issue-ID: POLICY-3873
Change-Id: I5ad1ba66a6ac8c3b48c8468dbcd4fc2132060ceb
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2 years agoMerge "Fix content-type for model download in Apex Editor"
Liam Fallon [Mon, 14 Feb 2022 16:43:49 +0000 (16:43 +0000)]
Merge "Fix content-type for model download in Apex Editor"

2 years agoMerge "Remove unused test resources in Apex Editor"
Liam Fallon [Mon, 14 Feb 2022 16:43:15 +0000 (16:43 +0000)]
Merge "Remove unused test resources in Apex Editor"

2 years agoMerge "Fix race condition in apex-editor model upload"
Liam Fallon [Mon, 14 Feb 2022 16:43:01 +0000 (16:43 +0000)]
Merge "Fix race condition in apex-editor model upload"

2 years agoMerge "Clean up apex editor POM dependencies"
Liam Fallon [Mon, 14 Feb 2022 16:42:49 +0000 (16:42 +0000)]
Merge "Clean up apex editor POM dependencies"

2 years agoFix race condition in apex-editor model upload 99/127099/1
danielhanrahan [Mon, 14 Feb 2022 11:47:09 +0000 (11:47 +0000)]
Fix race condition in apex-editor model upload

Fixed a race condition in /Model/Upload endpoint caused by userId
 query param overwriting a global parameter. New behavior is for
 userId to override global param for that request only.
Updated JavaDocs to reflect behavior.
Added JUnit test to verify userId overriding.
Fixed issue where upload success message was not included in response.

Issue-ID: POLICY-3929
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ic1d78083778eef2df3675b3b4fbc1e41420da46f

2 years agoMerge "Added Jest Tests on ViewAllPolicies and PolicyDeploymentEditor"
Liam Fallon [Mon, 14 Feb 2022 09:35:00 +0000 (09:35 +0000)]
Merge "Added Jest Tests on ViewAllPolicies and PolicyDeploymentEditor"

2 years agoRemove unused test resources in Apex Editor 92/127092/1
danielhanrahan [Fri, 11 Feb 2022 21:34:08 +0000 (21:34 +0000)]
Remove unused test resources in Apex Editor

Removed unused test resources in Apex Editor

Issue-ID: POLICY-3928
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ib4b916daad6d45bf3403399c9b4e09bf42690785

2 years agoClean up apex editor POM dependencies 90/127090/1
danielhanrahan [Fri, 11 Feb 2022 16:22:58 +0000 (16:22 +0000)]
Clean up apex editor POM dependencies

Removed unused dependencies from gui-editor-apex POM
Removed duplicate properties from POMs

Issue-ID: POLICY-3927
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I1ed4301c0a11a063237964e5c3ba1ccd9c8bec74

2 years agoFix content-type for model download in Apex Editor 91/127091/1
danielhanrahan [Fri, 11 Feb 2022 16:29:45 +0000 (16:29 +0000)]
Fix content-type for model download in Apex Editor

Changed content-type to text/plain for model download
Updated javadoc to say YAML not JSON

Issue-ID: POLICY-3930
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Icb3f876003addc47e91b4f6e3b43d9c9c3dc7ee6

2 years agoAdded Jest Tests on ViewAllPolicies and PolicyDeploymentEditor 75/127075/2
brunomilitzer [Fri, 11 Feb 2022 09:15:36 +0000 (09:15 +0000)]
Added Jest Tests on ViewAllPolicies and PolicyDeploymentEditor

Issue-ID: POLICY-3916
Change-Id: I81e34903bf1e8d2d059b755d58eea7738b600829
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2 years agoCode coverage policy gui webapp 48/127048/1
lapentafd [Tue, 8 Feb 2022 17:24:00 +0000 (17:24 +0000)]
Code coverage policy gui webapp

Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I45f2a6542dedf82dcb76a94e51839aa772372909

2 years agoMerge "Added Policy Jest Tests"
Liam Fallon [Mon, 7 Feb 2022 09:06:51 +0000 (09:06 +0000)]
Merge "Added Policy Jest Tests"

2 years agoAdded Policy Jest Tests 69/126969/1
brunomilitzer [Thu, 3 Feb 2022 09:08:47 +0000 (09:08 +0000)]
Added Policy Jest Tests

Added more tests to increase overall coverage

Issue-ID: POLICY-3899
Change-Id: I97e7954d42199145948f2ac2738a0ceaa7e6a44f
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2 years agoMerge "Policy Gui Code Coverage"
Liam Fallon [Fri, 4 Feb 2022 09:04:16 +0000 (09:04 +0000)]
Merge "Policy Gui Code Coverage"