-
Notifications
You must be signed in to change notification settings - Fork 33
EPMRPP-94581 || Update Spring Boot 3 in uat service #367
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
Conversation
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
reviewdog
src/main/java/com/epam/reportportal/auth/config/utils/ConvertToOauthToken.java|108| Line is longer than 100 characters (found 135).
src/main/java/com/epam/reportportal/auth/config/utils/JwtReportPortalUserConverter.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/config/utils/JwtReportPortalUserConverter.java|29| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/config/utils/JwtReportPortalUserConverter.java|36| Line is longer than 100 characters (found 125).
src/main/java/com/epam/reportportal/auth/config/utils/JwtReportPortalUserConverter.java|38 col 17| 'static' modifier out of order with the JLS suggestions.
src/main/java/com/epam/reportportal/auth/config/utils/JwtReportPortalUserConverter.java|52| Line is longer than 100 characters (found 118).
src/main/java/com/epam/reportportal/auth/config/utils/JwtReportPortalUserConverter.java|61 col 3| 'Converter' has incorrect indentation level 2, expected level should be 6.
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|76| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|109 col 1| Comment has incorrect indentation level 0, expected is 2, indentation should be the same level as line 111.
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|111 col 3| Missing a Javadoc comment.
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|130 col 3| Missing a Javadoc comment.
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|162| Line is longer than 100 characters (found 143).
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|180| Line is longer than 100 characters (found 107).
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|193 col 34| Abbreviation in name 'gitHubOAuth2UserService' must contain no more than '1' consecutive capital letters.
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|200 col 3| Missing a Javadoc comment.
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|217 col 3| Missing a Javadoc comment.
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|226 col 3| Missing a Javadoc comment.
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|248 col 1| Comment has incorrect indentation level 0, expected is 2, indentation should be the same level as line 250.
src/main/java/com/epam/reportportal/auth/config/GlobalWebSecurityConfig.java|304 col 1| Comment has incorrect indentation level 0, expected is 2, indentation should be the same level as line 306.
src/main/java/com/epam/reportportal/auth/config/saml/Saml2AuthenticationConfiguration.java|59 col 3| Missing a Javadoc comment.
src/main/java/com/epam/reportportal/auth/config/SpringDocConfiguration.java|36 col 1| Wrong lexicographical order for 'jakarta.servlet.ServletContext' import. Should be before 'java.util.stream.Collectors'.
src/main/java/com/epam/reportportal/auth/config/SpringDocConfiguration.java|39 col 1| Wrong lexicographical order for 'org.springdoc.core.customizers.OpenApiCustomizer' import. Should be before 'org.springdoc.core.utils.SpringDocUtils'.
src/main/java/com/epam/reportportal/auth/config/password/CustomCodeGrantAuthenticationConverter.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/config/password/CustomCodeGrantAuthenticationConverter.java|30| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/config/password/CustomCodeGrantAuthenticationConverter.java|45| Line is longer than 100 characters (found 113).
src/main/java/com/epam/reportportal/auth/config/password/CustomCodeGrantAuthenticationProvider.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/config/password/CustomCodeGrantAuthenticationProvider.java|53| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/config/password/CustomCodeGrantAuthenticationProvider.java|64 col 3| Missing a Javadoc comment.
src/main/java/com/epam/reportportal/auth/config/password/CustomCodeGrantAuthenticationProvider.java|65| Line is longer than 100 characters (found 104).
src/main/java/com/epam/reportportal/auth/config/password/CustomCodeGrantAuthenticationProvider.java|95| Line is longer than 100 characters (found 108).
src/main/java/com/epam/reportportal/auth/config/password/CustomCodeGrantAuthenticationProvider.java|119| Line is longer than 100 characters (found 113).
src/main/java/com/epam/reportportal/auth/config/password/CustomCodeGrantAuthenticationProvider.java|133| Line is longer than 100 characters (found 102).
src/main/java/com/epam/reportportal/auth/config/password/CustomCodeGrantAuthenticationProvider.java|156| Line is longer than 100 characters (found 156).
src/main/java/com/epam/reportportal/auth/config/password/ClientToken.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/config/password/ClientToken.java|24| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/config/password/PasswordGrantTokenGenerator.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/config/password/PasswordGrantTokenGenerator.java|25| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/config/password/PasswordGrantTokenGenerator.java|38| Line is longer than 100 characters (found 141).
src/main/java/com/epam/reportportal/auth/config/password/OAuth2ErrorResponseHandler.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/config/password/OAuth2ErrorResponseHandler.java|33| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/config/password/OAuth2ErrorResponseHandler.java|36 col 14| Abbreviation in name 'OAuth2ErrorResponseHandler' must contain no more than '1' consecutive capital letters.
src/main/java/com/epam/reportportal/auth/config/DatabaseConfiguration.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.EntityManager' import. Should be before 'java.util.Properties'.
src/main/java/com/epam/reportportal/auth/config/DatabaseConfiguration.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.EntityManagerFactory' import. Should be before 'java.util.Properties'.
src/main/java/com/epam/reportportal/auth/OAuthSuccessHandler.java|51 col 31| Local variable name 'oAuth2Authentication' must match pattern '^a-z?$'.
src/main/java/com/epam/reportportal/auth/rules/commons/exception/rest/RestExceptionHandler.java|22 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.util.List'.
src/main/java/com/epam/reportportal/auth/rules/commons/exception/rest/RestExceptionHandler.java|23 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.util.List'.
src/main/java/com/epam/reportportal/auth/TokenServicesFacade.java|60 col 3| All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '48'.
src/main/java/com/epam/reportportal/auth/TokenServicesFacade.java|87| Line is longer than 100 characters (found 110).
src/main/java/com/epam/reportportal/auth/TokenServicesFacade.java|87 col 3| Missing a Javadoc comment.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2UserService.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2UserService.java|30| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2UserService.java|33 col 14| Abbreviation in name 'GitHubOAuth2UserService' must contain no more than '1' consecutive capital letters.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2UserService.java|36 col 53| Member name 'oAuthRegistrationSupplier' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2UserService.java|39 col 43| Parameter name 'oAuthRegistrationSupplier' must match pattern '^a-z?$'.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2User.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2User.java|23| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2User.java|26 col 14| Abbreviation in name 'GitHubOAuth2User' must contain no more than '1' consecutive capital letters.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2User.java|30 col 3| Missing a Javadoc comment.
src/main/java/com/epam/reportportal/auth/integration/builder/AuthIntegrationBuilder.java|22 col 1| Wrong lexicographical order for 'jakarta.validation.constraints.NotNull' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/dao/ReportPortalRepositoryImpl.java|20 col 1| Wrong lexicographical order for 'jakarta.persistence.EntityManager' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/dao/converters/JpaInstantConverter.java|7 col 1| Wrong lexicographical order for 'jakarta.persistence.AttributeConverter' import. Should be before 'java.time.ZoneOffset'.
src/main/java/com/epam/reportportal/auth/dao/converters/JpaInstantConverter.java|8 col 1| Wrong lexicographical order for 'jakarta.persistence.Converter' import. Should be before 'java.time.ZoneOffset'.
src/main/java/com/epam/reportportal/auth/dao/IntegrationRepository.java|57| Line is longer than 100 characters (found 179).
src/main/java/com/epam/reportportal/auth/event/UiAuthenticationFailureEventHandler.java|25 col 1| Wrong lexicographical order for 'jakarta.inject.Inject' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'.
src/main/java/com/epam/reportportal/auth/event/UiAuthenticationFailureEventHandler.java|26 col 1| Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'.
src/main/java/com/epam/reportportal/auth/event/UiAuthenticationFailureEventHandler.java|27 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'.
src/main/java/com/epam/reportportal/auth/event/UiAuthenticationSuccessEventHandler.java|101 col 5| '}' at column 5 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else, do/while or try/catch/finally).
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Index' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.EntityListeners' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Inheritance' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.InheritanceType' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|36 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|37 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationTypeDetails.java|30| Line is longer than 100 characters (found 107).
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Transient' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUserId.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUserId.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Embeddable' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.EmbeddedId' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.MapsId' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|36 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|37 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|38 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|39 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|40 col 1| Wrong lexicographical order for 'jakarta.persistence.OrderBy' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|41 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|22 col 1| Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|23 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|24 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|20 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|21 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/endpoint/AuthConfigurationEndpoint.java|32 col 1| Wrong lexicographical order for 'jakarta.validation.Valid' import. Should be before 'java.beans.PropertyEditorSupport'.
@@ -22,7 +22,7 @@ | |||
import com.epam.reportportal.auth.entity.user.User; | |||
import com.epam.reportportal.auth.exception.EnvironmentVariablesNotProvidedException; | |||
import java.util.Optional; | |||
import javax.persistence.EntityNotFoundException; | |||
import jakarta.persistence.EntityNotFoundException; |
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.
Wrong lexicographical order for 'jakarta.persistence.EntityNotFoundException' import. Should be before 'java.util.Optional'.
@@ -22,8 +22,8 @@ | |||
import java.io.Serializable; | |||
import java.util.Map; | |||
import java.util.Set; | |||
import javax.validation.constraints.NotBlank; | |||
import javax.validation.constraints.Pattern; | |||
import jakarta.validation.constraints.NotBlank; |
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.
Wrong lexicographical order for 'jakarta.validation.constraints.NotBlank' import. Should be before 'java.util.Set'.
import javax.validation.constraints.NotBlank; | ||
import javax.validation.constraints.Pattern; | ||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.Pattern; |
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.
Wrong lexicographical order for 'jakarta.validation.constraints.Pattern' import. Should be before 'java.util.Set'.
import javax.validation.constraints.NotBlank; | ||
import javax.validation.constraints.NotNull; | ||
import javax.validation.constraints.Pattern; | ||
import jakarta.validation.Valid; |
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.
Wrong lexicographical order for 'jakarta.validation.Valid' import. Should be before 'java.io.Serializable'.
import javax.validation.constraints.NotNull; | ||
import javax.validation.constraints.Pattern; | ||
import jakarta.validation.Valid; | ||
import jakarta.validation.constraints.NotBlank; |
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.
Wrong lexicographical order for 'jakarta.validation.constraints.NotBlank' import. Should be before 'java.io.Serializable'.
this.tokenService = tokenService; | ||
} | ||
|
||
public Authentication convert(ClientToken clientToken, Authentication authentication) throws AuthenticationException { |
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 120).
this.tokenService = tokenService; | ||
} | ||
|
||
public Authentication convert(ClientToken clientToken, Authentication authentication) throws AuthenticationException { |
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.
Missing a Javadoc comment.
} | ||
|
||
public Authentication convert(ClientToken clientToken, Authentication authentication) throws AuthenticationException { | ||
OAuth2ClientAuthenticationToken clientPrincipal = (OAuth2ClientAuthenticationToken) clientToken.getClientPrincipal(); |
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 121).
generatedAccessToken.getTokenValue(), generatedAccessToken.getIssuedAt(), | ||
generatedAccessToken.getExpiresAt(), null); | ||
|
||
OAuth2Authorization.Builder authorizationBuilder = OAuth2Authorization.withRegisteredClient(registeredClient) |
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 113).
// ----- Refresh Token ----- | ||
OAuth2RefreshToken refreshToken = null; | ||
if (registeredClient.getAuthorizationGrantTypes().contains(AuthorizationGrantType.REFRESH_TOKEN) | ||
&& !clientPrincipal.getClientAuthenticationMethod().equals(ClientAuthenticationMethod.NONE)) { |
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 102).
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
reviewdog
src/main/java/com/epam/reportportal/auth/config/password/PasswordGrantTokenGenerator.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/config/password/PasswordGrantTokenGenerator.java|25| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/config/password/PasswordGrantTokenGenerator.java|38| Line is longer than 100 characters (found 141).
src/main/java/com/epam/reportportal/auth/config/password/OAuth2ErrorResponseHandler.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/config/password/OAuth2ErrorResponseHandler.java|33| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/config/password/OAuth2ErrorResponseHandler.java|36 col 14| Abbreviation in name 'OAuth2ErrorResponseHandler' must contain no more than '1' consecutive capital letters.
src/main/java/com/epam/reportportal/auth/config/DatabaseConfiguration.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.EntityManager' import. Should be before 'java.util.Properties'.
src/main/java/com/epam/reportportal/auth/config/DatabaseConfiguration.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.EntityManagerFactory' import. Should be before 'java.util.Properties'.
src/main/java/com/epam/reportportal/auth/OAuthSuccessHandler.java|51 col 31| Local variable name 'oAuth2Authentication' must match pattern '^a-z?$'.
src/main/java/com/epam/reportportal/auth/rules/commons/exception/rest/RestExceptionHandler.java|22 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.util.List'.
src/main/java/com/epam/reportportal/auth/rules/commons/exception/rest/RestExceptionHandler.java|23 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.util.List'.
src/main/java/com/epam/reportportal/auth/TokenServicesFacade.java|60 col 3| All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '48'.
src/main/java/com/epam/reportportal/auth/TokenServicesFacade.java|87| Line is longer than 100 characters (found 110).
src/main/java/com/epam/reportportal/auth/TokenServicesFacade.java|87 col 3| Missing a Javadoc comment.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2UserService.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2UserService.java|30| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2UserService.java|33 col 14| Abbreviation in name 'GitHubOAuth2UserService' must contain no more than '1' consecutive capital letters.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2UserService.java|36 col 53| Member name 'oAuthRegistrationSupplier' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2UserService.java|39 col 43| Parameter name 'oAuthRegistrationSupplier' must match pattern '^a-z?$'.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2User.java|16 col 1| 'package' should be separated from previous line.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2User.java|23| Summary javadoc is missing.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2User.java|26 col 14| Abbreviation in name 'GitHubOAuth2User' must contain no more than '1' consecutive capital letters.
src/main/java/com/epam/reportportal/auth/integration/github/GitHubOAuth2User.java|30 col 3| Missing a Javadoc comment.
src/main/java/com/epam/reportportal/auth/integration/builder/AuthIntegrationBuilder.java|22 col 1| Wrong lexicographical order for 'jakarta.validation.constraints.NotNull' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/dao/ReportPortalRepositoryImpl.java|20 col 1| Wrong lexicographical order for 'jakarta.persistence.EntityManager' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/dao/converters/JpaInstantConverter.java|7 col 1| Wrong lexicographical order for 'jakarta.persistence.AttributeConverter' import. Should be before 'java.time.ZoneOffset'.
src/main/java/com/epam/reportportal/auth/dao/converters/JpaInstantConverter.java|8 col 1| Wrong lexicographical order for 'jakarta.persistence.Converter' import. Should be before 'java.time.ZoneOffset'.
src/main/java/com/epam/reportportal/auth/dao/IntegrationRepository.java|57| Line is longer than 100 characters (found 179).
src/main/java/com/epam/reportportal/auth/event/UiAuthenticationFailureEventHandler.java|25 col 1| Wrong lexicographical order for 'jakarta.inject.Inject' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'.
src/main/java/com/epam/reportportal/auth/event/UiAuthenticationFailureEventHandler.java|26 col 1| Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'.
src/main/java/com/epam/reportportal/auth/event/UiAuthenticationFailureEventHandler.java|27 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'.
src/main/java/com/epam/reportportal/auth/event/UiAuthenticationSuccessEventHandler.java|101 col 5| '}' at column 5 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else, do/while or try/catch/finally).
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Index' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.EntityListeners' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Inheritance' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.InheritanceType' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|36 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|37 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationTypeDetails.java|30| Line is longer than 100 characters (found 107).
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Transient' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUserId.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUserId.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Embeddable' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.EmbeddedId' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.MapsId' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|36 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|37 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|38 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|39 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|40 col 1| Wrong lexicographical order for 'jakarta.persistence.OrderBy' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|41 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|22 col 1| Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|23 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|24 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|20 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|21 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/endpoint/AuthConfigurationEndpoint.java|32 col 1| Wrong lexicographical order for 'jakarta.validation.Valid' import. Should be before 'java.beans.PropertyEditorSupport'.
return new BCryptPasswordEncoder(); | ||
} | ||
|
||
@Bean |
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.
Missing a Javadoc comment.
.sessionCreationPolicy(SessionCreationPolicy.STATELESS) | ||
) | ||
.oauth2Login(oauth2 -> oauth2 | ||
.userInfoEndpoint(userInfo -> userInfo.userService(gitHubOAuth2UserService(gitHubUserReplicator, new OAuthRegistrationResource()))) |
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 143).
|
||
return http.build(); | ||
} | ||
@Bean |
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.
'METHOD_DEF' should be separated from previous line.
return http.build(); | ||
} | ||
@Bean | ||
public GitHubOAuth2UserService gitHubOAuth2UserService( |
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 'gitHubOAuth2UserService' must contain no more than '1' consecutive capital letters.
return new GitHubOAuth2UserService(replicator, () -> registration); | ||
} | ||
|
||
@Bean |
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.
Missing a Javadoc comment.
generatedAccessToken.getTokenValue(), generatedAccessToken.getIssuedAt(), | ||
generatedAccessToken.getExpiresAt(), null); | ||
|
||
OAuth2Authorization.Builder authorizationBuilder = OAuth2Authorization.withRegisteredClient(registeredClient) |
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 113).
// ----- Refresh Token ----- | ||
OAuth2RefreshToken refreshToken = null; | ||
if (registeredClient.getAuthorizationGrantTypes().contains(AuthorizationGrantType.REFRESH_TOKEN) | ||
&& !clientPrincipal.getClientAuthenticationMethod().equals(ClientAuthenticationMethod.NONE)) { |
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 102).
.build(); | ||
this.authorizationService.save(authorization); | ||
|
||
return new OAuth2AccessTokenAuthenticationToken(registeredClient, usernamePasswordAuthenticationToken, accessToken, refreshToken, additionalParameters); |
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 156).
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.epam.reportportal.auth.config.password; |
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.
'package' should be separated from previous line.
import org.springframework.security.core.Authentication; | ||
import org.springframework.security.core.GrantedAuthority; | ||
|
||
/** |
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.
Summary javadoc is missing.
public RegisteredClientRepository registeredClientRepository() { | ||
RegisteredClient uiClient = RegisteredClient.withId(ReportPortalClient.ui.name()) | ||
.clientId(ReportPortalClient.ui.name()) | ||
.clientSecret(passwordEncoder().encode("uiman")) |
Check failure
Code scanning / SonarCloud
Credentials should not be hard-coded High
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
reviewdog
src/main/java/com/epam/reportportal/auth/event/UiAuthenticationFailureEventHandler.java|25 col 1| Wrong lexicographical order for 'jakarta.inject.Inject' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'.
src/main/java/com/epam/reportportal/auth/event/UiAuthenticationFailureEventHandler.java|26 col 1| Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'.
src/main/java/com/epam/reportportal/auth/event/UiAuthenticationFailureEventHandler.java|27 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'.
src/main/java/com/epam/reportportal/auth/event/UiAuthenticationSuccessEventHandler.java|101 col 5| '}' at column 5 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else, do/while or try/catch/finally).
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attribute/Attribute.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Index' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/item/issue/IssueType.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/ServerSettings.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.EntityListeners' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Inheritance' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.InheritanceType' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|36 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|37 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationTypeDetails.java|30| Line is longer than 100 characters (found 107).
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Transient' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUserId.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUserId.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Embeddable' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.EmbeddedId' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.MapsId' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|36 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|37 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|38 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|39 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|40 col 1| Wrong lexicographical order for 'jakarta.persistence.OrderBy' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|41 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|22 col 1| Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|23 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|24 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|20 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|21 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/endpoint/AuthConfigurationEndpoint.java|32 col 1| Wrong lexicographical order for 'jakarta.validation.Valid' import. Should be before 'java.beans.PropertyEditorSupport'.
.sessionCreationPolicy(SessionCreationPolicy.STATELESS) | ||
) | ||
.oauth2Login(oauth2 -> oauth2 | ||
.userInfoEndpoint(userInfo -> userInfo.userService(gitHubOAuth2UserService(gitHubUserReplicator, getOAuthRegistrationResource()))) |
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 142).
return new GitHubOAuth2UserService(replicator, () -> registration); | ||
} | ||
|
||
private OAuthRegistrationResource getOAuthRegistrationResource() { |
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 'getOAuthRegistrationResource' must contain no more than '1' consecutive capital letters.
|
||
private OAuthRegistrationResource getOAuthRegistrationResource() { | ||
return clientRegistrationRepository.findOAuthRegistrationById( | ||
"github").map(OAuthRegistrationConverters.TO_RESOURCE).orElse(new OAuthRegistrationResource()); |
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 103).
// ----- Access Token ----- | ||
OAuth2TokenContext tokenContext = tokenContextBuilder.tokenType(OAuth2TokenType.ACCESS_TOKEN) | ||
.principal(authentication).build(); | ||
OAuth2Token generatedAccessToken = tokenService.createToken(ReportPortalClient.ui.name(), tokenContext.getPrincipal().getName(), |
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 132).
|
||
private final UserDetailsService userDetailsService; | ||
|
||
private final Converter<Jwt, Collection<GrantedAuthority>> jwtGrantedAuthoritiesConverter = new JwtGrantedAuthoritiesConverter(); |
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 131).
@@ -19,7 +19,7 @@ | |||
import com.epam.reportportal.auth.entity.integration.Integration; | |||
import com.epam.reportportal.auth.entity.integration.IntegrationType; | |||
import java.time.Instant; | |||
import javax.validation.constraints.NotNull; | |||
import jakarta.validation.constraints.NotNull; |
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.
Wrong lexicographical order for 'jakarta.validation.constraints.NotNull' import. Should be before 'java.time.Instant'.
@@ -17,7 +17,7 @@ | |||
package com.epam.reportportal.auth.dao; | |||
|
|||
import java.io.Serializable; | |||
import javax.persistence.EntityManager; | |||
import jakarta.persistence.EntityManager; |
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.
Wrong lexicographical order for 'jakarta.persistence.EntityManager' import. Should be before 'java.io.Serializable'.
@@ -4,8 +4,8 @@ | |||
import java.time.Instant; | |||
import java.time.LocalDateTime; | |||
import java.time.ZoneOffset; | |||
import javax.persistence.AttributeConverter; | |||
import javax.persistence.Converter; | |||
import jakarta.persistence.AttributeConverter; |
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.
Wrong lexicographical order for 'jakarta.persistence.AttributeConverter' import. Should be before 'java.time.ZoneOffset'.
import javax.persistence.AttributeConverter; | ||
import javax.persistence.Converter; | ||
import jakarta.persistence.AttributeConverter; | ||
import jakarta.persistence.Converter; |
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.
Wrong lexicographical order for 'jakarta.persistence.Converter' import. Should be before 'java.time.ZoneOffset'.
@@ -54,6 +54,6 @@ public interface IntegrationRepository extends ReportPortalRepository<Integratio | |||
List<Integration> findAllGlobalByType(@Param("integrationType") IntegrationType integrationType); | |||
|
|||
|
|||
@Query(value = "SELECT * FROM integration i LEFT OUTER JOIN integration_type it ON i.type = it.id WHERE it.name IN (:types) order by i.creation_date desc", nativeQuery = true) | |||
@Query(value = "SELECT i.* FROM integration i LEFT OUTER JOIN integration_type it ON i.type = it.id WHERE it.name IN (:types) order by i.creation_date desc", nativeQuery = true) |
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 179).
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
reviewdog
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.EntityListeners' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Inheritance' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.InheritanceType' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/Integration.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.time.Instant'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|36 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationType.java|37 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/integration/IntegrationTypeDetails.java|30| Line is longer than 100 characters (found 107).
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Transient' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUserId.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUserId.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Embeddable' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.EmbeddedId' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.MapsId' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|36 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|37 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|38 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|39 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|40 col 1| Wrong lexicographical order for 'jakarta.persistence.OrderBy' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|41 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|22 col 1| Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|23 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|24 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|20 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|21 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/endpoint/AuthConfigurationEndpoint.java|32 col 1| Wrong lexicographical order for 'jakarta.validation.Valid' import. Should be before 'java.beans.PropertyEditorSupport'.
import javax.inject.Inject; | ||
import javax.inject.Provider; | ||
import javax.servlet.http.HttpServletRequest; | ||
import jakarta.inject.Inject; |
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.
Wrong lexicographical order for 'jakarta.inject.Inject' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'.
import javax.inject.Provider; | ||
import javax.servlet.http.HttpServletRequest; | ||
import jakarta.inject.Inject; | ||
import jakarta.inject.Provider; |
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.
Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'.
import javax.servlet.http.HttpServletRequest; | ||
import jakarta.inject.Inject; | ||
import jakarta.inject.Provider; | ||
import jakarta.servlet.http.HttpServletRequest; |
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.
Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.util.concurrent.atomic.AtomicInteger'.
throw new LockedException("User account is locked"); | ||
} | ||
return ghUser.getReportPortalUser(); | ||
} |
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.
'}' at column 5 should be on the same line as the next part of a multi-block statement (one that directly contains multiple blocks: if/else-if/else, do/while or try/catch/finally).
import javax.persistence.GenerationType; | ||
import javax.persistence.Id; | ||
import javax.persistence.Table; | ||
import jakarta.persistence.Column; |
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.
Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
import jakarta.persistence.Entity; | ||
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; |
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.
Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; | ||
import jakarta.persistence.Table; |
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.
Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
import javax.persistence.JoinColumn; | ||
import javax.persistence.ManyToOne; | ||
import javax.persistence.Table; | ||
import jakarta.persistence.Column; |
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.
Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.time.Instant'.
import javax.persistence.ManyToOne; | ||
import javax.persistence.Table; | ||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Convert; |
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.
Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.time.Instant'.
import javax.persistence.Table; | ||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Convert; | ||
import jakarta.persistence.Entity; |
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.
Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.time.Instant'.
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
reviewdog
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/activity/Activity.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Transient' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationRestriction.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistration.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/oauth/OAuthRegistrationScope.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUserId.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUserId.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Embeddable' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.EmbeddedId' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.MapsId' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|36 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|37 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|38 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|39 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|40 col 1| Wrong lexicographical order for 'jakarta.persistence.OrderBy' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|41 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|22 col 1| Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|23 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|24 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|20 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|21 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/endpoint/AuthConfigurationEndpoint.java|32 col 1| Wrong lexicographical order for 'jakarta.validation.Valid' import. Should be before 'java.beans.PropertyEditorSupport'.
@@ -96,6 +106,7 @@ public List<RelyingPartyRegistration> createRelyingPartyRegistrations() { | |||
.wantAuthnRequestsSigned(false) | |||
.singleSignOnServiceBinding(Saml2MessageBinding.POST)) | |||
.build(); | |||
LOGGER.error("CALLBACK URL: " + relyingPartyRegistration.getAssertionConsumerServiceLocation()); |
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 102).
@@ -108,4 +119,8 @@ private Saml2X509Credential getSigningCredential() { | |||
return new Saml2X509Credential(privateKey, certificate, Saml2X509Credential.Saml2X509CredentialType.SIGNING); | |||
} | |||
|
|||
private String getCallBackUrl() { | |||
return StringUtils.isEmpty(pathValue) || pathValue.equals("/") ? CALL_BACK_URL.replaceFirst("baseUrl}/","baseUrl}/uat" ) : CALL_BACK_URL; |
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 141).
@@ -108,4 +119,8 @@ private Saml2X509Credential getSigningCredential() { | |||
return new Saml2X509Credential(privateKey, certificate, Saml2X509Credential.Saml2X509CredentialType.SIGNING); | |||
} | |||
|
|||
private String getCallBackUrl() { | |||
return StringUtils.isEmpty(pathValue) || pathValue.equals("/") ? CALL_BACK_URL.replaceFirst("baseUrl}/","baseUrl}/uat" ) : CALL_BACK_URL; |
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.
',' is not followed by whitespace.
@@ -108,4 +119,8 @@ private Saml2X509Credential getSigningCredential() { | |||
return new Saml2X509Credential(privateKey, certificate, Saml2X509Credential.Saml2X509CredentialType.SIGNING); | |||
} | |||
|
|||
private String getCallBackUrl() { | |||
return StringUtils.isEmpty(pathValue) || pathValue.equals("/") ? CALL_BACK_URL.replaceFirst("baseUrl}/","baseUrl}/uat" ) : CALL_BACK_URL; |
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.
')' is preceded with whitespace.
import jakarta.persistence.Column; | ||
import jakarta.persistence.Convert; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.EntityListeners; |
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.
Wrong lexicographical order for 'jakarta.persistence.EntityListeners' import. Should be before 'java.time.Instant'.
import javax.persistence.Id; | ||
import javax.persistence.Table; | ||
import javax.persistence.Transient; | ||
import jakarta.persistence.Column; |
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.
Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
import javax.persistence.Table; | ||
import javax.persistence.Transient; | ||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Convert; |
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.
Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
import javax.persistence.Transient; | ||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Convert; | ||
import jakarta.persistence.Entity; |
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.
Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
import jakarta.persistence.Column; | ||
import jakarta.persistence.Convert; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.EnumType; |
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.
Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Objects'.
import jakarta.persistence.Convert; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.EnumType; | ||
import jakarta.persistence.Enumerated; |
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.
Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Objects'.
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
reviewdog
src/main/java/com/epam/reportportal/auth/entity/user/User.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/User.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.UUID'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.EmbeddedId' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.MapsId' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/user/ProjectUser.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|30 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|31 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|32 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|33 col 1| Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|34 col 1| Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|35 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|36 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|37 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|38 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|39 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|40 col 1| Wrong lexicographical order for 'jakarta.persistence.OrderBy' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|41 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|22 col 1| Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|23 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|24 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|20 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|21 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/endpoint/AuthConfigurationEndpoint.java|32 col 1| Wrong lexicographical order for 'jakarta.validation.Valid' import. Should be before 'java.beans.PropertyEditorSupport'.
import jakarta.persistence.Entity; | ||
import jakarta.persistence.EnumType; | ||
import jakarta.persistence.Enumerated; | ||
import jakarta.persistence.GeneratedValue; |
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.
Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
import jakarta.persistence.EnumType; | ||
import jakarta.persistence.Enumerated; | ||
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; |
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.
Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
import jakarta.persistence.Enumerated; | ||
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; |
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.
Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; | ||
import jakarta.persistence.Table; |
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.
Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; | ||
import jakarta.persistence.Table; | ||
import jakarta.persistence.Transient; |
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.
Wrong lexicographical order for 'jakarta.persistence.Transient' import. Should be before 'java.util.Objects'.
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; | ||
import jakarta.persistence.JoinColumn; |
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.
Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; | ||
import jakarta.persistence.JoinColumn; | ||
import jakarta.persistence.ManyToOne; |
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.
Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
import jakarta.persistence.Id; | ||
import jakarta.persistence.JoinColumn; | ||
import jakarta.persistence.ManyToOne; | ||
import jakarta.persistence.Table; |
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.
Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
@@ -18,8 +18,8 @@ | |||
|
|||
import java.io.Serializable; | |||
import java.util.Objects; | |||
import javax.persistence.Column; | |||
import javax.persistence.Embeddable; | |||
import jakarta.persistence.Column; |
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.
Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
import javax.persistence.Column; | ||
import javax.persistence.Embeddable; | ||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Embeddable; |
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.
Wrong lexicographical order for 'jakarta.persistence.Embeddable' import. Should be before 'java.util.Objects'.
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
reviewdog
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|37 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|38 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|39 col 1| Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|40 col 1| Wrong lexicographical order for 'jakarta.persistence.OrderBy' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/Project.java|41 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueType.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|21 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttributeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.io.Serializable'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectIssueTypeKey.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|22 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.IdClass' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.JoinColumn' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.ManyToOne' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/project/ProjectAttribute.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|23 col 1| Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|24 col 1| Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|25 col 1| Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|26 col 1| Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|27 col 1| Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|28 col 1| Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|22 col 1| Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|23 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|24 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|20 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|21 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/endpoint/AuthConfigurationEndpoint.java|32 col 1| Wrong lexicographical order for 'jakarta.validation.Valid' import. Should be before 'java.beans.PropertyEditorSupport'.
|
||
public interface ProjectRepository extends ReportPortalRepository<Project, Long> { | ||
|
||
Optional<Project> findByName(String name); | ||
|
||
boolean existsByName(String name); | ||
|
||
@Query(value = "SELECT p.* FROM project p JOIN project_user pu on p.id = pu.project_id JOIN users u on pu.user_id = u.id WHERE u.login = :login", nativeQuery = true) |
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 167).
@Query(value = "SELECT p.* FROM project p JOIN project_user pu on p.id = pu.project_id JOIN users u on pu.user_id = u.id WHERE u.login = :login", nativeQuery = true) | ||
List<Project> findUserProjects(@Param("login") String login); | ||
|
||
@Query(value = "SELECT p.* FROM project p JOIN project_user pu on p.id = pu.project_id JOIN users u on pu.user_id = u.id WHERE u.login = :login AND p.project_type = :projectType", nativeQuery = true) |
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 201).
import javax.persistence.Id; | ||
import javax.persistence.OneToMany; | ||
import javax.persistence.Table; | ||
import jakarta.persistence.CascadeType; |
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.
Wrong lexicographical order for 'jakarta.persistence.CascadeType' import. Should be before 'java.util.UUID'.
import javax.persistence.OneToMany; | ||
import javax.persistence.Table; | ||
import jakarta.persistence.CascadeType; | ||
import jakarta.persistence.Column; |
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.
Wrong lexicographical order for 'jakarta.persistence.Column' import. Should be before 'java.util.UUID'.
import javax.persistence.Table; | ||
import jakarta.persistence.CascadeType; | ||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Entity; |
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.
Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.UUID'.
import jakarta.persistence.CascadeType; | ||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Convert; | ||
import jakarta.persistence.Entity; |
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.
Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Set'.
import jakarta.persistence.Column; | ||
import jakarta.persistence.Convert; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.EnumType; |
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.
Wrong lexicographical order for 'jakarta.persistence.EnumType' import. Should be before 'java.util.Set'.
import jakarta.persistence.Convert; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.EnumType; | ||
import jakarta.persistence.Enumerated; |
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.
Wrong lexicographical order for 'jakarta.persistence.Enumerated' import. Should be before 'java.util.Set'.
import jakarta.persistence.Entity; | ||
import jakarta.persistence.EnumType; | ||
import jakarta.persistence.Enumerated; | ||
import jakarta.persistence.FetchType; |
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.
Wrong lexicographical order for 'jakarta.persistence.FetchType' import. Should be before 'java.util.Set'.
import jakarta.persistence.EnumType; | ||
import jakarta.persistence.Enumerated; | ||
import jakarta.persistence.FetchType; | ||
import jakarta.persistence.GeneratedValue; |
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.
Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Set'.
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.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
reviewdog
src/main/java/com/epam/reportportal/auth/entity/attachment/Attachment.java|29 col 1| Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|22 col 1| Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|23 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthSuccessHandler.java|24 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.net.URI'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|20 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/AuthFailureHandler.java|21 col 1| Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.io.IOException'.
src/main/java/com/epam/reportportal/auth/endpoint/AuthConfigurationEndpoint.java|32 col 1| Wrong lexicographical order for 'jakarta.validation.Valid' import. Should be before 'java.beans.PropertyEditorSupport'.
import jakarta.persistence.Enumerated; | ||
import jakarta.persistence.FetchType; | ||
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; |
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.
Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Set'.
import jakarta.persistence.FetchType; | ||
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; |
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.
Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Set'.
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; | ||
import jakarta.persistence.OneToMany; |
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.
Wrong lexicographical order for 'jakarta.persistence.OneToMany' import. Should be before 'java.util.Set'.
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; | ||
import jakarta.persistence.OneToMany; | ||
import jakarta.persistence.OrderBy; |
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.
Wrong lexicographical order for 'jakarta.persistence.OrderBy' import. Should be before 'java.util.Set'.
import jakarta.persistence.Id; | ||
import jakarta.persistence.OneToMany; | ||
import jakarta.persistence.OrderBy; | ||
import jakarta.persistence.Table; |
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.
Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Set'.
import javax.persistence.Id; | ||
import javax.persistence.Table; | ||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Convert; |
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.
Wrong lexicographical order for 'jakarta.persistence.Convert' import. Should be before 'java.util.Objects'.
import javax.persistence.Table; | ||
import jakarta.persistence.Column; | ||
import jakarta.persistence.Convert; | ||
import jakarta.persistence.Entity; |
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.
Wrong lexicographical order for 'jakarta.persistence.Entity' import. Should be before 'java.util.Objects'.
import jakarta.persistence.Column; | ||
import jakarta.persistence.Convert; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.GeneratedValue; |
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.
Wrong lexicographical order for 'jakarta.persistence.GeneratedValue' import. Should be before 'java.util.Objects'.
import jakarta.persistence.Convert; | ||
import jakarta.persistence.Entity; | ||
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; |
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.
Wrong lexicographical order for 'jakarta.persistence.GenerationType' import. Should be before 'java.util.Objects'.
import jakarta.persistence.Entity; | ||
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; |
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.
Wrong lexicographical order for 'jakarta.persistence.Id' import. Should be before 'java.util.Objects'.
import jakarta.persistence.GeneratedValue; | ||
import jakarta.persistence.GenerationType; | ||
import jakarta.persistence.Id; | ||
import jakarta.persistence.Table; |
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.
Wrong lexicographical order for 'jakarta.persistence.Table' import. Should be before 'java.util.Objects'.
import javax.inject.Provider; | ||
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
import jakarta.inject.Provider; |
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.
Wrong lexicographical order for 'jakarta.inject.Provider' import. Should be before 'java.net.URI'.
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
import jakarta.inject.Provider; | ||
import jakarta.servlet.http.HttpServletRequest; |
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.
Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.net.URI'.
import javax.servlet.http.HttpServletResponse; | ||
import jakarta.inject.Provider; | ||
import jakarta.servlet.http.HttpServletRequest; | ||
import jakarta.servlet.http.HttpServletResponse; |
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.
Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.net.URI'.
@@ -17,8 +17,8 @@ | |||
package com.epam.reportportal.auth; | |||
|
|||
import java.io.IOException; | |||
import javax.servlet.http.HttpServletRequest; | |||
import javax.servlet.http.HttpServletResponse; | |||
import jakarta.servlet.http.HttpServletRequest; |
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.
Wrong lexicographical order for 'jakarta.servlet.http.HttpServletRequest' import. Should be before 'java.io.IOException'.
import javax.servlet.http.HttpServletRequest; | ||
import javax.servlet.http.HttpServletResponse; | ||
import jakarta.servlet.http.HttpServletRequest; | ||
import jakarta.servlet.http.HttpServletResponse; |
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.
Wrong lexicographical order for 'jakarta.servlet.http.HttpServletResponse' import. Should be before 'java.io.IOException'.
@@ -29,7 +29,7 @@ | |||
import io.swagger.v3.oas.annotations.Operation; | |||
import io.swagger.v3.oas.annotations.tags.Tag; | |||
import java.beans.PropertyEditorSupport; | |||
import javax.validation.Valid; | |||
import jakarta.validation.Valid; |
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.
Wrong lexicographical order for 'jakarta.validation.Valid' import. Should be before 'java.beans.PropertyEditorSupport'.
SELECT a.* | ||
FROM attribute a | ||
WHERE a.name IN :names | ||
""", |
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.
'"""' has incorrect indentation level 4, expected level should be 6.
import java.util.Properties; | ||
import javax.persistence.EntityManager; | ||
import javax.persistence.EntityManagerFactory; | ||
import jakarta.persistence.EntityManager; |
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.
Wrong lexicographical order for 'jakarta.persistence.EntityManager' import. Should be before 'java.io.Serializable'.
import javax.persistence.EntityManager; | ||
import javax.persistence.EntityManagerFactory; | ||
import jakarta.persistence.EntityManager; | ||
import jakarta.persistence.EntityManagerFactory; |
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.
Wrong lexicographical order for 'jakarta.persistence.EntityManagerFactory' import. Should be before 'java.io.Serializable'.
.scope("read:user", "user:email", "read:org") | ||
.clientName(oauthProviderId) | ||
.build(); | ||
} | ||
|
||
private static String getCallBackUrl(String pathValue) { | ||
return StringUtils.isEmpty(pathValue) || pathValue.equals("/") ? CALL_BACK_URL.replaceFirst("baseUrl}/","baseUrl}/uat/" ) : CALL_BACK_URL; |
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 142).
.scope("read:user", "user:email", "read:org") | ||
.clientName(oauthProviderId) | ||
.build(); | ||
} | ||
|
||
private static String getCallBackUrl(String pathValue) { | ||
return StringUtils.isEmpty(pathValue) || pathValue.equals("/") ? CALL_BACK_URL.replaceFirst("baseUrl}/","baseUrl}/uat/" ) : CALL_BACK_URL; |
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.
',' is not followed by whitespace.
.scope("read:user", "user:email", "read:org") | ||
.clientName(oauthProviderId) | ||
.build(); | ||
} | ||
|
||
private static String getCallBackUrl(String pathValue) { | ||
return StringUtils.isEmpty(pathValue) || pathValue.equals("/") ? CALL_BACK_URL.replaceFirst("baseUrl}/","baseUrl}/uat/" ) : CALL_BACK_URL; |
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.
')' is preceded with whitespace.
|
||
@Bean | ||
public JwtDecoder jwtDecoder() { | ||
return NimbusJwtDecoder.withSecretKey(new SecretKeySpec("123".getBytes(), "HmacSHA256")).build(); |
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 101).
build.gradle
Outdated
implementation 'org.springframework.security:spring-security-saml2-service-provider:5.8.16' | ||
implementation 'commons-collections:commons-collections:3.2.2' | ||
//Temporary fix of https://nvd.nist.gov/vuln/detail/CVE-2019-12400 | ||
implementation 'org.opensaml:opensaml-saml-api:4.0.1' |
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.
dependency declared twice.
build.gradle
Outdated
implementation 'ch.qos.logback:logback-core:1.2.13' | ||
implementation 'org.cryptacular:cryptacular:1.1.4' | ||
implementation 'com.rabbitmq:http-client:5.3.0' | ||
api 'org.apache.httpcomponents:httpclient:4.5.14' |
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.
spring boot 3 relies on http client 5
spring-projects/spring-framework#28925
.sessionCreationPolicy(SessionCreationPolicy.STATELESS) | ||
) | ||
.oauth2Login(oauth2 -> oauth2 | ||
.userInfoEndpoint(userInfo -> userInfo.userService(new DelegatingOAuth2UserService<>(getUserServices(authProviders)))) |
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 130).
return new DatabaseUserDetailsService(); | ||
} | ||
|
||
public List<OAuth2UserService<OAuth2UserRequest, OAuth2User>> getUserServices(List<OAuthProvider> providers) { |
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 112).
} | ||
|
||
public List<OAuth2UserService<OAuth2UserRequest, OAuth2User>> getUserServices(List<OAuthProvider> providers) { | ||
return providers.stream().map(provider -> provider.getUserService(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 125).
|
||
public List<OAuth2UserService<OAuth2UserRequest, OAuth2User>> getUserServices(List<OAuthProvider> providers) { | ||
return providers.stream().map(provider -> provider.getUserService(clientRegistrationRepository.findOAuthRegistrationById( | ||
provider.getName()).map(OAuthRegistrationConverters.TO_RESOURCE).orElse(new OAuthRegistrationResource()))).collect(Collectors.toList()); |
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 144).
OAuth2ClientContext oauth2ClientContext); | ||
|
||
public abstract ResourceServerTokenServices getTokenServices(); | ||
public abstract OAuth2UserService<OAuth2UserRequest, OAuth2User> getUserService(OAuthRegistrationResource registrationResource); |
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 130).
|
No description provided.