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-2365 Ensure we run license reporting against all submodules by default.
* Fix a couple of typos in comments.
* ACS-2365 Ignore all internal libraries.
* ACS-2303 Add text of licenses for libraries used by acs-packaging.
* ACS-2365 Use the latest third party license reporting settings.
* ACS-2358 Add license text for Brotli dec.
* ACS-2361 The Bouncy Castle license is exactly the MIT license.
* ACS-2363 Add OGC license for geoapi-3.0.1.jar.
* ACS-2365 Ensure we use the same version of the license plugin throughout the project.
Also remove failing; on warnings.
* 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.
* T-Engines config need to be combined in the same predefined order in the all-in-one transformer,
T-Router and the Content Repository with individual T-Engines.
`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.
* Restored the ability to register dynamic messages on bootstrap
* Added unit tests on bootstrap to verify if the dynamic messages are registered on bootstrap
* Added unit tests for the Repo Admin Console regarding registering dynamic messages and classpath files
* ACS-2147: Adding missing ContentStore implementation, switching some logging
to trace.
* ACS-2147: Renaming getObjectStorageProperties to getStorageProperties
* [maven-release-plugin][skip ci] prepare release 14.20
* [maven-release-plugin][skip ci] prepare for next development iteration
* Fix/mnt 21506 sanitation create people (#756)
* MNT-21506: sanitize username on nodeBrowser Repo
* [maven-release-plugin][skip ci] prepare release 14.21
* [maven-release-plugin][skip ci] prepare for next development iteration
* ACS-2148: Adding get StorageObjectProps to ContentService (#773)
* ACS-2148: Adding get StorageObjectProps to ContentService and implementation.
* ACS-2148: Adding propertyQName param to get storage property method.
* ACS-2148: Security config for added method.
* ACS-2148: Renaming getObjectStorageProperties to getStorageProperties
* ACS-2148: Javadoc fix
* ACS-2148: Fixing security context after method renaming.
* ACS-2148: ContentService with new method names.
* ACS-2147: Adding missing ContentStore implementation, switching some logging
to trace.
* ACS-2147: Renaming getObjectStorageProperties to getStorageProperties
* ACS-2148: ContentService with new method names.
* ACS-2148: Small fixes after code review.
* ACS-2147: initial idea for adding storage properties to ContentStore.
* ACS-2147: adding implementations to ContentStore children + some static analysis cleanup.
* ACS-2147: adding javadoc and small fixes to ObjectStorageProps.
* License header update
Co-authored-by: David Edwards <david.edwards@alfresco.com>
* License header update
Co-authored-by: David Edwards <david.edwards@alfresco.com>
* ACS-2147: initial idea for adding storage properties to ContentStore.
* ACS-2147: adding implementations to ContentStore children + some static analysis cleanup.
* ACS-2147: adding javadoc and small fixes to ObjectStorageProps.
* License header update
Co-authored-by: David Edwards <david.edwards@alfresco.com>
* License header update
Co-authored-by: David Edwards <david.edwards@alfresco.com>
* ACS-2147: Adding unit tests and changes after first round of code review.
* ACS-2147: initial idea for adding storage properties to ContentStore.
* ACS-2147: adding implementations to ContentStore children + some static analysis cleanup.
* ACS-2147: adding javadoc and small fixes to ObjectStorageProps.
* License header update
Co-authored-by: David Edwards <david.edwards@alfresco.com>
* License header update
Co-authored-by: David Edwards <david.edwards@alfresco.com>
* ACS-2147: Adding unit tests and changes after first round of code review.
* ACS-2147: adding implementations to ContentStore children + some static analysis cleanup.
* License header update
Co-authored-by: David Edwards <david.edwards@alfresco.com>
* ACS-2147: Fixes after reverting some 'boy scout' refactor.
* ACS-2147: Rephrasing Alfresco-derived storage properties.
* ACS-2147: Reverting some 'boy scout' refactor.
* ACS-2147: Renaming enum values.
* ACS-2147: Removing wildcard import.
Co-authored-by: David Edwards <david.edwards@alfresco.com>
* ACS-2064 ContentStore.java to require mimetype
- Updates the ContentStore interface to also require a mimetype, deprecates old method signatures
- Original interface methods maintained so code should be backwards compatible
- Implementing classes updated to reflect changes
* Change isUnfiltered to protected so we can extend it in enterprise
* Added test method to be able to do a cmis query test
Original commit in governance-services: e4e3235328
if:(branch =~ /(release\/.*$|master)/ AND commit_message !~ /\[skip db\]/ AND type != pull_request) OR commit_message =~ /\[db\]/ OR commit_message =~ /\[latest db\]/
# We run tests on the latest version of MariaDB on pullrequests plus the normal master and release branches - ignored on feature branches
if:(branch =~ /(release\/.*$|master)/ AND commit_message !~ /\[skip db\]/ ) OR commit_message =~ /\[db\]/ OR commit_message =~ /\[latest db\]/
if:(branch =~ /(release\/.*$|master)/ AND commit_message !~ /\[skip db\]/ AND type != pull_request) OR commit_message =~ /\[db\]/ OR commit_message =~ /\[latest db\]/
# We run tests on the latest version of MySQL on pullrequests plus the normal master and release branches - ignored on feature branches
if:(branch =~ /(release\/.*$|master)/ AND commit_message !~ /\[skip db\]/ ) OR commit_message =~ /\[db\]/ OR commit_message =~ /\[latest db\]/
This project contains the bulk of the [Alfresco Content Services Repository](https://community.alfresco.com/docs/DOC-6385-project-overview-repository) code.
To make the development process simpler, it brings together code historically in `alfresco-core`,
`alfresco-data-madel`, `alfresco-repository`, `alfresco-remote-api` and repository specific
tests and war file creation from `acs-community-packaging`. They exist as sub projects within the Maven Reactor and still
create the same artifacts.
#### Alfresco Core
Alfresco Core is a library packaged as a jar file which contains the following:
@@ -16,8 +9,6 @@ Alfresco Core is a library packaged as a jar file which contains the following:
* Canned queries interface and supporting classes
* Generic encryption supporting classes
Version 7 of the library uses Spring 5, Quartz 2.3 and does not have Hibernate dependency.
#### Alfresco Data Model
Data model is a library packaged as a jar file which contains the following:
* Dictionary, Repository and Search Services interfaces
@@ -31,14 +22,6 @@ Repository is a library packaged as a jar file which contains the following:
* Various Service implementations
* Utility classes
Tests are combined into test classes split by test type or Spring application context used in the test, see classes
in _src/test/java/org/alfresco_. All of these classes as well as individual tests can be run by specifying the test
class name and a set of DB connection properties. Check the travis.yml file for docker images that should be started
to provide a suitable test environment. For example:
~~~
mvn clean test -Dtest=SomeRepoTest -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql:alfresco -Ddb.username=alfresco -Ddb.password=alfresco
~~~
#### Alfresco Remote API
Remote API is a library packaged as a jar file which contains the following:
@@ -46,13 +29,10 @@ Remote API is a library packaged as a jar file which contains the following:
* WebScript implementations including [V1 REST APIs](https://community.alfresco.com/community/ecm/blog/2017/05/02/v1-rest-api-10-things-you-should-know)
Like the `alfresco-repository` tests are combined in test classes split by test type or Spring application context used
in the test.
#### Artifacts
The artifacts can be obtained by:
* downloading from [Alfresco maven repository](https://artifacts.alfresco.com/nexus/content/groups/public)
* getting as Maven dependency by adding the dependency to your pom file:
* as Maven dependency by adding the dependency to your pom file:
~~~
<dependency>
<groupId>org.alfresco</groupId>
@@ -94,40 +74,24 @@ and Alfresco maven repository:
~~~
The SNAPSHOT versions of the artifact are not published.
All current source versions are heldin github. Historic versions can be found in [Alfresco SVN](https://svn.alfresco.com/repos/alfresco-open-mirror/services/alfresco-core/)
### Contributing guide
Please use [this guide](CONTRIBUTING.md) to make a contribution to the project.
## Setting up your development environment
Although it is possible to work on individual github projects, we recommend working on the `alfresco-community-repo`
and `acs-community-packaging` in a single Intellij IDEA project. They depend on each other and typically you will
want to make changes to both of them if you are changing the repository code.
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.