Skip to content

Commit

Permalink
XENOPS-1128 add check for content stora fetching file to health check
Browse files Browse the repository at this point in the history
  • Loading branch information
hechmi-dammak-xenit committed Dec 20, 2023
1 parent 9bde6d3 commit 484e643
Show file tree
Hide file tree
Showing 16 changed files with 39 additions and 34 deletions.
2 changes: 1 addition & 1 deletion integration-tests/alfresco-community-61/overload.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ext {
alfrescoBaseWar = 'org.alfresco:content-services-community:6.1.2-ga@war'
alfrescoBaseImage = 'xenit/alfresco-repository-community:6.1.2-ga'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:6.1'

postgresImage = 'postgres:10.1'
}
2 changes: 1 addition & 1 deletion integration-tests/alfresco-community-62/overload.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ext {
alfrescoBaseWar = 'org.alfresco:content-services-community:6.2.0-ga@war'
alfrescoBaseImage = 'xenit/alfresco-repository-community:6.2.0-ga'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:6.2'

postgresImage = 'postgres:10.1'
}
2 changes: 1 addition & 1 deletion integration-tests/alfresco-community-70/overload.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ext {
alfrescoBaseWarBom = 'org.alfresco:acs-community-packaging:7.0.0'
alfrescoBaseWar = 'org.alfresco:content-services-community@war'

alfrescoBaseImage = 'xenit/alfresco-repository-community:7.0.0'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:7.0'

postgresImage = 'postgres:13.1'
}
2 changes: 1 addition & 1 deletion integration-tests/alfresco-community-71/overload.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ext {
alfrescoBaseWarBom = 'org.alfresco:acs-community-packaging:7.1.1'
alfrescoBaseWar = 'org.alfresco:content-services-community@war'

alfrescoBaseImage = 'xenit/alfresco-repository-community:7.1.1'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:7.1'

postgresImage = 'postgres:13'
}
4 changes: 2 additions & 2 deletions integration-tests/alfresco-community-72/overload.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ext {
alfrescoBaseWarBom = 'org.alfresco:acs-community-packaging:7.2.0'
alfrescoBaseWarBom = 'org.alfresco:acs-community-packaging:7.2.1'
alfrescoBaseWar = 'org.alfresco:content-services-community@war'

alfrescoBaseImage = 'xenit/alfresco-repository-community:7.2.0'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:7.2'

postgresImage = 'postgres:13'
}
2 changes: 1 addition & 1 deletion integration-tests/alfresco-community-73/overload.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ext {
alfrescoBaseWarBom = 'org.alfresco:acs-community-packaging:7.3.0'
alfrescoBaseWar = 'org.alfresco:content-services-community@war'

alfrescoBaseImage = 'xenit/alfresco-repository-community:7.3.0'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:7.3'

postgresImage = 'postgres:13'
}
8 changes: 8 additions & 0 deletions integration-tests/alfresco-community-74/overload.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ext {
alfrescoBaseWarBom = 'org.alfresco:acs-community-packaging:7.4.0.1'
alfrescoBaseWar = 'org.alfresco:content-services-community@war'

alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:7.4'

postgresImage = 'postgres:13'
}
2 changes: 1 addition & 1 deletion integration-tests/alfresco-enterprise-61/overload.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:6.1.1.11'
alfrescoBaseWar = 'org.alfresco:content-services@war'
alfrescoBaseImage = 'docker.xenit.eu/private/alfresco-enterprise/alfresco-repository-enterprise:6.1.1'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:6.1'

postgresImage = 'postgres:10.1'
}
4 changes: 2 additions & 2 deletions integration-tests/alfresco-enterprise-62/overload.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ext {
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:6.2.2.19'
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:6.2.2.25'
alfrescoBaseWar = 'org.alfresco:content-services@war'
alfrescoBaseImage = 'docker.xenit.eu/private/alfresco-enterprise/alfresco-repository-enterprise:6.2.2.19'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:6.2'

postgresImage = 'postgres:10.1'
}
4 changes: 2 additions & 2 deletions integration-tests/alfresco-enterprise-70/overload.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ext {
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:7.0.1.3'
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:7.0.1.9'
alfrescoBaseWar = 'org.alfresco:content-services@war'

alfrescoBaseImage = 'docker.xenit.eu/private/alfresco-enterprise/alfresco-repository-enterprise:7.0.1.3'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:7.0'

postgresImage = 'postgres:13.1'
}
4 changes: 2 additions & 2 deletions integration-tests/alfresco-enterprise-71/overload.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ext {
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:7.1.0'
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:7.1.0.6'
alfrescoBaseWar = 'org.alfresco:content-services@war'

alfrescoBaseImage = 'docker.xenit.eu/private/alfresco-enterprise/alfresco-repository-enterprise:7.1.0'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:7.1'

postgresImage = 'postgres:13'
}
4 changes: 2 additions & 2 deletions integration-tests/alfresco-enterprise-72/overload.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ext {
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:7.2.0'
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:7.2.1.13'
alfrescoBaseWar = 'org.alfresco:content-services@war'

alfrescoBaseImage = 'docker.xenit.eu/private/alfresco-enterprise/alfresco-repository-enterprise:7.2.0'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:7.2'

postgresImage = 'postgres:13'
}
4 changes: 2 additions & 2 deletions integration-tests/alfresco-enterprise-73/overload.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ext {
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:7.3.0'
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:7.3.1.2'
alfrescoBaseWar = 'org.alfresco:content-services@war'

alfrescoBaseImage = 'docker.xenit.eu/private/alfresco-enterprise/alfresco-repository-enterprise:7.3.0'
alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:7.3'

postgresImage = 'postgres:13'
}
8 changes: 8 additions & 0 deletions integration-tests/alfresco-enterprise-74/overload.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ext {
alfrescoBaseWarBom = 'org.alfresco:acs-packaging:7.4.1.3'
alfrescoBaseWar = 'org.alfresco:content-services@war'

alfrescoBaseImage = 'xenit/alfresco-repository-skeleton:7.4'

postgresImage = 'postgres:13'
}
19 changes: 4 additions & 15 deletions integration-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ test {

subprojects {
apply plugin: 'java'
apply plugin: 'eu.xenit.docker-alfresco'
apply plugin: 'eu.xenit.docker-compose.auto'

def alfrescoVersion = project.name[-2..-1]
apply from: "${project.projectDir}/overload.gradle"
Expand All @@ -60,13 +62,6 @@ subprojects {
maxParallelForks = Runtime.runtime.availableProcessors().intdiv(2) ?: 1
}

apply plugin: 'eu.xenit.docker-alfresco'
apply plugin: 'eu.xenit.docker-compose.auto'

configurations {
sharedLib
}

dependencies {
if (project.hasProperty("alfrescoBaseWarBom")) {
baseAlfrescoWar platform("${alfrescoBaseWarBom}")
Expand All @@ -75,21 +70,15 @@ subprojects {
}
baseAlfrescoWar "${alfrescoBaseWar}"
alfrescoAmp project(path: ":alfresco-actuators", configuration: "amp")
if (alfrescoBaseImage.contains("alfresco-repository-skeleton")) {
sharedLib 'org.postgresql:postgresql:42.2.6'
}
alfrescoSM 'org.postgresql:postgresql:42.2.6'
alfrescoSM "org.orderofthebee.support-tools:support-tools-repo:1.2.0.0"


}

dockerAlfresco {
baseImage = "${alfrescoBaseImage}"
leanImage = !alfrescoBaseImage.contains("alfresco-repository-skeleton")
}

createDockerFile {
smartCopy(configurations.sharedLib, '${CATALINA_HOME}/shared/lib/')
leanImage = false
}

dockerCompose {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ rootProject.name = 'alfresco-actuators'
include ':alfresco-actuators'

include ':integration-tests'
["61", "62", "70", "71", "72", "73"].each { version ->
["61", "62", "70", "71", "72", "73", "74"].each { version ->
include ":integration-tests:alfresco-community-${version}"
include ":integration-tests:alfresco-enterprise-${version}"
}

0 comments on commit 484e643

Please sign in to comment.