* ACS-3015 move ErrorProneAction code to test folder
* ACS-3015 remove old commented out code
* ACS-3015 fix context
* ACS-3015 fix context path
* ACS-3015 move test context to test resources
* ACS-3015 correct path to moved test context
* ACS-3015 fix context problem for TestCase tests
* ACS-3015 moved MockUserNotifier to test folder
Not much happens in class, check node, create version.
Added Beans including security interceptors, but VersionService has no restrictions and for node service all there is are a few checks, so it likely never was a security issue to begin with.
* ACS-2925: Elasticsearch - refactor DB switching to not use Solr-specific properties / debug log
- as per TP suggestion, thanks
- new generic query.* props
- query.cmis.queryConsistency
- query.fts.queryConsistency
- query.hybrid.enabled
- deprecate current solr.query.* props (eg. upgrade)
- solr.query.cmis.queryConsistency
- solr.query.fts.queryConsistency
- solr.query.hybrid.enabled
- another attempt using two inject properties (deprecated + new). See option C1 in ACS-2925
- also unrelated lic header change (LocalPipelineTransform.java) to fix build warning
* ACS-2850: fix for intermittent failure on expiryLock test
First issue was int rounding of '(expirationDate - new Date())/1000', which for really close values of timeout set and passed through lockInfo could be rounded down to 0. Replaced by a rounding up formula.
Second issue was treating timeout == 0 as timeout.infinite. WebDav Infinite timeout has it's own marker "-1", in case of 0, lock was automatically turned into infinite time lock, while it should be an exception instead as creating a lock for 0s timeout is a programming error - the lock would immediatelly be expired upon creation (perhaps even with a date in the past, seeing as the expiryDate is filled).
Changes made clarify the intent behind calling the method instead of obfuscating it by passing the int value through date operations
* MNT-22780 Remove properties if node has aspect
* MNT-22780 Add remove features test
* MNT-22780 Remove wildcard imports + fix test
* MNT-22780 Remove aspect when only node has aspect
* MNT-22780 Fix if statement
Added isSupported(CoreFunction function, String transformerName) and isSupported(CoreFunction function, LocalTransform transform) ready for work on the ACS-2493 & ACS-2494.
Cron rate changed to be every minute rather every 10 seconds on startup or error state
When a T-Engine/T-Router is down the log message now an ERROR rather than DEBUG
* ACS-2391: StorageObjectProps - add version content specific endpoints
- GET /nodes/{nodeId}/versions/{versionId}/storage-info/{contentPropQName}
- POST /nodes/{nodeId}/versions/{versionId}/storage-info/{contentPropQName}/archive
- POST /nodes/{nodeId}/versions/{versionId}/storage-info/{contentPropQName}/archive-restore
- since versioned content nodes are not in default workspace://SpaceStore ...
- updated existing ContentStorageInfomation (and related tests) to handle nodeRef instead of nodeId
- also fixed REST framework for operation/property for 2nd-level relationship (inc extra fix, eg. for "revert" version regression)
- update based on PR feedback (thanks SA) - also update lic header to 2022 for new/changed Java files
- update based on PR feedback (thanks MP) - minor: rename local variable (and similarly across codebase)
* ACS-2200: Java API for archive/archive-restore content + unit tests.
* Bump restapi from 1.64 to 1.65 (#795)
* Bump utility from 3.0.45 to 3.0.47 (#794)
* ACS-2200: Applying review comments.
* ACS-2200: Applying review comments.
* ACS-2200: Adding new unit test to suite.
* ACS-2200: Adding optional archive params to archive operation.
* ACS-2236: Archive + archive-restore operations and unit tests.
* ACS-2236: Addressing review comments. Small refactor in unit tests.
* Added configuration to use child association index on version creation - disabled by default
* Added unit test to verify both cenarios
* Included configuration in AGS
* MNT-22715 - Document Version Issue - Unexpected: current version does not appear to be 1st version in the list
* Set association index on new version creation
* Unit test to verify the child assoc index is set on versions
* Set association index on new version creation on AGS create record from version
* ACS-2200: Java API for archive/archive-restore content + unit tests.
* Bump restapi from 1.64 to 1.65 (#795)
* Bump utility from 3.0.45 to 3.0.47 (#794)
* ACS-2200: Applying review comments.
* ACS-2200: Applying review comments.
* ACS-2200: Adding new unit test to suite.
* ACS-2200: Adding optional archive params to archive operation.
* Bump restapi from 1.64 to 1.65 (#795)
* Bump utility from 3.0.45 to 3.0.47 (#794)
* ACS-2200: Applying review comments.
* ACS-2200: Java API for archive/archive-restore content + unit tests.
* PRODSEC-5780: ACS Repo DAU APIs to also use non-attach allow list
- moved existing pre-configured allow list from remote-api to repository layer
- ("nodes.nonAttachContentTypes" xml -> "content.nonAttach.mimetypes" prop)
- now also used by DAU (as well as existing V1 REST API and CMIS to get/download content)
Squashed some of the commit messages:
* ACS-2216: Resolving failing tests
* ACS-2216: Reformatting code
* ACS-2216: Adding David's suggestion
* ACS-2216: Set some methods to default as per David's comments
* ACS-2216: Added test for when propertyQName has no content
* ACS-2216: Replaced try catch with assertThrows
* ACS-2216: Added propertyQName to Auditable list
Co-authored-by: David Edwards <david.edwards@hyland.com>
* [MNT-21953] [MNT-22491] Clear rendition content data on content change. Prevent rendition from having contentHashCode without content
* [MNT-21953] [MNT-22491] Added tests
* [MNT-21953] [MNT-22491] Removed update content from test
* [MNT-21953] [MNT-22491] Improve log messages
* [MNT-21953] [MNT-22491] Changed Copyright year to 2021. Minor change in test comments.