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

fix(rest.identity): adding specific error messages when user is not found #5047

Merged

Conversation

sfiorani
Copy link
Contributor

@sfiorani sfiorani commented Dec 6, 2023

This PR adds a more exhaustive response when an user tries to execute the following REST APIs:

  • POST services/identity/v1/identities
  • DELETE services/identity/v1/identities

with a non-existing userName in the request json.

Before this variation, an unspecific message would have been received, whic could be misleading.

Related Issue:

Description of the solution adopted:

Screenshots:

Manual Tests:

Any side note on the changes made:

@salvatore-coppola salvatore-coppola force-pushed the rest-identity-error-adding branch from 5b3c668 to bf89c81 Compare December 12, 2023 15:10
@salvatore-coppola salvatore-coppola merged commit 4db9733 into eclipse-kura:develop Dec 13, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants