You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to create my own template in draco nifi, for that I have done below changes:
created a template file as nifi-ngsi-resources/docker/templates/text.xml
Added processor as nifi-ngsi-bundle/nifi-ngsi-processors/src/main/java/org/apache/nifi/processors/ngsi/test.java
Added entry for test in nifi-ngsi-bundle/nifi-ngsi-processors/src/main/resources/META-INF/services/org.apache.nifi.processor.Processor
Now, when I create docker image using commad sudo docker build -f ./Dockerfile -t draco . and run this image, a new template for test is showing in GUI of /nifi but when I add it, an error message is shown on GUI : org.apache.nifi.processors.ngsi.test is not known to this NiFi instance.
Please guide me if I am doing anything wrong or missed anything to create and use my own template.
The text was updated successfully, but these errors were encountered:
I think the easiest way to add a new template in Draco is:
Create your flow using the GUI in a Draco instance.
Save this flow as template using the Draco GUI
Download the template and save it in this path nifi-ngsi-resources/docker/templates
Build the image using the docker file as you show in your message.
It is important that you are using the processors with the same version of nifi that you are using for building the docker images, maybe that is why you receive the message that you mention.
Hi Team,
I need to create my own template in draco nifi, for that I have done below changes:
Now, when I create docker image using commad
sudo docker build -f ./Dockerfile -t draco .
and run this image, a new template for test is showing in GUI of/nifi
but when I add it, an error message is shown on GUI :org.apache.nifi.processors.ngsi.test is not known to this NiFi instance.
Please guide me if I am doing anything wrong or missed anything to create and use my own template.
The text was updated successfully, but these errors were encountered: