aboutsummaryrefslogtreecommitdiffstats
path: root/gui-editors
AgeCommit message (Collapse)AuthorFilesLines
2023-03-02Update snapshot and/or references of policy/gui to latest snapshotssaul.gill2-2/+2
policy/gui updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: Ied0da93ccdb17c5fdbafa6544919a4da62dddb61
2023-03-01update references in policy/gui pomsaul.gill1-0/+1
updated references in the policy/gui pom downgraded eirslett npm module because new version depends on maven 3.6 but onap jenkins uses an earlier version *** This commit is generated by a PF release script *** Issue-ID: POLICY-4570 Signed-off-by: saul.gill <saul.gill@est.tech> Change-Id: I01c2407cf918b8e3b3d6ef2bf48092353c1d82b1 Signed-off-by: saul.gill <saul.gill@est.tech>
2023-02-17Clean up dependencies for London Releaseliamfallon1-3/+1
Issue-ID: POLICY-4482 Change-Id: I30672cfc639c4313df95e71a5e906e3224b260b8 Signed-off-by: liamfallon <liam.fallon@est.tech>
2023-02-02Replace Eclipselink with Hibernateliamfallon1-5/+3
Issue-ID: POLICY-4533 Change-Id: Ieda653947935448036b822960aae5498595ad4e0 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-12-16Update snapshot and/or references of policy/gui to latest snapshotsliamfallon2-2/+2
policy/gui updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4484 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I01e28049ea6b24e5fef322f9a93e72f3797cec8c
2022-10-21Set snapshot and/or references of policy/gui for new releaseliamfallon2-2/+2
policy/gui updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I6d290b5589706dd3931a8bfe50220385b9de1cfa
2022-10-21Update snapshot and/or references of policy/gui to latest snapshotsliamfallon2-2/+2
policy/gui updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4408 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ia2af3d09c25731ac074fba83953c6cf3fc77a381
2022-09-29Merge "Amend GUI to work directly towards ACM runtime"Liam Fallon1-1/+0
2022-09-28Amend GUI to work directly towards ACM runtimeliamfallon1-1/+0
GUI proxies the URLs towards the ACM runtime server across CLAMP backend because clamp-backend handles the certificates for HTTPS communication and also handles AAF. For now, the Policy GUI is being used for testing and demonstration purposes only. As AAF is disabled and we are using HTTP, the GUI can now work towards the ACM runtime server port directly for test installations. Issue-ID: POLICY-4122 Change-Id: Idca87d520a5eef2058781534df6f96a0260c5eaf Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-23Update snapshot and/or references of policy/gui to latest snapshotsliamfallon2-2/+2
policy/gui updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: Ic855a9b68b4b521330736d09442c502036a80150
2022-08-26fixed broken jest testsbrunomilitzer1-4/+6
Issue-ID: POLICY-4331 Signed-off-by: brunomilitzer <bruno.militzer@est.tech> Change-Id: I1456fdd64075fff19813aa26ae54a84fdc80fc33 Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
2022-05-03Set snapshot and/or references of policy/gui for new releaseliamfallon2-2/+2
policy/gui updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4073 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I81d9ad228ad553e1546ad8c39ea99d864a521c04 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-03Update snapshot and/or references of policy/gui to latest snapshotsliamfallon2-2/+2
policy/gui updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I43fb331d70487c78f640ae9205c926ff7f4868f5
2022-04-13Update snapshot and/or references of policy/gui to latest snapshotsliamfallon2-2/+2
policy/gui updated to its latest own and reference snapshots *** This commit is generated by a PF release script *** Issue-ID: POLICY-4089 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I234c75ed30b497871afcb6b5f5306a73b755f989
2022-04-08Update version of npm-maven-pluginliamfallon1-1/+1
The older version of the npm-maven-plugin does nto work on the latest version of MacOS. Issue-ID: POLICY-4082 Change-Id: I24606a0761132868904699df4387ccd8d529d0c2 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-15Update snapshot and/or references of policy/gui to latest snapshotsliamfallon2-2/+2
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>
2022-03-14Upgrade apex-pdp version in Apex Editordanielhanrahan39-1022/+354
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
2022-03-10Move version properties to policy/gui root pomdanielhanrahan1-3/+0
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-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-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 Bootdanielhanrahan70-2921/+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-15Code coverage for ApexPolicyEditForm_Statelapentafd1-2/+76
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: I6146510025c33bc754b26970d57da343edfe8311
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-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-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 dependenciesdanielhanrahan2-43/+5
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-09Code coverage policy gui webapplapentafd2-1/+128
Issue-ID: POLICY-3351 Signed-off-by: lapentafd <francesco.lapenta@est.tech> Change-Id: I45f2a6542dedf82dcb76a94e51839aa772372909
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-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-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-13Code coverage gui-editor-apexlapentafd3-4/+91
Issue-ID: POLICY-3351 Change-Id: I51ae3b5e6de3f81af5cb445ade7309360da50afa Signed-off-by: lapentafd <francesco.lapenta@est.tech>
2021-11-29Update snapshot of policy/gui to 2.2.1-SNAPSHOTliamfallon2-2/+2
*** 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-03Merge "Improved Test Coverage in gui-editor-apex"Liam Fallon13-64/+664
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-10-29Merge "Add user id only when it was provided"Liam Fallon1-3/+6
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-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-26Improved Test Coverage in gui-editor-apexLathish7-5/+235
Issue-ID: POLICY-3351 Change-Id: Iad12ef6340978a2b183d129e65c9a94d6e71d27a Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>