refactored connection classes to be more generic and accept credentials of different apps.

This commit is contained in:
2026-04-03 02:58:34 +02:00
parent ab1d7e68f5
commit 0169cf04b6
7 changed files with 116 additions and 30 deletions
@@ -6,7 +6,6 @@ import lombok.Getter;
@Getter
public enum ErrorMessages {
BAD_REQUEST_EMPTY_FIELDS(HttpStatus.BAD_REQUEST, "Fields must not be empty."), UNAUTHORIZED_WRONG_LOGIN(
HttpStatus.UNAUTHORIZED, "Invalid username or password."), SERVICE_UNAVAILABLE_UNREACHABLE_URL(
HttpStatus.SERVICE_UNAVAILABLE, "The target URL is unreachable."), SERVER_ERROR_GENERAL(