aboutsummaryrefslogtreecommitdiffstats
path: root/gui-editors/gui-editor-apex/pom.xml
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 builddanielhanrahan1-62/+40
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-11Clean up apex editor POM dependenciesdanielhanrahan1-37/+4
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
2021-11-29Update snapshot of policy/gui to 2.2.1-SNAPSHOTliamfallon1-1/+1
*** 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-10-14Bump policy/gui to Jakarta 2.2.0-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I7b0b53fdbe081d23b3ecbe588127628711f8cb39 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-10-14Bump policy/gui to 2.1.2-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3696 Change-Id: I4421be435ef9ad0d08266a289a2eafcb8d749bac Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-22Clean package-lock.json filesdanielhanrahan1-3/+6
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
2021-09-15Bump policy-gui snapshot version to 2.1.1-SNAPSHOTliamfallon1-1/+1
Issue-ID: POLICY-3587 Change-Id: Ic3e575578ae0e2302925864a43ec81fc91cf55a3 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-09-01Add docker image generation to maven for policy-guidanielhanrahan1-0/+22
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>
2021-06-04Merge "Increase code coverage on gui.editors.apex.rest"Liam Fallon1-1/+2
2021-06-03Increase code coverage on gui.editors.apex.restarkadiusz.adamski1-1/+2
- increase code coverage on gui.editors.apex.rest Issue-ID: POLICY-3351 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: I481ecea3b77ec4e7b7fbdd0475becec0ccea11dc
2021-05-28Merge "React Front-End UI"Jim Hahn1-1/+1
2021-05-27React Front-End UIbrunomilitzer1-1/+1
This commit is to move the React front end files from the Clamp Policy Repo to the Onap Gui Policy Repo. Also created the added Maven featue to compile the React project via Node and NPM, and copy the production files to the target directory. Fixed in gitignore that was ignoring the contents inside the logs/ directory. Reformated JS spacing files from 4 spaces to 2 spaces. Fixed Broken JEST test Applied Jim's Code Review as well updated Node Version from 12.18 to 14.17 accross the modules. Unfortunately cannot apply NPM version since it broke npm install. Fixed ONAP Job Builder Linting Error Applied Jim's Second Code Review Issue-ID: POLICY-3218 Signed-off-by: brunomilitzer <bruno.militzer@est.tech> Change-Id: I01f95c350d27d72f941c835592fd596472601d6e
2021-05-20gui-editor-apex doesn't contain webapp correctlyarkadiusz.adamski1-1/+6
- change location of css, js and html files in jar. Issue-ID: POLICY-3322 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: I712e84cc3a923bdfd6f7857afec914a37f47a54d
2021-04-13Update version of maven resources pluginJim Hahn1-26/+12
Policy parent specifies a newer version of the maven resources plugin. Modified the pom to work with it. According to the docs, copy-resources is only needed when copying from directories outside of src/main/resources. Issue-ID: POLICY-3182 Change-Id: Icb125914dd0fc15a9b2da4290b7e06338a0fae4a Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-12Use alternate repo for npmJim Hahn1-1/+3
Also updated version of npm, as 6.14.4 does not appear within the repo. Issue-ID: POLICY-3182 Change-Id: I61ec07ad525d165828bb7c97af00bb740d939cc3 Signed-off-by: Jim Hahn <jrh3@att.com>
2021-02-19Fix policy-gui build failureswaynedunican1-0/+1
maven-resources-plugin has been updated to v3.2.0. This is causing our gui build to fail, due to it not allowing more than a certain number of files to be copied. Reverted to v3.1.0 in apex-editor to fix this issue. Issue-ID: POLICY-3063 Change-Id: I7b8a207f63de82ed44747c5d2c470b5345cb84c6 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-11-09Update dependencies in policy/guiwaynedunican1-3/+2
Update dependencies in gui-pdp-monitoring and gui-editor-apex to align with Node version. Deprecated dependencies removed. Issue-ID: POLICY-2886 Change-Id: I62137b85d8ca56cd2cdeeeae5ee62ed18b5306ee Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-10-02JS Testing added for apex-editorwaynedunican1-30/+11
Last apex-editor/pom.xml change to exclude the /dist folder Issue-ID: POLICY-2783 Change-Id: I076aac4e503c7e5f2ea39fa9291153be4b119808 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-09-16Exclude unit test files from released artifactsliamfallon1-2/+13
The node.js code and repos are used only during unit test and should not be included in the released artifacts. Not having them in the released artifacts also eliminates a number of security and licensing issues with node.js modules. Issue-ID: POLICY-2825 Change-Id: Icb9c0a0e3d1ebb01aa9b6346ce51f0c76c5cdd0f Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-09-11Add TOSCA support to Apex editorliamfallon1-3/+13
The APEX editor now loads, saves, and downloads files in TOSCA format, the same as the apex-pdp does. The non-standard TOSCA handling for file upload has been refactored to be aligned with the Policy Frameowkr TOSCA support. Issue-ID: POLICY-2621 Change-Id: I1ec7475cbcc6ffc23de92687c9f284ac7dfbdd80 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-09-07JavaScript tests for apex-editorwaynedunican1-1/+92
JavaScript tests added to improve code coverage for policy-gui Issue-ID: POLICY-2783 Change-Id: Ie12fb6089b872842bb5c668a8126675f89772d79 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-08-07Upload policy featureandre.schmid1-5/+14
Implements an upload feature that can be enable/disabled through configuration properties. An upload endpoint must be provided also by configuration. The upload has similar feature as the download, but it sends the file to the provided endpoint instead, converting it to TOSCA YAML. Creates an configuration endpoint so the front-end can read it. Introduces a pub/sub feature in the front-end so it can asynchronous read configuration information and send configuration ready message to components that depends on it. Issue-ID: POLICY-2751 Signed-off-by: andre.schmid <andre.schmid@est.tech> Change-Id: I5e8e91616a7d4dc69e6739604fcd36528cce0028
2020-07-20Make APEX policy editor run as a single jarandre.schmid1-0/+40
Fix missing jquery library and produces an executable jar Issue-ID: POLICY-2721 Signed-off-by: andre.schmid <andre.schmid@est.tech> Change-Id: I66e10326e6348807384caae706e1286835e97b63
2020-07-17Move apex policy editor to policy-guiliamfallon1-0/+169
This review moves the code for the apex policy editor from the apex repo to the GUI repo. The docker part of the build will be moved in the next review because it is intertwined with the other two legacy apex GUIs and needs to be disentangled. Subsequent reviews on the apex repo will remove this code from there. Issue-ID: POLICY-2621 Change-Id: Ib9a43f463b839201656208a48ab48869a19f963a Signed-off-by: liamfallon <liam.fallon@est.tech>