Skip to content

Create my own template #64

@pooja1pathak

Description

@pooja1pathak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions