GitHub user markap14 opened a pull request:
https://github.com/apache/nifi/pull/499
NIFI-1052: Added "Ghost" Processors, Reporting Tasks, Controller Services
If we try to create a component for which the NAR is missing, we previously
would throw an Exception that would result in NiFi not starting up. We changed
this so that we instead create a "Ghost" implementation that will be invalid an
explain that the component could not be created. This allows NiFi at least to
start, so that users can continue to use the NiFi instance.
This ticket also includes fixes to the ReportingTaskResource, as those were
necessary to test this.
Note that if a component is missing, all properties are marked as
'sensitive' simply because we don't know whether or not the property truly is
sensitive, and it is better to show the value as sensitive than to assume that
it is not. Unfortunately, this means that the actual property value can't be
seen unless the correct component is restored to the lib/ directory.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/markap14/nifi NIFI-1052
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/499.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #499
----
commit d86fd959f3ba20facdfc207b80da5fb48feaf379
Author: Mark Payne <[email protected]>
Date: 2016-06-03T23:41:43Z
NIFI-1052: Added Ghost Processors, Ghost Reporting Tasks, Ghost Controller
Services
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---