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

create URL checker #1008

Closed
hohwille opened this issue Dec 12, 2022 · 1 comment · Fixed by #1042
Closed

create URL checker #1008

hohwille opened this issue Dec 12, 2022 · 1 comment · Fixed by #1042
Assignees
Labels
enhancement New feature or request java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium) mirrors ide-mirrors repository (deprecated/obsolete)

Comments

@hohwille
Copy link
Member

For our epic #941 we have decided to do the implementation in Java what is way more maintainable compared to bash.
This story is about implementing the URL checker.
It shall be a simple component that takes an URL, performs an HTTP HEAD request to check if the URL is valid and returns a result that is either a success (200 OK) or an error (e.g. 404 Not Found).
The internal design should clarify if we need a structured result object containing the HTTP status code separated from the HTTP response message that could also contain details on an error such as 500.
The most important thing however is that we need to be able to determine if the result was a success or not very easily (e.g. result.isSuccess()).

@hohwille hohwille added enhancement New feature or request java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium) mirrors ide-mirrors repository (deprecated/obsolete) labels Dec 12, 2022
@hohwille hohwille added this to the release:2022.12.001 milestone Dec 12, 2022
@hohwille hohwille removed this from the release:2022.12.001 milestone Dec 15, 2022
@hohwille hohwille added this to the release:2023.04.001 milestone Apr 13, 2023
@hohwille
Copy link
Member Author

Done with PR #1042 (for #1009)

@hohwille hohwille linked a pull request Apr 13, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request java related to Java code, the Java Virtual Machine and directly related tooling (OpenJDK, Adoptium) mirrors ide-mirrors repository (deprecated/obsolete)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants