Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ded00c1
enabling prometheus metrics
fmendezh May 6, 2025
c3b8e03
Merge branch 'master' into dev
fmendezh Jul 18, 2025
c787855
supporting multiple env with different release/snapshot versions and …
fmendezh Jul 29, 2025
51bca01
upgrade to es9 java 17 and spring boot 3
ahakanzn Jul 31, 2025
42a3896
moving the compiler plugin version to propeties and using java.versio…
fmendezh Jul 31, 2025
7192c3f
Merge pull request #34 from gbif/upgrade/elasticsearch-9
fmendezh Jul 31, 2025
c2506e5
updating contentful libraries
fmendezh Aug 28, 2025
bdc6180
use low level RestClient for ES healthcheck
ahakanzn Nov 19, 2025
09060e5
Merge pull request #35 from gbif/upgrade/elasticsearch-9
ahakanzn Nov 19, 2025
887b919
support multiples es hosts
ahakanzn Dec 4, 2025
5f9a78b
Merge pull request #36 from gbif/upgrade/elasticsearch-9
ahakanzn Dec 4, 2025
ff4520e
upgrading spring and library versions
fmendezh Dec 10, 2025
417ce53
null check for SyncResource
ahakanzn Dec 11, 2025
ade2d30
using 3.5.7 to avoid issues with springdocs
fmendezh Dec 11, 2025
a2bc810
Merge remote-tracking branch 'origin/dev' into dev
fmendezh Dec 11, 2025
71a1e70
reverting spring to 3.5.8
fmendezh Dec 11, 2025
a7239e5
using logstash-logback-encoder 8.1, 9 requires jackson 3
fmendezh Dec 18, 2025
f207f5a
Merge branch 'master' into dev
ahakanzn Jan 5, 2026
f2dcc26
bump common-ws and content-crawler versions
ahakanzn Jan 8, 2026
54bd0a2
fix format action
ahakanzn Jan 8, 2026
da3c2b6
add resilience4j-spring-boot2 version
ahakanzn Jan 8, 2026
22ba794
fix version
ahakanzn Jan 8, 2026
eed5afa
Merge branch 'refs/heads/master' into dev
ahakanzn Jan 8, 2026
c194d2a
adding jenkins job new parameters version and classifier
fmendezh Jan 8, 2026
ba5dc20
Merge remote-tracking branch 'origin/dev' into dev
fmendezh Jan 8, 2026
cb85afd
Merge branch 'refs/heads/master' into dev
ahakanzn Jan 14, 2026
a29613d
content-crawler version bumped
ahakanzn Jan 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<main.basedir>${project.basedir}</main.basedir>
<start-class>org.gbif.content.ContentWsApplication</start-class>

<content-crawler.version>1.0.1</content-crawler.version>
<content-crawler.version>1.0.2</content-crawler.version>
<gbif-common-ws.version>2.1.1</gbif-common-ws.version>

<spring-boot.version>3.5.8</spring-boot.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ public class SynchronizationProperties {
*/
private String command = "contentful-crawl";

/**
* Classifier parameter of the Jenkins sync job.
*/
private String classifier = "";

/**
* Version parameter of the Jenkins sync job.
*/
private String version = "latest";

private Map<String, EnvironmentConfig> environments;

Expand Down
4 changes: 4 additions & 0 deletions src/main/java/org/gbif/content/service/JenkinsJobClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public class JenkinsJobClient {
public static final String ENV_PARAM = "environment";
public static final String CMD_PARAM = "command";
public static final String REPOSITORY_PARAM = "repository";
public static final String VERSION_PARAM = "version";
public static final String CLASSIFIER_PARAM = "classifier";

private final SynchronizationProperties syncProperties;

Expand Down Expand Up @@ -83,6 +85,8 @@ public URL buildJenkinsJobUrl(String environment)
.addParameter(CMD_PARAM, syncProperties.getCommand())
.addParameter(REPOSITORY_PARAM, envConfig.getRepository())
.addParameter(ENV_PARAM, environment)
.addParameter(CLASSIFIER_PARAM, syncProperties.getClassifier())
.addParameter(VERSION_PARAM, syncProperties.getVersion())
.build()
.toURL();
}
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,7 @@ content:
token: "ILoveMorten"
command: "contentful-crawl"
jenkinsJobUrl: "http://builds.gbif.org/job/run-content-crawler/buildWithParameters"
version: "LATEST"
classifier: "shaded"
environments:
dev: { "repository": "snapshots", "index": { "host": "http://localhost", "port": "9300", "cluster": "content-cluster" } }