policy/gui.git
2 years agoRemove unused test resources in Apex Editor 92/127092/1
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

2 years agoCode coverage policy gui webapp 48/127048/1
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

2 years agoMerge "Added Policy Jest Tests"
Liam Fallon [Mon, 7 Feb 2022 09:06:51 +0000 (09:06 +0000)]
Merge "Added Policy Jest Tests"

2 years agoAdded Policy Jest Tests 69/126969/1
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>
2 years agoMerge "Policy Gui Code Coverage"
Liam Fallon [Fri, 4 Feb 2022 09:04:16 +0000 (09:04 +0000)]
Merge "Policy Gui Code Coverage"

2 years agoPolicy Gui Code Coverage 27/126927/1
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

2 years agoMerge "Added Menu and Loop Jest Tests"
Liam Fallon [Tue, 1 Feb 2022 10:53:44 +0000 (10:53 +0000)]
Merge "Added Menu and Loop Jest Tests"

2 years agoFix assertions in ControlLoopService test 62/126862/1
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

2 years agoAdded Menu and Loop Jest Tests 50/126850/1
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>
2 years agoMerge "Code Coverage gui editor apex"
Liam Fallon [Tue, 25 Jan 2022 10:20:20 +0000 (10:20 +0000)]
Merge "Code Coverage gui editor apex"

2 years agoCode Coverage gui editor apex 37/126737/1
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

2 years agoMerge "Removed PDP Monitoring from GUI"
Liam Fallon [Mon, 24 Jan 2022 13:19:41 +0000 (13:19 +0000)]
Merge "Removed PDP Monitoring from GUI"

2 years agoRemoved PDP Monitoring from GUI 91/126691/1
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>
2 years agoCode coverage policy gui editor apex 36/126636/1
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

2 years agoMerge "Improved Test coverage for Service Component"
Liam Fallon [Mon, 17 Jan 2022 12:13:54 +0000 (12:13 +0000)]
Merge "Improved Test coverage for Service Component"

2 years agoImproved Test coverage for Service Component 03/126603/1
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>
2 years agoCode coverage gui-editor-apex 91/126591/1
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>
2 years agoAdded Test Code Coverage 41/126541/2
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>
2 years agoAdded Jest Unit Tests 25/126425/1
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

2 years agoMerge "Update snapshot and/or references of policy/gui to latest snapshots"
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"

2 years agoUpdate snapshot and/or references of policy/gui to latest snapshots 36/126036/1
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

2 years agoAdd package-lock.json to gui-clamp 06/126006/1
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

2 years agoUpdate snapshot of policy/gui to 2.2.1-SNAPSHOT 59/125959/1
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

2 years agoRelease docker images for policy/gui: 2.2.0 40/125940/1
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

2 years agoRelease policy/gui: 2.2.0 31/125931/1
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

2 years agoUpdate parent and common references 10/125910/2
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>
2 years agoMerge "Added package-lock.json to the gui-clamp"
Liam Fallon [Fri, 5 Nov 2021 15:58:38 +0000 (15:58 +0000)]
Merge "Added package-lock.json to the gui-clamp"

2 years agoMerge "UPDATED Jest Unit Tests for Monitoring Functionality"
Liam Fallon [Thu, 4 Nov 2021 14:01:54 +0000 (14:01 +0000)]
Merge "UPDATED Jest Unit Tests for Monitoring Functionality"

2 years agoAdded package-lock.json to the gui-clamp 58/125558/2
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>
2 years agoMerge "Improved Test Coverage in gui-editor-apex"
Liam Fallon [Wed, 3 Nov 2021 14:27:44 +0000 (14:27 +0000)]
Merge "Improved Test Coverage in gui-editor-apex"

2 years agoMerge "Added tests to improve coverage"
Liam Fallon [Wed, 3 Nov 2021 14:27:31 +0000 (14:27 +0000)]
Merge "Added tests to improve coverage"

2 years agoUPDATED Jest Unit Tests for Monitoring Functionality 56/125556/1
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>
2 years agoAdding gui-clamp coverage to sonar 06/125506/2
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>
2 years agoFix upload url arg name. 34/125434/2
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

2 years agoMerge "Added JEST Unit Tests for Monitoring Functionality"
Liam Fallon [Mon, 1 Nov 2021 09:51:48 +0000 (09:51 +0000)]
Merge "Added JEST Unit Tests for Monitoring Functionality"

2 years agoMerge "Add user id only when it was provided"
Liam Fallon [Fri, 29 Oct 2021 14:25:39 +0000 (14:25 +0000)]
Merge "Add user id only when it was provided"

2 years agoAdded tests to improve coverage 72/125472/2
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>
2 years agoImproved Test Coverage in gui-editor-apex 01/125501/1
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>
2 years agoMerge "Fix APEX policy creation issue"
Liam Fallon [Fri, 29 Oct 2021 08:32:36 +0000 (08:32 +0000)]
Merge "Fix APEX policy creation issue"

2 years agoAdded JEST Unit Tests for Monitoring Functionality 43/125443/1
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>
2 years agoAdd user id only when it was provided 33/125433/1
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

2 years agoFix APEX policy creation issue 25/125425/1
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

2 years agoMerge "Improved Test Coverage in gui-editor-apex"
Ajith Sreekumar [Wed, 27 Oct 2021 09:35:15 +0000 (09:35 +0000)]
Merge "Improved Test Coverage in gui-editor-apex"

2 years agoImproved Test Coverage in gui-editor-apex 76/125376/1
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>
2 years agoPoint to snapshot dependency 46/125346/1
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>
2 years agoBump policy/gui to Jakarta 2.2.0-SNAPSHOT 86/124986/1
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>
2 years agoBump policy/gui to 2.1.2-SNAPSHOT 63/124963/1
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>
2 years agoRelease policy/gui 2.1.1 docker images 41/124941/1
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>
2 years agoRelease policy/gui 2.1.1 16/124916/2
liamfallon [Wed, 13 Oct 2021 18:24:56 +0000 (19:24 +0100)]
Release policy/gui 2.1.1

Issue-ID: POLICY-3696
Change-Id: I1dc5758b3908a0354e2b0637215631b33ceb5fbe
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoUpdate parent/common/models/docker references 02/124902/1
liamfallon [Wed, 13 Oct 2021 14:31:20 +0000 (15:31 +0100)]
Update parent/common/models/docker references

Issue-ID: POLICY-3696
Change-Id: Iae8f307acf1dfaf9a3b05b7e5d51e1d91a1189dc
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoFix delete instance in Design state 69/124769/1
saul.gill [Fri, 8 Oct 2021 14:19:46 +0000 (15:19 +0100)]
Fix delete instance in Design state

Original change was made in clamp repo
Change must also be added to gui repo
Downgraded material-table due to build-breaking dependency

Issue-ID: POLICY-3707
Change-Id: I708e867f6336c8bf34edc08156a731cc9439e763
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoSuppress useless nginx error messages in gui 48/124648/1
danielhanrahan [Fri, 1 Oct 2021 12:03:48 +0000 (13:03 +0100)]
Suppress useless nginx error messages in gui

Log only warnings and higher in nginx error log

Issue-ID: POLICY-3683
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Id283f34e46633105db7ddf12791c9eb895ee35af

2 years agoFix JSON parse error in PDP Monitoring GUI 81/124481/2
danielhanrahan [Fri, 24 Sep 2021 13:25:17 +0000 (14:25 +0100)]
Fix JSON parse error in PDP Monitoring GUI

Add Gson type adapter to parse Instant

Issue-ID: POLICY-3680
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ibcd7878f5c7ab9e2d4d7ffc337b9cc440caf19c3

2 years agoDisable apex-editor and pdp-monitoring 51/124451/4
danielhanrahan [Fri, 17 Sep 2021 17:58:20 +0000 (18:58 +0100)]
Disable apex-editor and pdp-monitoring

Have only nginx process (clamp) running in policy-gui

Issue-ID: POLICY-3650
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: If15d54f83444b845dc23b090cf966afaf1664490

2 years agoClean package-lock.json files 52/124452/1
danielhanrahan [Wed, 15 Sep 2021 15:35:40 +0000 (16:35 +0100)]
Clean package-lock.json files

Clean package-lock.json files with maven clean
Remove incorrect entry from .gitignore

Issue-ID: POLICY-3646
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Iab744932f7def2495afa4600c9e26dbe71a1414a

2 years agoBump policy-gui snapshot version to 2.1.1-SNAPSHOT 78/124278/1
liamfallon [Wed, 15 Sep 2021 20:55:59 +0000 (21:55 +0100)]
Bump policy-gui snapshot version to 2.1.1-SNAPSHOT

Issue-ID: POLICY-3587
Change-Id: Ic3e575578ae0e2302925864a43ec81fc91cf55a3
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoRelease gui 2.1.0 docker image 34/124234/1
liamfallon [Wed, 15 Sep 2021 13:56:18 +0000 (14:56 +0100)]
Release gui 2.1.0 docker image

Issue-ID: POLICY-3587
Change-Id: I4e964de10ca2778c06721919d7b29ec262177278
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoRelease gui 2.1.0 maven artifacts 20/124220/3
liamfallon [Wed, 15 Sep 2021 10:03:49 +0000 (11:03 +0100)]
Release gui 2.1.0 maven artifacts

Issue-ID: POLICY-3587
Change-Id: Id59cf2a8c435c5eceeb76c2c13a23e52cdd073b3
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoMerge "Use released common and models"
Pamela Dragosh [Tue, 14 Sep 2021 12:55:43 +0000 (12:55 +0000)]
Merge "Use released common and models"

2 years agoUse released common and models 89/124089/1
liamfallon [Mon, 13 Sep 2021 15:45:36 +0000 (16:45 +0100)]
Use released common and models

Issue-ID: POLICY-3587
Change-Id: I65a92003eba685831129f6c74f4b742418508538
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoMerge "Remove CLAMP_REST_URL variable from Docker image"
Liam Fallon [Fri, 10 Sep 2021 23:17:49 +0000 (23:17 +0000)]
Merge "Remove CLAMP_REST_URL variable from Docker image"

2 years agoRemove CLAMP_REST_URL variable from Docker image 95/123995/5
danielhanrahan [Wed, 8 Sep 2021 16:55:13 +0000 (17:55 +0100)]
Remove CLAMP_REST_URL variable from Docker image

Remove redundant CLAMP_REST_URL environment variable
Update README to remove references to CLAMP_REST_URL
Group Dockerfile COPY commands to reduce image layers

Issue-ID: POLICY-3639
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ia6947a6681875167dfc63b0ffd19f7dc6faad6d4

2 years agoMake gui-clamp work in Docker image 23/124023/1
danielhanrahan [Wed, 8 Sep 2021 11:34:22 +0000 (12:34 +0100)]
Make gui-clamp work in Docker image

Change package.json to generate URLs relative to current pathname
Change REST URLs to use window.location.pathname
Remove broken React state variables for window.location.pathname

Issue-ID: POLICY-3600
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I6951a0a6b3f3bef15d262242df13cc2d20a198c8

2 years agoMerge "Add Delete Instantiation Functionality."
Liam Fallon [Fri, 10 Sep 2021 10:14:25 +0000 (10:14 +0000)]
Merge "Add Delete Instantiation Functionality."

2 years agoEnsure that login in policy-gui works with AAF 52/123952/3
danielhanrahan [Wed, 8 Sep 2021 09:49:44 +0000 (10:49 +0100)]
Ensure that login in policy-gui works with AAF

Add CLAMP SSL cert and key to Docker image
Change nginx port from 8080 to 2443 and enable SSL
Update README to include instructions on certificate login

Issue-ID: POLICY-3615
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I5211d30c420d75a94621399f33763b8156c50b5b

2 years agoAdd Delete Instantiation Functionality. 01/123901/5
brunomilitzer [Mon, 30 Aug 2021 17:46:53 +0000 (18:46 +0100)]
Add Delete Instantiation Functionality.

Update UI to centralize Instantiation Management
Created Delete button to delete the instantiations
Fixed Change Order State Functionality

Issue-ID: POLICY-3558
Change-Id: I2efb00ce041ab4fc217e06ed72385ad8ea1b10fb
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2 years agoRemove blank line from INFO.yaml 14/124014/1
liamfallon [Thu, 9 Sep 2021 20:54:21 +0000 (21:54 +0100)]
Remove blank line from INFO.yaml

Issue-ID: POLICY-3587
Change-Id: Iebe527c5533633face5ba859a51123f9fe6fdf08
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoPoint at released policy-parent 05/124005/1
liamfallon [Thu, 9 Sep 2021 15:14:59 +0000 (16:14 +0100)]
Point at released policy-parent

Issue-ID: POLICY-3587
Change-Id: I33000b3a514af99208b380973485f0c6048b39fb
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoMerge "Fix sonar issue in policy/gui"
Pamela Dragosh [Thu, 9 Sep 2021 13:41:20 +0000 (13:41 +0000)]
Merge "Fix sonar issue in policy/gui"

2 years agoMerge "Update INFO.yaml"
Pamela Dragosh [Thu, 9 Sep 2021 13:38:16 +0000 (13:38 +0000)]
Merge "Update INFO.yaml"

2 years agoFix sonar issue in policy/gui 70/123970/1
Ram Krishna Verma [Wed, 8 Sep 2021 19:18:00 +0000 (15:18 -0400)]
Fix sonar issue in policy/gui

Issue-ID: POLICY-3077
Change-Id: Ia4a1a12ab286d40205ec5a81d130c4845cd93cea
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoUpdate INFO.yaml 59/123959/1
liamfallon [Wed, 8 Sep 2021 12:20:06 +0000 (13:20 +0100)]
Update INFO.yaml

Update the INFO.yaml file with latest information.

Issue-ID: POLICY-3552
Change-Id: I454ebb9bd0589dd43563fe6df8a97e0c741d13f3
Signed-off-by: liamfallon <liam.fallon@est.tech>
2 years agoMake gui-pdp-monitoring work in Docker image 60/123760/2
danielhanrahan [Mon, 30 Aug 2021 16:35:18 +0000 (17:35 +0100)]
Make gui-pdp-monitoring work in Docker image

Serve PDP Monitoring HTML using nginx in Docker image
Don't serve HTML content from PdpMonitoringServer
Remove unused dependencies in gui-pdp-monitoring
Add proxy setting for local dev testing with npm start

Issue-ID: POLICY-3603
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I9a4c2b250a1f0460892a367a3b5bbb59e0e92411

2 years agoMerge "Fix static web resource paths in gui-editor-apex"
Jim Hahn [Thu, 2 Sep 2021 14:33:31 +0000 (14:33 +0000)]
Merge "Fix static web resource paths in gui-editor-apex"

2 years agoMerge "Add docker image generation to maven for policy-gui"
Jorge Hernandez [Thu, 2 Sep 2021 13:35:36 +0000 (13:35 +0000)]
Merge "Add docker image generation to maven for policy-gui"

2 years agoMerge "Add missing JS import in gui-editor-apex"
Jorge Hernandez [Thu, 2 Sep 2021 13:34:24 +0000 (13:34 +0000)]
Merge "Add missing JS import in gui-editor-apex"

2 years agoFix static web resource paths in gui-editor-apex 59/123759/3
danielhanrahan [Mon, 30 Aug 2021 16:13:56 +0000 (17:13 +0100)]
Fix static web resource paths in gui-editor-apex

Some relative paths in the HTML/CSS are incorrect in the build

Issue-ID: POLICY-3601
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ifb9f4b428f3732cd601a3128df27d720a55f88fa

2 years agoFix sonar issues in policy/gui 73/123773/3
Ram Krishna Verma [Wed, 1 Sep 2021 19:00:24 +0000 (15:00 -0400)]
Fix sonar issues in policy/gui

