* ACS-3345: REST API TAS tests for delete rule.
* ACS-3345: REST API TAS tests for delete rule.
* ACS-3345: REST API TAS tests for delete rule.
* ACS-3345: Fixing the naming.
* ACS-3345: REST API TAS tests for delete rule.
* ACS-3227 Don't try to load rule set node if using -default-.
It might not exist yet, since it's created along with the first rule.
Also avoid using id of rule before it has been created.
* ACS-3227 Add a hard-coded action while we don't support supplying actions in the POST.
* ACS-3225: Folder Rules v1 REST API - Create Rule
* ACS-3225 Create one or more rules within a folder/rule set.
* ACS-3225 Update ExtendedRuleServiceImpl in AGS to match new interface.
* ACS-3225 Code review fixes.
Make RuleBuilder an inner class, add documentation to API and rename method to createRules.
Co-authored-by: Krystian Dabrowski <krystian.dabrowski@hyland.com>
Implementing access restriction for actions
Updating copyrights of modified files
Moving core restriction processing to an AbstractBase class
PR Review fixes
Slight improvement for future extensibility
* PRODSEC-6261 Add 'shouldNotGetProcessesByNotInvolvedUser' test
* PRODSEC-6261 Add user validation to 'getProcess' method
* PRODSEC-6261 Add TestRail annotation minor fix
* ACS-2322
Check the passthrough implementation
Skip properties which might be modified asynchronously
Update copyright headers
Slight refactoring and using Mockito.spy instead of proxy
* 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
* ACS-2787: Splitting AGS 01 job to 2 parts (01, 04)
For MySQL the job executes for 31-35 minutes, split this job into 2 parts to reduce max execution time for community-repo
* ACS-2787: Intermittent test failure commented out, issue created ACS-2850
* ACS-2787: Commenting out intermittent failure, issue created ACS-2851
* ACS-1988 Implement DAU Version Renditions code
* ACS-1988 Replace directAccessUrlRequest with request-direct-access-url
* ACS-1988 fix and move DAU version rendition test
* ACS-1988 Add NodeVersionRenditionsApiTest to test suite
* ACS-1988 Remove unused import
* ACS-1988 add error response tests
* ACS-1988 remove redundant constant
* ACS-1988 updates from review
* ACS-1988 updates from review
* 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.
* 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>
`ArchivedIOException` and `ArchivedContentException` added to provide an appropriate response when attempting to access content that is archived, for example in GLACIER s3.
Discovered and fixed a bug, when producing an error during content streaming that caused clients to hang. Content Length now set to `-1` when any `ContentIOException` is thrown so that any clients are not expecting and waiting to received the content.