Skip to content

chore(maintenance): simplify Utility class #3682

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

Merged
merged 3 commits into from
Mar 3, 2025
Merged

Conversation

dreamorosi
Copy link
Contributor

Summary

Changes

Please provide a summary of what's being changed

This PR updates the implementation of the shared Utility class to streamline it and remove redundant methods.

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: closes #3668


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@dreamorosi dreamorosi self-assigned this Mar 3, 2025
@dreamorosi dreamorosi requested review from a team as code owners March 3, 2025 09:51
@dreamorosi dreamorosi requested a review from am29d March 3, 2025 09:51
@dreamorosi dreamorosi linked an issue Mar 3, 2025 that may be closed by this pull request
2 tasks
@boring-cyborg boring-cyborg bot added commons This item relates to the Commons Utility logger This item relates to the Logger Utility metrics This item relates to the Metrics Utility tests PRs that add or change tests tracer This item relates to the Tracer Utility labels Mar 3, 2025
@pull-request-size pull-request-size bot added the size/L PRs between 100-499 LOC label Mar 3, 2025
@dreamorosi dreamorosi removed request for a team and am29d March 3, 2025 09:55
@dreamorosi
Copy link
Contributor Author

Copy link
Contributor

@leandrodamascena leandrodamascena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @dreamorosi! I think after updating the docstring it's good to merge.

Copy link

sonarqubecloud bot commented Mar 3, 2025

@dreamorosi dreamorosi merged commit 2ca2027 into main Mar 3, 2025
41 checks passed
@dreamorosi dreamorosi deleted the chore/utility_coldstart branch March 3, 2025 11:10
@Petwag
Copy link

Petwag commented Apr 11, 2025

Hi, not sure where to post but version 2.16.0 is introducing a breaking change by remove the protected getDefaultServiceName() function from Utility.

Because the logger library is using the common package with the ^ version allowing for minor upgrade, all installations of the powertool/logger pre 2.16.0 will now fail to run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commons This item relates to the Commons Utility logger This item relates to the Logger Utility metrics This item relates to the Metrics Utility size/L PRs between 100-499 LOC tests PRs that add or change tests tracer This item relates to the Tracer Utility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: add access method to coldStart field in the Utility class
3 participants