-
Notifications
You must be signed in to change notification settings - Fork 4
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
Artifact Publishing, Default Property Value Change, Unit Tests & Documentation Updates #64
Conversation
…eation after testing
Changed default value for enable.auto.commit property to 'true'
Github Actions Artifact Publishing
Add Unit Tests
Revised Documentation for Accuracy
…ease-notes Version Change & Release Notes (2024 Q3 Release)
src/main/java/us/dot/its/jpo/ode/aws/depositor/AwsDepositor.java
Outdated
Show resolved
Hide resolved
…d in `AwsDepositor` class
Removed unused variable declaration
@@ -0,0 +1,31 @@ | |||
name: Publish Java Package |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What will be the approx. artifact size and where we are using this ? As our ODE GitHub org is on free plan we have artifact storage limit of 500mb.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The project's JAR file is about 14 KB in size. It is not currently being used, but it is for potential future use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment from jpo-security-svcs seems like for Maven packages and other packages like npm, docker, etc storage limit will be not applied for public repo's. so I think we should be good to use artifacts. However for any private repo's this limits will apply. We have a backlog item for supporting GitHub artifacts setup in future release. Thanks!
Artifact Publishing
Added a GitHub action workflow to publish a Java artifact to the repository upon release creation.
Default Value Change for enable.auto.commit Property
Problem
The enable.auto.commit property defaults to 'false,' but based on issue #22, 'true' is a more appropriate default.
Solution
The default for enable.auto.commit is now 'true' when the environment variable is not set.
Unit Tests Added
This PR introduces unit tests for S3-depositor methods, along with refactoring to support testability. All changes were tested and validated using Maven.
Documentation Updates
Problem
The README was disorganized and contained inaccuracies.
Solution
The README has been updated for better clarity and accuracy.