Files
ootbee-beedk/beedk-ats-rad-tile/tile.xml

115 lines
3.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://tiles.bluetrainsoftware.com/maven/tiles/1.1.0 https://bitbucket.org/inteligr8/maven-tiles/raw/xsd/src/main/resources/maven-tiles.xsd">
<profiles>
<profile>
<id>rad-ats</id>
<activation>
<property>
<name>rad</name>
</property>
</activation>
<build>
<plugins>
<!-- Using Docker for Alfresco AIO Transform Engine with ATS -->
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${beedk.plugins.fabric8.docker.version}</version>
<executions>
<execution>
<id>run-ats</id>
<phase>process-classes</phase>
<goals><goal>start</goal></goals>
<configuration>
<images>
<image>
<name>alfresco/alfresco-transform-core-aio:${alfresco.transform-aio.version}</name>
<alias>ate-aio</alias>
<run>
<env>
<ACTIVEMQ_URL>nio://${project.artifactId}-acs-mq:61616</ACTIVEMQ_URL>
<FILE_STORE_URL>http://${project.artifactId}-ats-sfs:8099/alfresco/api/-default-/private/sfs/versions/1/file</FILE_STORE_URL>
</env>
<ports>
<port>${alfresco.transform-aio.port}:8090</port>
</ports>
<network>
<mode>custom</mode>
<name>${project.artifactId}</name>
</network>
</run>
</image>
<image>
<name>quay.io/alfresco/alfresco-transform-router:${alfresco.transform-router.version}</name>
<alias>ats-atr</alias>
<run>
<env>
<ACTIVEMQ_URL>nio://${project.artifactId}-acs-mq:61616</ACTIVEMQ_URL>
<FILE_STORE_URL>http://${project.artifactId}-ats-sfs:8099/alfresco/api/-default-/private/sfs/versions/1/file</FILE_STORE_URL>
<CORE_AIO_URL>http://${project.artifactId}-ate-aio:8090</CORE_AIO_URL>
</env>
<ports>
<port>${alfresco.transform-router.port}:8095</port>
</ports>
<network>
<mode>custom</mode>
<name>${project.artifactId}</name>
</network>
</run>
</image>
<image>
<name>quay.io/alfresco/alfresco-shared-file-store:${alfresco.sfs.version}</name>
<alias>ats-sfs</alias>
<network>
<mode>custom</mode>
<name>${project.artifactId}</name>
</network>
<run>
<volumes>
<bind>
<volume>${project.build.directory}/sfs:/tmp/Alfresco/sfs:rw</volume>
</bind>
</volumes>
</run>
</image>
</images>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>default-props</id>
<activation>
<property>
<name>!some-prop-that-never-exists</name>
</property>
</activation>
<properties>
<!-- configurable -->
<alfresco.transform-aio.port>8090</alfresco.transform-aio.port>
<alfresco.transform-router.port>8095</alfresco.transform-router.port>
<!-- versions -->
<alfresco.transform-aio.version>2.3.6</alfresco.transform-aio.version>
<alfresco.transform-router.version>1.3.1</alfresco.transform-router.version>
<alfresco.sfs.version>0.10.0</alfresco.sfs.version>
<!-- configuring beedk-acs-platform-rad-tile -->
<beedk.rad.ats.enabled>true</beedk.rad.ats.enabled>
</properties>
</profile>
</profiles>
<tiles>
<!-- Documentation: https://bitbucket.org/inteligr8/ootbee-beedk/src/stable/beedk-run-tile -->
<tile>@project.groupId@:beedk-run-tile:@project.version@</tile>
</tiles>
</project>