summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2022-03-21Use TLSv1.2 in policy-guidanielhanrahan1-0/+1
TLSv1.2 is needed for optional client cert auth Issue-ID: POLICY-3980 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I244fa88a92f74e912780a52e46bc313df6506bc7
2022-03-21Merge "Excluding Loop components from SONAR"Liam Fallon2-2/+3
2022-03-16Excluding Loop components from SONARlapentafd2-2/+3
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: Ia31841938be19f356e4efdb48c7be6186dcff540
2022-03-16Merge "Code coverage for policy/gui gui-server"Liam Fallon3-0/+123
2022-03-15Update snapshot and/or references of policy/gui to latest snapshotsliamfallon9-13/+13
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>
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-15Release docker images for policy/gui: 2.2.1liamfallon1-0/+8
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
2022-03-15Release policy/gui: 2.2.1liamfallon1-0/+5
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
2022-03-15update references in policy/gui pomliamfallon2-5/+5
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
2022-03-15Merge "Make client cert authentication optional in policy-gui"Liam Fallon2-2/+1
2022-03-15Merge "Added more unit tests for overall coverage"Liam Fallon5-72/+63
2022-03-14Added more unit tests for overall coveragebrunomilitzer5-72/+63
Issue-ID: POLICY-3932 Change-Id: I481f5da35047da7a790f02368cc915d5e1a9e04d Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-03-14Make client cert authentication optional in policy-guidanielhanrahan2-2/+1
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
2022-03-14Upgrade apex-pdp version in Apex Editordanielhanrahan40-1024/+356
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
2022-03-10Merge "Added Jest Tests for Overall Coverage"Liam Fallon2-12/+59
2022-03-10Added Jest Tests for Overall Coveragebrunomilitzer2-12/+59
Issue-ID: POLICY-3873 Change-Id: Ie3516ad0178b7960e3ecc380eb0ad3a48a78ce1f Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-03-10Move version properties to policy/gui root pomdanielhanrahan2-3/+3
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
2022-03-09Code coverage policy gui reactlapentafd4-0/+116
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: I5329a7437be4702361940ef9e22f51413ed892d0
2022-03-07Fixed Instance Properties Namebrunomilitzer5-18/+73
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>
2022-03-04Merge "Enable console logging in policy-gui"Liam Fallon1-0/+11
2022-03-03Merge "Fix sonar security issues in policy-gui"Liam Fallon2-0/+2
2022-03-03Enable console logging in policy-guidanielhanrahan1-0/+11
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
2022-03-03Merge "Code Coverage in gui ui react"Liam Fallon2-0/+76
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-03-02Code Coverage in gui ui reactlapentafd2-0/+76
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: I0a2ada8e19619eaf95012300c7a3c2c6013f2495
2022-03-02Skip lombok sonar detectionlapentafd1-0/+2
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
2022-03-01Merge "Run policy GUIs in a single JAR"Liam Fallon45-141/+2176
2022-02-28Renamed Control Loop to ACMbrunomilitzer73-326/+144
Issue-ID: POLICY-3940 Change-Id: I37d768ac339e4e354a369fcb659bf36da861d7aa Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-02-28Run policy GUIs in a single JARdanielhanrahan45-141/+2176
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
2022-02-26Merge "Code coverage apex editor"Liam Fallon3-7/+33
2022-02-25Code coverage apex editorlapentafd3-7/+33
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: Ib3043be521c37efe60e96b7917077db8c70b1645
2022-02-23Apex Editor using Spring Bootdanielhanrahan72-2940/+1913
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
2022-02-18Code Coverage policy gui Edit Formslapentafd3-3/+58
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: Ifea662ee9575dd73c738dd6a93998af0a19d6599
2022-02-17Code coverage policy gui Policy Edit Formlapentafd1-2/+93
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: I682f046955b06bc7738987b8998ecd4cdb287276
2022-02-17Exclude tests from sonar coverage in apex-editordanielhanrahan1-1/+1
Exclude all *.test.js files from sonar coverage. Issue-ID: POLICY-3896 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ic0ad8e58c1b079a6beeb10b4b4c02b604d280204
2022-02-16Refactor apex-editor frontend builddanielhanrahan504-110/+51
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
2022-02-16Fix test duplication in policy guilapentafd1-72/+19
Deleting some duplicationg tests, and fixing test skipping Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: I2a9ac9061eaffdf70a1b6bff053dae287b895314
2022-02-15Merge "Code coverage for ApexPolicyEditForm_State"Liam Fallon1-2/+76
2022-02-15Merge "Added Jest Test on SVG Generator"Liam Fallon2-0/+38
2022-02-15Code coverage for ApexPolicyEditForm_Statelapentafd1-2/+76
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: I6146510025c33bc754b26970d57da343edfe8311
2022-02-15Added Jest Test on SVG Generatorbrunomilitzer2-0/+38
Issue-ID: POLICY-3873 Change-Id: I5ad1ba66a6ac8c3b48c8468dbcd4fc2132060ceb Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-02-14Merge "Fix content-type for model download in Apex Editor"Liam Fallon1-1/+2
2022-02-14Merge "Remove unused test resources in Apex Editor"Liam Fallon23-2279/+1
2022-02-14Merge "Fix race condition in apex-editor model upload"Liam Fallon6-39/+78
2022-02-14Merge "Clean up apex editor POM dependencies"Liam Fallon3-62/+7
2022-02-14Fix race condition in apex-editor model uploaddanielhanrahan6-39/+78
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
2022-02-14Merge "Added Jest Tests on ViewAllPolicies and PolicyDeploymentEditor"Liam Fallon6-3/+284
2022-02-11Remove unused test resources in Apex Editordanielhanrahan23-2280/+2
Removed unused test resources in Apex Editor Issue-ID: POLICY-3928 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ib4b916daad6d45bf3403399c9b4e09bf42690785
2022-02-11Clean up apex editor POM dependenciesdanielhanrahan3-62/+7
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
2022-02-11Fix content-type for model download in Apex Editordanielhanrahan1-2/+3
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