ATS-400 : Update Readme files (#29)

This commit is contained in:
CezarLeahu 2019-05-22 11:49:35 +03:00 committed by GitHub
parent f3d25c4347
commit 8ad654e037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 53 additions and 22 deletions

View File

@ -1,31 +1,61 @@
# Project that generates Docker images to perform ACS transformations ## Alfresco Transform Core
[![Build Status](https://travis-ci.com/Alfresco/alfresco-transform-core.svg?branch=master)](https://travis-ci.com/Alfresco/alfresco-transform-core)
## Sub-projects Contains the common transformer (T-Engine) code, plus a few actual implementations.
* `alfresco-transformer-base` - contains code that is common to all the transformers. This includes ### Sub-projects
the streaming of content to and from the docker images. See the sub-project's
[README](https://git.alfresco.com/Repository/alfresco-docker-transformers/tree/master/alfresco-transformer-base).
* Each `alfresco-docker-<name>` - contains two sub-projects. One builds an executable jar to communicate with the
Alfresco repository and another to create a Docker image that includes the jar and any required
executables.
## Building and testing * `alfresco-transformer-base` - library packaged as a jar file which contains code that is common
to all the transformers; see the sub-project's
[README](https://github.com/Alfresco/alfresco-transform-core/tree/master/alfresco-transformer-base)
* `alfresco-docker-<name>` - multiple T-Engines; each one of them builds both a SpringBoot fat jar
and a Docker image
### Building and testing
The project can be built by running the Maven command: The project can be built by running the Maven command:
```bash
mvn clean install -Plocal
```
> The `local` Maven profile builds local Docker images for each T-Engine.
~~~ ### Artifacts
mvn clean install
~~~
The build plan in Bamboo is PLAT-TRANS #### Maven
The artifacts can be obtained by:
* downloading from [Alfresco repository](https://artifacts.alfresco.com/nexus/content/groups/public)
* getting as Maven dependency by adding the dependency to your pom file:
```xml
<dependency>
<groupId>org.alfresco</groupId>
<artifactId>alfresco-transformer-base</artifactId>
<version>version</version>
</dependency>
```
and Alfresco Maven repository:
```xml
<repository>
<id>alfresco-maven-repo</id>
<url>https://artifacts.alfresco.com/nexus/content/groups/public</url>
</repository>
```
## Contributing guide #### Docker
The core T-Engine images are available on Docker Hub:
* [alfresco/alfresco-imagemagick](https://hub.docker.com/r/alfresco/alfresco-imagemagick)
* [alfresco/alfresco-pdf-renderer](https://hub.docker.com/r/alfresco/alfresco-pdf-renderer)
* [alfresco/alfresco-libreoffice](https://hub.docker.com/r/alfresco/alfresco-libreoffice)
* [alfresco/alfresco-tika](https://hub.docker.com/r/alfresco/alfresco-tika)
Please use [this guide](https://github.com/Alfresco/alfresco-jodconverter/blob/master/CONTRIBUTING.md) to make a ### Release Process
contribution to the project.
## Release Process
For a complete walk-through check out the For a complete walk-through check out the
[build-and-release.MD](https://github.com/Alfresco/alfresco-transform-core/tree/master/docs/build-and-release.md) [build-and-release.MD](https://github.com/Alfresco/alfresco-transform-core/tree/master/docs/build-and-release.md)
under the `docs` folder. under the `docs` folder.
### Contributing guide
Please use [this guide](https://github.com/Alfresco/alfresco-repository/blob/master/CONTRIBUTING.md)
to make a contribution to the project.

View File

@ -221,9 +221,10 @@ and the Alfresco Maven repository:
</repository> </repository>
~~~ ~~~
The build plan in Bamboo is PLAT-TB The build plan is available in [TravisCI](https://travis-ci.com/Alfresco/alfresco-transform-core).
## Contributing guide ## Contributing guide
Please use [this guide](https://github.com/Alfresco/alfresco-jodconverter/blob/master/CONTRIBUTING.md) to make a Please use [this guide](https://github.com/Alfresco/alfresco-repository/blob/master/CONTRIBUTING.md)
contribution to the project. to make a contribution to the project.