alandavis bebd04f49e REPO-4329 Configure Custom Renditions (#537)
Break done of changes:
-    Removed rendition definition spring beans and created 0100-baseRenditions.json. Changes are picked up periodically by the running system.
-    Refactored TransformServiceRegistryImpl to extract ConfigFileFinder to reads json from resources, files or directories.
 -   Refactored TransformServiceRegistryImpl to extract ConfigScheduler to periodically reads config data.
 -   Used ConfigFileFinder and ConfigScheduler in RenditionDefinition2Impl to read rendition defs.
 -   Removed the need for a current 'Data' parameter to be passed to register methods when adding transforms or renditions.
 -   Changes in test classes of AbstractRenditionIntegrationTests to force the config to be read once before each test, as tests were sometimes not getting the correct config due to scheduling.
2019-08-02 17:46:33 +01:00
2018-11-07 15:37:15 +00:00
2017-08-17 13:35:59 +01:00
2018-12-17 17:53:15 +00:00

Alfresco Repository

Build Status

Repository is a library packaged as a jar file which is part of Alfresco Content Services Repository. The library contains the following:

  • DAOs and SQL scripts
  • Various Service implementations
  • Utility classes

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=SomeRepoTest -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-repository</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.

Description
Community Content Service Repository
Readme 435 MiB
Languages
Java 96.2%
Fluent 1.1%
JavaScript 1%
HTML 0.5%
FreeMarker 0.4%
Other 0.6%