From 2ae112046c835e3f71172f3b7da364a3576772a1 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 09:26:00 +0200 Subject: [PATCH 01/46] [maven-release-plugin] prepare for next development iteration --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 3c91752..2912cf3 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ codes.thischwa cloudflaredns - 0.5.0 + 0.6.0-SNAPSHOT CloudflareDNS-java 2025 jar @@ -50,7 +50,7 @@ scm:git:https://git.mein-gateway.de/thischwa/CloudflareDNS-java.git scm:git:https://git.mein-gateway.de/thischwa/CloudflareDNS-java.git https://git.mein-gateway.de/thischwa/CloudflareDNS-java - v0.5.0 + HEAD From c095632fa8fd5e1a0fe3eca20b1a5e56dcc45717 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Mon, 7 Sep 2026 07:26:26 +0000 Subject: [PATCH 02/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index 9ff6ffa..fcc8a96 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-09-07 06:51:01 UTC_ +_Generated on 2026-09-07 07:26:26 UTC_ **✅ All tests passed** From 1d2e437322a7d1dc1f325958d35d0979c12ff5f0 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 09:38:09 +0200 Subject: [PATCH 03/46] use force push in publish-report action --- .gitea/actions/publish-report/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/actions/publish-report/action.yml b/.gitea/actions/publish-report/action.yml index 62dcad5..a5c182e 100644 --- a/.gitea/actions/publish-report/action.yml +++ b/.gitea/actions/publish-report/action.yml @@ -125,4 +125,4 @@ runs: git add reports/ git diff --cached --quiet && echo "No changes" && exit 0 git commit -m "ci: update test report [skip ci]" - git push origin ${{ github.ref_name }} + git --force push origin ${{ github.ref_name }} From 9cca1411169aa834cf0d2acc754101264994b560 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 09:43:45 +0200 Subject: [PATCH 04/46] fix: correct force-push syntax in publish-report action --- .gitea/actions/publish-report/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/actions/publish-report/action.yml b/.gitea/actions/publish-report/action.yml index a5c182e..1d7d7a4 100644 --- a/.gitea/actions/publish-report/action.yml +++ b/.gitea/actions/publish-report/action.yml @@ -125,4 +125,4 @@ runs: git add reports/ git diff --cached --quiet && echo "No changes" && exit 0 git commit -m "ci: update test report [skip ci]" - git --force push origin ${{ github.ref_name }} + git push --force origin ${{ github.ref_name }} From 0e119157b35e3314d842930ef752f7f90d5e213f Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Mon, 7 Sep 2026 07:44:25 +0000 Subject: [PATCH 05/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index fcc8a96..490963c 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-09-07 07:26:26 UTC_ +_Generated on 2026-09-07 07:44:24 UTC_ **✅ All tests passed** From 49e3ca474bab349ff80cbeacae6c43b68fbbf1fa Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 16:58:55 +0200 Subject: [PATCH 06/46] add test report link to README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0c18b90..5635142 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![Build and Analyse](https://git.mein-gateway.de/thischwa/CloudflareDNS-java/actions/workflows/build-and-analyse.yml/badge.svg?branch=develop)](https://git.mein-gateway.de/thischwa/CloudflareDNS-java/actions?workflow=build-and-analyse.yml) +[Test report](reports/test.md) + ## Preface This project provides a java client for minimalistic access to the Cloudflare API version 4, which is mainly used for From d738f9feec58dc32f693602f8b724384a9fa0a1d Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Mon, 7 Sep 2026 14:59:28 +0000 Subject: [PATCH 07/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index 490963c..86fa54f 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-09-07 07:44:24 UTC_ +_Generated on 2026-09-07 14:59:28 UTC_ **✅ All tests passed** From 62d1e831789f1dcae2378625275e383893316a0c Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 26 Oct 2026 09:33:57 +0100 Subject: [PATCH 08/46] update dependency and plugin versions in pom.xml --- pom.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 2912cf3..689bf8c 100644 --- a/pom.xml +++ b/pom.xml @@ -36,13 +36,13 @@ false - 3.2.1 + 3.2.4 5.6.2 - 1.18.46 + 1.18.48 2.0.18 - 1.5.38 + 1.6.6 5.14.2 - 5.23.0 + 5.24.0 1.18.20.0 @@ -131,7 +131,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.14.1 + 3.16.0 ${java.version} ${java.version} @@ -220,7 +220,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.5.6 + 3.6.0 @@ -254,7 +254,7 @@ org.apache.maven.plugins maven-jar-plugin - 3.5.0 + 3.5.1 attach-delomboked-sources From 801e911cd1941e4f8e9e7705dea24a2d7d08b420 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Mon, 26 Oct 2026 08:35:35 +0000 Subject: [PATCH 09/46] ci: update test report [skip ci] --- reports/test.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reports/test.md b/reports/test.md index 86fa54f..6f51e4f 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-09-07 14:59:28 UTC_ +_Generated on 2026-10-26 08:35:34 UTC_ **✅ All tests passed** @@ -8,15 +8,15 @@ _Generated on 2026-09-07 14:59:28 UTC_ | | Tests | Passed | Failed | Skipped | |---|---|---|---|---| -| **Total** | 90 | 90 | 0 | 0 | +| **Total** | 105 | 90 | 0 | 15 | ### Details | Status | Suite | Tests | Passed | Failed | Skipped | |---|---|---|---|---|---| | ✅ | codes.thischwa.cf.CfBasicHttpClientTest | 9 | 9 | 0 | 0 | -| ✅ | codes.thischwa.cf.CfClientPenTest | 0 | 0 | 0 | 0 | -| ✅ | codes.thischwa.cf.CfClientTest | 0 | 0 | 0 | 0 | +| ✅ | codes.thischwa.cf.CfClientPenTest | 4 | 0 | 0 | 4 | +| ✅ | codes.thischwa.cf.CfClientTest | 11 | 0 | 0 | 11 | | ✅ | codes.thischwa.cf.CfDnsClientBuilderTest | 16 | 16 | 0 | 0 | | ✅ | codes.thischwa.cf.CfDnsClientMockTest | 16 | 16 | 0 | 0 | | ✅ | codes.thischwa.cf.CfRequestTest | 8 | 8 | 0 | 0 | From 5ccc9998c662c25fb66dd6540c3ce66ae9e631e8 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 26 Oct 2026 09:41:42 +0100 Subject: [PATCH 10/46] update changelog with dependency and plugin updates Co-Authored-By: Claude Opus 5.5 --- changelog.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 2562882..bd6722e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,9 @@ # Changelog -- 0.5.0-SNAPSHOT: +- 0.6.0-SNAPSHOT: + - updated dependencies: jackson 3.2.4, lombok 1.18.48, logback-classic 1.6.6, mockito-junit-jupiter 5.24.0 + - updated maven plugins: maven-compiler-plugin 3.16.0, maven-surefire-plugin 3.6.0, maven-jar-plugin 3.5.1 +- 0.5.0: - moved the project to git.mein-gateway.de - replaced sonarqube with own actions - migrate to jackson 3.x From ba098d4218ef86f95b201c564274d803e2921507 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Mon, 26 Oct 2026 08:43:23 +0000 Subject: [PATCH 11/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index 6f51e4f..f4156af 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-10-26 08:35:34 UTC_ +_Generated on 2026-10-26 08:43:23 UTC_ **✅ All tests passed** From fe574ba68e70b9768f0c99a789d9f5d274b064e5 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Fri, 30 Oct 2026 18:44:51 +0100 Subject: [PATCH 12/46] update dependencies in pom.xml, including jetbrains-annotations and httpclient5 versions --- pom.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 689bf8c..08ef776 100644 --- a/pom.xml +++ b/pom.xml @@ -37,13 +37,14 @@ 3.2.4 - 5.6.2 + 5.6.4 1.18.48 2.0.18 1.6.6 5.14.2 5.24.0 1.18.20.0 + 24.0.1 @@ -102,7 +103,7 @@ org.jetbrains annotations - 26.1.0 + ${jetbrains-annotations.version} compile From 86b0eecf9c66e8a6b037d4c3ed2677957c0f2c76 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Fri, 30 Oct 2026 17:45:29 +0000 Subject: [PATCH 13/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index f4156af..d013dfe 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-10-26 08:43:23 UTC_ +_Generated on 2026-10-30 17:45:29 UTC_ **✅ All tests passed** From da86c5d53522bac2eb2cbb1cc9835a525f27573f Mon Sep 17 00:00:00 2001 From: Thilo Schwarz <2+thischwa@noreply.git.mein-gateway.de> Date: Sun, 12 Jul 2026 18:19:55 +0200 Subject: [PATCH 14/46] Fix missing newline at end of LICENSE file --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 04e0121..67bc242 100644 --- a/LICENSE +++ b/LICENSE @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +SOFTWARE. \ No newline at end of file From 9ace877d07bc1f06ba4419b7bf2030ba752401cd Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Sun, 12 Jul 2026 19:41:43 +0200 Subject: [PATCH 15/46] set Maven compiler source and target to java.version in pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 22799f8..0b87cb4 100644 --- a/pom.xml +++ b/pom.xml @@ -36,11 +36,11 @@ false - 2.22.0 + 2.22.1 5.6.2 1.18.46 2.0.18 - 1.5.37 + 1.5.38 5.14.2 5.23.0 1.18.20.0 From 46aa9c6e06b4ecd484a44ee30d03779dc3fc3d8f Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Tue, 21 Jul 2026 19:33:51 +0200 Subject: [PATCH 16/46] add generation timestamp to JUnit test report --- .gitea/actions/publish-report/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/actions/publish-report/action.yml b/.gitea/actions/publish-report/action.yml index 8755751..4b30555 100644 --- a/.gitea/actions/publish-report/action.yml +++ b/.gitea/actions/publish-report/action.yml @@ -25,6 +25,9 @@ runs: mkdir -p reports python3 - <<'EOF' import glob, xml.etree.ElementTree as ET + from datetime import datetime, timezone + + generated_at = datetime.now(timezone.utc).strftime("%Y-%m-%d %H:%M:%S UTC") # --- JUnit --- files = glob.glob("junit-short/*.xml") @@ -78,6 +81,7 @@ runs: # --- Markdown zusammenbauen --- md = ( "# Test Report\n\n" + f"_Generated on {generated_at}_\n\n" f"**{overall}**\n\n" "## Test Results\n\n" "| | Tests | Passed | Failed | Skipped |\n" From ea267e3a99479f0b1d7cf90a309da0edf6b962b3 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Tue, 21 Jul 2026 17:35:05 +0000 Subject: [PATCH 17/46] ci: update test report [skip ci] --- reports/test.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reports/test.md b/reports/test.md index f9e247d..af224fe 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,5 +1,7 @@ # Test Report +_Generated on 2026-07-21 17:35:05 UTC_ + **✅ All tests passed** ## Test Results From 857103d0d7ff10c7127ba2fbb94ec9ca887b398c Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Wed, 5 Aug 2026 17:02:36 +0200 Subject: [PATCH 18/46] update issue tracker link in pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 0b87cb4..9863de9 100644 --- a/pom.xml +++ b/pom.xml @@ -10,8 +10,8 @@ jar - https://git.mein-gateway.de/thischwa/CloudflareDNS-java/issues - Gitea Issues + https://github.com/th-schwarz/CloudflareDNS-java/issues + GitHub Issues From 926ca60af62118457995bb80038f69edda729f04 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Wed, 5 Aug 2026 15:04:39 +0000 Subject: [PATCH 19/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index af224fe..ee6e6cc 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-07-21 17:35:05 UTC_ +_Generated on 2026-08-05 15:04:39 UTC_ **✅ All tests passed** From 66d0451423856848fcf2ef950637b47d16ba83a5 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Wed, 5 Aug 2026 17:42:04 +0200 Subject: [PATCH 20/46] fix #1 migrate codebase to Jackson 3.x --- changelog.md | 1 + pom.xml | 9 ++------- .../codes/thischwa/cf/CfBasicHttpClient.java | 8 ++++---- src/main/java/codes/thischwa/cf/JsonConf.java | 20 +++++++++---------- .../codes/thischwa/cf/ObjectMapperTest.java | 10 +++++----- 5 files changed, 22 insertions(+), 26 deletions(-) diff --git a/changelog.md b/changelog.md index abac8be..2562882 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,7 @@ - 0.5.0-SNAPSHOT: - moved the project to git.mein-gateway.de - replaced sonarqube with own actions + - migrate to jackson 3.x - 0.4.0: - fixed some paging issues - **Breaking Change**: renamed `client.zone().record()` to `client.zone().getRecord()` diff --git a/pom.xml b/pom.xml index 9863de9..1da4dca 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,7 @@ false - 2.22.1 + 3.2.1 5.6.2 1.18.46 2.0.18 @@ -95,15 +95,10 @@ provided - com.fasterxml.jackson.core + tools.jackson.core jackson-databind ${jackson.version} - - com.fasterxml.jackson.datatype - jackson-datatype-jsr310 - ${jackson.version} - org.jetbrains annotations diff --git a/src/main/java/codes/thischwa/cf/CfBasicHttpClient.java b/src/main/java/codes/thischwa/cf/CfBasicHttpClient.java index 6c8c6a4..d1b4edb 100644 --- a/src/main/java/codes/thischwa/cf/CfBasicHttpClient.java +++ b/src/main/java/codes/thischwa/cf/CfBasicHttpClient.java @@ -1,8 +1,6 @@ package codes.thischwa.cf; import codes.thischwa.cf.model.AbstractResponse; -import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.databind.ObjectMapper; import java.nio.charset.StandardCharsets; import lombok.extern.slf4j.Slf4j; import org.apache.hc.client5.http.classic.methods.HttpDelete; @@ -20,6 +18,8 @@ import org.apache.hc.core5.http.io.entity.EntityUtils; import org.apache.hc.core5.http.io.entity.StringEntity; import org.apache.hc.core5.http.message.BasicClassicHttpRequest; import org.jetbrains.annotations.NotNull; +import tools.jackson.core.JacksonException; +import tools.jackson.databind.ObjectMapper; /** * Abstract base class for creating HTTP clients to interact with the Cloudflare API. Provides @@ -96,7 +96,7 @@ abstract class CfBasicHttpClient { throw new CloudflareApiException( request.getMethod() + " request failed with status code: " + result.statusCode); } - } catch (JsonProcessingException e) { + } catch (JacksonException e) { log.error("JSON parsing error for request to {}", logUri, e); throw new CloudflareApiException("Error processing JSON response", e); } catch (Exception e) { @@ -182,7 +182,7 @@ abstract class CfBasicHttpClient { log.trace("Request methode [{}] payload: {}", request.getMethod(), jsonPayload); request.setEntity(new StringEntity(jsonPayload, ContentType.APPLICATION_JSON)); - } catch (JsonProcessingException e) { + } catch (JacksonException e) { throw new CloudflareApiException("Error serializing JSON payload", e); } } diff --git a/src/main/java/codes/thischwa/cf/JsonConf.java b/src/main/java/codes/thischwa/cf/JsonConf.java index c9ebbd7..5a6201c 100644 --- a/src/main/java/codes/thischwa/cf/JsonConf.java +++ b/src/main/java/codes/thischwa/cf/JsonConf.java @@ -1,10 +1,10 @@ package codes.thischwa.cf; import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.databind.DeserializationFeature; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.databind.PropertyNamingStrategies; -import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; +import tools.jackson.databind.DeserializationFeature; +import tools.jackson.databind.ObjectMapper; +import tools.jackson.databind.PropertyNamingStrategies; +import tools.jackson.databind.json.JsonMapper; /** * The JsonConf class provides a utility method for initializing and configuring a shared @@ -16,11 +16,11 @@ class JsonConf { } static ObjectMapper initObjectMapper() { - ObjectMapper mapper = new ObjectMapper(); - mapper.registerModule(new JavaTimeModule()); - mapper.setDefaultPropertyInclusion(JsonInclude.Include.NON_NULL); - mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); - mapper.setPropertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE); - return mapper; + return JsonMapper.builder() + .changeDefaultPropertyInclusion( + incl -> incl.withValueInclusion(JsonInclude.Include.NON_NULL)) + .disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES) + .propertyNamingStrategy(PropertyNamingStrategies.SNAKE_CASE) + .build(); } } diff --git a/src/test/java/codes/thischwa/cf/ObjectMapperTest.java b/src/test/java/codes/thischwa/cf/ObjectMapperTest.java index 203dda6..529a581 100644 --- a/src/test/java/codes/thischwa/cf/ObjectMapperTest.java +++ b/src/test/java/codes/thischwa/cf/ObjectMapperTest.java @@ -11,18 +11,18 @@ import codes.thischwa.cf.model.RecordMultipleResponse; import codes.thischwa.cf.model.RecordSingleResponse; import codes.thischwa.cf.model.ResponseResultInfo; import codes.thischwa.cf.model.ZoneMultipleResponse; -import com.fasterxml.jackson.databind.ObjectMapper; -import java.io.IOException; import java.io.InputStream; import java.util.List; import org.junit.jupiter.api.Test; +import tools.jackson.core.JacksonException; +import tools.jackson.databind.ObjectMapper; public class ObjectMapperTest { private final ObjectMapper mapper = JsonConf.initObjectMapper(); @Test - void testObjectMapper() throws IOException { + void testObjectMapper() { ZoneMultipleResponse resp = mapper.readValue(this.getClass().getResourceAsStream("/zone-list-response.json"), ZoneMultipleResponse.class); @@ -30,7 +30,7 @@ public class ObjectMapperTest { } @Test - void testErrorResponse() throws IOException { + void testErrorResponse() { List> respClasses = List.of(RecordSingleResponse.class, RecordMultipleResponse.class, ZoneMultipleResponse.class, BatchResponse.class); respClasses.forEach(this::assertErrorResponse); @@ -46,7 +46,7 @@ public class ObjectMapperTest { assertFalse(resultInfo.isSuccess()); assertEquals(1, resultInfo.getErrors().size()); assertEquals(81053, resultInfo.getErrors().get(0).getCode()); - } catch (IOException e) { + } catch (JacksonException e) { fail("fail for " + clazz + ": " + e.getMessage()); } } From 38884075369fff11dca64d77585b1fede598fbe3 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Wed, 5 Aug 2026 15:43:08 +0000 Subject: [PATCH 21/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index ee6e6cc..b2aa418 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-08-05 15:04:39 UTC_ +_Generated on 2026-08-05 15:43:07 UTC_ **✅ All tests passed** From 692efba8b0b7945c23fc55f71260f307a730cf47 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 08:08:11 +0200 Subject: [PATCH 22/46] add build and analyse workflow badge to README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index aeea233..0c18b90 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # CloudflareDNS-java +[![Build and Analyse](https://git.mein-gateway.de/thischwa/CloudflareDNS-java/actions/workflows/build-and-analyse.yml/badge.svg?branch=develop)](https://git.mein-gateway.de/thischwa/CloudflareDNS-java/actions?workflow=build-and-analyse.yml) + ## Preface This project provides a java client for minimalistic access to the Cloudflare API version 4, which is mainly used for From 3f93c98e5fb8e3209a00b6f2a7270dbdf8d5eabd Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 08:21:12 +0200 Subject: [PATCH 23/46] simplify action inputs by removing java distribution configuration --- .gitea/actions/setup-java-maven/action.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitea/actions/setup-java-maven/action.yml b/.gitea/actions/setup-java-maven/action.yml index d1e1012..613325a 100644 --- a/.gitea/actions/setup-java-maven/action.yml +++ b/.gitea/actions/setup-java-maven/action.yml @@ -4,18 +4,14 @@ description: "Sets up JDK and caches Maven dependencies." inputs: java-version: - description: "Java version to install" + description: "Java version to use" default: "17" required: true - java-distribution: - description: "Java distribution to use" - default: "corretto" runs: using: "composite" steps: - name: Set up JDK with: - distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} uses: actions/setup-java@v5 From 8c1b191f0a75075455840424d4306899511a46ca Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 08:29:39 +0200 Subject: [PATCH 24/46] add java distribution input to setup-java-maven action --- .gitea/actions/setup-java-maven/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/actions/setup-java-maven/action.yml b/.gitea/actions/setup-java-maven/action.yml index 613325a..7d90812 100644 --- a/.gitea/actions/setup-java-maven/action.yml +++ b/.gitea/actions/setup-java-maven/action.yml @@ -3,6 +3,9 @@ name: "Setup Maven with GitHub Packages" description: "Sets up JDK and caches Maven dependencies." inputs: + java-distribution: + description: "Java distribution to use" + default: "temurin" java-version: description: "Java version to use" default: "17" @@ -13,5 +16,6 @@ runs: steps: - name: Set up JDK with: + distribution: ${{ inputs.java-distribution }} java-version: ${{ inputs.java-version }} uses: actions/setup-java@v5 From fc13e90d114e67e819f221f99296744e0d16cea3 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 08:50:29 +0200 Subject: [PATCH 25/46] install python3 in publish-report action --- .gitea/actions/publish-report/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/actions/publish-report/action.yml b/.gitea/actions/publish-report/action.yml index 4b30555..62dcad5 100644 --- a/.gitea/actions/publish-report/action.yml +++ b/.gitea/actions/publish-report/action.yml @@ -8,6 +8,10 @@ inputs: runs: using: composite steps: + - name: Install python3 + shell: bash + run: apk add --no-cache python3 + - name: Normalize JUnit report names shell: bash run: | From ba259d3ac7cfd69f85928e6f71e5aa28608c8381 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Mon, 7 Sep 2026 06:51:02 +0000 Subject: [PATCH 26/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index b2aa418..9ff6ffa 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-08-05 15:43:07 UTC_ +_Generated on 2026-09-07 06:51:01 UTC_ **✅ All tests passed** From d2a0d3ddd625922759b896241395a132cbf7233d Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 09:25:59 +0200 Subject: [PATCH 27/46] [maven-release-plugin] prepare release v0.5.0 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 1da4dca..3c91752 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ codes.thischwa cloudflaredns - 0.5.0-SNAPSHOT + 0.5.0 CloudflareDNS-java 2025 jar @@ -50,7 +50,7 @@ scm:git:https://git.mein-gateway.de/thischwa/CloudflareDNS-java.git scm:git:https://git.mein-gateway.de/thischwa/CloudflareDNS-java.git https://git.mein-gateway.de/thischwa/CloudflareDNS-java - HEAD + v0.5.0 From ef93872c6694bf55d6fba2e75670fea8338fdff9 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 09:26:00 +0200 Subject: [PATCH 28/46] [maven-release-plugin] prepare for next development iteration --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 3c91752..2912cf3 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ codes.thischwa cloudflaredns - 0.5.0 + 0.6.0-SNAPSHOT CloudflareDNS-java 2025 jar @@ -50,7 +50,7 @@ scm:git:https://git.mein-gateway.de/thischwa/CloudflareDNS-java.git scm:git:https://git.mein-gateway.de/thischwa/CloudflareDNS-java.git https://git.mein-gateway.de/thischwa/CloudflareDNS-java - v0.5.0 + HEAD From 73cd37f94a3789aa037c1ecfa20102e89d497c82 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 09:38:09 +0200 Subject: [PATCH 29/46] use force push in publish-report action --- .gitea/actions/publish-report/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/actions/publish-report/action.yml b/.gitea/actions/publish-report/action.yml index 62dcad5..a5c182e 100644 --- a/.gitea/actions/publish-report/action.yml +++ b/.gitea/actions/publish-report/action.yml @@ -125,4 +125,4 @@ runs: git add reports/ git diff --cached --quiet && echo "No changes" && exit 0 git commit -m "ci: update test report [skip ci]" - git push origin ${{ github.ref_name }} + git --force push origin ${{ github.ref_name }} From 862cf29172c627ab42507692daa1cf51a70eeb4f Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Mon, 7 Sep 2026 07:26:26 +0000 Subject: [PATCH 30/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index 9ff6ffa..fcc8a96 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-09-07 06:51:01 UTC_ +_Generated on 2026-09-07 07:26:26 UTC_ **✅ All tests passed** From 7e114e4b032925bf4cc2783341d7f8ac730b9027 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 09:43:45 +0200 Subject: [PATCH 31/46] fix: correct force-push syntax in publish-report action --- .gitea/actions/publish-report/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/actions/publish-report/action.yml b/.gitea/actions/publish-report/action.yml index a5c182e..1d7d7a4 100644 --- a/.gitea/actions/publish-report/action.yml +++ b/.gitea/actions/publish-report/action.yml @@ -125,4 +125,4 @@ runs: git add reports/ git diff --cached --quiet && echo "No changes" && exit 0 git commit -m "ci: update test report [skip ci]" - git --force push origin ${{ github.ref_name }} + git push --force origin ${{ github.ref_name }} From c2f473a1db17c812dd3dec6bd49fd2cdddeff648 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Mon, 7 Sep 2026 07:44:25 +0000 Subject: [PATCH 32/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index fcc8a96..490963c 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-09-07 07:26:26 UTC_ +_Generated on 2026-09-07 07:44:24 UTC_ **✅ All tests passed** From 28d9ec747fd30e4cc496e18fb5f6918fd1efb888 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 7 Sep 2026 16:58:55 +0200 Subject: [PATCH 33/46] add test report link to README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0c18b90..5635142 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![Build and Analyse](https://git.mein-gateway.de/thischwa/CloudflareDNS-java/actions/workflows/build-and-analyse.yml/badge.svg?branch=develop)](https://git.mein-gateway.de/thischwa/CloudflareDNS-java/actions?workflow=build-and-analyse.yml) +[Test report](reports/test.md) + ## Preface This project provides a java client for minimalistic access to the Cloudflare API version 4, which is mainly used for From 6de6b2a81b37e02b72d697a2f08ffdf0df187f75 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Mon, 7 Sep 2026 14:59:28 +0000 Subject: [PATCH 34/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index 490963c..86fa54f 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-09-07 07:44:24 UTC_ +_Generated on 2026-09-07 14:59:28 UTC_ **✅ All tests passed** From 94e20e109f818c23712233b3a95b0d7f6ec281b7 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 26 Oct 2026 09:33:57 +0100 Subject: [PATCH 35/46] update dependency and plugin versions in pom.xml --- pom.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 2912cf3..689bf8c 100644 --- a/pom.xml +++ b/pom.xml @@ -36,13 +36,13 @@ false - 3.2.1 + 3.2.4 5.6.2 - 1.18.46 + 1.18.48 2.0.18 - 1.5.38 + 1.6.6 5.14.2 - 5.23.0 + 5.24.0 1.18.20.0 @@ -131,7 +131,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.14.1 + 3.16.0 ${java.version} ${java.version} @@ -220,7 +220,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.5.6 + 3.6.0 @@ -254,7 +254,7 @@ org.apache.maven.plugins maven-jar-plugin - 3.5.0 + 3.5.1 attach-delomboked-sources From 1dab6d27d4a61fc1312101698535c6aa862ed46e Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Mon, 26 Oct 2026 09:41:42 +0100 Subject: [PATCH 36/46] update changelog with dependency and plugin updates Co-Authored-By: Claude Opus 5.5 --- changelog.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 2562882..bd6722e 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,9 @@ # Changelog -- 0.5.0-SNAPSHOT: +- 0.6.0-SNAPSHOT: + - updated dependencies: jackson 3.2.4, lombok 1.18.48, logback-classic 1.6.6, mockito-junit-jupiter 5.24.0 + - updated maven plugins: maven-compiler-plugin 3.16.0, maven-surefire-plugin 3.6.0, maven-jar-plugin 3.5.1 +- 0.5.0: - moved the project to git.mein-gateway.de - replaced sonarqube with own actions - migrate to jackson 3.x From c27972f1f0bc3f9281e6c33b7562fe2989106f4a Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Mon, 26 Oct 2026 08:35:35 +0000 Subject: [PATCH 37/46] ci: update test report [skip ci] --- reports/test.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reports/test.md b/reports/test.md index 86fa54f..6f51e4f 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-09-07 14:59:28 UTC_ +_Generated on 2026-10-26 08:35:34 UTC_ **✅ All tests passed** @@ -8,15 +8,15 @@ _Generated on 2026-09-07 14:59:28 UTC_ | | Tests | Passed | Failed | Skipped | |---|---|---|---|---| -| **Total** | 90 | 90 | 0 | 0 | +| **Total** | 105 | 90 | 0 | 15 | ### Details | Status | Suite | Tests | Passed | Failed | Skipped | |---|---|---|---|---|---| | ✅ | codes.thischwa.cf.CfBasicHttpClientTest | 9 | 9 | 0 | 0 | -| ✅ | codes.thischwa.cf.CfClientPenTest | 0 | 0 | 0 | 0 | -| ✅ | codes.thischwa.cf.CfClientTest | 0 | 0 | 0 | 0 | +| ✅ | codes.thischwa.cf.CfClientPenTest | 4 | 0 | 0 | 4 | +| ✅ | codes.thischwa.cf.CfClientTest | 11 | 0 | 0 | 11 | | ✅ | codes.thischwa.cf.CfDnsClientBuilderTest | 16 | 16 | 0 | 0 | | ✅ | codes.thischwa.cf.CfDnsClientMockTest | 16 | 16 | 0 | 0 | | ✅ | codes.thischwa.cf.CfRequestTest | 8 | 8 | 0 | 0 | From f6d4f98268f3ac9e6557e4088307ae4e06ec98d5 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Mon, 26 Oct 2026 08:43:23 +0000 Subject: [PATCH 38/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index 6f51e4f..f4156af 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-10-26 08:35:34 UTC_ +_Generated on 2026-10-26 08:43:23 UTC_ **✅ All tests passed** From f58b87af855c03af7437a73964d791741f0dc14d Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Fri, 30 Oct 2026 18:44:51 +0100 Subject: [PATCH 39/46] update dependencies in pom.xml, including jetbrains-annotations and httpclient5 versions --- pom.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 689bf8c..08ef776 100644 --- a/pom.xml +++ b/pom.xml @@ -37,13 +37,14 @@ 3.2.4 - 5.6.2 + 5.6.4 1.18.48 2.0.18 1.6.6 5.14.2 5.24.0 1.18.20.0 + 24.0.1 @@ -102,7 +103,7 @@ org.jetbrains annotations - 26.1.0 + ${jetbrains-annotations.version} compile From a3c2066af35ce96e1a5bf977c7dedc6d5893f4ec Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Fri, 30 Oct 2026 17:50:26 +0000 Subject: [PATCH 40/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index d013dfe..948f3a8 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-10-30 17:45:29 UTC_ +_Generated on 2026-10-30 17:50:26 UTC_ **✅ All tests passed** From 0bcc441eb905054736cea25f4bc20bd6ef2399b2 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Sat, 31 Oct 2026 10:43:44 +0100 Subject: [PATCH 41/46] restore jetbrains-annotations 26.1.0 and add httpclient5 to changelog Co-Authored-By: Claude Opus 5.5 --- changelog.md | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index bd6722e..2d97789 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,7 @@ # Changelog - 0.6.0-SNAPSHOT: - - updated dependencies: jackson 3.2.4, lombok 1.18.48, logback-classic 1.6.6, mockito-junit-jupiter 5.24.0 + - updated dependencies: jackson 3.2.4, httpclient5 5.6.4, lombok 1.18.48, logback-classic 1.6.6, mockito-junit-jupiter 5.24.0 - updated maven plugins: maven-compiler-plugin 3.16.0, maven-surefire-plugin 3.6.0, maven-jar-plugin 3.5.1 - 0.5.0: - moved the project to git.mein-gateway.de diff --git a/pom.xml b/pom.xml index 08ef776..8c5013c 100644 --- a/pom.xml +++ b/pom.xml @@ -44,7 +44,7 @@ 5.14.2 5.24.0 1.18.20.0 - 24.0.1 + 26.1.0 From 36084e5fe9ee58fa64dad39ed8b2a6a2cc00f213 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Sat, 31 Oct 2026 09:45:42 +0000 Subject: [PATCH 42/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index 948f3a8..58330f7 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-10-30 17:50:26 UTC_ +_Generated on 2026-10-31 09:45:42 UTC_ **✅ All tests passed** From 69e7b72ce3661ec0cbe77c1fe01f71d569c5e760 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Sat, 31 Oct 2026 10:55:27 +0100 Subject: [PATCH 43/46] ci: rebase instead of force push in publish-report action Force pushing the test report overwrote commits pushed while the workflow was running and led to duplicated history. Co-Authored-By: Claude Opus 5.5 --- .gitea/actions/publish-report/action.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/actions/publish-report/action.yml b/.gitea/actions/publish-report/action.yml index 1d7d7a4..f7a2164 100644 --- a/.gitea/actions/publish-report/action.yml +++ b/.gitea/actions/publish-report/action.yml @@ -125,4 +125,12 @@ runs: git add reports/ git diff --cached --quiet && echo "No changes" && exit 0 git commit -m "ci: update test report [skip ci]" - git push --force origin ${{ github.ref_name }} + # rebase onto commits pushed in the meantime instead of overwriting them; + # on conflicts in reports/ the freshly generated report wins + for attempt in 1 2 3; do + git pull --rebase --autostash -X theirs origin ${{ github.ref_name }} + git push origin ${{ github.ref_name }} && exit 0 + echo "Push rejected (attempt $attempt), retrying..." + sleep 5 + done + exit 1 From 8e057045237809449e934e0c50a389281c86b151 Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Sat, 31 Oct 2026 09:56:58 +0000 Subject: [PATCH 44/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index 58330f7..a219e41 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-10-31 09:45:42 UTC_ +_Generated on 2026-10-31 09:56:58 UTC_ **✅ All tests passed** From 0b36b432f24f65052dcefc9f21e13a3447548d10 Mon Sep 17 00:00:00 2001 From: Thilo Schwarz Date: Sat, 31 Oct 2026 11:20:00 +0100 Subject: [PATCH 45/46] ci: publish test report only on push events Pull request runs have no branch to push the report to. Co-Authored-By: Claude Opus 5.5 --- .gitea/actions/publish-report/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/actions/publish-report/action.yml b/.gitea/actions/publish-report/action.yml index f7a2164..519d632 100644 --- a/.gitea/actions/publish-report/action.yml +++ b/.gitea/actions/publish-report/action.yml @@ -111,6 +111,8 @@ runs: EOF - name: Commit Test-Report to Repo + # pull requests have no branch to push to (ref_name is e.g. "1/merge") + if: ${{ github.event_name == 'push' }} shell: bash env: GIT_USER: gitea-actions-bot From 78c812c1c46453a87aa6f22dcc6f961aa47055bd Mon Sep 17 00:00:00 2001 From: gitea-actions-bot Date: Sat, 31 Oct 2026 10:23:10 +0000 Subject: [PATCH 46/46] ci: update test report [skip ci] --- reports/test.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reports/test.md b/reports/test.md index a219e41..29b69ca 100644 --- a/reports/test.md +++ b/reports/test.md @@ -1,6 +1,6 @@ # Test Report -_Generated on 2026-10-31 09:56:58 UTC_ +_Generated on 2026-10-31 10:23:10 UTC_ **✅ All tests passed**