@DynamicProperty(name = "visibility.<COLUMN FAMILY>", description = "Visibility label for everything under that column family " + "when a specific label for a particular column qualifier is not available.", expressionLanguageScope = ExpressionLanguageScope.FLOWFILE_ATTRIBUTES, value = "visibility label for <COLUMN FAMILY>" ), @DynamicProperty(name = "visibility.<COLUMN FAMILY>.<COLUMN QUALIFIER>", description = "Visibility label for the specified column qualifier " + "qualified by a configured column family.", expressionLanguageScope = ExpressionLanguageScope.FLOWFILE_ATTRIBUTES, value = "visibility label for <COLUMN FAMILY>:<COLUMN QUALIFIER>."
private void writeDynamicProperty(final DynamicProperty property) throws IOException { writeStartElement("dynamicProperty"); writeTextElement("name", property.name()); writeTextElement("value", property.value()); writeTextElement("description", property.description()); writeBooleanElement("expressionLanguageSupported", property.supportsExpressionLanguage()); writeTextElement("expressionLanguageScope", property.expressionLanguageScope() == null ? null : property.expressionLanguageScope().name()); writeEndElement(); }
"registered with that name. This will allow multiple DBCPServices to be defined and registered, and then selected " + "dynamically at runtime by tagging flow files with the appropriate 'database.name' attribute.") @DynamicProperty(name = "The ", value = "JDBC property value", expressionLanguageScope = ExpressionLanguageScope.NONE, description = "") public class DBCPConnectionPoolLookup extends AbstractControllerService implements DBCPService {
for (final DynamicProperty dynamicProperty : dynamicProperties) { xmlStreamWriter.writeStartElement("tr"); writeSimpleElement(xmlStreamWriter, "td", dynamicProperty.name(), false, "name"); writeSimpleElement(xmlStreamWriter, "td", dynamicProperty.value(), false, "value"); xmlStreamWriter.writeStartElement("td"); xmlStreamWriter.writeCharacters(dynamicProperty.description()); if(dynamicProperty.expressionLanguageScope().equals(ExpressionLanguageScope.NONE)) { if(dynamicProperty.supportsExpressionLanguage()) { text = "Supports Expression Language: true (undefined scope)"; } else { switch(dynamicProperty.expressionLanguageScope()) { case FLOWFILE_ATTRIBUTES: text = "Supports Expression Language: true (will be evaluated using flow file attributes and variable registry)";
+ " Bucket passwords can be specified via dynamic properties.") @Tags({ "nosql", "couchbase", "database", "connection" }) @DynamicProperty(name = "Bucket Password for BUCKET_NAME", value = "bucket password", description = "Specify bucket password if necessary." + " Couchbase Server 5.0 or later should use 'User Name' and 'User Password' instead.")
@Tags({ "avro", "convert", "kite" }) @CapabilityDescription("Convert records from one Avro schema to another, including support for flattening and simple type conversions") @InputRequirement(Requirement.INPUT_REQUIRED) @DynamicProperty(name = "Field name from input schema", value = "Field name for output schema", description = "Explicit mappings from input schema to output schema, which supports renaming fields and stepping into nested records on the input schema using notation like parent.id")
@DynamicProperty(name = "JDBC property name", value = "JDBC property value", expressionLanguageScope = ExpressionLanguageScope.VARIABLE_REGISTRY, description = "Specifies a property name and value to be set on the JDBC connection(s). " + "If Expression Language is used, evaluation will be performed upon the controller service being enabled. "
+ "fields of a Record. Any JSON field that is not extracted via a JSONPath will not be returned in the JSON Records.") @SeeAlso(JsonTreeReader.class) @DynamicProperty(name = "The field name for the record.", value="A JSONPath Expression that will be evaluated against each JSON record. The result of the JSONPath will be the value of the " + "field whose name is the same as the property name.",
@SeeAlso(GetFTP.class) @DynamicProperties({ @DynamicProperty(name = "pre.cmd._____", value = "Not used", description = "The command specified in the key will be executed before doing a put. You may add these optional properties " + " to send any commands to the FTP server before the file is actually transferred (before the put command)." + " This option is only available for the PutFTP processor, as only FTP has this functionality. This is" + " essentially the same as sending quote commands to an FTP server from the command line. While this is the same as sending a quote command, it is very important that" + " you leave off the ."), @DynamicProperty(name = "post.cmd._____", value = "Not used", description = "The command specified in the key will be executed after doing a put. You may add these optional properties " + " to send any commands to the FTP server before the file is actually transferred (before the put command)." + " This option is only available for the PutFTP processor, as only FTP has this functionality. This is"
@Tags({"jms", "jndi", "messaging", "integration", "queue", "topic", "publish", "subscribe"}) @CapabilityDescription("Provides a service to lookup an existing JMS ConnectionFactory using the Java Naming and Directory Interface (JNDI).") @DynamicProperty( description = "In order to perform a JNDI Lookup, an Initial Context must be established. When this is done, an Environment can be established for the context. Any dynamic/user-defined property" + " that is added to this Controller Service will be added as an Environment configuration/variable to this Context.",
@Tags({"put", "slack", "notify"}) @CapabilityDescription("Sends a message to your team on slack.com") @InputRequirement(InputRequirement.Requirement.INPUT_REQUIRED) @DynamicProperty(name = "A JSON object to add to Slack's \"attachments\" JSON payload.", value = "JSON-formatted string to add to Slack's payload JSON appended to the \"attachments\" JSON array.", expressionLanguageScope = ExpressionLanguageScope.FLOWFILE_ATTRIBUTES, description = "Converts the contents of each value specified by the Dynamic Property's value to JSON and appends it to the payload being sent to Slack.")
@Tags({"Apache", "Solr", "Put", "Send"}) @InputRequirement(Requirement.INPUT_REQUIRED) @CapabilityDescription("Sends the contents of a FlowFile as a ContentStream to Solr") @DynamicProperty(name="A Solr request parameter name", value="A Solr request parameter value", description="These parameters will be passed to Solr on the request") public class PutSolrContentStream extends SolrProcessor {
@Tags({"Apache", "Solr", "Put", "Send","Record"}) @InputRequirement(Requirement.INPUT_REQUIRED) @CapabilityDescription("Indexes the Records from a FlowFile into Solr") @DynamicProperty(name="A Solr request parameter name", value="A Solr request parameter value", description="These parameters will be passed to Solr on the request") public class PutSolrRecord extends SolrProcessor {
@CapabilityDescription("Provides a generic service to create vendor specific javax.jms.ConnectionFactory implementations. " + "ConnectionFactory can be served once this service is configured successfully") @DynamicProperty(name = "The name of a Connection Factory configuration property.", value = "The value of a given Connection Factory configuration property.", description = "The properties that are set following Java Beans convention where a property name is derived from the 'set*' method of the vendor " + "specific ConnectionFactory's implementation. For example, 'com.ibm.mq.jms.MQConnectionFactory.setChannel(String)' would imply 'channel' "
@Tags({ "rest", "lookup", "json", "xml", "http" }) @CapabilityDescription("Use a REST service to look up values.") @DynamicProperties({ @DynamicProperty(name = "*", value = "*", description = "All dynamic properties are added as HTTP headers with the name " + "as the header name and the value as the header value.") })
@CapabilityDescription("Sends the contents of a FlowFile as a message to Apache Kafka, specifically for 0.8.x versions. The messages to send may be individual FlowFiles or may be delimited, using a " + "user-specified delimiter, such as a new-line. The complementary NiFi processor for fetching messages is GetKafka.") @DynamicProperty(name = "The name of a Kafka configuration property.", value = "The value of a given Kafka configuration property.", description = "These properties will be added on the Kafka configuration after loading any provided configuration properties." + " In the event a dynamic property represents a property that was already set as part of the static properties, its value wil be"
@CapabilityDescription("Sends FlowFiles to an SFTP Server") @SeeAlso(GetSFTP.class) @DynamicProperty(name = "Disable Directory Listing", value = "true or false", description = "Disables directory listings before operations which might fail, such as configurations which create directory structures.") public class PutSFTP extends PutFileTransfer<SFTPTransfer> {
+ "as variables (context, log, and vmMetrics, respectively) to the script for further processing. The context makes various information available such " + "as events, provenance, bulletins, controller services, process groups, Java Virtual Machine metrics, etc.") @DynamicProperty( name = "A script engine property to update", value = "The value to set it to",
@CapabilityDescription("This processor creates FlowFiles with random data or custom content. GenerateFlowFile is useful" + " for load testing, configuration, and simulation.") @DynamicProperty(name = "Generated FlowFile attribute name", value = "Generated FlowFile attribute value", expressionLanguageScope = ExpressionLanguageScope.VARIABLE_REGISTRY, description = "Specifies an attribute on generated FlowFiles defined by the Dynamic Property's key and value." +
"the configuration files. In addition, any user defined properties on the processor will also be passed to the HBase " + "configuration.") @DynamicProperty(name="The name of an HBase configuration property.", value="The value of the given HBase configuration property.", description="These properties will be set on the HBase configuration after loading any provided configuration files.") public class HBase_1_1_2_ClientService extends AbstractControllerService implements HBaseClientService {