Age | Commit message (Collapse) | Author | Files | Lines |
|
GUI proxies the URLs towards the ACM runtime server across CLAMP backend
because clamp-backend handles the certificates for HTTPS communication
and also handles AAF.
For now, the Policy GUI is being used for testing and demonstration
purposes only.
As AAF is disabled and we are using HTTP, the GUI can now work towards
the ACM runtime server port directly for test installations.
Issue-ID: POLICY-4122
Change-Id: Idca87d520a5eef2058781534df6f96a0260c5eaf
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
Issue-ID: POLICY-4331
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
Change-Id: I1456fdd64075fff19813aa26ae54a84fdc80fc33
Signed-off-by: brunomilitzer <bruno.militzer@est.tech>
|
|
Upgrade apex-pdp version to 2.7.1-SNAPSHOT
Fix NullPointerException in ModelHandler::setUuidAndDescription
Allow parsing models from policy_type_impl or apexPolicyModel
Remove deprecated Task input and output field functionality
Fix JS REST calls and tests after JAXB to Gson changes
Fix bugs in Task Edit form relating to task logic edit area
Issue-ID: POLICY-3990
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I4f506889df46619a0178ab99c99c73ec2fd5a1e3
|
|
Skip the sonar check on the @Data methods for code coverage policy-gui
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: Ic6626b600d0dc0dc1b510e1a860b9f111b120a39
|
|
|
|
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: Ib3043be521c37efe60e96b7917077db8c70b1645
|
|
Changed Apex Editor to use Spring Boot (MVC)
Changed all tests to use JUnit 5
Added more tests for policy upload feature
Updated JS files to reflect JSON encoding change
Added Apex Editor README
Changed rest path to /policy/gui/v1/apex/editor
Issue-ID: POLICY-3896
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I10f1ee3c40244a822a7032b4b24cb02060698fc3
|
|
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: Ifea662ee9575dd73c738dd6a93998af0a19d6599
|
|
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I682f046955b06bc7738987b8998ecd4cdb287276
|
|
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
|
|
Deleting some duplicationg tests, and fixing test skipping
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I2a9ac9061eaffdf70a1b6bff053dae287b895314
|
|
|
|
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I6146510025c33bc754b26970d57da343edfe8311
|
|
|
|
|
|
Fixed a race condition in /Model/Upload endpoint caused by userId
query param overwriting a global parameter. New behavior is for
userId to override global param for that request only.
Updated JavaDocs to reflect behavior.
Added JUnit test to verify userId overriding.
Fixed issue where upload success message was not included in response.
Issue-ID: POLICY-3929
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ic1d78083778eef2df3675b3b4fbc1e41420da46f
|
|
Removed unused test resources in Apex Editor
Issue-ID: POLICY-3928
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ib4b916daad6d45bf3403399c9b4e09bf42690785
|
|
Changed content-type to text/plain for model download
Updated javadoc to say YAML not JSON
Issue-ID: POLICY-3930
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Icb3f876003addc47e91b4f6e3b43d9c9c3dc7ee6
|
|
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I45f2a6542dedf82dcb76a94e51839aa772372909
|
|
Adding Generated tag for lombok methods in ApexEditorParameters
This will skip the sonar check on the @Data methods
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I73ec9f47fb90182221aebd5129bf2da32ab06cad
|
|
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: Iccac0679be9644b3f68b17c33c07ea9a81acde37
|
|
Issue-ID: POLICY-3351
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
Change-Id: I019521b7343206404ce7bd1fa3a05f5ff782baa0
|
|
Issue-ID: POLICY-3351
Change-Id: I51ae3b5e6de3f81af5cb445ade7309360da50afa
Signed-off-by: lapentafd <francesco.lapenta@est.tech>
|
|
|
|
The current argument name for the upload-url is USERID,
changing to UPLOAD_URL.
Issue-ID: POLICY-3797
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Change-Id: I59ae27f6a3908c98d897b586668ae7b921366544
|
|
|
|
Issue-ID: POLICY-3351
Change-Id: I6f039b4e1b856ddb73379c97c88b5a695f2c478c
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
|
|
|
|
During the policy upload call, the user id is being added as a query
parameter even if it was not provided, causing to provide the value
"null" as the userId parameter.
This change just add the userId to the call when it is available.
Issue-ID: POLICY-3796
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Change-Id: I7bcc928f1ca144ee1ad05e7d1028ea08a15ebd42
|
|
Because of a not initialized javascript variable, the system calls
a malformed url to create a APEX policy.
This change correctly initializes the window.restRootURL when no
apex_session is present in the localStorage.
Issue-ID: POLICY-3794
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Change-Id: I068bd86a747e7eafc3f17aa0faf5fdc778195711
|
|
Issue-ID: POLICY-3351
Change-Id: Iad12ef6340978a2b183d129e65c9a94d6e71d27a
Signed-off-by: Lathish <lathishbabu.ganesan@est.tech>
|
|
Issue-ID: POLICY-3077
Change-Id: Ia4a1a12ab286d40205ec5a81d130c4845cd93cea
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
|
|
|
|
Some relative paths in the HTML/CSS are incorrect in the build
Issue-ID: POLICY-3601
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Ifb9f4b428f3732cd601a3128df27d720a55f88fa
|
|
Issue-ID: POLICY-3095
Change-Id: Ida760b380acbc5784f685e0a4c95c09f017ebf57
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
There is a missing import for apexUtils_escapeHtml (used on line 53),
preventing the context schema table from loading
Issue-ID: POLICY-3602
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: Id08864c93201007ee353f054f0580024af1d878a
|
|
Issue-ID: POLICY-3077
Change-Id: Idcd08427cbff2cfdd8ba99db7cf32a0f5c978415
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3077
Change-Id: Iae7bad7bc69bc4c5cd974e8439f8f433a43123d0
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
Issue-ID: POLICY-3395
Change-Id: I7820877522875a3caf47e3b7409eb4f7fb15ba2b
Signed-off-by: Jim Hahn <jrh3@att.com>
|
|
Issue-ID: POLICY-3206
Change-Id: I5b80398352d03a0fe2853690b6b0d3019d204a7e
Signed-off-by: liamfallon <liam.fallon@est.tech>
|
|
- increase code coverage on gui js
Issue-ID: POLICY-3351
Signed-off-by: arkadiusz.adamski <aadamski@est.tech>
Change-Id: I4c633b0a46f75ceb3f6a4721e8311d938168982e
|
|
|
|
- increase code coverage on gui js
Issue-ID: POLICY-3351
Signed-off-by: arkadiusz.adamski <aadamski@est.tech>
Change-Id: I5c24e6f02c401fd1eaee819105673cfcf1c81e13
|
|
use "var" for local variables
Issue-ID: POLICY-3077
Change-Id: I6e31317bfda3d2b9bdde038cec709a3398f2f655
Signed-off-by: Ram Krishna Verma <ram_krishna.verma@bell.ca>
|
|
- increase code coverage on gui.editors.apex.rest
Issue-ID: POLICY-3351
Signed-off-by: arkadiusz.adamski <aadamski@est.tech>
Change-Id: I481ecea3b77ec4e7b7fbdd0475becec0ccea11dc
|
|
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>
|
|
- 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
|
|
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>
|
|
Making changed regarding code smells. Some variables being declared twice while in scope.
renaming some modelFileName in ApexFiles.js that is being declared while there is a constant with the same name.
renamed some of the for loop control variables so that sonarqube doesnt see it as an issue
Made changes based on reviews
Issue-ID: POLICY-3095
Change-Id: If38934247a4e4ff9c48043feb3adde5505c46993
Signed-off-by: mkidd <michael.kidd@est.tech>
|