NIFI-12880 Add processor DeleteFile
Summary
Adds new processor DeleteFile to the bundle standard-processors.
See issue NIFI-12880 for the motivation behind the addition.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking
- [x] Apache NiFi Jira issue created
Pull Request Tracking
- [x] Pull Request title starts with Apache NiFi Jira issue number, such as
NIFI-00000 - [x] Pull Request commit message starts with Apache NiFi Jira issue number, as such
NIFI-00000
Pull Request Formatting
- [x] Pull Request based on current revision of the
mainbranch - [x] Pull Request refers to a feature branch with one commit containing changes
Verification
Please indicate the verification steps performed prior to pull request creation.
Build
- [x] Build completed using
mvn clean install -P contrib-check- [x] JDK 21
Licensing
- [x] New dependencies are compatible with the Apache License 2.0 according to the License Policy
- [x] New dependencies are documented in applicable
LICENSEandNOTICEfiles
Documentation
- [x] Documentation formatting appears as expected in rendered files
Sadly nifi-web-frontend failed. I'm not quite sure why that is but I'm certain that's not due to the changes in the PR. 🤷🏻♂️
Would you be so kind to start the failed jobs once more @ChrisSamo632?
Thank you @ChrisSamo632. 👍🏻
I've added a commit that:
- upon success, emits a provenance event of type
REMOTE_INVOCATION - upon failure, adds failure details to the FlowFile's attributes
I'd appreciate another review.
The frontend build failed again without related changes. :( Would you be so kind to kick off the CI process once more @ChrisSamo632?
Thank you for your feedback @exceptionfactory.
As there has been quite some work on main since I've opened the PR, I've rebased the PR on the latest commits of main.
Also I added a commit that adds the @Restriction annotations as per your feedback.