Hello,

We have multiple custom controller services deployed to NiFi (1.21.0). Each
of those custom controller services contains reusable services from
different parts of the organization which have been given to us. I would
like to reuse these services in a custom processor, but not sure how.

API NAR's that I have access to:

- nifi-org1-services-api-nar -> nifi-standard-services-api-nar
- nifi-org2-services-api-nar -> nifi-standard-services-api-nar

I am well aware that you can:

- create a "service-api" NAR that encapsulates the APIs for many different
Controller Services as is done by the nifi-standard-services-api-nar (and
Org1 and Org2)
- create a dependency chain between controller services

but, we don't own the controller services org1 and org2 that have been
deployed. So we can't, create a dependency "chain"  such as:

- my-processor-nar -> nifi-org1-services-api-nar ->
nifi-org2-services-api-nar -> nifi-standard-services-api-nar or,
- my-processor-nar -> nifi-org2-services-api-nar ->
nifi-org1-services-api-nar -> nifi-standard-services-api-nar

this would require, org1 to know about org2, and vice versa. Org1 and Org2
would have to update their
controller service api's accordingly to achieve the chain noted above.

We also can't create a "service-api" to wrap these, such as adding the
interfaces from the org1 and org2 NAR's to my-service-api-nar

- nifi-org1-services-api
- nifi-org2-services-api

This results in an error saying that there are "no controller services
types found that are applicable for this property" when deployed. And the
reason that this happens is because the api's need to come from
nifi-org1-services-api-nar and nifi-org2-services-api-nar respectively (the
implementations of the controller service deployed implement interfaces
from these NAR's).

Am I missing something or is what I am trying to achieve not possible? Any
guidance here would be much appreciated.

Thanks

Reply via email to