aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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
2021-11-01Merge "Added JEST Unit Tests for Monitoring Functionality"Liam Fallon13-98/+324
2021-10-29Merge "Add user id only when it was provided"Liam Fallon1-3/+6
2021-10-29Added tests to improve coveragesaul.gill22-228/+4902
Added new tests and snapshots Altered existing tests to bring up coverage Altered package.json in response to warning messages Removed unused functions from ControlLoopService Added json testFiles Added utils directory for out-of-component functions Issue-ID: POLICY-3643 Change-Id: I3405a4421637e63235ff5176c913a5a5f9a4a44c Signed-off-by: saul.gill <saul.gill@est.tech>
2021-10-29Improved Test Coverage in gui-editor-apexLathish13-64/+664
Issue-ID: POLICY-3351 Change-Id: I6f039b4e1b856ddb73379c97c88b5a695f2c478c Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2021-10-29Merge "Fix APEX policy creation issue"Liam Fallon1-6/+7
2021-10-28Added JEST Unit Tests for Monitoring Functionalitybrunomilitzer13-98/+324
Created Unit Tests to cover monitoring functionality Issue-ID: POLICY-3561 Change-Id: I48035f3960447c66d29005d5eba2e8332c55b591 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2021-10-28Add user id only when it was providedandre.schmid1-3/+6
During the policy upload call, the user id is being added as a query parameter even if it was not provided, causing to provide the value "null" as the userId parameter. This change just add the userId to the call when it is available. Issue-ID: POLICY-3796 Signed-off-by: andre.schmid <andre.schmid@est.tech> Change-Id: I7bcc928f1ca144ee1ad05e7d1028ea08a15ebd42
2021-10-27Fix APEX policy creation issueandre.schmid1-6/+7
Because of a not initialized javascript variable, the system calls a malformed url to create a APEX policy. This change correctly initializes the window.restRootURL when no apex_session is present in the localStorage. Issue-ID: POLICY-3794 Signed-off-by: andre.schmid <andre.schmid@est.tech> Change-Id: I068bd86a747e7eafc3f17aa0faf5fdc778195711
2021-10-27Merge "Improved Test Coverage in gui-editor-apex"Ajith Sreekumar7-5/+235
2021-10-26Improved Test Coverage in gui-editor-apexLathish7-5/+235
Issue-ID: POLICY-3351 Change-Id: Iad12ef6340978a2b183d129e65c9a94d6e71d27a Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
2021-10-25Point to snapshot dependencyRam Krishna Verma1-3/+3
Issue-ID: POLICY-3788 Change-Id: I49797138371b4cc4316746b75fd9d8a3da2f9e59 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-10-14Bump policy/gui to Jakarta 2.2.0-SNAPSHOTliamfallon9-10/+10
Issue-ID: POLICY-3696 Change-Id: I7b0b53fdbe081d23b3ecbe588127628711f8cb39 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/gui to 2.1.2-SNAPSHOTliamfallon9-9/+9
Issue-ID: POLICY-3696 Change-Id: I4421be435ef9ad0d08266a289a2eafcb8d749bac Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Release policy/gui 2.1.1 docker imagesliamfallon1-0/+8
Issue-ID: POLICY-3696 Change-Id: I0f7b0fca103ca7688b348fb0e236ec5a31828c9a Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Release policy/gui 2.1.1liamfallon1-0/+5
Issue-ID: POLICY-3696 Change-Id: I1dc5758b3908a0354e2b0637215631b33ceb5fbe Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-13Update parent/common/models/docker referencesliamfallon2-4/+4
Issue-ID: POLICY-3696 Change-Id: Iae8f307acf1dfaf9a3b05b7e5d51e1d91a1189dc Signed-off-by: liamfallon <liam.fallon@est.tech>