aboutsummaryrefslogtreecommitdiffstats
path: root/gui-editors/gui-editor-apex/src/main/java
AgeCommit message (Collapse)AuthorFilesLines
2021-07-16Use lombok annotations in guiJim Hahn14-566/+58
Issue-ID: POLICY-3395 Change-Id: I7820877522875a3caf47e3b7409eb4f7fb15ba2b Signed-off-by: Jim Hahn <jrh3@att.com>
2021-06-24Update gui for checkstyle 8.43liamfallon2-11/+11
Issue-ID: POLICY-3206 Change-Id: I5b80398352d03a0fe2853690b6b0d3019d204a7e Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-06-14Fix sonar in policy/guiRam Krishna Verma5-11/+14
use "var" for local variables Issue-ID: POLICY-3077 Change-Id: I6e31317bfda3d2b9bdde038cec709a3398f2f655 Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
2021-05-10Fix sonars in policy-guiJim Hahn14-65/+62
Fixed: - use "var" Only fixed the ones I saw visually, as SonarLint wouldn't run - something about missing node.js. Issue-ID: POLICY-3094 Change-Id: I594d424b42ce446d86724d75b1dd9ec868c14f2b Signed-off-by: Jim Hahn <jrh3@att.com>
2021-04-23Fix gui-editor-apex fails to startarkadiusz.adamski1-22/+26
- fix NullPointerException when gui-editor is started with command line - clean up code Issue-ID: POLICY-3235 Signed-off-by: arkadiusz.adamski <aadamski@est.tech> Change-Id: Ia05a4a808c3fa266e702f627959a382b0344f5db
2021-03-29Fix sonarqube code Bugmkidd3-10/+8
ApexEditorParameters has a URI that sonar does not like, hard coding the leading forward slash removes the complaint ApexEditorMain was receiving args and a print stream in the form of System.err and then System.out, both of these were null values, while Sonar sees System.out or err as a bug as it should be a logger, simply passing null in its place is not an issue to sonar BeanBase.java Removed an if statement that always asserted to be true, as it is inside an if statement that confirmed that condition. removed an accessibility change as sonar sees this as a violation Issue-ID: POLICY-3095 Signed-off-by: mkidd <michael.kidd@est.tech> Change-Id: I1bbdfe9cc6db085195e95da3dbfbc8b29d9a5ff5 Signed-off-by: mkidd <michael.kidd@est.tech>
2021-02-19Fix sonars in guiJim Hahn9-136/+46
Addressed the following issues (java only): - assignment to static field - expression is always true - duplicate character in regex - duplicate code - remove Thread.sleep() from junit test Issue-ID: POLICY-3063 Change-Id: I70951ed47defad5baa6c957852663688e51fa88a Signed-off-by: Jim Hahn <jrh3@att.com>
2020-09-30Pick up userId from apex editor URLliamfallon2-2/+8
The userId must be picked up from the URL passed to the policy editor and then passed to the server. Issue-ID: POLICY-2850 Change-Id: I98948f2e0a2bf8090926751ee98c26c46d272fcf Signed-off-by: liamfallon <liam.fallon@est.tech>
2020-09-11Add TOSCA support to Apex editorliamfallon17-1219/+461
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-08Cosmetic changes to the apex-editor GUIliamfallon2-0/+2
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-08-10Passing userId to upload policyKrupaNagabhushan2-11/+13
Issue-ID: POLICY-2751 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ifc91bba369161a63f2ad759dcdc014bb12837e88
2020-08-07Upload policy featureandre.schmid15-8/+1105
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-17Move apex policy editor to policy-guiliamfallon34-0/+5785
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>