thischwa and Claude Opus 5.5
09eabb0d59
fix: stable and consistent paging of DNS records ( #2 )
...
- list DNS records with order=name&direction=asc, without an order
Cloudflare's pages can overlap and miss records
- de-duplicate fetched entries by ID, fetch the pages again (up to 3
times) if fewer entries than total_count were fetched, otherwise log
a warning; debug log per fetched page
- testPaging: unique record names for an unambiguous order
- testDns: wait for the unfiltered record list, which can lag behind
directly after creating records
refs #2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-04 14:43:22 +01:00
thischwa
6eb6c2b778
Merge remote-tracking branch 'origin/feature/ki-review' into feature/ki-review
Build and Analyse / build-and-analyse (push) Failing after 1m21s
2026-11-04 12:49:04 +01:00
thischwa and Claude Opus 5.5
c7f27f2ac0
security: encode request parameters, enforce HTTPS, add timeouts ( #2 )
...
- query values (zone names, subdomains) are URL-encoded, zone and
record IDs must be alphanumeric: prevents query parameter injection
and path traversal
- zone names and subdomains with whitespace, control characters or
\ ? # & ; | < > " ' ` are rejected with an IllegalArgumentException
- withBaseUrl only accepts HTTPS (plain HTTP only for loopback hosts),
no query/fragment, trailing slash is removed
- connect and response timeouts (defaults 10 s / 30 s), configurable
via withConnectTimeout / withResponseTimeout; values below 1 ms or
overflowing milliseconds are rejected
- null credentials throw an IllegalArgumentException, build() without
authentication an IllegalStateException
- tests, README and changelog updated
refs #2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-04 12:48:54 +01:00
thischwa
f6c0544d9a
Merge remote-tracking branch 'origin/feature/ki-review' into feature/ki-review
Build and Analyse / build-and-analyse (push) Failing after 1m17s
2026-11-03 18:24:06 +01:00
thischwa
0e6f4bb9c0
ci: add API_TOKEN environment variable to enable live tests in build-and-analyse workflow
2026-11-03 18:23:53 +01:00
thischwa and Claude Opus 5.5
c3a5c5f3e5
test: cover AI code review changes in CfClientTest ( #2 )
...
Build and Analyse / build-and-analyse (push) Successful in 30s
- live tests for API error details (status code, Cloudflare errors),
404 on deleting an unknown record, unknown zones with and without
emptyResultThrowsException, closing the client, multi-level
subdomains and the zone apex, server- and client-side type filter,
record attributes (priority, comment, SRV data) and Instant
timestamps
- testPaging fetches all pages with a small page size, therefore
CfDnsClient got a package-private constructor with a custom page size
- testDns checks that recordUpdate doesn't modify the given record
- SRV records: the priority is part of the data, fixed javadoc,
README and changelog accordingly
refs #2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-03 18:02:16 +01:00
thischwa and Claude Opus 5.5
b6821b0076
ci: run build workflow for feature/** branches
...
Build and Analyse / build-and-analyse (push) Successful in 27s
"feature*" doesn't match branch names containing a slash like
feature/ki-review, so the workflow wasn't triggered.
refs #2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-03 17:33:33 +01:00
thischwa and Claude Opus 5.5
732f92ee78
AI code review: fix bugs, rename sld to subdomain, improve usability ( #2 )
...
- bug fixes: API errors are no longer wrapped into "Unexpected error!",
zoneGet no longer crashes on unknown zones, getSubdomain handles apex
and multi-level names, batch operations send the full record name,
list methods fetch all pages, recordDelete handles empty results
- rename "sld" to "subdomain": getSubdomain(), recordCreateSubdomain(),
old methods deprecated; "@" (CfDnsClient.APEX) addresses the apex
- one shared HTTP client with connection pooling, CfDnsClient
implements AutoCloseable
- CloudflareApiException provides HTTP status code and Cloudflare
errors, HTTP 404 throws CloudflareNotFoundException
- RecordEntity supports priority, data, comment and tags
- recordCreate/recordUpdate send only writable attributes and don't
modify the given record
- breaking: recordList overloads replaced by recordListBySubdomain and
recordListByType, timestamps are java.time.Instant
- single record type is filtered server-side (?type=)
- tests, README and changelog updated
refs #2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-03 15:44:25 +01:00
thischwa and Claude Opus 5.5
31229ff627
update README and fix "getRecord" wording in docs and messages
...
Build and Analyse / build-and-analyse (push) Successful in 24s
- README: fix fluent API examples (getRecord), complete recordCreate
docs, document paging, groupRecordsByFqdn, recordDelete by id and
multiple types in recordDeleteTypeIfExists, mention Java 17
- replace stray "getRecord" wording with "record" in javadoc, log and
exception messages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-31 12:25:27 +01:00
thischwa and Claude Opus 5.5
9aba45ab0e
changes since v0.5.0
...
Build and Analyse / build-and-analyse (push) Successful in 23s
- prepare next development iteration 0.6.0-SNAPSHOT
- 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
- jetbrains-annotations version moved to a property
- ci: publish-report rebases instead of force pushing and only
publishes on push events
- add test report link to README.md
- update test report
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-31 11:39:15 +01:00
thischwa
9a312b464e
[maven-release-plugin] prepare release v0.5.0
Build and Analyse / build-and-analyse (push) Successful in 25s
2026-09-07 09:25:59 +02:00
thischwa
b13a9ad02e
install python3 in publish-report action
Build and Analyse / build-and-analyse (push) Successful in 24s
2026-09-07 08:50:29 +02:00
thischwa
65339f900d
add java distribution input to setup-java-maven action
Build and Analyse / build-and-analyse (push) Failing after 43s
2026-09-07 08:29:39 +02:00
thischwa
7e065552a6
simplify action inputs by removing java distribution configuration
Build and Analyse / build-and-analyse (push) Failing after 5s
2026-09-07 08:21:12 +02:00
thischwa
6a11d881e1
add build and analyse workflow badge to README.md
Build and Analyse / build-and-analyse (push) Failing after 46s
2026-09-07 08:08:11 +02:00
thischwa
42e06245e1
fix #1 migrate codebase to Jackson 3.x
2026-08-05 17:42:04 +02:00
thischwa
68846b6676
update issue tracker link in pom.xml
2026-08-05 17:02:36 +02:00
thischwa
3c480f19f8
add generation timestamp to JUnit test report
2026-07-21 19:33:51 +02:00
thischwa
32a35781b5
set Maven compiler source and target to java.version in pom.xml
2026-07-12 19:41:43 +02:00
thischwa
982a95451d
set Maven compiler source and target to java.version in pom.xml
2026-07-10 17:19:31 +02:00
thischwa
be2fb5d89e
update issue tracker link in README.md
2026-07-10 15:46:46 +02:00
thischwa
d213f72138
update Maven package link in README.md
2026-07-08 19:34:07 +02:00
thischwa
824bcf060d
add javadoc badge to README.md
2026-07-08 19:24:54 +02:00
thischwa
dbedcdfe16
update javadoc link in README.md
2026-07-07 18:53:01 +02:00
thischwa
87b39fca7b
update javadoc link in README.md
2026-07-03 18:16:30 +02:00
thischwa
d052555ba7
Merge remote-tracking branch 'origin/develop' into develop
2026-06-28 19:38:24 +02:00
thischwa
dfa2753619
- moved git actions to gitea actions
...
- removed sonarqube
- added report for junit tests
2026-06-28 19:37:50 +02:00
thischwa
0a47bb6338
remove javadoc
2026-06-28 19:09:53 +02:00
thischwa
25228af9f0
Generate Javadocs for BatchResponse and RecordType classes in the codes.thischwa.cf.model package.
2026-06-28 18:20:39 +02:00
thischwa
d4fba87e13
Migrate GitHub Actions workflows and custom actions to Gitea, replacing .github directory with .gitea.
2026-06-28 13:09:05 +02:00
thischwa
ba9bc9ea93
Update publish-report action to write output to test.md instead of index.md
2026-06-28 12:48:34 +02:00
thischwa
eea6e72145
Update changelog for version 0.5.0-SNAPSHOT: migrate to git.mein-gateway.de and replace SonarQube with custom actions
2026-06-27 19:39:27 +02:00
thischwa
41d35fe745
Add JaCoCo coverage parsing to publish-report action; enhance Markdown report with coverage details.
2026-06-27 19:02:19 +02:00
thischwa
c2d10bb929
Clarify step names in publish-report action for improved readability.
2026-06-27 18:53:53 +02:00
thischwa
f3e05e1bc7
Extract changelog to a dedicated changelog.md file and update references in README.md.
2026-06-27 18:42:12 +02:00
thischwa
2c233437da
Merge remote-tracking branch 'origin/develop' into develop
2026-06-27 18:25:14 +02:00
thischwa
84c5295345
Simplify publish-report action by removing unnecessary variable assignment in JUnit file processing.
2026-06-27 18:24:56 +02:00
thischwa
053979d4e1
Update publish-report to simplify inputs, improve Markdown generation, and adjust token usage for Gitea compatibility
2026-06-27 17:59:14 +02:00
thischwa
d57da1e60f
Switch publish-report action to generate Markdown test reports instead of HTML; modify report structure and formatting.
2026-06-27 17:51:48 +02:00
thischwa
0acf0d0834
Refactor publish-report to merge JUnit files into single report for HTML generation; remove Maven cache step from setup-java-maven.
2026-06-27 15:10:19 +02:00
thischwa
5ed9da4036
Add HTML report generation and auto-commit to publish-report action
2026-06-27 14:58:30 +02:00
thischwa
84a37b8a8d
Merge remote-tracking branch 'origin/develop' into develop
2026-06-27 14:17:13 +02:00
thischwa
c292c27444
wip test report
2026-06-27 14:16:41 +02:00
thischwa
744abd47ff
Remove SonarCloud integration from project and related configuration files.
2026-06-27 14:11:37 +02:00
thischwa
9f301337b6
Remove SonarCloud integration from project and related configuration files.
2026-06-25 19:18:21 +02:00
thischwa
0a401b164c
Migrate project hosting and repository URLs from Codeberg to Gitea.
2026-06-25 18:55:00 +02:00
thischwa
7b08820d1a
Simplify Maven repository setup instructions in README.
2026-04-23 12:58:36 +02:00
thischwa
83995ba5fa
Update actions/cache to v5 in setup-java-maven workflow
2026-04-02 19:15:21 +02:00
thischwa
d586567fd6
Merge remote-tracking branch 'origin/develop' into develop
2026-04-02 19:01:52 +02:00
thischwa
3505aee124
Update actions: bump setup-java to v5, checkout to v6, and test-reporter to v3
2026-04-02 19:01:33 +02:00
thischwa
c01946fc05
Update version to 0.5.0-SNAPSHOT and fix changelog entry formatting
2026-03-11 13:22:49 +01:00
thischwa
09cb00db19
[maven-release-plugin] prepare for next development iteration
2026-03-11 13:15:43 +01:00
thischwa
a5cf641d27
[maven-release-plugin] prepare release v0.4.0
2026-03-11 13:15:36 +01:00
thischwa
2a76c9e469
Merge remote-tracking branch 'origin/develop' into develop
2026-03-11 11:08:50 +01:00
thischwa
8bbcebc53c
Add GitHub Actions for Maven setup, JUnit reporting, and SonarCloud analysis. Update README with SonarCloud badges, embed assets, and document breaking changes. Refactor APIs with paging support, add model class tests, and improve error messages and code quality. Fix #13 and fix #15 .
2026-03-11 11:08:04 +01:00
thischwa
ac1fd02b2f
Update README: clarify test coverage improvements and refine wording in code quality notes
2026-03-10 19:51:31 +01:00
thischwa
e42579541a
Refine assertion error message in CfBasicHttpClientTest.
2026-03-10 19:41:16 +01:00
thischwa
f180e7daba
Refine assertion error message in CfBasicHttpClientTest.
2026-03-10 19:38:17 +01:00
thischwa
0ce37c53aa
Refine assertion error message in CfBasicHttpClientTest.
2026-03-10 19:35:17 +01:00
thischwa
60005d7d6e
Comment out hello world example in .woodpecker/maven.yml.
2026-03-10 19:21:33 +01:00
thischwa
4e7b3b9bdb
Add unit tests for CfDnsClient, Fluent API, and CfDnsClientBuilder. Minor error message refinement in CfBasicHttpClient.
2026-03-10 19:11:32 +01:00
thischwa
66a5d48927
reduce code smells
2026-03-10 15:10:52 +01:00
thischwa
6e71ba266a
reduce code smells
2026-03-10 15:00:35 +01:00
thischwa
be409139d7
issue #15 Add paging support in recordList API, update tests, and streamline query parameter names.
2026-03-10 14:50:34 +01:00
thischwa
8d2fc74d04
Add JUnit tests for model classes: RecordEntityTest, ZoneEntityTest, BatchEntryTest, RecordTypeTest, and update PagingRequestTest.
2026-03-10 09:58:58 +01:00
thischwa
aaae19f783
Update README: document breaking change in client.zone().record() renaming to client.zone().getRecord()
2026-03-08 18:04:07 +01:00
thischwa
092412cf92
fixed docu
2026-03-08 17:53:56 +01:00
thischwa
abb9704a87
close #13
2026-03-08 12:53:14 +01:00
thischwa
6a11868a0b
Update docs: replace Codeberg image in assets
2026-03-08 12:04:50 +01:00
thischwa
f016067931
Update README: add Codeberg image with link and embed asset in docs
2026-03-08 11:58:14 +01:00
thischwa
c857c0d233
Update README: add SonarCloud badges for quality, security, coverage, LOC, and code smells
2026-03-08 11:43:38 +01:00
thischwa
dd1052cd75
Update workflow: rename CF_API_TOKEN to API_TOKEN for consistency
2026-03-08 11:18:55 +01:00
thischwa
32618a942b
Streamline SonarCloud scan step by using multiline syntax in GitHub Actions workflow.
2026-03-08 11:11:30 +01:00
thischwa
4d7deb3f2c
Simplify Maven setup by removing unused settings configuration and improving readability of SonarCloud scan step.
2026-03-08 10:50:21 +01:00
thischwa
85f462e002
Add GitHub Actions for Maven setup, JUnit reporting, and build analysis with SonarCloud.
2026-03-08 10:41:45 +01:00
thischwa
d1e2a78f24
Add GitHub Actions for Maven setup, JUnit reporting, and build analysis with SonarCloud.
2026-03-08 10:33:30 +01:00
thischwa
233c3988bc
Merge remote-tracking branch 'origin/develop' into develop
2026-03-07 19:18:05 +01:00
thischwa
b199495d55
Update README with Codeberg Issues link and pipeline-specific badge. Remove SonarCloud configuration from pom.xml and workflow.
2026-03-07 19:17:33 +01:00
thischwa
8b69b2551a
Update README: replace GitLab Issues link with Codeberg Issues link.
2026-03-07 19:16:09 +01:00
thischwa
eb2a96a482
Update README: replace Codeberg CI badge with pipeline-specific badge link.
2026-03-07 19:11:13 +01:00
thischwa
b864e019c1
Remove SonarCloud configuration and scan step from pom.xml and Woodpecker workflow.
2026-03-07 18:51:34 +01:00
thischwa
fc7952f8a2
Update SonarCloud configuration: specify develop as main branch in pom.xml and streamline workflow in first-test.yml.
2026-03-07 18:27:11 +01:00
thischwa
378c3e5d9b
Simplify SonarCloud scan command in Woodpecker workflow in first-test.yml.
2026-03-07 18:08:38 +01:00
thischwa
a6b76a00bf
.
2026-03-07 17:44:35 +01:00
thischwa
9a525ace3b
Remove test step from Woodpecker workflow in first-test.yml.
2026-03-07 17:32:18 +01:00
thischwa
baf6c6a8a3
Update Woodpecker workflow: refine SonarCloud scan command in first-test.yml
2026-03-07 17:28:57 +01:00
thischwa
729799faef
Enhance Woodpecker workflow: add sonarcloud scan and test steps, update Maven configuration in pom.xml.
2026-03-07 17:21:35 +01:00
thischwa
d7d49d10fb
Remove Javadoc generation and deployment step from first-test.yml.
2026-03-07 13:42:10 +01:00
thischwa
813cb3a65b
Remove Javadoc generation and deployment step from first-test.yml.
2026-03-07 13:02:41 +01:00
thischwa
78310e5639
Combine Javadoc generation and deployment steps into a single task in first-test.yml.
2026-03-07 12:54:07 +01:00
thischwa
3b83e65e21
.
2026-03-07 12:48:18 +01:00
thischwa
ce460ee4d8
Enhance Woodpecker workflow: add log message for Javadoc deployment in first-test.yml.
2026-03-07 12:39:32 +01:00
thischwa
a3b1a542b2
Fix Woodpecker workflow: update secret key reference in first-test.yml.
2026-03-07 12:24:55 +01:00
thischwa
163a096f81
Fix Woodpecker workflow: correct environment variable declaration in first-test.yml.
2026-03-07 12:20:37 +01:00
thischwa
a0016d7ca3
Enhance Woodpecker workflow: add Javadoc generation and deploy to pages branch
2026-03-07 12:17:56 +01:00
thischwa
e1600d1b4e
Simplify Woodpecker workflow: remove redundant checkout step
2026-03-07 11:27:40 +01:00
thischwa
116350b65d
Enhance Woodpecker workflow: add checkout and Maven compile steps
2026-03-07 11:23:21 +01:00
thischwa
9d41ddc2e5
Update Woodpecker workflow: switch branch to develop and add test step
2026-03-07 11:07:12 +01:00
thischwa
53b10b142e
Replace Maven CI pipeline with a simple "Hello World" workflow in .woodpecker.
2026-03-07 11:01:23 +01:00
thischwa
6abd0ce862
Simplify Maven CI workflow: remove unused steps and configurations in .woodpecker/maven.yml.
2026-03-07 10:39:29 +01:00