mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-01 14:41:46 +00:00
* SEARCH-2450 Don't expose properties from solr endpoint if the model says not to index them. (#1228) (#1231) (cherry picked from commit 2fea6c9484def402e2bfd7c3717071ff8df69c01) (cherry picked from commit 8d3868c65b46ce572e7d46beef20f7086aa6cf0d) Bump alfresco-greenmail version (cherry picked from commit2f9c2465e1
) MNT-21481: IMAP UID search command errors with French Locale- Only folders showing (#1098) * Bump alfresco-greenmail version and add Integration tests (cherry picked from commitaf3e786121
) REPO-5339 Improve concurrency of SimplePermissionReference (#1189) * REPO-5339 Improve concurrency of SimplePermissionReference * REPO-5339 Change locks to synchronised block * [REPO-5339] Improve concurrency of SimplePermissionReference - Move to ConcurrentHashMap - Capacity set to hold Repo + RM + slight overage for custom permissions - Getting new SimplePermissionReference will not block while getting existing value. - If a new value needs to be added to the Map, it will block when adding - If blocked it will wait, in order, until it can attempt to add - If it was blocked before it will check first if another operation added before adding as an atomic action * [REPO-5339] Improve concurrency of SimplePermissionReference - Simplify getPermissionReference by removing Future * [REPO-5339] Thread Lock detected for AclReadersGet invocations - Add load capacity and concurrency level Co-authored-by: Jared Ottley <jared.ottley@alfresco.com> (cherry picked from commit 0db249511141a4e1a4e5a06989937b4e64d51497) * SEARCH-2363: Escape special characters when serializing ChildAssociationRefs and AssociationRefs objects (#788) (cherry picked from commit 57c2a9ce2fedcfade181bec5f4fa4eda39af786a)
Alfresco Remote API
Remote API is a library packaged as a jar file which is part of Alfresco Content Services Repository. The library contains the following:
- REST API framework
- WebScript implementations including V1 REST APIs
- OpenCMIS implementations
Building and testing
The project can be built by running Maven command:
mvn clean install
The tests are combined in 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, for example:
mvn clean test -Dtest=SomeTest -Ddb.driver=org.postgresql.Driver -Ddb.name=alfresco -Ddb.url=jdbc:postgresql:alfresco -Ddb.username=alfresco -Ddb.password=alfresco
Artifacts
The artifacts can be obtained by:
- downloading from Alfresco repository
- getting as Maven dependency by adding the dependency to your pom file:
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-remote-api</artifactId>
<version>version</version>
</dependency>
and Alfresco Maven repository:
<repository>
<id>alfresco-maven-repo</id>
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
</repository>
The SNAPSHOT version of the artifact is never published.
Contributing guide
Please use this guide to make a contribution to the project.