Merge pull request #251 from Kitzanos/feature/GEPAFINBE-192
GEPAFINBE-192 (Fix the Custom validation on NDG quick response from 400 to 200 status code)
This commit is contained in:
@@ -171,8 +171,9 @@ public class AppointmentDao {
|
||||
HubEntity hub = hubRepository.findByHubId(application.getHubId());
|
||||
loginToOdessa(hub, application);
|
||||
startAsyncNdgProcessing(applicationId);
|
||||
throw new CustomValidationException(Status.SUCCESS, Translator.toLocale(GepafinConstant.NDG_GENERATION_IS_IN_PROGRESS));
|
||||
return ndgResponse;
|
||||
}
|
||||
|
||||
private HubEntity loginToOdessa(HubEntity hub, ApplicationEntity application) {
|
||||
try {
|
||||
//code to generate token with payload having "iat" epoch timestamp and secret key with no expiry and send in below method call
|
||||
|
||||
Reference in New Issue
Block a user