Skip to content
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

Add support for REST plugins #1937

Merged
merged 38 commits into from
Sep 30, 2024
Merged

Add support for REST plugins #1937

merged 38 commits into from
Sep 30, 2024

Conversation

dadoonet
Copy link
Owner

@dadoonet dadoonet commented Sep 20, 2024

This PR adds the support for pl4j framework.

With 2 first implementations used within the REST Service. It allows to read a file from the local FS where FSCrawler is running in case for example one file has not been processed correctly while crawling the disk (see #805).
It also supports reading from an S3 repository (see related #263).

Closes #334
Closes #1114
Closes #1247

@dadoonet dadoonet added new For new features or options Release Highlight component:rest labels Sep 20, 2024
@dadoonet dadoonet added this to the 2.10 milestone Sep 20, 2024
@dadoonet dadoonet self-assigned this Sep 20, 2024
String filename,
long filesize) throws IOException, NoSuchAlgorithmException {

logger.debug("uploadToDocumentService({}, {}, {}, {}, ...)", debug, simulate, id, index);

Check notice

Code scanning / SonarCloud

Logging should not be vulnerable to injection attacks

<!--SONAR_ISSUE_KEY:AZIPmdwoOKf4j64Qw5cJ-->Change this code to not log user-controlled data. <p>See more on <a href="https://sonarcloud.io/project/issues?id=dadoonet_fscrawler&issues=AZIPmdwoOKf4j64Qw5cJ&open=AZIPmdwoOKf4j64Qw5cJ&pullRequest=1937">SonarCloud</a></p>
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Copy link

@dadoonet dadoonet merged commit 20d1321 into master Sep 30, 2024
13 checks passed
@dadoonet dadoonet deleted the pr/pl4j branch September 30, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant