summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2022-01-17Merge "Improved Test coverage for Service Component"Liam Fallon7-0/+1304
2022-01-14Improved Test coverage for Service ComponentLathish7-0/+1304
Issue-ID: POLICY-3351 Change-Id: I7d710a3fbd91d3c62fe29c4748244b480e7798e6 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2022-01-13Code coverage gui-editor-apexlapentafd3-4/+91
Issue-ID: POLICY-3351 Change-Id: I51ae3b5e6de3f81af5cb445ade7309360da50afa Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2022-01-11Added Test Code Coveragebrunomilitzer8-102/+198
Issue-ID: POLICY-3563 Change-Id: I65cd2bfc72b973baa8f2b28a14e5d364ca4562a2 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-01-04Added Jest Unit Testsbrunomilitzer16-267/+1985
Jest Tests for creation of instance properties Jest Tests for deletion of instance properties Included Issue-Id: 3566 Issue-ID: POLICY-3563 Signed-off-by: brunomilitzer <bruno.militzer@est.tech> Change-Id: I227ae8f306df10ee3cc341791471dda9ca79d9d1
2021-12-02Merge "Update snapshot and/or references of policy/gui to latest snapshots"Liam Fallon1-3/+3
2021-12-02Update snapshot and/or references of policy/gui to latest snapshotsliamfallon1-3/+3
*** This commit is generated by a PF release script *** policy/gui updated to its latest own and reference snapshots Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ief7e0b520894374dbc9d76f79aa5390c1d94ebda
2021-12-01Add package-lock.json to gui-clampdanielhanrahan2-4/+40930
Prevent maven from cleaning package-lock.json Restore package-lock.json which was mistakenly removed in commit 1789e7f Issue-ID: POLICY-3806 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Id90c6befa34495cddb018af540a93d9c0af3f856
2021-11-29Update snapshot of policy/gui to 2.2.1-SNAPSHOTliamfallon10-40939/+9
*** This commit is generated by a PF release script *** policy/gui is update from 2.2.0-SNAPSHOT to 2.2.1-SNAPSHOT Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I5629154c1c381e34c9221dc07286a0219893b360
2021-11-26Release docker images for policy/gui: 2.2.0liamfallon1-0/+8
*** This commit is generated by a PF release script *** This commit releases the docker images for repo policy/gui. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Iad1312bea5b03e8b94ff7cf1b7ce31c8079924f9
2021-11-26Release policy/gui: 2.2.0liamfallon1-0/+5
*** Release Phase 8: This commit is generated by a PF release script *** This is the eigth phase in releasing images, it releases policy/gui. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Iddd55a8af4ff86cf3467f8f56bda1826549d1528
2021-11-25Update parent and common referencesliamfallon2-4/+4
*** Release Phase 7: This commit is generated by a PF release script *** This is the seventh release phase, it updates parent, common and models references in policy/gui. Issue-ID: POLICY-3827 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ie35ade0a637fc0070d38b2e8e072dadd51d4b9e2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-11-05Merge "Added package-lock.json to the gui-clamp"Liam Fallon4-2/+40967
2021-11-04Merge "UPDATED Jest Unit Tests for Monitoring Functionality"Liam Fallon7-23/+358
2021-11-03Added package-lock.json to the gui-clampLathish4-2/+40967
This will resolve dependency tree conflict Issue-ID: POLICY-3806 Change-Id: I8c47e400a582762ac8b1ed74a2f7ff1ca31610f2 Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2021-11-03Merge "Improved Test Coverage in gui-editor-apex"Liam Fallon13-64/+664
2021-11-03Merge "Added tests to improve coverage"Liam Fallon22-228/+4902
2021-11-03UPDATED Jest Unit Tests for Monitoring Functionalitybrunomilitzer7-23/+358
Updated Unit Tests to cover monitoring functionality Issue-ID: POLICY-3561 Change-Id: I8434cf5d60463d60175ef6e48f0e75e8c4f656da Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-11-02Adding gui-clamp coverage to sonarsaul.gill2-2/+14
Added sonar properties to pom.xml Added jest sonar properties to package.json Issue-ID: POLICY-3804 Change-Id: I1b5bc67bc5457661ed56fdfe4d7fd260282f664b Signed-off-by: saul.gill <saul.gill@est.tech>
2021-11-01Fix upload url arg name.andre.schmid1-1/+1
The current argument name for the upload-url is USERID, changing to UPLOAD_URL. Issue-ID: POLICY-3797 Signed-off-by: andre.schmid <andre.schmid@est.tech> Change-Id: I59ae27f6a3908c98d897b586668ae7b921366544