* In node browser:
** Added macro convertToJSON to recursively parse hashes and enumerables
** Added attempt/recover in macros to handle errors and not break the page
** Changed the output of serialized objects to JSON format
* In both admin console and node browser:
** Adjusted consistency of the ouput when an error occurs
** Validate the depth of each hash. When we find a hash with over 1000 elements, we throw an error instead of displaying the object. Used the stop tag to effectively force an abort of the template processing preventing performance or security issues regarding very large objects.
This reverts commit f6423903d7.
This was causing the tomcat dev environment to fail to start with a
ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
* SEARCH-2909 Return Http Status Code 501 (Not Implemented) in REST API for invocations to Search Services that are not supported.
* SEARCH-2909 Refactor exception mapping to simplify QueryParserException.
* SEARCH-2909 Add unit tests for postQuery.
This includes a test for the status code replacement with unsupported operations.
* SEARCH-2909 Add new unit test file to test suite.
Also add copyright header to test class.
Co-authored-by: Tom Page <thomas.page@alfresco.com>
Having added AGS to the community repo project two of the build jobs were take a long time to run in comparison to others:
AGS Unit & Integration Tests (MySQL) ~ 1hr
AGS Unit & Integration Tests (PostgreSQL) ~ 45mins
Having split the jobs in this commit, the individual job times are now comparable to the other jobs and the total build time is reduced by ~30 mins.
The same number of integration tests (418) are run 196+127+95 across the three jobs for each database.
* RM-7103: [AGS] Updating record retention schedule to a longer period fails - Run as system user when setting the disposition property on the node.
* RM-7103: [AGS] Updating record retention schedule to a longer period fails - Added test
* RM-7103: [AGS] Updating record retention schedule to a longer period fails - Removed unnecessary parentheses
* RM-7103: [AGS] Updating record retention schedule to a longer period fails - Added missing constants
* RM-7103: [AGS] Updating record retention schedule to a longer period fails - Replaced with lambda expression
Co-authored-by: Raluca Munteanu <raluca.munteanu@ness.com>