Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Sonarcloud, tests, documentation #29

Merged
merged 9 commits into from
Oct 18, 2024
Merged

fix: Sonarcloud, tests, documentation #29

merged 9 commits into from
Oct 18, 2024

Conversation

pflynn-virtru
Copy link
Member

@pflynn-virtru pflynn-virtru commented Oct 18, 2024

Modify test methods and assertions in ConvertToZTDFTest to use package-private visibility and improve assertion clarity. Enhance Javadocs for ConvertToZTDF, AbstractTDFProcessor, and related classes, including property descriptors and methods to improve code readability and maintainability.

DSP-154

Modify test methods and assertions in ConvertToZTDFTest to use package-private visibility and improve assertion clarity. Enhance Javadocs for ConvertToZTDF, AbstractTDFProcessor, and related classes, including property descriptors and methods to improve code readability and maintainability.
@pflynn-virtru pflynn-virtru requested review from a team as code owners October 18, 2024 14:40
Eliminated the maven-surefire-plugin configuration from pom.xml. Added jacoco-maven-plugin to handle code coverage and reporting, ensuring it generates reports in XML format after test phase. Integrated plugin management for consistent usage across project modules.
The report-aggregate execution in the POM file is unnecessary and has been removed. This prevents the redundant verification phase execution, streamlining the build process. The remaining configuration continues to support the report execution during the test phase.
Eliminated the JaCoCo plugin configuration from the POM file. This change removes automated code coverage reporting steps and associated configurations.
Eliminated redundant equals and hashCode methods from AbstractTDFProcessor, ConvertToZTDF, and SimpleOpenTDFControllerService classes. Refactored some code in ConvertToZTDF for better readability and maintainability.
Refactor to address InterruptedException in an outer try-catch for better error handling. This change ensures that the thread's interrupted status is properly restored in both inner and outer catch blocks.
Inserted a blank line after <modelVersion>4.0.0</modelVersion> to improve code readability. This change does not affect the functionality but enhances the visual structure of the XML file.
Implemented caching for Maven and SonarCloud packages in GitHub workflows to speed up CI builds. Added a `develop` profile with the Maven Surefire Plugin in `pom.xml` for better test isolation and coverage during development.
Copy link

@pflynn-virtru pflynn-virtru merged commit 87d58ec into main Oct 18, 2024
5 checks passed
@pflynn-virtru pflynn-virtru deleted the fix/sonar branch October 18, 2024 17:39
pflynn-virtru pushed a commit that referenced this pull request Oct 18, 2024
🤖 I have created a release *beep* *boop*
---


<details><summary>0.5.0</summary>

## [0.5.0](v0.4.0...v0.5.0)
(2024-10-18)


### Bug Fixes

* Sonarcloud, tests, documentation
([#29](#29))
([87d58ec](87d58ec))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants