nifi
nifi copied to clipboard
NIFI-15354 Created migration property unit tests for those components in extended bundle nifi-elasticsearch-bundle which do not have these unit tests.
Summary
NIFI-15354
This PR adds two test classes one for testing ElasticSearch controller services migrations and another for testing ElasticSearch processor migrations. A slight change was made in PutElasticsearchJson to remove the redundant check for removing a property in order to allow testing in the unit test which properties were removed in migration.
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
- [ ] Build completed using
./mvnw clean install -P contrib-check- [ ] JDK 21
- [ ] JDK 25
Licensing
- [ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
- [ ] New dependencies are documented in applicable
LICENSEandNOTICEfiles
Documentation
- [ ] Documentation formatting appears as expected in rendered files