-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
detail
in RegistrationService.findUserByEmail
where the email…
… is not found on UAC Keycloak - Added proper error message in detail - Added context field `notFoundEmails` JSON array containing not found emails - Update OpenAPI spec
- Loading branch information
1 parent
eb360cf
commit 2e4c18f
Showing
7 changed files
with
59 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1734,6 +1734,14 @@ paths: | |
type: 'urn:dx:as:InvalidInput' | ||
title: Invalid URL | ||
detail: The domain is invalid | ||
Emails not on UAC: | ||
value: | ||
type: urn:dx:as:InvalidInput | ||
title: Email IDs not found at UAC | ||
detail: Some email IDs have not been registered at UAC | ||
context: | ||
notFoundEmails: | ||
- [email protected] | ||
'401': | ||
description: |- | ||
- Unauthorized - `token` invalid/expired | ||
|
@@ -2572,8 +2580,11 @@ paths: | |
Emails not on UAC: | ||
value: | ||
type: urn:dx:as:InvalidInput | ||
title: Some email IDs have not been registered at UAC | ||
detail: "[[email protected]]" | ||
title: Email IDs not found at UAC | ||
detail: Some email IDs have not been registered at UAC | ||
context: | ||
notFoundEmails: | ||
- [email protected] | ||
headers: | ||
Content-Type: | ||
schema: | ||
|
@@ -3155,6 +3166,14 @@ paths: | |
type: 'urn:dx:as:InvalidInput' | ||
title: Invalid URL | ||
detail: The URL is invalid | ||
Emails not on UAC: | ||
value: | ||
type: urn:dx:as:InvalidInput | ||
title: Email IDs not found at UAC | ||
detail: Some email IDs have not been registered at UAC | ||
context: | ||
notFoundEmails: | ||
- [email protected] | ||
'401': | ||
description: '- Unauthorized - `token` invalid/expired or not COS Admin' | ||
content: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.