summaryrefslogtreecommitdiffstats
path: root/gui-editors/gui-editor-apex
AgeCommit message (Collapse)AuthorFilesLines
2020-10-02JS Testing added for apex-editorwaynedunican55-530/+1527
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-30Pick up userId from apex editor URLliamfallon3-3/+9
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-16Exclude unit test files from released artifactsliamfallon3-11062/+20
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 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-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-editorwaynedunican26-10/+11541
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-10Passing userId to upload policyKrupaNagabhushan6-21/+59
Issue-ID: POLICY-2751 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: Ifc91bba369161a63f2ad759dcdc014bb12837e88
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-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-guiliamfallon513-0/+52334
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>