This PR removes legacy Lucene code and dependency to the lucene 2.4.1 library.
The data type analysers were removed with an exception of the definitions in models (datadictionaryModel.xml and cmisModel.xml) to be backwards compatible with existing components (like older versions of Search Services) and to ensure the current old-style models can still work with repository and pass validation.
- upgrade to 2.11.2
- reconfigure object mapper with different inclusion criteria for value and contents
- add test for custom model with no aspects, types or constraints - verifying https://issues.alfresco.com/jira/browse/APPS-560
alfresco-remote-api 8.238
alfresco-repository 8.286
alfresco-data-model 8.158
alfresco-core 8.50
MNT-21936 : Audit query Rest API does not return the correct totalItems (#838)
* MNT-21936 : Audit query Rest API does not return the correct totalItems
Retrieve audit entries count if it has more items
Require new release of alfresco-repository.
* MNT-21936 : introduced skipTotalItems property for AuditImpl#listAuditEntries
* MNT-21936 : Change skipTotalItems to omitTotalItems to align with API Spec
* update alfresco-repository dependency
(cherry picked from commit 91c49be12a21b23a87cd04b7584c230b2ec4b569)
Bump dependency.webscripts.version from 8.8 to 8.10 (#1252)
Bumps `dependency.webscripts.version` from 8.8 to 8.10.
Updates `spring-surf-core-configservice` from 8.8 to 8.10
Updates `spring-webscripts` from 8.8 to 8.10
- [Release notes](https://github.com/Alfresco/surf-webscripts/releases)
- [Commits](https://github.com/Alfresco/surf-webscripts/compare/spring-surf-webscripts-parent-8.8...spring-surf-webscripts-parent-8.10)
Updates `spring-webscripts-api` from 8.8 to 8.10
Updates `spring-webscripts` from 8.8 to 8.10
- [Release notes](https://github.com/Alfresco/surf-webscripts/releases)
- [Commits](https://github.com/Alfresco/surf-webscripts/compare/spring-surf-webscripts-parent-8.8...spring-surf-webscripts-parent-8.10)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
(cherry picked from commit 8434f5f06fbd973c24688e5c7ec3d54b8513d858)
MNT-21936 : Audit query Rest API does not return the correct totalItems (#1253)
* MNT-21936 : Audit query Rest API does not return the correct totalItems
Add CountAuditEntryId select, that provides the total number of items for a specific auditApp
Add getAuditEntriesCountByApp(long appId) in AuditDAO interface and its implementation in AuditDAOImpl
Add getAuditEntriesCountByApp(String applicationName) in AuditComponent interface and its implementation in AuditComponentImpl
Add getAuditEntriesCountByApp(String applicationName) in AuditService interface and its implementation in AuditServiceImpl
* MNT-21936 : Added default implementation for getAuditEntriesCountByApp() in AuditComponent AuditService and AuditDAOImpl
(cherry picked from commit 706251642bb5ef6dbb0a059bf6a0cd4f7b72ab43)