aboutsummaryrefslogtreecommitdiffstats
path: root/gui-pdp-monitoring
AgeCommit message (Collapse)AuthorFilesLines
2020-09-16Exclude unit test files from released artifactsliamfallon1-14162/+0
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-07JavaScript tests for apex-editorwaynedunican1-1/+1
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-25Jest JS Coveragewaynedunican2-3/+9
Edited SonarCloud lcov reports path. Removed from pdp-monitoring pom.xml. Added node binary source executable path and sources sonar properties to pom.xml. Issue-ID: POLICY-2610 Change-Id: I6354e65d358ca5e9bd8c18f032330aa5063a0889 Signed-off-by: waynedunican <wayne.dunican@est.tech> Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-08-19JS Coverage Report directorywaynedunican1-1/+2
Moved the generated Jest Coverage report from policy-gui/gui-pdp-monitoring/src/webapp/coverage to policy-gui/target/code-coverage in order for SonarCloud to display the JS Code Coverage results. Issue-ID: POLICY-2610 Change-Id: I1d86203afa45ad1b0a51d729fec4326607585988 Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-08-18JavaScript coverage SonarCloudwaynedunican1-1/+1
Added to pom.xml for SonarCloud to point to lcov reports generated by Jest coverage. Issue-ID: POLICY-2610 Change-Id: I2954517cb0b91d8e43e3c2065f4776258e391cea Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-08-05Jest JS Coverage setupwaynedunican4-975/+4898
Jest JS Coverage setup 1) Generate coverage in reports/test-reporter.xml and in coverage/clover.xml 2) Config needed in SonarCloud project itself to pick up these reports Issue-ID: POLICY-2610 Change-Id: I1b639ff649cd6eb690762420118b3e8f595e970b Signed-off-by: waynedunican <wayne.dunican@est.tech>
2020-07-17Move apex policy editor to policy-guiliamfallon1-2/+1
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>
2020-07-17Bump version of policy-gui for GUILINliamfallon1-2/+2
policy-gup goes to 2.1.0-SNAPSHOT Issue-ID: POLICY-2621 Change-Id: I660c7537a2e56ce2c6f8788cbc142c1680e53465 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-06-23Changes for checkstyle 8.32Pamela Dragosh1-1/+1
Issue-ID: POLICY-2188 Change-Id: I87701431e5f5c248ed7240eb5cdb7ca0682434c1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-27extra line delete for js coverage testHenry.Sun1-1/+0
Issue-ID: POLICY-2311 Change-Id: I1961d9fac8c1a11e599034ed2c6cf8f1c4a799ee Signed-off-by: Henry.Sun <henry.a.sun@est.tech>
2020-03-26Configure sonar for js coverage reporthuaxing1-0/+1
Issue-ID: POLICY-2311 Signed-off-by: huaxing <huaxing.jin@est.tech> Change-Id: I031a1498fa79f7c8cdebce45689aa75d3c6b1efa
2020-03-25add coverage test for JSHenry.Sun12-48/+444
Issue-ID: POLICY-2311 Change-Id: I12a041f59bf07ed4e8688545522e64a338cdb326 Signed-off-by: Henry.Sun <henry.a.sun@est.tech>
2020-03-17Merge "Setup js unit test and code coverage framework"Pamela Dragosh32-460/+10878
2020-03-17Setup js unit test and code coverage frameworkhuaxing32-460/+10878
(1) Use frontend-maven-plugin to integrate frontend development (2) Use jest as test tool (3) Use webpack to create webapp bundle (4) Coverage data is saved in target/jscoverage Issue-ID: POLICY-2311 Signed-off-by: huaxing <huaxing.jin@est.tech> Change-Id: I34fb7487c1e0ca29114eb7accba8bb7c4812da34
2020-03-10Bump gui code coveragePamela Dragosh2-0/+79
Testing these with openpojos should get code coverage above 55%. Issue-ID: POLICY-2420 Change-Id: I9e7ef6f42f04d5c9f090f9b6cd305950a8180f3c Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-03Create PDP Monitoring GUI ModelHengye36-0/+6914
Monitorning GUI to monitor PDPs Statistics, including Web and Rest Server by embeded jetty. Issue-ID: POLICY-2311 Signed-off-by: Hengye <yehui.wang@est.tech> Change-Id: I9bd0d50eaa7ae4dbd07d17389da2cf107e854c61