Liam Fallon [Sat, 26 Mar 2022 17:49:49 +0000 (17:49 +0000)]
Merge "Duplicate log entries in policy-gui"
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
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
Liam Fallon [Mon, 21 Mar 2022 16:02:31 +0000 (16:02 +0000)]
Merge "Excluding Loop components from SONAR"
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
Liam Fallon [Wed, 16 Mar 2022 09:43:51 +0000 (09:43 +0000)]
Merge "Code coverage for policy/gui gui-server"
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>
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
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
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
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
Liam Fallon [Tue, 15 Mar 2022 13:06:02 +0000 (13:06 +0000)]
Merge "Make client cert authentication optional in policy-gui"
Liam Fallon [Tue, 15 Mar 2022 12:36:10 +0000 (12:36 +0000)]
Merge "Added more unit tests for overall coverage"
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>
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
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
Liam Fallon [Thu, 10 Mar 2022 15:44:31 +0000 (15:44 +0000)]
Merge "Added Jest Tests for Overall Coverage"
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>
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
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
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>
Liam Fallon [Fri, 4 Mar 2022 14:44:21 +0000 (14:44 +0000)]
Merge "Enable console logging in policy-gui"
Liam Fallon [Thu, 3 Mar 2022 15:43:26 +0000 (15:43 +0000)]
Merge "Fix sonar security issues in policy-gui"
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
Liam Fallon [Thu, 3 Mar 2022 09:02:08 +0000 (09:02 +0000)]
Merge "Code Coverage in gui ui react"
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
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
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
Liam Fallon [Tue, 1 Mar 2022 19:45:52 +0000 (19:45 +0000)]
Merge "Run policy GUIs in a single JAR"
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>
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
Liam Fallon [Sat, 26 Feb 2022 10:47:46 +0000 (10:47 +0000)]
Merge "Code coverage apex editor"
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
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
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
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
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
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
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
Liam Fallon [Tue, 15 Feb 2022 17:36:37 +0000 (17:36 +0000)]
Merge "Code coverage for ApexPolicyEditForm_State"
Liam Fallon [Tue, 15 Feb 2022 15:39:45 +0000 (15:39 +0000)]
Merge "Added Jest Test on SVG Generator"
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
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>
Liam Fallon [Mon, 14 Feb 2022 16:43:49 +0000 (16:43 +0000)]
Merge "Fix content-type for model download in Apex Editor"
Liam Fallon [Mon, 14 Feb 2022 16:43:15 +0000 (16:43 +0000)]
Merge "Remove unused test resources in Apex Editor"
Liam Fallon [Mon, 14 Feb 2022 16:43:01 +0000 (16:43 +0000)]
Merge "Fix race condition in apex-editor model upload"
Liam Fallon [Mon, 14 Feb 2022 16:42:49 +0000 (16:42 +0000)]
Merge "Clean up apex editor POM dependencies"
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
Liam Fallon [Mon, 14 Feb 2022 09:35:00 +0000 (09:35 +0000)]
Merge "Added Jest Tests on ViewAllPolicies and PolicyDeploymentEditor"
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
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
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
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>
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
Liam Fallon [Mon, 7 Feb 2022 09:06:51 +0000 (09:06 +0000)]
Merge "Added Policy Jest Tests"
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>
Liam Fallon [Fri, 4 Feb 2022 09:04:16 +0000 (09:04 +0000)]
Merge "Policy Gui Code Coverage"
lapentafd [Wed, 26 Jan 2022 17:37:12 +0000 (17:37 +0000)]
Policy Gui Code Coverage
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
Liam Fallon [Tue, 1 Feb 2022 10:53:44 +0000 (10:53 +0000)]
Merge "Added Menu and Loop Jest Tests"
danielhanrahan [Mon, 31 Jan 2022 12:05:36 +0000 (12:05 +0000)]
Fix assertions in ControlLoopService test
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
brunomilitzer [Thu, 27 Jan 2022 17:51:58 +0000 (17:51 +0000)]
Added Menu and Loop Jest Tests
Issue-ID: POLICY-3876
Change-Id: I5f4d80aefdff8b837a40742b66727b888e985b86
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Liam Fallon [Tue, 25 Jan 2022 10:20:20 +0000 (10:20 +0000)]
Merge "Code Coverage gui editor apex"
lapentafd [Mon, 24 Jan 2022 16:49:02 +0000 (16:49 +0000)]
Code Coverage gui editor apex
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: Iccac0679be9644b3f68b17c33c07ea9a81acde37
Liam Fallon [Mon, 24 Jan 2022 13:19:41 +0000 (13:19 +0000)]
Merge "Removed PDP Monitoring from GUI"
brunomilitzer [Fri, 21 Jan 2022 09:52:42 +0000 (09:52 +0000)]
Removed PDP Monitoring from GUI
Issue-ID: POLICY-3888
Change-Id: If59a7b7ad3074e718772051e2a13134eadb54997
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
lapentafd [Tue, 18 Jan 2022 16:20:14 +0000 (16:20 +0000)]
Code coverage policy gui editor apex
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I019521b7343206404ce7bd1fa3a05f5ff782baa0
Liam Fallon [Mon, 17 Jan 2022 12:13:54 +0000 (12:13 +0000)]
Merge "Improved Test coverage for Service Component"
Lathish [Tue, 11 Jan 2022 10:23:39 +0000 (15:53 +0530)]
Improved Test coverage for Service Component
Issue-ID: POLICY-3351
Change-Id: I7d710a3fbd91d3c62fe29c4748244b480e7798e6
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
lapentafd [Tue, 4 Jan 2022 08:45:27 +0000 (08:45 +0000)]
Code coverage gui-editor-apex
Issue-ID: POLICY-3351
Change-Id: I51ae3b5e6de3f81af5cb445ade7309360da50afa
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
brunomilitzer [Mon, 10 Jan 2022 17:06:32 +0000 (17:06 +0000)]
Added Test Code Coverage
Issue-ID: POLICY-3563
Change-Id: I65cd2bfc72b973baa8f2b28a14e5d364ca4562a2
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
brunomilitzer [Fri, 17 Dec 2021 17:41:57 +0000 (17:41 +0000)]
Added Jest Unit Tests
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
Liam Fallon [Thu, 2 Dec 2021 18:44:15 +0000 (18:44 +0000)]
Merge "Update snapshot and/or references of policy/gui to latest snapshots"
liamfallon [Thu, 2 Dec 2021 15:54:14 +0000 (15:54 +0000)]
Update snapshot and/or references of policy/gui to latest snapshots
*** 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
danielhanrahan [Wed, 1 Dec 2021 15:47:32 +0000 (15:47 +0000)]
Add package-lock.json to gui-clamp
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
liamfallon [Mon, 29 Nov 2021 11:33:47 +0000 (11:33 +0000)]
Update snapshot of policy/gui to 2.2.1-SNAPSHOT
*** 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
liamfallon [Fri, 26 Nov 2021 12:07:57 +0000 (12:07 +0000)]
Release docker images for policy/gui: 2.2.0
*** 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
liamfallon [Fri, 26 Nov 2021 10:42:06 +0000 (10:42 +0000)]
Release policy/gui: 2.2.0
*** 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
liamfallon [Thu, 25 Nov 2021 11:41:25 +0000 (11:41 +0000)]
Update parent and common references
*** 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>
Liam Fallon [Fri, 5 Nov 2021 15:58:38 +0000 (15:58 +0000)]
Merge "Added package-lock.json to the gui-clamp"
Liam Fallon [Thu, 4 Nov 2021 14:01:54 +0000 (14:01 +0000)]
Merge "UPDATED Jest Unit Tests for Monitoring Functionality"
Lathish [Tue, 2 Nov 2021 13:10:11 +0000 (13:10 +0000)]
Added package-lock.json to the gui-clamp
This will resolve dependency tree conflict
Issue-ID: POLICY-3806
Change-Id: I8c47e400a582762ac8b1ed74a2f7ff1ca31610f2
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
Liam Fallon [Wed, 3 Nov 2021 14:27:44 +0000 (14:27 +0000)]
Merge "Improved Test Coverage in gui-editor-apex"
Liam Fallon [Wed, 3 Nov 2021 14:27:31 +0000 (14:27 +0000)]
Merge "Added tests to improve coverage"
brunomilitzer [Wed, 3 Nov 2021 11:30:46 +0000 (11:30 +0000)]
UPDATED Jest Unit Tests for Monitoring Functionality
Updated Unit Tests to cover monitoring functionality
Issue-ID: POLICY-3561
Change-Id: I8434cf5d60463d60175ef6e48f0e75e8c4f656da
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
saul.gill [Mon, 1 Nov 2021 15:12:48 +0000 (15:12 +0000)]
Adding gui-clamp coverage to sonar
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>
andre.schmid [Wed, 27 Oct 2021 18:04:29 +0000 (19:04 +0100)]
Fix upload url arg name.
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
Liam Fallon [Mon, 1 Nov 2021 09:51:48 +0000 (09:51 +0000)]
Merge "Added JEST Unit Tests for Monitoring Functionality"
Liam Fallon [Fri, 29 Oct 2021 14:25:39 +0000 (14:25 +0000)]
Merge "Add user id only when it was provided"
saul.gill [Fri, 29 Oct 2021 13:24:20 +0000 (14:24 +0100)]
Added tests to improve coverage
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>
Lathish [Fri, 29 Oct 2021 10:37:15 +0000 (11:37 +0100)]
Improved Test Coverage in gui-editor-apex
Issue-ID: POLICY-3351
Change-Id: I6f039b4e1b856ddb73379c97c88b5a695f2c478c
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
Liam Fallon [Fri, 29 Oct 2021 08:32:36 +0000 (08:32 +0000)]
Merge "Fix APEX policy creation issue"
brunomilitzer [Thu, 28 Oct 2021 14:34:43 +0000 (15:34 +0100)]
Added JEST Unit Tests for Monitoring Functionality
Created Unit Tests to cover monitoring functionality
Issue-ID: POLICY-3561
Change-Id: I48035f3960447c66d29005d5eba2e8332c55b591
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
andre.schmid [Wed, 27 Oct 2021 18:01:30 +0000 (19:01 +0100)]
Add user id only when it was provided
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
andre.schmid [Wed, 27 Oct 2021 17:39:43 +0000 (18:39 +0100)]
Fix APEX policy creation issue
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
Ajith Sreekumar [Wed, 27 Oct 2021 09:35:15 +0000 (09:35 +0000)]
Merge "Improved Test Coverage in gui-editor-apex"
Lathish [Thu, 21 Oct 2021 11:04:10 +0000 (12:04 +0100)]
Improved Test Coverage in gui-editor-apex
Issue-ID: POLICY-3351
Change-Id: Iad12ef6340978a2b183d129e65c9a94d6e71d27a
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
Ram Krishna Verma [Mon, 25 Oct 2021 22:21:23 +0000 (18:21 -0400)]
Point to snapshot dependency
Issue-ID: POLICY-3788
Change-Id: I49797138371b4cc4316746b75fd9d8a3da2f9e59
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
liamfallon [Thu, 14 Oct 2021 11:43:16 +0000 (12:43 +0100)]
Bump policy/gui to Jakarta 2.2.0-SNAPSHOT
Issue-ID: POLICY-3696
Change-Id: I7b0b53fdbe081d23b3ecbe588127628711f8cb39
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 14 Oct 2021 10:15:41 +0000 (11:15 +0100)]
Bump policy/gui to 2.1.2-SNAPSHOT
Issue-ID: POLICY-3696
Change-Id: I4421be435ef9ad0d08266a289a2eafcb8d749bac
Signed-off-by: liamfallon <liam.fallon@est.tech>
liamfallon [Thu, 14 Oct 2021 08:19:05 +0000 (09:19 +0100)]
Release policy/gui 2.1.1 docker images
Issue-ID: POLICY-3696
Change-Id: I0f7b0fca103ca7688b348fb0e236ec5a31828c9a
Signed-off-by: liamfallon <liam.fallon@est.tech>