Skip to content

Commit

Permalink
[ALFREDOPS-860] got integration tests working for ACS 23.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pvriel committed Jan 7, 2025
1 parent 644291c commit cc3aa19
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 12 deletions.
7 changes: 7 additions & 0 deletions alfred-telemetry-platform/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ java {
withSourcesJar()
}

compileJava {
options.release = 17
}
compileTestJava {
options.release = 17
}

ext {
alfrescoVersion = '23.1.0'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,18 @@ plugins {
description = "Alfred Telemetry Common module which enables exposure of Metrics using Micrometer"

java {
sourceCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_11
withJavadocJar()
withSourcesJar()
}

compileJava {
options.release = 11
}
compileTestJava {
options.release = 11
}

dependencies {
// Micrometer libraries.
// API dependencies implementations are used by alfred-telemetry-solr4 and alfred-telemetry-solr6
Expand Down
2 changes: 1 addition & 1 deletion alfred-telemetry-solr/alfred-telemetry-solr4/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
description = "Alfred Telemetry Solr4 module which enables exposure of Metrics using Micrometer"

java {
sourceCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_11
}


Expand Down
2 changes: 1 addition & 1 deletion alfred-telemetry-solr/alfred-telemetry-solr6/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
description = "Alfred Telemetry Solr6 module which enables exposure of Metrics using Micrometer"

java {
sourceCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_11
}

apply from: './overload.gradle'
Expand Down
9 changes: 1 addition & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'eu.xenit.docker-compose' version '5.3.2' apply false
id 'eu.xenit.docker-compose' version '5.5.0' apply false
id "be.vbgn.ci-detect" version "0.5.0"
id "org.sonarqube" version "3.5.0.2730"
}
Expand All @@ -20,13 +20,6 @@ allprojects {
apply plugin: 'java'
apply plugin: 'jacoco'

compileJava {
options.release = 17
}
compileTestJava {
options.release = 17
}

jacocoTestReport {
reports {
xml.enabled true
Expand Down
17 changes: 17 additions & 0 deletions integration-tests/alfresco-community-231/overload.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ext {
alfrescoBaseWarBom = 'org.alfresco:acs-community-packaging:23.1.0'
alfrescoBaseWar = 'org.alfresco:content-services-community@war'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:23.1.0'
solrFlavor = 'solr6'

// postgresImage = 'postgres:13'

extraDependencies = [
"io.micrometer:micrometer-core:${micrometerVersion}",
"io.github.mweirauch:micrometer-jvm-extras:${jvmExtrasVersion}",

"io.micrometer:micrometer-registry-graphite:${micrometerVersion}",
"io.micrometer:micrometer-registry-jmx:${micrometerVersion}",
"io.micrometer:micrometer-registry-prometheus:${micrometerVersion}"
]
}
7 changes: 7 additions & 0 deletions integration-tests/alfresco-enterprise-231/overload.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ext {
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:23.1.0'
alfrescoBaseWar = 'org.alfresco:content-services@war'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:23.1'

solrFlavor = 'solr6'
}
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ include ':alfred-telemetry-solr'

include ':integration-tests'

def integrationTestVersions = [];
def integrationTestVersions = ['231'];

if (!hasProperty("community")) {
integrationTestVersions.each { version ->
Expand Down

0 comments on commit cc3aa19

Please sign in to comment.