Issue-ID: POLICY-3095
Change-Id: Ida760b380acbc5784f685e0a4c95c09f017ebf57
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoAdd missing JS import in gui-editor-apex 56/123756/2
danielhanrahan [Mon, 30 Aug 2021 15:56:58 +0000 (16:56 +0100)]
Add missing JS import in gui-editor-apex

There is a missing import for apexUtils_escapeHtml (used on line 53),
preventing the context schema table from loading

Issue-ID: POLICY-3602
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Id08864c93201007ee353f054f0580024af1d878a

2 years agoAdd docker image generation to maven for policy-gui 84/123684/6
danielhanrahan [Fri, 20 Aug 2021 15:55:19 +0000 (16:55 +0100)]
Add docker image generation to maven for policy-gui

Add maven uber-jar artifact for gui-editor-apex
Add maven tarball artifact for gui-clamp
Create docker image containing nginx and policy GUIs

Issue-ID: POLICY-3574
Change-Id: I06e5ed6fb610e0746f376114f628bb9b1a530cab
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
2 years agoFix sonar issues in policy/gui 70/123670/2
Ram Krishna Verma [Fri, 27 Aug 2021 20:11:39 +0000 (16:11 -0400)]
Fix sonar issues in policy/gui

Issue-ID: POLICY-3077
Change-Id: Idcd08427cbff2cfdd8ba99db7cf32a0f5c978415
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoFix sonar issues 43/123643/2
Ram Krishna Verma [Thu, 26 Aug 2021 19:44:12 +0000 (15:44 -0400)]
Fix sonar issues

Issue-ID: POLICY-3077
Change-Id: Iae7bad7bc69bc4c5cd974e8439f8f433a43123d0
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2 years agoADD State Change CL Instantiation 97/123397/2
brunomilitzer [Thu, 19 Aug 2021 16:20:13 +0000 (17:20 +0100)]
ADD State Change CL Instantiation

Will Apply Unit Tests on POLICY-3537, since focus is to
get the functionalities completed.

Issue-ID: POLICY-3425
Change-Id: I926bb1a213e71dee56c0fc5df4779a4f1b633383
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2 years agoAdd error handling and refactoring 49/123249/1
saul.gill [Mon, 9 Aug 2021 13:19:33 +0000 (14:19 +0100)]
Add error handling and refactoring

Added error for when common or instance props can't be retrieved
Added error for monitoring when control loops can't be retrieved
Made node templates collapsed by default when editing properties
Added single service function to get common or instance properties

Issue-ID: POLICY-3439
Change-Id: I74560a06aae1a820862f977d5e7ac86597a093c0
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoAdd Instance Properties Form 52/122952/4
brunomilitzer [Tue, 27 Jul 2021 16:47:25 +0000 (17:47 +0100)]
Add Instance Properties Form

Added save button to update paramaters
Added service to retrieve paramaters;
Added service to upload instance paramaters

Issue-ID: POLICY-3436
Change-Id: I82e7545b12160f2e7937db2fdb3857c66ea0b858
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2 years agoAdded Common Parameter Form 73/122873/3
saul.gill [Mon, 26 Jul 2021 16:33:24 +0000 (17:33 +0100)]
Added Common Parameter Form

Added save button for user edits
Added commission button to push up edits
Added service to retrieve common parameters

Issue-ID: POLICY-3439
Change-Id: Ia355f36bf263bb1385db363a267c53af86504905
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoMerge "Added Commissioning Template Editor"
Jim Hahn [Tue, 20 Jul 2021 13:44:23 +0000 (13:44 +0000)]
Merge "Added Commissioning Template Editor"

2 years agoAdded Commissioning Template Editor 61/122661/4
saul.gill [Mon, 12 Jul 2021 16:10:10 +0000 (17:10 +0100)]
Added Commissioning Template Editor

Added a new modal to allow editing of the tosca template
Json schema from the backend generates a for the user

Added Decommissioning capability while viewing template
Added service for decommissioning

Issue-ID: POLICY-3439
Change-Id: Ic5bec9ea26aa8df468d36a893faa06f88d248dd5
Signed-off-by: saul.gill <saul.gill@est.tech>
2 years agoUse lombok annotations in gui 79/122679/1
Jim Hahn [Fri, 16 Jul 2021 14:04:54 +0000 (10:04 -0400)]
Use lombok annotations in gui

