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

Refactor ServiceUrlBuilder to use KnownRoute enum #281

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

kirillkrylov
Copy link
Contributor

Refactored the ServiceUrlBuilder class to make use of a KnownRoute enum for defining URL paths. Also removed some unnecessary constants having URLs from various classes such as PackageBuilder and PackageDownloader and made them use the ServiceUrlBuilder's KnownRoute enum instead. This helps consolidate the URL path definitions within ServiceUrlBuilder, simplifying their usage and maintenance.

Refactored the ServiceUrlBuilder class to make use of a KnownRoute enum for defining URL paths. Also removed some unnecessary constants having URLs from various classes such as PackageBuilder and PackageDownloader and made them use the ServiceUrlBuilder's KnownRoute enum instead. This helps consolidate the URL path definitions within ServiceUrlBuilder, simplifying their usage and maintenance.

Signed-off-by: Kirill Krylov <k.krylov@creatio.com>
@kirillkrylov kirillkrylov merged commit 639b526 into master Apr 25, 2024
2 checks passed
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.

None yet

1 participant