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

Feature/add land register #22

Open
wants to merge 24 commits into
base: develop
Choose a base branch
from

Conversation

kiril-atanasoff
Copy link

Closes https://isc-lgs.atlassian.net/browse/LGS-551
It also read the version property from the maven properties

src/main/resources/application.properties Show resolved Hide resolved
pom.xml Show resolved Hide resolved
doc/multi-sender-mode.md Outdated Show resolved Hide resolved
if (!senderId.matches(SENDER_ID_REGEX)) {
throw new ResponseStatusException(
HttpStatus.BAD_REQUEST,
"Invalid X-LGS-Sender-Id header. Valid characters: A-Z, a-z, -, _");
Copy link
Author

Choose a reason for hiding this comment

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

Doesn't tell the user what went wrong.
To point the user to change the header sent to the application
Add the user value


throw new SenderIdValidationException(
String.format(
"Validation of senderId failed, given senderId %s, valid senderId(s): %s.",
Copy link
Author

Choose a reason for hiding this comment

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

Sender id (customer values) is not found in the configuration. The given sender are the lists.

@Ghabi-ISC Ghabi-ISC self-assigned this Feb 28, 2024
@Ghabi-ISC Ghabi-ISC added the enhancement New feature or request label Feb 28, 2024
@Ghabi-ISC Ghabi-ISC added this to the 2.1.0 milestone Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants