Skip to content

Create my own template

Hi Team,

I need to create my own template in draco nifi, for that I have done below changes:

  1. created a template file as nifi-ngsi-resources/docker/templates/text.xml
  2. Added processor as nifi-ngsi-bundle/nifi-ngsi-processors/src/main/java/org/apache/nifi/processors/ngsi/test.java
  3. 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.