diff --git a/.travis.yml b/.travis.yml
index 798ccdbfd4..285af17cf4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,6 +28,7 @@ env:
global:
- TAS_SCRIPTS=../alfresco-community-repo/packaging/tests/scripts
- TAS_ENVIRONMENT=./packaging/tests/environment
+ - LOG_WARN="-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
stages:
- name: test
@@ -278,9 +279,28 @@ jobs:
- ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8082/alfresco"
script: travis_wait 30 mvn -B install -f packaging/tests/tas-integration/pom.xml -Pall-tas-tests -Denvironment=default -DrunBugs=false
- - name: "AGS Unit & Integration Tests"
- if: branch = master OR commit_message =~ /\[ags\]/
- script: travis_retry travis_wait mvn -B verify -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -Pstart-db -f amps/ags/pom.xml -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
+ - name: "AGS Unit & Integration Tests (PostgreSQL)"
+ if: branch =~ /(release\/.*$|master)/ OR commit_message =~ /\[ags\]/
+ script: travis_retry travis_wait 80 mvn -B verify -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -Pstart-postgres -f amps/ags/pom.xml ${LOG_WARN}
+
+ - name: "AGS Unit & Integration Tests (MySQL) "
+ if: branch =~ /(release\/.*$|master)/ OR commit_message =~ /\[ags on MySQL\]/
+ script: travis_retry travis_wait 80 mvn -B verify -Dmaven.javadoc.skip=true -Dmaven.source.skip=true -Pstart-mysql -f amps/ags/pom.xml ${LOG_WARN}
+
+ - name: "AGS Community Rest API Tests"
+ if: branch =~ /(release\/.*$|master)/ OR commit_message =~ /\[ags\]/
+ addons:
+ artifacts:
+ paths:
+ - ./amps/ags/rm-automation/rm-automation-community-rest-api/target/reports/rm-automation-community-rest-api.log
+ - alfresco.log
+ - solr.log
+ target_paths: ${TRAVIS_BUILD_NUMBER}/${TRAVIS_JOB_NUMBER}
+ before_script:
+ - ${TAS_SCRIPTS}/start-compose.sh ./amps/ags/rm-community/rm-community-repo/docker-compose.yml
+ - ${TAS_SCRIPTS}/wait-for-alfresco-start.sh "http://localhost:8080/alfresco"
+ script: travis_wait 40 mvn -B test -pl :alfresco-governance-services-automation-community-rest-api -Dskip.automationtests=false
+ after_script: bash amps/ags/travis/scripts/getLogs.sh
- name: "Push to Nexus"
stage: release
diff --git a/amps/ags/pom.xml b/amps/ags/pom.xml
index 64d1c92d79..8bfa7f0618 100644
--- a/amps/ags/pom.xml
+++ b/amps/ags/pom.xml
@@ -29,7 +29,6 @@
0.0
- 5.15.86161656723.7.0
@@ -53,12 +52,6 @@
2.12.10.34.11.10.19
- 42.2.16
- 5432
- 5.1.40
- 3306
-
- 5431UTF-8UTF-8
@@ -112,7 +105,7 @@
mysqlmysql-connector-java
- ${mysql.version}
+ ${dependency.mysql.version}
diff --git a/amps/ags/rm-automation/pom.xml b/amps/ags/rm-automation/pom.xml
index 43def161a3..4ade32c99c 100644
--- a/amps/ags/rm-automation/pom.xml
+++ b/amps/ags/rm-automation/pom.xml
@@ -27,22 +27,6 @@
-
- maven-antrun-plugin
-
-
- default-cli
-
-
- Stopping Alfresco...
-
-
-
-
-
-
-
- maven-surefire-plugin
diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml
index a012644fcc..896d7a3b1c 100644
--- a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml
+++ b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml
@@ -12,8 +12,6 @@
false
- alfresco-governance-services-community-share
- alfresco-governance-services-community-repo2.0.02.7.9.1
diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/requests/gscore/api/RMSiteAPI.java b/amps/ags/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/requests/gscore/api/RMSiteAPI.java
index a96e450030..383a93cfde 100644
--- a/amps/ags/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/requests/gscore/api/RMSiteAPI.java
+++ b/amps/ags/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/requests/gscore/api/RMSiteAPI.java
@@ -81,7 +81,7 @@ public class RMSiteAPI extends RMModelRequest
/**
* Create the RM site
*
- * @param rmSite The properties of the rm site to be created
+ * @param rmSiteModel The properties of the rm site to be created
* @return The {@link RMSite} with the given properties
* @throws RuntimeException for the following cases:
*
@@ -124,7 +124,7 @@ public class RMSiteAPI extends RMModelRequest
/**
* Update RM site
*
- * @param rmSiteProperties The properties to be updated
+ * @param rmSiteModel The properties to be updated
* @return The updated {@link RMSite}
* @throws RuntimeException for the following cases:
*