Pierre Villard created NIP-23:
---------------------------------

             Summary: Extension Metadata Annotation
                 Key: NIP-23
                 URL: https://issues.apache.org/jira/browse/NIP-23
             Project: NiFi Improvement Proposal
          Issue Type: New Feature
            Reporter: Pierre Villard


This NIP is to discuss the introduction of an additional annotation that could 
be used on extensions for developers to provide some specific information. This 
information could be automatically added as a table in the generated 
documentation as well as in the extension-manifest file so that it can be 
consumed by NiFi in different places (NAR loading, UI, etc).

Here is a proposal
{code:java}
@Tags({"example", "demo"})
@CapabilityDescription("Does something useful")
@ExtensionMetadataEntries({
    @ExtensionMetadata(key = "abc", value = "foo"),
    @ExtensionMetadata(key = "def", value = "foo")
})
public class MyProcessor extends AbstractProcessor { ... }{code}
This is a straightforward change in nifi-api and is completely backward 
compatible.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to