* ACS-4028 Get category by id (#1591)
* ACS-4028: Get category by id endpoint.
* ACS-4028: Get category by id endpoint.
* ACS-4028: Get category by id endpoint - integration TAS tests.
* ACS-4028: Get category by id endpoint - refactoring.
* ACS-4028: Adding test to test suite.
* ACS-4028: Fixes after code review.
* ACS-4019: Removing redundant test group.
* ACS-3652 Add validation for individual actions.
In particular write access is required for the folder specified in the copy and move actions.
* ACS-3652: Adding action validations for node permissions.
* ACS-3652: Fixing failing E2E tests.
* ACS-3652: Adding E2E tests.
* ACS-3652: Adding E2E tests.
* ACS-3652 E2E tests for script validation.
* ACS-3652 Fix script validation test to use admin.
* ACS-3652: Removing unnecessary code.
* ACS-3652 E2Es for link to category action.
* ACS-3652: Adding applicable action definition check.
* ACS-3652: Adding more thorough action definition checks and fixing node permission and type checks.
* ACS-3652: Adding more thorough E2E tests and some fixes.
* ACS-3652: Adding more E2E tests and some fixes.
* ACS-3652: Fixing some missing corner cases, adding tests.
* ACS-3652: Small refactoring after code review.
Co-authored-by: Tom Page <thomas.page@alfresco.com>
* ACS-3363 E2E test for inheritedBy.
* ACS-3363 Support optional inheritedBy field in GET rule sets.
* ACS-3363 Update to new version of TAS REST API.
* ACS-3363 Remove user from private site before calling method under test.
* Support for linking to a single rule set
* ACS-3435: Small fix to get parent node for rule set.
* ACS-3435: Revert unnecessary change
* ACS-3435: added tests
* ACS-3435: move test assertions
* ACS-3435: adding tests
Co-authored-by: mpichura <maciej.pichura@hyland.com>
* ACS-3429: Initial attemp to add action mappings for create rule.
* ACS-3429: Adding rule action validation (TBC).
* ACS-3429: Adding some basic unit tests.
* ACS-3429: Fixing existing unit tests.
* ACS-3429: Adding some unit tests, small fixes.
* ACS-3429: Fixing existing TAS tests.
* ACS-3429: Fixing test after merge from master.
* ACS-3429: Updating TAS REST dependency.
* ACS-3429: Small fixes after review.
* ACS-3429: Refactoring conversion of action parameters + unit tests adjustments.
* ACS-3429: More unit tests for action parameter conversions.
* ACS-3429: More unit tests for action parameter conversions.
* ACS-3429: Removing unused imports.
* ACS-3429: Adding missing bean definition.
* ACS-3280 REST tests for -isInheritanceEnabled- setting.
* ACS-3280 Allow setting/getting isInheritanceEnabled for folders.
* ACS-3280 E2E tests for negative cases.
* ACS-3280 Unit tests for RuleSettingsImpl. [tas]
* Update to released TAS REST API. [tas]
* ACS-3280 Code review fixes.
* ACS-3280 Use correct version of TAS. [tas]
* ACS-3290: Endpoint for linking to ruleset
* ACS-3290: Small fixes to REST API endpoint definition.
* ACS-3290: Small fixes in bean initialization.
* ACS-3290: Fix changes after rebasing and add exception message
* ACS-3290: Added unit tests
* ACS-3290: Refactoring and moving logic to RulesImpl interface
* ACS-3290: Remove unused imports and refactoring
* ACS-3290: Formatting
Co-authored-by: mpichura <maciej.pichura@hyland.com>
* Use the new include method.
* ACS-3358 Rename the shared field to isShared.
* ACS-3358 Make isShared an optional field.
* ACS-3358 Add TAS tests for the optional isShared field.
* ACS-3358 Upgrade to release version of TAS REST API. [tas]
* ACS-3358 Update test descriptions.
* ACS-3358 Update toString of Rule.
* ACS_3362 GET rule set can include optional owningFolder field. [skip ci]
* ACS_3362 Update to use release version of TAS. [tas]
* ACS_3362 Refactor RuleSetLoader into its own class. [tas]
* 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)
* 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)
`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.
* Revert "ACS-1833 - Test requestContentDirectUrl for Versions Renditions REST API endpoint (#675)"
This reverts commit 4aaae012
* ACS-1924 Remove endpoint for version rendition DAUs
* ACS-1924 Correct WebApiParams
To restore the direct access url version renditions code, do not just revert the whole commit. Instead:
* Restore commit 4aaae012 (this is the api test for direct access url version renditions)
* Revert commit 44ecb9d (this is the endpoint for version rendition DAUs)
* Do not revert commit 7157328 (This is a correction the WebApiParams for several direct access url endpoints)
* Deleted Nodes DAU Skeleton
* Copyright Dates Update
* Spring Wiring and Default Method
* Operation Name Change
* Removal of unnecesary Method Calls and JavaDoc update
* Updates from Review
* Content Service changes both ACS-1781 and 1782
* Ignore test temporarily
* ACS-1782 fix test
* ACS-1782 Test and service updates
* ACS-1781 Tests for Content Service and Store
* ACS-1782 disable rest api DAU
* Discovery API DAU Unit Tests - Asserts
* Discovery API DAU Unit Tests
* Discovery API DAU Unit Test Class
* Discovery API DAU
* ACS-1789 DiscoveryApi DAU
* Discovery API DAU Unit Tests Renamed Methods
* Integration Test Assert
* Unit Test Imports Removal
* Copyright Dates Updated
* Copyright Dates Updated
Co-authored-by: Sara Aspery <sara.aspery@alfresco.com>
* 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>
* REPO-5376 Remove all temporary code
* Remove DBStats, SingleTaskRestartableWatch
* Remove propertiesCache and aspectsCache from DBQueryEngine as they were marked as temporary
* Remove further temporary code
Co-authored-by: Nana Insaidoo <insaidoo.nana@yahoo.it>