-
Notifications
You must be signed in to change notification settings - Fork 31
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
EPMRPP-90612 || Error in UAT logs when there is no GitHub integration #318
Conversation
oauthProviderId).get() | ||
)); | ||
public ResponseEntity<?> getOauthIntegrationById(String oauthProviderId) { | ||
Optional<OAuthRegistration> oAuthRegistrationById = clientRegistrationRepository.findOAuthRegistrationById( |
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.
Line is longer than 100 characters (found 111).
oauthProviderId).get() | ||
)); | ||
public ResponseEntity<?> getOauthIntegrationById(String oauthProviderId) { | ||
Optional<OAuthRegistration> oAuthRegistrationById = clientRegistrationRepository.findOAuthRegistrationById( |
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.
} else { | ||
Map<String, String> body = new HashMap<>(); | ||
body.put("errorCode", String.valueOf(ErrorType.AUTH_INTEGRATION_NOT_FOUND.getCode())); | ||
body.put("message", Suppliers.formattedSupplier("Oauth settings with id = {} have not been found.", |
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.
Line is longer than 100 characters (found 105).
@@ -122,7 +123,7 @@ public Map<String, OAuthRegistrationResource> getOAuthSettings() { | |||
@ResponseBody | |||
@ResponseStatus(HttpStatus.OK) | |||
@Operation(summary = "Returns OAuth Server Settings") | |||
public OAuthRegistrationResource getOAuthSettings( | |||
public ResponseEntity<?> getOAuthSettings( |
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.
Abbreviation in name 'getOAuthSettings' must contain no more than '1' consecutive capital letters.
|
No description provided.