Change the run script to use M2_HOME environment variable if it is
set to locate the mvn executable. If it is not set, then the script
uses a plain mvn command. So if the M2_HOME env variable is not set,
then the mvn executable must be in the path.
Add a new test profile named enterprise-61-tests to set the
properties required to use ACS 6.1 enterprise jars and docker
images in the integration tests.
Add a non persistent localhost messaging broker url to avoid
ACS 6.1 enterprise to get stuck waiting for the ActiveMQ service
that it is not configured in the SDK generated projects.
A new documentation article will be created to show how to configure
the transformation service with docker for ACS 6.1 enterprise.
From Java 9, the JDWP socket connector accept only local connections by default.
See: http://www.oracle.com/technetwork/java/javase/9-notes-3745703.html#JDK-8041435
So, to enable debug connections from outside, we needd to specify 0.0.0.0:8888 as
address in the CATALINA_OPTS of the ACS and share containers. This solution is
valid for both Java 8 and Java 11.
Add new profiles activated by the jdk version in order to compile
the source code for Java 8 or Java 11 depending on the target platform.
For ACS 6.0 it should be used JDK 8-10, for ACS 6.1 it should be used
JDK 11.
New approach for the execution of the ITs for the archetypes. It uses the
maven verifier component to generate the project from the archetype and
afterwards execute the required goal/s and check the results.
This approach works properly in windows in contrast to the default archetypes
ITs mechanism, which failed executing the runner script.
Add a couple of profiles for archetypes integration tests.
+ docker-toolbox -> Sets the java system property with the ACS endpoint.
+ enterprise-60-tests -> Sets the properties to use the 6.0 enterprise jars
and docker images in the integration tests.
Refactor the AIO project integration tests to take into account the system
property added to set the ACS endpoint in case it is required (docker toolbox).
Modify the docker volume names to be dependant of the name of
the project. This way, we can avoid issues with docker volume
name clashes with other projects that were generated with the
SDK.
Fix the integration tests for the archetypes and update the version
to ACS 6. The integration tests must be enhanced to enable more checks
and not only the packaging of the created project without any test
execution.
Change the platform project to add the required configuration to execute it
as an orchestrated docker environment that includes ACS (optional), Share,
PostgreSQL and ASS. This will replace the use of the Alfresco Maven Plugin.
New bash scripts has been added to manage the docker environment.
A new docker-compose file configure the docker environment.
All the unnecessary files and configuration have been removed from the archetype.