Issue-ID: POLICY-3395
Change-Id: I7820877522875a3caf47e3b7409eb4f7fb15ba2b
Signed-off-by: Jim Hahn <jrh3@att.com>
2 years agoAdd Upload Control Loop Instantiation 83/122583/2
brunomilitzer [Thu, 8 Jul 2021 14:33:55 +0000 (15:33 +0100)]
Add Upload Control Loop Instantiation

Created Functionality to Upload JSON file to Control Loop Instantiation.

Issue-ID: POLICY-3436
Change-Id: Iefd538c91154b7e61615ab63b440378e2feea502
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2 years agoUpdate React NPM dependencies 49/122449/3
brunomilitzer [Fri, 2 Jul 2021 15:26:03 +0000 (16:26 +0100)]
Update React NPM dependencies

Updated React UI and React UI Lib dependencies to the latest version.

Issue-ID: POLICY-3354
Change-Id: I12e0bb7e01d426928e3184fcd49f461f775a369a
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
3 years agoChanged components to be service-centric 29/122429/1
saul.gill [Fri, 2 Jul 2021 16:10:54 +0000 (17:10 +0100)]
Changed components to be service-centric

Moved endpoints to ControlLoopService.js
Refactored components and tests

Issue-ID: POLICY-3424
Change-Id: I70d48750250eecd651b845ef0c726617983f75f5
Signed-off-by: saul.gill <saul.gill@est.tech>
3 years agoMerge "Fix merge jobs failing"
Jim Hahn [Mon, 28 Jun 2021 18:23:51 +0000 (18:23 +0000)]
Merge "Fix merge jobs failing"

3 years agoFix merge jobs failing 77/122277/1
arkadiusz.adamski [Mon, 28 Jun 2021 16:45:45 +0000 (17:45 +0100)]
Fix merge jobs failing

- add npm publish url

Issue-ID: POLICY-3388
Signed-off-by: arkadiusz.adamski <aadamski@est.tech>
Change-Id: Ie14bda34d30b452501d61b9a3acd384ac06c8a6c

3 years agoMerge "Add Tosca Monitoring App to Policy Gui"
Ajith Sreekumar [Mon, 28 Jun 2021 10:26:49 +0000 (10:26 +0000)]
Merge "Add Tosca Monitoring App to Policy Gui"

3 years agoMerge "Fix merge jobs failing"
Jim Hahn [Fri, 25 Jun 2021 17:18:12 +0000 (17:18 +0000)]
Merge "Fix merge jobs failing"

3 years agoMerge "Update gui for checkstyle 8.43"
Ram Krishna Verma [Fri, 25 Jun 2021 14:54:13 +0000 (14:54 +0000)]
Merge "Update gui for checkstyle 8.43"

3 years agoFix merge jobs failing 11/122211/1
arkadiusz.adamski [Fri, 25 Jun 2021 13:41:26 +0000 (14:41 +0100)]
Fix merge jobs failing

- fix library version

Issue-ID: POLICY-3388
Signed-off-by: arkadiusz.adamski <aadamski@est.tech>
Change-Id: Id338b7f4e3d95bad8c78134c6a8e14ddb954b2f5

3 years agoFix merge jobs failing 87/122187/3
arkadiusz.adamski [Thu, 24 Jun 2021 16:10:13 +0000 (17:10 +0100)]
Fix merge jobs failing

- fix library version

Issue-ID: POLICY-3388
Signed-off-by: arkadiusz.adamski <aadamski@est.tech>
Change-Id: I2b5267c17d439b06c4eb91e174be705c7adfa5a6

3 years agoUpdate gui for checkstyle 8.43 88/122188/1
liamfallon [Thu, 24 Jun 2021 16:18:02 +0000 (17:18 +0100)]
Update gui for checkstyle 8.43

Issue-ID: POLICY-3206
Change-Id: I5b80398352d03a0fe2853690b6b0d3019d204a7e
Signed-off-by: liamfallon <liam.fallon@est.tech>