added extra hosts to RAD/IT tiles

This commit is contained in:
2025-05-05 11:01:18 -04:00
parent 52f237e575
commit 4de14efa3f
13 changed files with 55 additions and 6 deletions

View File

@@ -88,7 +88,7 @@
<artifactId>docker-maven-plugin</artifactId>
<executions>
<execution>
<id>run-aps</id>
<id>run-aps-app</id>
<phase>process-test-classes</phase>
<goals><goal>start</goal></goals>
<configuration>
@@ -122,6 +122,7 @@
<CATALINA_OPTS>--add-opens java.base/java.net=ALL-UNNAMED \
-Djava.awt.headless=true \
-Ddatasource.driver=org.postgresql.Driver -Ddatasource.url=jdbc:postgresql://${project.artifactId}-aps-db:5432/activiti \
-Dhibernate.dialect=org.hibernate.dialect.PostgreSQLDialect \
-Djavascript.secure-scripting.enabled=false -Djavascript.secure-scripting.enable-class-whitelisting=false \
-Dbeans.whitelisting.enabled=false \
-Del.whitelisting.enabled=false \
@@ -140,6 +141,9 @@
<mode>custom</mode>
<name>${project.artifactId}</name>
</network>
<extraHosts>
<host>host.docker.internal:host-gateway</host>
</extraHosts>
<volumes>
<bind>
<volume>${aps.license.directory}:/root/.activiti/enterprise-license:ro</volume>
@@ -153,9 +157,9 @@
</volumes>
<wait>
<http>
<url>http://admin%40app.activiti.com:admin@localhost:${aps.port}/activiti-app/api/management/engine</url>
<url>http://localhost:${aps.port}/activiti-app</url>
<method>GET</method>
<status>200</status>
<status>200..399</status>
</http>
<time>${aps.timeout}</time>
</wait>
@@ -212,8 +216,8 @@
<!-- versions -->
<aps-postgres.version>12</aps-postgres.version>
<aps.version>2.4.6</aps.version>
<tomcat-rad.version>9-2.2</tomcat-rad.version>
<aps.version>25.1.1</aps.version>
<tomcat-rad.version>10-2.2</tomcat-rad.version>
<!-- results -->
<project.build.warFile>${project.build.warDirectory}/${aps.war.artifactId}-${aps.war.version}.war</project.build.warFile>