-
Notifications
You must be signed in to change notification settings - Fork 203
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
some fixes to jira source #5203
base: main
Are you sure you want to change the base?
some fixes to jira source #5203
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]>
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.
Nice work Maxwell!
futureList.add(crawlerTaskExecutor.submit(() -> | ||
service.getJiraEntities(sourceConfig, lastPollTime, itemInfoQueue), false)); | ||
} | ||
|
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.
These changes look good but I do not see corresponding changes to the JavaIteratorTest.java file. When using futures testing is very important as we realized with Lambda code. Please make sure all these changes have corresponding tests
Description
Commit: Prevent Polling when there is already a leader scheduler
Stop race condition which causes jira pipeline to infinitely write to open search on loop because lastpolltime doesnt get updated properly
Commit: verify internet address everytime we invoke restapi
addresses appsec finding in osc-02 where we have a (TOCATOU) time of checkout time of use vulnerability
Commit: re-parallelize crawler call
re-parallelizing initial pagination and child partition so that we don’t have high latency at the start where we wait to crawl all pages before we start writing documents
Issues Resolved
Resolves #[Issue number to be closed when this PR is merged]
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.