-
Notifications
You must be signed in to change notification settings - Fork 66
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
Component update 5.11.1 #1956
Component update 5.11.1 #1956
Conversation
… when inviting users
EPMRPP-89932 || Add possibility to configure autocomplete suggestions when inviting users
@@ -99,8 +99,7 @@ public IntegrationTypeDetails resolvePluginDetails(PluginInfo pluginInfo) { | |||
.flatMap(it -> ofNullable(it.getDetails())).flatMap( | |||
typeDetails -> IntegrationTypeProperties.VERSION.getValue(typeDetails.getDetails()) | |||
.map(String::valueOf)).ifPresent( | |||
version -> BusinessRule.expect(version, v -> !v.equalsIgnoreCase( | |||
pluginInfo.getVersion())) | |||
version -> BusinessRule.expect(version, v -> !v.equalsIgnoreCase(pluginInfo.getVersion())) |
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).
@@ -99,8 +99,7 @@ | |||
.flatMap(it -> ofNullable(it.getDetails())).flatMap( | |||
typeDetails -> IntegrationTypeProperties.VERSION.getValue(typeDetails.getDetails()) | |||
.map(String::valueOf)).ifPresent( | |||
version -> BusinessRule.expect(version, v -> !v.equalsIgnoreCase( | |||
pluginInfo.getVersion())) | |||
version -> BusinessRule.expect(version, v -> !v.equalsIgnoreCase(pluginInfo.getVersion())) |
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.
'lambda arguments' has incorrect indentation level 12, expected level should be one of the following: 18, 20.
@@ -35,9 +35,9 @@ public interface PluginLoader { | |||
* | |||
* @param pluginPath Plugin's path | |||
* @return {@link PluginInfo} with {@link PluginInfo#getId()} and {@link PluginInfo#getVersion()} | |||
* @throws PluginException if there is an issue in loading the plugin or the plugin is not found in the specified path | |||
* @throws PluginRuntimeException if there is an issue in loading the plugin or the plugin is not found in the specified path |
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 127).
Paths.get(PLUGINS_TEMP_PATH, NEW_PLUGIN_FILE_NAME))).thenThrow(new PluginException( | ||
"Manifest not found")); | ||
Paths.get(PLUGINS_TEMP_PATH, NEW_PLUGIN_FILE_NAME))).thenThrow( | ||
new PluginRuntimeException("Manifest not found")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'new' has incorrect indentation level 8, expected level should be one of the following: 10, 12.
… when inviting users
@@ -77,14 +78,18 @@ public class GetProjectHandlerImpl implements GetProjectHandler { | |||
|
|||
private final ProjectConverter projectConverter; | |||
|
|||
private final boolean isUserSuggestions; |
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 contains a tab character.
@@ -77,14 +78,18 @@ | |||
|
|||
private final ProjectConverter projectConverter; | |||
|
|||
private final boolean isUserSuggestions; |
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.
'member def modifier' has incorrect indentation level 8, expected level should be 2.
@Autowired | ||
public GetProjectHandlerImpl(ProjectRepository projectRepository, UserRepository userRepository, | ||
@Qualifier("projectJasperReportHandler") GetJasperReportHandler<ProjectInfo> jasperReportHandler, | ||
ProjectConverter projectConverter) { | ||
ProjectConverter projectConverter, |
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 contains a tab character.
@Autowired | ||
public GetProjectHandlerImpl(ProjectRepository projectRepository, UserRepository userRepository, | ||
@Qualifier("projectJasperReportHandler") GetJasperReportHandler<ProjectInfo> jasperReportHandler, | ||
ProjectConverter projectConverter) { | ||
ProjectConverter projectConverter, | ||
@Value("${rp.environment.variable.user.suggestions:true}") boolean isUserSuggestions) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is longer than 100 characters (found 111).
@Autowired | ||
public GetProjectHandlerImpl(ProjectRepository projectRepository, UserRepository userRepository, | ||
@Qualifier("projectJasperReportHandler") GetJasperReportHandler<ProjectInfo> jasperReportHandler, | ||
ProjectConverter projectConverter) { | ||
ProjectConverter projectConverter, | ||
@Value("${rp.environment.variable.user.suggestions:true}") boolean isUserSuggestions) { |
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 contains a tab character.
return new CompositeFilterCondition(List.of(new FilterCondition(Operator.OR, Condition.CONTAINS, false, value, CRITERIA_USER), | ||
new FilterCondition(Operator.OR, Condition.CONTAINS, false, value, CRITERIA_FULL_NAME), | ||
new FilterCondition(Operator.OR, Condition.CONTAINS, false, value, CRITERIA_EMAIL) | ||
), Operator.AND); | ||
} | ||
|
||
private CompositeFilterCondition getUserSearchCondition(String value) { | ||
return new CompositeFilterCondition(List.of( | ||
new FilterCondition(Operator.OR, Condition.EQUALS, false, value, CRITERIA_EMAIL) |
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).
return new CompositeFilterCondition(List.of(new FilterCondition(Operator.OR, Condition.CONTAINS, false, value, CRITERIA_USER), | ||
new FilterCondition(Operator.OR, Condition.CONTAINS, false, value, CRITERIA_FULL_NAME), | ||
new FilterCondition(Operator.OR, Condition.CONTAINS, false, value, CRITERIA_EMAIL) | ||
), Operator.AND); | ||
} | ||
|
||
private CompositeFilterCondition getUserSearchCondition(String value) { | ||
return new CompositeFilterCondition(List.of( | ||
new FilterCondition(Operator.OR, Condition.EQUALS, false, value, CRITERIA_EMAIL) |
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 contains a tab character.
private CompositeFilterCondition getUserSearchCondition(String value) { | ||
return new CompositeFilterCondition(List.of( | ||
new FilterCondition(Operator.OR, Condition.EQUALS, false, value, CRITERIA_EMAIL) | ||
), Operator.AND); |
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 contains a tab character.
return new CompositeFilterCondition(List.of( | ||
new FilterCondition(Operator.OR, Condition.EQUALS, false, value, CRITERIA_EMAIL) | ||
), Operator.AND); | ||
} |
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 contains a tab character.
return new CompositeFilterCondition(List.of( | ||
new FilterCondition(Operator.OR, Condition.EQUALS, false, value, CRITERIA_EMAIL) | ||
), Operator.AND); | ||
} |
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 rcurly' has incorrect indentation level 8, expected level should be 2.
@Value("${rp.environment.variable.user.suggestions:true}") | ||
boolean isUserSuggestions; | ||
|
||
@Autowired |
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.
|
||
@Autowired | ||
public GetProjectHandlerImpl(ProjectRepository projectRepository, UserRepository userRepository, | ||
@Qualifier("projectJasperReportHandler") GetJasperReportHandler<ProjectInfo> jasperReportHandler, |
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).
No description provided.