-
Notifications
You must be signed in to change notification settings - Fork 211
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
Jira Source Configuration and Filter Changes and add license headers #5306
Conversation
Signed-off-by: Maxwell Brown <[email protected]>
Signed-off-by: Maxwell Brown <[email protected]>
Signed-off-by: Maxwell Brown <[email protected]>
Signed-off-by: Maxwell Brown <[email protected]>
Signed-off-by: Maxwell Brown <[email protected]>
Signed-off-by: Maxwell Brown <[email protected]>
.collect(Collectors.joining(DELIMITER, PREFIX, SUFFIX))) | ||
.append(CLOSING_ROUND_BRACKET); | ||
} | ||
if (!CollectionUtils.isEmpty(JiraConfigHelper.getIssueTypeFilter(configuration))) { | ||
jiraQl.append(ISSUE_TYPE_IN).append(JiraConfigHelper.getIssueTypeFilter(configuration).stream() | ||
if (!CollectionUtils.isEmpty(JiraConfigHelper.getProjectNameExcludeFilter(configuration))) { |
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.
I think, you should also add additional validation where a project listed in include is not listed in exclude and vice versa
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.
will add to validate Project Filters
@@ -76,6 +77,7 @@ public static JiraSourceConfig createJiraConfigurationFromYaml(String fileName) | |||
return objectMapper.readValue(inputStream, JiraSourceConfig.class); | |||
} catch (IOException ex) { | |||
log.error("Failed to parse pipeline Yaml", ex); | |||
System.out.println("mewo mewo mewo"); |
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.
Probably you forgot to remove this!
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.
oops :/
Signed-off-by: Maxwell Brown <[email protected]>
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.
Thank you for taking care of these changes
@@ -1,16 +1,14 @@ | |||
package org.opensearch.dataprepper.plugins.source.jira; |
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.
Can you please add the license header. This should be added to all the files.
See: https://github.com/opensearch-project/data-prepper/blob/main/CONTRIBUTING.md#license-headers
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.
added to all jira source files
Signed-off-by: Maxwell Brown <[email protected]>
Description
add license header to jira source files
Change Configuration Structure for Jira Source.
Implement Include and Exclude Filters for Jira Source.
Configuration changed to the following structure:
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.