Commit Graph

131 Commits

Author SHA1 Message Date
thischwa 5fdb327948 [maven-release-plugin] prepare release v0.1.0-beta.3 v0.1.0-beta.3 2025-04-22 17:42:32 +02:00
thischwa 06a454d4ee Set sonar.test.exclusions in pom.xml
Added configuration to exclude test files from Sonar analysis. This ensures that test-related code is not included in the quality inspection metrics.
2025-04-22 07:53:50 +02:00
thischwa 6606030090 Update SonarQube project key and simplify CI script
Updated the SonarQube project key in `pom.xml` to reflect the new naming convention. Simplified the CI script by removing redundant project key specification, ensuring consistency and maintainability.
2025-04-22 07:45:45 +02:00
thischwa 51a93e36b8 Add SonarCloud project configuration to pom.xml
Included project key, name, and branch for SonarCloud integration. This enables better tracking and analysis of code quality on the develop branch.
2025-04-22 07:36:47 +02:00
thischwa 7873b239e3 Update Sonar Maven plugin version in CI pipeline
Removed the hardcoded version of the Sonar Maven plugin to use the latest available version. This ensures compatibility with updates and reduces maintenance overhead.
2025-04-22 07:26:25 +02:00
thischwa 1ee3efa6c6 Update Sonar settings and SCM details in project config
Added `sonar.sourceEncoding` and updated Sonar Maven plugin to a specific version for improved compatibility. Adjusted SCM values to reflect the correct repository URLs under the `thischwa` namespace.
2025-04-22 07:16:03 +02:00
thischwa c3b4a721f3 Update SonarCloud integration to use Maven plugin
Replaced Sonar Scanner CLI with Maven Sonar plugin in the CI workflow for better integration and simplicity. Added SonarCloud configuration properties to `pom.xml` for centralized management. This streamlines the setup and ensures consistency across the project.
2025-04-22 07:01:42 +02:00
thischwa ead7dc7de2 Update SonarCloud project identifier in badges
Updated the SonarCloud project identifier in README.md to reflect the correct project name. This ensures the badges display accurate data for the current project configuration.
2025-04-21 20:16:22 +02:00
thischwa 3e2cc7b4d7 . 2025-04-21 20:10:56 +02:00
thischwa 1f21271a03 Update project details in GitLab CI configuration
Replaced outdated project directory, project key, and organization values with updated ones. This ensures proper integration with SonarQube and maintains accuracy in the pipeline configuration.
2025-04-21 19:40:19 +02:00
thischwa c7e534a4ee Update SonarQube configuration in GitLab CI pipeline
Removed the `sonar.sources` property as it is redundant in the current setup. SonarQube automatically detects source files, simplifying the configuration. This ensures the pipeline remains clean and easier to maintain.
2025-04-21 15:27:36 +02:00
thischwa f056ad2f47 Enable SonarQube analysis on main Java source directory.
Added the `-Dsonar.sources` property to specify the `src/main/java` directory for SonarQube analysis. This ensures the main Java source files are included in the scan, improving code quality assessment accuracy.
2025-04-21 15:19:59 +02:00
thischwa a755baef15 Remove redundant Sonar test exclusions from CI config.
The test exclusions were overly broad and unnecessary as the tests are handled properly without them. This change simplifies the configuration while maintaining the intended functionality.
2025-04-21 15:02:22 +02:00
thischwa 0f2bd08d54 . 2025-04-21 14:58:24 +02:00
thischwa f9278fd4b7 Update SonarQube configuration in CI pipeline
Added the `sonar.tests` property to specify the test directory for SonarQube analysis. This ensures better accuracy in test coverage measurement and aligns with the project's structure.
2025-04-21 14:42:58 +02:00
thischwa aa1691c1e1 Refactor test formatting and add validation in CfClientTest
Adjusted inconsistent indentation and formatting in test cases for improved readability. Added additional test assertions for invalid input validation in the CfDnsClient constructor to enhance test coverage.
2025-04-21 14:27:45 +02:00
thischwa d2f0cc078d Merge remote-tracking branch 'origin/develop' into develop 2025-04-21 14:25:38 +02:00
thischwa 24021972a7 update javadoc 2025-04-21 14:21:27 +02:00
thischwa ed183bd393 update javadoc 2025-04-21 14:20:42 +02:00
thischwa 8fbfa43a1e update javadoc 2025-04-21 14:20:08 +02:00
thischwa e0f9043389 Refactor constants and add private constructor in JsonConf.
Changed API_EMAIL and API_KEY to static final for proper constant usage. Added a private constructor in JsonConf to prevent instantiation, ensuring adherence to utility class design principles.
2025-04-21 14:16:24 +02:00
thischwa c1675d0fba Refactor response handling and centralize JSON configuration
Replaced direct fields in `AbstractResponse` with `ResponseResultInfo` for better encapsulation and consistency. Introduced `JsonConf` to provide a shared, reusable `ObjectMapper` configuration. Updated tests and logic to align with the refactored response structure, enhancing maintainability and readability.
2025-04-21 14:06:25 +02:00
thischwa af4e09f938 Refactor code documentation and improve UI accessibility
Updated JavaDocs for consistency and clarity, modified styling with CSS variables for better maintainability, and enhanced script functionality for interactivity. Minor localization changes and accessibility improvements made to the generated documentation.
2025-04-19 11:34:22 +02:00
thischwa 4902d0062a Improve logging and update dependencies
Enabled detailed logging for DNS record operations and adjusted log levels. Updated Maven dependencies, including httpclient5, logback, and added explicit SLF4J configurations. Minor changes to the logging configuration file and project structure for better test isolation.
2025-04-18 13:19:40 +02:00
thischwa 0e5b878e9f Refactor DNS record handling and add record creation method
Introduced `buildFqdn` utility to avoid redundancy in FQDN construction. Added `recordCreate` method for simpler record creation with specified parameters. Enhanced `recordDeleteTypeIfExists` to handle multiple record types and improved test cases for better clarity and consistency.
2025-04-18 11:49:24 +02:00
thischwa bebe20a12d wip 2025-04-16 17:06:00 +02:00
thischwa 1815f94683 wip 2025-04-16 16:39:40 +02:00
thischwa 438916bd81 Merge remote-tracking branch 'origin/develop' into develop 2025-04-16 08:06:21 +02:00
thischwa 8f574b63eb Update SonarCloud badge project identifiers in README
Changed the project identifiers in SonarCloud badge URLs to align with the updated project naming convention. This ensures accurate integration and displays correct data on the README. No functionality or content outside of badges was affected.
2025-04-16 08:05:58 +02:00
thischwa 807a080636 test commit 2025-04-16 07:52:36 +02:00
thischwa eccb20bec3 wip 2025-04-15 20:15:47 +02:00
thischwa 23d4204157 wip 2025-04-15 20:10:37 +02:00
thischwa 9e165ee3b5 wip 2025-04-15 19:56:11 +02:00
thischwa 25b69c35e9 wip 2025-04-15 19:47:55 +02:00
thischwa 2b25c30fcd wip 2025-04-15 19:42:13 +02:00
admin 8895d4c82e Edit README.md 2025-04-15 17:24:06 +00:00
thischwa a24c262216 Merge remote-tracking branch 'origin/develop' into develop 2025-04-15 19:14:33 +02:00
thischwa 63284b19bc Update GitLab CI variables for project relocation
The GitLab CI configuration variables have been updated to reflect changes in the project location. The updates include adjustments to the clone directory, project key, and organization, ensuring that Sonar analysis and GitLab CI operations are correctly configured for the relocated project.
2025-04-15 19:14:12 +02:00
thischwa f7035fad01 Set Sonar branch name to 'develop' in CI pipeline
Added the Sonar branch name parameter to ensure proper tracking of the 'develop' branch during analysis. This change enhances consistency and accuracy in SonarQube reporting for this branch.
2025-04-15 19:13:28 +02:00
thischwa fe2f9c512f Set Sonar branch name to 'develop' in CI pipeline
Added the Sonar branch name parameter to ensure proper tracking of the 'develop' branch during analysis. This change enhances consistency and accuracy in SonarQube reporting for this branch.
2025-04-15 08:03:36 +02:00
thischwa 65b5ebcdfb update docu because of obsolete api-token 2025-04-14 10:14:57 +02:00
thischwa 16a586c080 Refactor code for consistent formatting and style. 2025-04-14 09:50:35 +02:00
thischwa 97b7f8371a Refactor code style and add tests for exception handling
Adjusted code style to align with consistent brace formatting and removed the null/blank check for `baseUrl` in the constructor. Added unit tests to verify exception handling in `CfDnsClient` for null arguments.
2025-04-13 19:57:15 +02:00
thischwa f0bc7b5446 Update README to reflect cloudflaredns version bump
Updated the Maven dependency version from 0.1.0-beta.1 to 0.1.0-beta.2. This ensures the documentation reflects the latest release for accurate usage.
2025-04-13 19:35:42 +02:00
thischwa 1bd0a6f963 [maven-release-plugin] prepare for next development iteration 2025-04-13 19:34:02 +02:00
thischwa 83ad5d7fe8 [maven-release-plugin] prepare release v0.1.0-beta.2 v0.1.0-beta.2 2025-04-13 19:33:58 +02:00
thischwa 9e3e12a08b Refactor constructor to explicitly throw IllegalArgumentException
Updated the constructor in CfBasicHttpClient to include explicit throws for IllegalArgumentException. This enhances clarity and ensures the method signature reflects the potential for exceptions. Minor formatting adjustments were also made for improved code readability.
2025-04-13 19:27:21 +02:00
thischwa 34ea8e1b62 fixed issue #3 2025-04-13 17:33:50 +02:00
thischwa f5ba156c49 Update Javadoc link and remove outdated documentation
Replaced the Javadoc link in the README with the updated URL and deleted the obsolete `docs/README.MD` file. This ensures that the documentation points to the correct and current resources.
2025-04-13 09:51:08 +02:00
thischwa 99939ed591 Add GitLab Pages deployment to CI configuration
This update introduces a new job to deploy GitLab Pages. The job copies content from the `docs/` directory to the `public/` directory and is triggered only on the `develop` branch.
2025-04-13 09:42:28 +02:00