-
Notifications
You must be signed in to change notification settings - Fork 2
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
base: develop
Are you sure you want to change the base?
Feature/add land register #22
Conversation
src/main/java/ch/ejpd/lgs/searchindex/client/entity/LandRegister.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/ejpd/lgs/searchindex/client/service/processor/PersonDataProcessor.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/ejpd/lgs/searchindex/client/service/sync/AbstractSyncService.java
Outdated
Show resolved
Hide resolved
...st/java/ch/ejpd/lgs/searchindex/client/service/sync/FullSyncStateManagerMultiSenderTest.java
Show resolved
Hide resolved
src/main/java/ch/ejpd/lgs/searchindex/client/service/processor/PersonDataProcessor.java
Outdated
Show resolved
Hide resolved
src/main/java/ch/ejpd/lgs/searchindex/client/service/sync/FullSyncStateManager.java
Show resolved
Hide resolved
src/main/java/ch/ejpd/lgs/searchindex/client/configuration/SedexConfiguration.java
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, -, _"); |
There was a problem hiding this comment.
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.", |
There was a problem hiding this comment.
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.
Closes https://isc-lgs.atlassian.net/browse/LGS-551
It also read the version property from the maven properties