pvillard31 opened a new pull request, #36:
URL: https://github.com/apache/nifi-maven/pull/36

   Improve the NiFi NAR Maven plugin to add Parameter Providers and Flow 
Analysis Rules in the extension types.
   
   We can confirm that in extension-manifest.xml we now have the expected data. 
Below examples:
   
   ````xml
       <extension>
         
<name>org.apache.nifi.parameter.aws.AwsSecretsManagerParameterProvider</name>
         <type>PARAMETER_PROVIDER</type>
         <description>Fetches parameters from AWS SecretsManager.  Each secret 
becomes a Parameter group, which can map to a Parameter Context, with key/value 
pairs in the secret mapping to Parameters in the group.</description>
         <tags>
           <tag>aws</tag>
           <tag>secretsmanager</tag>
           <tag>secrets</tag>
           <tag>manager</tag>
         </tags>
         <properties>
           <property>
             <name>secret-name-pattern</name>
             <displayName>Secret Name Pattern</displayName>
             <description>A Regular Expression matching on Secret Name that 
identifies Secrets whose parameters should be fetched. Any secrets whose names 
do not match this pattern will not be fetched.</description>
             <defaultValue>.*</defaultValue>
             <required>true</required>
             <sensitive>false</sensitive>
             <expressionLanguageSupported>false</expressionLanguageSupported>
             <expressionLanguageScope>NONE</expressionLanguageScope>
             <dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath>
             <dynamic>false</dynamic>
           </property>
           <property>
             <name>aws-region</name>
             <displayName>Region</displayName>
             <description/>
             <defaultValue>us-west-2</defaultValue>
             <allowableValues>
               <allowableValue>
                 <displayName>AWS GovCloud (US)</displayName>
                 <value>us-gov-west-1</value>
                 <description>AWS Region Code : us-gov-west-1</description>
               </allowableValue>
   ...
             </allowableValues>
             <required>true</required>
             <sensitive>false</sensitive>
             <expressionLanguageSupported>false</expressionLanguageSupported>
             <expressionLanguageScope>NONE</expressionLanguageScope>
             <dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath>
             <dynamic>false</dynamic>
           </property>
           <property>
             <name>aws-credentials-provider-service</name>
             <displayName>AWS Credentials Provider Service</displayName>
             <description>Service used to obtain an Amazon Web Services 
Credentials Provider</description>
             <controllerServiceDefinition>
               
<className>org.apache.nifi.processors.aws.credentials.provider.service.AWSCredentialsProviderService</className>
               <groupId>org.apache.nifi</groupId>
               <artifactId>nifi-aws-service-api-nar</artifactId>
               <version>2.0.0-SNAPSHOT</version>
             </controllerServiceDefinition>
             <required>true</required>
             <sensitive>false</sensitive>
             <expressionLanguageSupported>false</expressionLanguageSupported>
             <expressionLanguageScope>NONE</expressionLanguageScope>
             <dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath>
             <dynamic>false</dynamic>
           </property>
           <property>
             <name>aws-communications-timeout</name>
             <displayName>Communications Timeout</displayName>
             <description/>
             <defaultValue>30 secs</defaultValue>
             <required>true</required>
             <sensitive>false</sensitive>
             <expressionLanguageSupported>false</expressionLanguageSupported>
             <expressionLanguageScope>NONE</expressionLanguageScope>
             <dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath>
             <dynamic>false</dynamic>
           </property>
           <property>
             <name>aws-ssl-context-service</name>
             <displayName>SSL Context Service</displayName>
             <description>Specifies an optional SSL Context Service that, if 
provided, will be used to create connections</description>
             <controllerServiceDefinition>
               <className>org.apache.nifi.ssl.SSLContextService</className>
               <groupId>org.apache.nifi</groupId>
               <artifactId>nifi-standard-services-api-nar</artifactId>
               <version>2.0.0-SNAPSHOT</version>
             </controllerServiceDefinition>
             <required>false</required>
             <sensitive>false</sensitive>
             <expressionLanguageSupported>false</expressionLanguageSupported>
             <expressionLanguageScope>NONE</expressionLanguageScope>
             <dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath>
             <dynamic>false</dynamic>
           </property>
         </properties>
       </extension>
   ````
   
   ````xml
       <extension>
         <name>org.apache.nifi.flowanalysis.rules.DisallowComponentType</name>
         <type>FLOW_ANALYSIS_RULE</type>
         <description>Produces rule violations for each component (i.e. 
processors or controller services) of a given type.</description>
         <tags>
           <tag>component</tag>
           <tag>processor</tag>
           <tag>controller service</tag>
           <tag>type</tag>
         </tags>
         <properties>
           <property>
             <name>component-type</name>
             <displayName>Component Type</displayName>
             <description>Components of the given type will produce a rule 
violation (i.e. they shouldn't exist). Either the simple or the fully qualified 
name of the type should be provided.</description>
             <required>true</required>
             <sensitive>false</sensitive>
             <expressionLanguageSupported>false</expressionLanguageSupported>
             <expressionLanguageScope>NONE</expressionLanguageScope>
             <dynamicallyModifiesClasspath>false</dynamicallyModifiesClasspath>
             <dynamic>false</dynamic>
           </property>
         </properties>
       </extension>
   ````


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to