aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-09-11Add TOSCA support to Apex editorliamfallon45-3362/+1960
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-08Merge "Cosmetic changes to the apex-editor GUI"Ram Krishna Verma7-51/+38
2020-09-08Merge "JavaScript tests for apex-editor"Jim Hahn27-11/+11542
2020-09-08Cosmetic changes to the apex-editor GUIliamfallon7-51/+38
Some minor changes to remove some eclipse warnings and to tidy the the tets and formatting in the APEX policy editor GUI. Issue-ID: POLICY-2621 Change-Id: Ib9b9b054fbe146feec4e477434097094e8ecae26 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-09-07JavaScript tests for apex-editorwaynedunican27-11/+11542
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-09-04Use released parent 3.2.0 in guiJim Hahn1-1/+1
Issue-ID: POLICY-2789 Change-Id: Id81b09c0b0c8b0d088f1b813cb0858d28236d4d5 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-08-25Jest JS Coveragewaynedunican4-4/+16
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 directorywaynedunican2-1/+3
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-18Merge "JavaScript coverage SonarCloud"Jim Hahn1-1/+1
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-10Passing userId to upload policyKrupaNagabhushan6-21/+59
Issue-ID: POLICY-2751 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ifc91bba369161a63f2ad759dcdc014bb12837e88
2020-08-10Merge "Upload policy feature"Ajith Sreekumar56-16/+4595
2020-08-07Upload policy featureandre.schmid56-16/+4595
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-08-06Merge "Jest JS Coverage setup"Ram Krishna Verma4-975/+4898
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-30Update info yaml in policy/guiRam Krishna Verma1-12/+16
Issue-ID: POLICY-2738 Change-Id: If374565c4a213c17785277325e58769940aaab41 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2020-07-27Add default branch to gitreview for policy/guiJim Hahn1-0/+1
Issue-ID: POLICY-2741 Change-Id: If1e8c31bed56b369bd060e0457aa795ae6b63161 Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-24Add Ajith to policy/gui infoJim Hahn1-6/+14
Issue-ID: POLICY-2738 Change-Id: I2904591da8dcde2fdff622c8ca64ae96712b145d Signed-off-by: Jim Hahn <jrh3@att.com>
2020-07-20Make APEX policy editor run as a single jarandre.schmid3-1/+43
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-guiliamfallon516-2/+52483
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 GUILINliamfallon4-6/+6
policy-gup goes to 2.1.0-SNAPSHOT Issue-ID: POLICY-2621 Change-Id: I660c7537a2e56ce2c6f8788cbc142c1680e53465 Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-07-14Pointing to latest snapshotsPamela Dragosh1-4/+4
Other snapshots will be deleted by LF in less than 20 days. Updated license header, git log shows only 2020 for this pom.xml existing. Issue-ID: POLICY-2695 Change-Id: Ia1834a1c9d22b53f690271a1a5a8c563fa1d429f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-06-23Changes for checkstyle 8.32Pamela Dragosh2-38/+1
Issue-ID: POLICY-2188 Change-Id: I87701431e5f5c248ed7240eb5cdb7ca0682434c1 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-05-20Point to correct SNAPSHOTSPamela Dragosh1-3/+3
Issue-ID: POLICY-2514 Change-Id: I655961d599ff3a1697ea88e10c74e27857ae7299 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-27Point to latest SNAPSHOTs6.0.0-ONAPhonoluluguilinfrankfurtPamela Dragosh1-2/+2
Security fixes etc. Issue-ID: POLICY-2510 Change-Id: Ia30c1c9260ea6ca23dd30a5d972305302d49867d Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-15Point to latest patchesPamela Dragosh1-2/+2
common and models were released, these are the latest patch versions. Issue-ID: POLICY-2378 Change-Id: If4fdd829d4cf2314519810a9f4d686a77a038061 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-13Point to parent, common, modelsPamela Dragosh1-3/+3
Issue-ID: POLICY-2486 Change-Id: I795e2a417c393c5ac9adeb579a042baef5ec6997 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-04-07Point to parent SNAPSHOTPamela Dragosh1-1/+1
Issue-ID: POLICY-2378 Change-Id: Idc060f9b108fbe5de2a19a2de2c12514324f4a0a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-27Merge "Point to latest snapshots"Liam Fallon1-2/+2
2020-03-27Point to latest snapshotsPamela Dragosh1-2/+2
Issue-ID: POLICY-2378 Change-Id: Ibb791ffe672f1f6458019c921d8fd5aba498df8c 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-25Point to models 2.2.2Pamela Dragosh1-1/+1
Issue-ID: POLICY-2378 Change-Id: I7fa8109a7da16b3dd81cbef97d1a40e2f24ec19f Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-25Merge "add coverage test for JS"Pamela Dragosh12-48/+444
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-23Point to released artifactsPamela Dragosh1-3/+3
Issue-ID: POLICY-2378 Change-Id: I5909a7abc0bf1f199c4585f63d1bf1885b54ee6a Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2020-03-17Merge "Setup js unit test and code coverage framework"Pamela Dragosh33-461/+10881
2020-03-17Setup js unit test and code coverage frameworkhuaxing33-461/+10881
(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-12Update gui INFO.yamlPamela Dragosh1-19/+7
Mainly to clear the failed job. Issue-ID: POLICY-2423 Change-Id: I104e9bd93cbb1e7ac256de5ba4b5d08935ed8836 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
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 ModelHengye43-0/+11048
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
2020-02-10Update info yaml & pom of policy/guiRam Krishna Verma2-75/+43
Issue-ID: POLICY-2334 Change-Id: I8692951b2ea760b3fa531ce63e8907392fcbacac Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2018-10-25Use policy/parent releasePamela Dragosh1-1/+2
Policy parent v2.0.0 Issue-ID: POLICY-1213 Change-Id: I6701f4d1165bc594d49391f1cad37452066040eb Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-09-25Setup checkstyle and coveragePamela Dragosh2-20/+163
Removed redundant version. Added checkstyle and code coverage declarations. Added ignore of idea and checkstyle. Issue-ID: POLICY-1136 Change-Id: Ia2f2428577ba0bf992cba8a5ad5f68d34d5deff8 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-05-30Changing artifactId for consistencyramverma1-1/+1
Change-Id: Id79b9988646917a925a89044c216cd4614e722ee Issue-ID: POLICY-847 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-05-24Change pom to refer policy parentramverma1-69/+5
Change-Id: I85a8b8a1ff8385f2d24025b18e3629e60922a106 Issue-ID: POLICY-847 Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
2018-05-01Merge "Update gui repo"Pamela Dragosh4-8/+10
2018-05-01Update gui repoPamela Dragosh4-8/+10
Update the license, readme and version to 2.0.0 Issue-ID: POLICY-771 Change-Id: Ia52913de464e416c920397e81c4b0f9efb1b21f3 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2018-04-30Add INFO.yaml fileJessica Wagantall1-0/+37
Add INFO.yaml to list: - Project description - Properties - PTL information - Meeting information - Committer information Change-Id: I4114188dad3b0368037d49d6f9673d9f7127c022 Issue-ID: CIMAN-134 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-14Update oparent version to 1.1.0liamfallon1-1/+1
Directive from ONAP project that all repos should be updated. Change vierified with a build with .m2 /org/onap cleared. Change-Id: I38e19b2b07214f66a7d92acba5c8611200b5a02f Issue-ID: POLICY-693 Signed-off-by: liamfallon <liam.fallon@ericsson.com>