mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-01 14:41:46 +00:00
* [MNT-21766]: Significant degradation of performance as file and site count increase (#1217) - Added the following indexes on alf_transaction: idx_alf_txn_ctms_sc, cols (commit_time_ms) idx_alf_txn_id_ctms, cols (id, commit_time_ms) - Added the following indexes on alf_node: idx_alf_node_ver, cols (version) idx_alf_node_txn, cols (transaction_id) - Created patch patch.db-V6.3-add-indexes-node-transaction - Updated version.schema to 14002 - Added system property system.new-node-transaction-indexes.ignored, set as true by default to not apply the patch automatically - Created the MySQL update dbscripts to add the new indexes - and also drop and recreate the pre-existing index idx_alf_txn_ctms on alf_transaction that was inconsistent with the other DBMS: was indexing only commit_time_ms when on all other DBMS index idx_alf_txn_ctms was on (commit_time_ms, id) - Created the Postgres update dbscripts to add the new indexes (cherry picked from commit d70746f63a6e6a2154d2e37c577955a17c42256e) * Change schema upgrade from to 13005..13006 on patch apply * Fixed merge from cherry pick, missing colon (cherry picked from commit 73f94fc5ca0d2ea322d12a59cf3ae980ef94bf1c)
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.