aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2022-02-11Added Jest Tests on ViewAllPolicies and PolicyDeploymentEditorbrunomilitzer6-3/+284
Issue-ID: POLICY-3916 Change-Id: I81e34903bf1e8d2d059b755d58eea7738b600829 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-02-09Code coverage policy gui webapplapentafd2-1/+128
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: I45f2a6542dedf82dcb76a94e51839aa772372909
2022-02-07Merge "Added Policy Jest Tests"Liam Fallon12-77/+1222
2022-02-04Added Policy Jest Testsbrunomilitzer12-77/+1222
Added more tests to increase overall coverage Issue-ID: POLICY-3899 Change-Id: I97e7954d42199145948f2ac2738a0ceaa7e6a44f Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-02-04Merge "Policy Gui Code Coverage"Liam Fallon5-6/+54
2022-02-02Policy Gui Code Coveragelapentafd5-6/+54
Adding Generated tag for lombok methods in ApexEditorParameters This will skip the sonar check on the @Data methods Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: I73ec9f47fb90182221aebd5129bf2da32ab06cad
2022-02-01Merge "Added Menu and Loop Jest Tests"Liam Fallon8-18/+415
2022-01-31Fix assertions in ControlLoopService testdanielhanrahan1-4/+8
Fix assertion lines to check response status value. Wrap responses in beforeEach so async calls are resolved before assertions. Issue-ID: POLICY-3351 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: If540831367a7e359739b9675a2800b426b3e7f20
2022-01-28Added Menu and Loop Jest Testsbrunomilitzer8-18/+415
Issue-ID: POLICY-3876 Change-Id: I5f4d80aefdff8b837a40742b66727b888e985b86 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-01-25Merge "Code Coverage gui editor apex"Liam Fallon4-3/+46
2022-01-24Code Coverage gui editor apexlapentafd4-3/+46
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: Iccac0679be9644b3f68b17c33c07ea9a81acde37
2022-01-24Merge "Removed PDP Monitoring from GUI"Liam Fallon48-7556/+0
2022-01-21Removed PDP Monitoring from GUIbrunomilitzer48-7556/+0
Issue-ID: POLICY-3888 Change-Id: If59a7b7ad3074e718772051e2a13134eadb54997 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-01-18Code coverage policy gui editor apexlapentafd4-3/+81
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: I019521b7343206404ce7bd1fa3a05f5ff782baa0