[jira] [Updated] (NIFI-4578) PutHBaseRecord fails on null record field values
[ https://issues.apache.org/jira/browse/NIFI-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Koji Kawamura updated NIFI-4578: Affects Version/s: 1.4.0 Fix Version/s: 1.5.0 Component/s: Extensions > PutHBaseRecord fails on null record field values > > > Key: NIFI-4578 > URL: https://issues.apache.org/jira/browse/NIFI-4578 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions >Affects Versions: 1.4.0 >Reporter: Mike Thomsen >Assignee: Mike Thomsen > Fix For: 1.5.0 > > > A NullPointerException is thrown when a nullable field has a null value. A > strategy for handling this needs to be added. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Resolved] (NIFI-4578) PutHBaseRecord fails on null record field values
[ https://issues.apache.org/jira/browse/NIFI-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Koji Kawamura resolved NIFI-4578. - Resolution: Fixed > PutHBaseRecord fails on null record field values > > > Key: NIFI-4578 > URL: https://issues.apache.org/jira/browse/NIFI-4578 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions >Affects Versions: 1.4.0 >Reporter: Mike Thomsen >Assignee: Mike Thomsen > Fix For: 1.5.0 > > > A NullPointerException is thrown when a nullable field has a null value. A > strategy for handling this needs to be added. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4578) PutHBaseRecord fails on null record field values
[ https://issues.apache.org/jira/browse/NIFI-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250864#comment-16250864 ] ASF GitHub Bot commented on NIFI-4578: -- Github user asfgit closed the pull request at: https://github.com/apache/nifi/pull/2256 > PutHBaseRecord fails on null record field values > > > Key: NIFI-4578 > URL: https://issues.apache.org/jira/browse/NIFI-4578 > Project: Apache NiFi > Issue Type: Bug >Reporter: Mike Thomsen >Assignee: Mike Thomsen > > A NullPointerException is thrown when a nullable field has a null value. A > strategy for handling this needs to be added. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi pull request #2256: NIFI-4578 Added strategy for dealing with nullable ...
Github user asfgit closed the pull request at: https://github.com/apache/nifi/pull/2256 ---
[jira] [Commented] (NIFI-4578) PutHBaseRecord fails on null record field values
[ https://issues.apache.org/jira/browse/NIFI-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250862#comment-16250862 ] ASF subversion and git services commented on NIFI-4578: --- Commit ad2d12a20cdfdd93e99be84a52918eaf39269063 in nifi's branch refs/heads/master from [~mike.thomsen] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=ad2d12a ] NIFI-4578 Added strategy for dealing with nullable fields in PutHBaseRecord. NIFI-4578 Added changes from code review. This closes #2256. Signed-off-by: Koji Kawamura > PutHBaseRecord fails on null record field values > > > Key: NIFI-4578 > URL: https://issues.apache.org/jira/browse/NIFI-4578 > Project: Apache NiFi > Issue Type: Bug >Reporter: Mike Thomsen >Assignee: Mike Thomsen > > A NullPointerException is thrown when a nullable field has a null value. A > strategy for handling this needs to be added. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4578) PutHBaseRecord fails on null record field values
[ https://issues.apache.org/jira/browse/NIFI-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250861#comment-16250861 ] ASF subversion and git services commented on NIFI-4578: --- Commit ad2d12a20cdfdd93e99be84a52918eaf39269063 in nifi's branch refs/heads/master from [~mike.thomsen] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=ad2d12a ] NIFI-4578 Added strategy for dealing with nullable fields in PutHBaseRecord. NIFI-4578 Added changes from code review. This closes #2256. Signed-off-by: Koji Kawamura > PutHBaseRecord fails on null record field values > > > Key: NIFI-4578 > URL: https://issues.apache.org/jira/browse/NIFI-4578 > Project: Apache NiFi > Issue Type: Bug >Reporter: Mike Thomsen >Assignee: Mike Thomsen > > A NullPointerException is thrown when a nullable field has a null value. A > strategy for handling this needs to be added. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4578) PutHBaseRecord fails on null record field values
[ https://issues.apache.org/jira/browse/NIFI-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250859#comment-16250859 ] ASF GitHub Bot commented on NIFI-4578: -- Github user ijokarumawak commented on the issue: https://github.com/apache/nifi/pull/2256 @MikeThomsen LGTM, +1. Merging in. Thanks for fixing this! > PutHBaseRecord fails on null record field values > > > Key: NIFI-4578 > URL: https://issues.apache.org/jira/browse/NIFI-4578 > Project: Apache NiFi > Issue Type: Bug >Reporter: Mike Thomsen >Assignee: Mike Thomsen > > A NullPointerException is thrown when a nullable field has a null value. A > strategy for handling this needs to be added. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi issue #2256: NIFI-4578 Added strategy for dealing with nullable fields ...
Github user ijokarumawak commented on the issue: https://github.com/apache/nifi/pull/2256 @MikeThomsen LGTM, +1. Merging in. Thanks for fixing this! ---
[jira] [Commented] (NIFI-4325) Create a new ElasticSearch processor that supports the JSON DSL
[ https://issues.apache.org/jira/browse/NIFI-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250746#comment-16250746 ] ASF GitHub Bot commented on NIFI-4325: -- Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2113#discussion_r150726684 --- Diff: nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-processors/src/main/java/org/apache/nifi/processors/elasticsearch/JsonQueryElasticsearch5.java --- @@ -0,0 +1,301 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.nifi.processors.elasticsearch; + +import com.fasterxml.jackson.databind.ObjectMapper; +import org.apache.nifi.annotation.behavior.EventDriven; +import org.apache.nifi.annotation.behavior.InputRequirement; +import org.apache.nifi.annotation.behavior.WritesAttribute; +import org.apache.nifi.annotation.behavior.WritesAttributes; +import org.apache.nifi.annotation.documentation.CapabilityDescription; +import org.apache.nifi.annotation.documentation.Tags; +import org.apache.nifi.annotation.lifecycle.OnScheduled; +import org.apache.nifi.annotation.lifecycle.OnUnscheduled; +import org.apache.nifi.components.AllowableValue; +import org.apache.nifi.components.PropertyDescriptor; +import org.apache.nifi.elasticsearch.ElasticSearchClientService; +import org.apache.nifi.elasticsearch.ElasticSearchResponse; +import org.apache.nifi.flowfile.FlowFile; +import org.apache.nifi.processor.AbstractProcessor; +import org.apache.nifi.processor.ProcessContext; +import org.apache.nifi.processor.ProcessSession; +import org.apache.nifi.processor.Relationship; +import org.apache.nifi.processor.exception.ProcessException; +import org.apache.nifi.processor.io.OutputStreamCallback; +import org.apache.nifi.processor.util.StandardValidators; + +import java.io.IOException; +import java.io.OutputStream; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Set; + +@WritesAttributes({ +@WritesAttribute(attribute = "mime.type"), +@WritesAttribute(attribute = "aggregation.name", description = "The name of the aggregation whose results are in the output flowfile") +}) +@InputRequirement(InputRequirement.Requirement.INPUT_REQUIRED) +@EventDriven +@Tags({"elasticsearch", "elasticsearch 5", "query", "read", "get", "json"}) +@CapabilityDescription("A processor that allows the user to run a query (with aggregations) written with the " + +"ElasticSearch JSON DSL. It currently does not support pagination.") +public class JsonQueryElasticsearch5 extends AbstractProcessor { +public static final Relationship REL_ORIGINAL = new Relationship.Builder().name("original") +.description("All original flowfiles that don't cause an error to occur go to this relationship. " + +"This applies even if you select the \"split up hits\" option to send individual hits to the " + +"\"hits\" relationship.").build(); + +public static final Relationship REL_FAILURE = new Relationship.Builder().name("failure") +.description("All FlowFiles that cannot be read from Elasticsearch are routed to this relationship").build(); + +public static final Relationship REL_HITS = new Relationship.Builder().name("hits") +.description("Search hits are routed to this relationship.") +.build(); + +public static final Relationship REL_AGGREGATIONS = new Relationship.Builder().name("aggregations") +.description("Aggregations are routed to this relationship.") +.build(); + +public static final PropertyDescriptor INDEX = new PropertyDescriptor.Builder() +.name("el5-fetch-index") +.displ
[jira] [Commented] (NIFI-4325) Create a new ElasticSearch processor that supports the JSON DSL
[ https://issues.apache.org/jira/browse/NIFI-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250744#comment-16250744 ] ASF GitHub Bot commented on NIFI-4325: -- Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2113#discussion_r150726813 --- Diff: nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-processors/src/main/java/org/apache/nifi/processors/elasticsearch/JsonQueryElasticsearch5.java --- @@ -0,0 +1,301 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.nifi.processors.elasticsearch; + +import com.fasterxml.jackson.databind.ObjectMapper; +import org.apache.nifi.annotation.behavior.EventDriven; +import org.apache.nifi.annotation.behavior.InputRequirement; +import org.apache.nifi.annotation.behavior.WritesAttribute; +import org.apache.nifi.annotation.behavior.WritesAttributes; +import org.apache.nifi.annotation.documentation.CapabilityDescription; +import org.apache.nifi.annotation.documentation.Tags; +import org.apache.nifi.annotation.lifecycle.OnScheduled; +import org.apache.nifi.annotation.lifecycle.OnUnscheduled; +import org.apache.nifi.components.AllowableValue; +import org.apache.nifi.components.PropertyDescriptor; +import org.apache.nifi.elasticsearch.ElasticSearchClientService; +import org.apache.nifi.elasticsearch.ElasticSearchResponse; +import org.apache.nifi.flowfile.FlowFile; +import org.apache.nifi.processor.AbstractProcessor; +import org.apache.nifi.processor.ProcessContext; +import org.apache.nifi.processor.ProcessSession; +import org.apache.nifi.processor.Relationship; +import org.apache.nifi.processor.exception.ProcessException; +import org.apache.nifi.processor.io.OutputStreamCallback; +import org.apache.nifi.processor.util.StandardValidators; + +import java.io.IOException; +import java.io.OutputStream; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Set; + +@WritesAttributes({ +@WritesAttribute(attribute = "mime.type"), +@WritesAttribute(attribute = "aggregation.name", description = "The name of the aggregation whose results are in the output flowfile") +}) +@InputRequirement(InputRequirement.Requirement.INPUT_REQUIRED) +@EventDriven +@Tags({"elasticsearch", "elasticsearch 5", "query", "read", "get", "json"}) +@CapabilityDescription("A processor that allows the user to run a query (with aggregations) written with the " + +"ElasticSearch JSON DSL. It currently does not support pagination.") +public class JsonQueryElasticsearch5 extends AbstractProcessor { +public static final Relationship REL_ORIGINAL = new Relationship.Builder().name("original") +.description("All original flowfiles that don't cause an error to occur go to this relationship. " + +"This applies even if you select the \"split up hits\" option to send individual hits to the " + +"\"hits\" relationship.").build(); + +public static final Relationship REL_FAILURE = new Relationship.Builder().name("failure") +.description("All FlowFiles that cannot be read from Elasticsearch are routed to this relationship").build(); + +public static final Relationship REL_HITS = new Relationship.Builder().name("hits") +.description("Search hits are routed to this relationship.") +.build(); + +public static final Relationship REL_AGGREGATIONS = new Relationship.Builder().name("aggregations") +.description("Aggregations are routed to this relationship.") +.build(); + +public static final PropertyDescriptor INDEX = new PropertyDescriptor.Builder() +.name("el5-fetch-index") +.displ
[jira] [Commented] (NIFI-4325) Create a new ElasticSearch processor that supports the JSON DSL
[ https://issues.apache.org/jira/browse/NIFI-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250743#comment-16250743 ] ASF GitHub Bot commented on NIFI-4325: -- Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2113#discussion_r150726016 --- Diff: nifi-assembly/pom.xml --- @@ -338,6 +338,16 @@ org.apache.nifi +nifi-elasticsearch-client-service-nar +nar + + > Key: NIFI-4325 > URL: https://issues.apache.org/jira/browse/NIFI-4325 > Project: Apache NiFi > Issue Type: Improvement >Reporter: Mike Thomsen >Priority: Minor > > The existing ElasticSearch processors use the Lucene-style syntax for > querying, not the JSON DSL. A new processor is needed that can take a full > JSON query and execute it. It should also support aggregation queries in this > syntax. A user needs to be able to take a query as-is from Kibana and drop it > into NiFi and have it just run. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4325) Create a new ElasticSearch processor that supports the JSON DSL
[ https://issues.apache.org/jira/browse/NIFI-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250742#comment-16250742 ] ASF GitHub Bot commented on NIFI-4325: -- Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2113#discussion_r150726318 --- Diff: nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-processors/src/main/java/org/apache/nifi/processors/elasticsearch/JsonQueryElasticsearch5.java --- @@ -0,0 +1,451 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.nifi.processors.elasticsearch; + +import org.apache.commons.io.IOUtils; +import org.apache.http.HttpEntity; +import org.apache.http.HttpHost; +import org.apache.http.auth.AuthScope; +import org.apache.http.auth.UsernamePasswordCredentials; +import org.apache.http.client.CredentialsProvider; +import org.apache.http.entity.ContentType; +import org.apache.http.impl.client.BasicCredentialsProvider; +import org.apache.http.impl.nio.client.HttpAsyncClientBuilder; +import org.apache.http.nio.entity.NStringEntity; +import org.apache.nifi.annotation.behavior.EventDriven; +import org.apache.nifi.annotation.behavior.InputRequirement; +import org.apache.nifi.annotation.documentation.CapabilityDescription; +import org.apache.nifi.annotation.documentation.Tags; +import org.apache.nifi.annotation.lifecycle.OnUnscheduled; +import org.apache.nifi.components.AllowableValue; +import org.apache.nifi.components.PropertyDescriptor; +import org.apache.nifi.components.Validator; +import org.apache.nifi.flowfile.FlowFile; +import org.apache.nifi.processor.AbstractProcessor; +import org.apache.nifi.processor.ProcessContext; +import org.apache.nifi.processor.ProcessSession; +import org.apache.nifi.processor.Relationship; +import org.apache.nifi.processor.exception.ProcessException; +import org.apache.nifi.processor.io.OutputStreamCallback; +import org.apache.nifi.processor.util.StandardValidators; +import org.apache.nifi.ssl.SSLContextService; +import org.codehaus.jackson.map.ObjectMapper; +import org.elasticsearch.client.Response; +import org.elasticsearch.client.RestClient; +import org.elasticsearch.client.RestClientBuilder; + +import javax.net.ssl.KeyManagerFactory; +import javax.net.ssl.SSLContext; +import javax.net.ssl.TrustManagerFactory; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.net.URL; +import java.security.KeyStore; +import java.security.SecureRandom; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + + +@InputRequirement(InputRequirement.Requirement.INPUT_REQUIRED) +@EventDriven +@Tags({"elasticsearch", "elasticsearch 5", "query", "read", "get", "json"}) +@CapabilityDescription("A processor that allows the user to run a query (with aggregations) written with the " + +"ElasticSearch JSON DSL. It currently does not support pagination.") +public class JsonQueryElasticsearch5 extends AbstractProcessor { --- End diff -- Having the 5 and Http can be confusing as well, so I'm good with the name as-is :) > Create a new ElasticSearch processor that supports the JSON DSL > --- > > Key: NIFI-4325 > URL: https://issues.apache.org/jira/browse/NIFI-4325 > Project: Apache NiFi > Issue Type: Improvement >Reporter: Mike Thomsen >Priority: Minor > > The existing ElasticSearch processors use the Lucene-style syntax for > querying, not the JSON DSL. A new processor is needed that can take a full > JSON query and execute it. It should also support aggregation queries in this > syntax. A user nee
[jira] [Commented] (NIFI-4325) Create a new ElasticSearch processor that supports the JSON DSL
[ https://issues.apache.org/jira/browse/NIFI-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250745#comment-16250745 ] ASF GitHub Bot commented on NIFI-4325: -- Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2113#discussion_r150726237 --- Diff: nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-processors/src/main/java/org/apache/nifi/processors/elasticsearch/JsonQueryElasticsearch5.java --- @@ -0,0 +1,301 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.nifi.processors.elasticsearch; + +import com.fasterxml.jackson.databind.ObjectMapper; +import org.apache.nifi.annotation.behavior.EventDriven; +import org.apache.nifi.annotation.behavior.InputRequirement; +import org.apache.nifi.annotation.behavior.WritesAttribute; +import org.apache.nifi.annotation.behavior.WritesAttributes; +import org.apache.nifi.annotation.documentation.CapabilityDescription; +import org.apache.nifi.annotation.documentation.Tags; +import org.apache.nifi.annotation.lifecycle.OnScheduled; +import org.apache.nifi.annotation.lifecycle.OnUnscheduled; +import org.apache.nifi.components.AllowableValue; +import org.apache.nifi.components.PropertyDescriptor; +import org.apache.nifi.elasticsearch.ElasticSearchClientService; +import org.apache.nifi.elasticsearch.ElasticSearchResponse; +import org.apache.nifi.flowfile.FlowFile; +import org.apache.nifi.processor.AbstractProcessor; +import org.apache.nifi.processor.ProcessContext; +import org.apache.nifi.processor.ProcessSession; +import org.apache.nifi.processor.Relationship; +import org.apache.nifi.processor.exception.ProcessException; +import org.apache.nifi.processor.io.OutputStreamCallback; +import org.apache.nifi.processor.util.StandardValidators; + +import java.io.IOException; +import java.io.OutputStream; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Set; + +@WritesAttributes({ +@WritesAttribute(attribute = "mime.type"), --- End diff -- This should have a description that the mime.type will be set to "application/json" > Create a new ElasticSearch processor that supports the JSON DSL > --- > > Key: NIFI-4325 > URL: https://issues.apache.org/jira/browse/NIFI-4325 > Project: Apache NiFi > Issue Type: Improvement >Reporter: Mike Thomsen >Priority: Minor > > The existing ElasticSearch processors use the Lucene-style syntax for > querying, not the JSON DSL. A new processor is needed that can take a full > JSON query and execute it. It should also support aggregation queries in this > syntax. A user needs to be able to take a query as-is from Kibana and drop it > into NiFi and have it just run. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi pull request #2113: NIFI-4325 Added new processor that uses the JSON DS...
Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2113#discussion_r150726237 --- Diff: nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-processors/src/main/java/org/apache/nifi/processors/elasticsearch/JsonQueryElasticsearch5.java --- @@ -0,0 +1,301 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.nifi.processors.elasticsearch; + +import com.fasterxml.jackson.databind.ObjectMapper; +import org.apache.nifi.annotation.behavior.EventDriven; +import org.apache.nifi.annotation.behavior.InputRequirement; +import org.apache.nifi.annotation.behavior.WritesAttribute; +import org.apache.nifi.annotation.behavior.WritesAttributes; +import org.apache.nifi.annotation.documentation.CapabilityDescription; +import org.apache.nifi.annotation.documentation.Tags; +import org.apache.nifi.annotation.lifecycle.OnScheduled; +import org.apache.nifi.annotation.lifecycle.OnUnscheduled; +import org.apache.nifi.components.AllowableValue; +import org.apache.nifi.components.PropertyDescriptor; +import org.apache.nifi.elasticsearch.ElasticSearchClientService; +import org.apache.nifi.elasticsearch.ElasticSearchResponse; +import org.apache.nifi.flowfile.FlowFile; +import org.apache.nifi.processor.AbstractProcessor; +import org.apache.nifi.processor.ProcessContext; +import org.apache.nifi.processor.ProcessSession; +import org.apache.nifi.processor.Relationship; +import org.apache.nifi.processor.exception.ProcessException; +import org.apache.nifi.processor.io.OutputStreamCallback; +import org.apache.nifi.processor.util.StandardValidators; + +import java.io.IOException; +import java.io.OutputStream; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Set; + +@WritesAttributes({ +@WritesAttribute(attribute = "mime.type"), --- End diff -- This should have a description that the mime.type will be set to "application/json" ---
[GitHub] nifi pull request #2113: NIFI-4325 Added new processor that uses the JSON DS...
Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2113#discussion_r150726318 --- Diff: nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-processors/src/main/java/org/apache/nifi/processors/elasticsearch/JsonQueryElasticsearch5.java --- @@ -0,0 +1,451 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.nifi.processors.elasticsearch; + +import org.apache.commons.io.IOUtils; +import org.apache.http.HttpEntity; +import org.apache.http.HttpHost; +import org.apache.http.auth.AuthScope; +import org.apache.http.auth.UsernamePasswordCredentials; +import org.apache.http.client.CredentialsProvider; +import org.apache.http.entity.ContentType; +import org.apache.http.impl.client.BasicCredentialsProvider; +import org.apache.http.impl.nio.client.HttpAsyncClientBuilder; +import org.apache.http.nio.entity.NStringEntity; +import org.apache.nifi.annotation.behavior.EventDriven; +import org.apache.nifi.annotation.behavior.InputRequirement; +import org.apache.nifi.annotation.documentation.CapabilityDescription; +import org.apache.nifi.annotation.documentation.Tags; +import org.apache.nifi.annotation.lifecycle.OnUnscheduled; +import org.apache.nifi.components.AllowableValue; +import org.apache.nifi.components.PropertyDescriptor; +import org.apache.nifi.components.Validator; +import org.apache.nifi.flowfile.FlowFile; +import org.apache.nifi.processor.AbstractProcessor; +import org.apache.nifi.processor.ProcessContext; +import org.apache.nifi.processor.ProcessSession; +import org.apache.nifi.processor.Relationship; +import org.apache.nifi.processor.exception.ProcessException; +import org.apache.nifi.processor.io.OutputStreamCallback; +import org.apache.nifi.processor.util.StandardValidators; +import org.apache.nifi.ssl.SSLContextService; +import org.codehaus.jackson.map.ObjectMapper; +import org.elasticsearch.client.Response; +import org.elasticsearch.client.RestClient; +import org.elasticsearch.client.RestClientBuilder; + +import javax.net.ssl.KeyManagerFactory; +import javax.net.ssl.SSLContext; +import javax.net.ssl.TrustManagerFactory; +import java.io.FileInputStream; +import java.io.IOException; +import java.io.InputStream; +import java.io.OutputStream; +import java.net.URL; +import java.security.KeyStore; +import java.security.SecureRandom; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Set; + + +@InputRequirement(InputRequirement.Requirement.INPUT_REQUIRED) +@EventDriven +@Tags({"elasticsearch", "elasticsearch 5", "query", "read", "get", "json"}) +@CapabilityDescription("A processor that allows the user to run a query (with aggregations) written with the " + +"ElasticSearch JSON DSL. It currently does not support pagination.") +public class JsonQueryElasticsearch5 extends AbstractProcessor { --- End diff -- Having the 5 and Http can be confusing as well, so I'm good with the name as-is :) ---
[GitHub] nifi pull request #2113: NIFI-4325 Added new processor that uses the JSON DS...
Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2113#discussion_r150726684 --- Diff: nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-processors/src/main/java/org/apache/nifi/processors/elasticsearch/JsonQueryElasticsearch5.java --- @@ -0,0 +1,301 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.nifi.processors.elasticsearch; + +import com.fasterxml.jackson.databind.ObjectMapper; +import org.apache.nifi.annotation.behavior.EventDriven; +import org.apache.nifi.annotation.behavior.InputRequirement; +import org.apache.nifi.annotation.behavior.WritesAttribute; +import org.apache.nifi.annotation.behavior.WritesAttributes; +import org.apache.nifi.annotation.documentation.CapabilityDescription; +import org.apache.nifi.annotation.documentation.Tags; +import org.apache.nifi.annotation.lifecycle.OnScheduled; +import org.apache.nifi.annotation.lifecycle.OnUnscheduled; +import org.apache.nifi.components.AllowableValue; +import org.apache.nifi.components.PropertyDescriptor; +import org.apache.nifi.elasticsearch.ElasticSearchClientService; +import org.apache.nifi.elasticsearch.ElasticSearchResponse; +import org.apache.nifi.flowfile.FlowFile; +import org.apache.nifi.processor.AbstractProcessor; +import org.apache.nifi.processor.ProcessContext; +import org.apache.nifi.processor.ProcessSession; +import org.apache.nifi.processor.Relationship; +import org.apache.nifi.processor.exception.ProcessException; +import org.apache.nifi.processor.io.OutputStreamCallback; +import org.apache.nifi.processor.util.StandardValidators; + +import java.io.IOException; +import java.io.OutputStream; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Set; + +@WritesAttributes({ +@WritesAttribute(attribute = "mime.type"), +@WritesAttribute(attribute = "aggregation.name", description = "The name of the aggregation whose results are in the output flowfile") +}) +@InputRequirement(InputRequirement.Requirement.INPUT_REQUIRED) +@EventDriven +@Tags({"elasticsearch", "elasticsearch 5", "query", "read", "get", "json"}) +@CapabilityDescription("A processor that allows the user to run a query (with aggregations) written with the " + +"ElasticSearch JSON DSL. It currently does not support pagination.") +public class JsonQueryElasticsearch5 extends AbstractProcessor { +public static final Relationship REL_ORIGINAL = new Relationship.Builder().name("original") +.description("All original flowfiles that don't cause an error to occur go to this relationship. " + +"This applies even if you select the \"split up hits\" option to send individual hits to the " + +"\"hits\" relationship.").build(); + +public static final Relationship REL_FAILURE = new Relationship.Builder().name("failure") +.description("All FlowFiles that cannot be read from Elasticsearch are routed to this relationship").build(); + +public static final Relationship REL_HITS = new Relationship.Builder().name("hits") +.description("Search hits are routed to this relationship.") +.build(); + +public static final Relationship REL_AGGREGATIONS = new Relationship.Builder().name("aggregations") +.description("Aggregations are routed to this relationship.") +.build(); + +public static final PropertyDescriptor INDEX = new PropertyDescriptor.Builder() +.name("el5-fetch-index") +.displayName("Index") +.description("The name of the index to read from") +.required(true) +.expressionLanguageSupported(true) +.addValidator(StandardValidators.NON_EMPTY_VALIDATOR) +
[GitHub] nifi pull request #2113: NIFI-4325 Added new processor that uses the JSON DS...
Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2113#discussion_r150726813 --- Diff: nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-5-processors/src/main/java/org/apache/nifi/processors/elasticsearch/JsonQueryElasticsearch5.java --- @@ -0,0 +1,301 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.nifi.processors.elasticsearch; + +import com.fasterxml.jackson.databind.ObjectMapper; +import org.apache.nifi.annotation.behavior.EventDriven; +import org.apache.nifi.annotation.behavior.InputRequirement; +import org.apache.nifi.annotation.behavior.WritesAttribute; +import org.apache.nifi.annotation.behavior.WritesAttributes; +import org.apache.nifi.annotation.documentation.CapabilityDescription; +import org.apache.nifi.annotation.documentation.Tags; +import org.apache.nifi.annotation.lifecycle.OnScheduled; +import org.apache.nifi.annotation.lifecycle.OnUnscheduled; +import org.apache.nifi.components.AllowableValue; +import org.apache.nifi.components.PropertyDescriptor; +import org.apache.nifi.elasticsearch.ElasticSearchClientService; +import org.apache.nifi.elasticsearch.ElasticSearchResponse; +import org.apache.nifi.flowfile.FlowFile; +import org.apache.nifi.processor.AbstractProcessor; +import org.apache.nifi.processor.ProcessContext; +import org.apache.nifi.processor.ProcessSession; +import org.apache.nifi.processor.Relationship; +import org.apache.nifi.processor.exception.ProcessException; +import org.apache.nifi.processor.io.OutputStreamCallback; +import org.apache.nifi.processor.util.StandardValidators; + +import java.io.IOException; +import java.io.OutputStream; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.Set; + +@WritesAttributes({ +@WritesAttribute(attribute = "mime.type"), +@WritesAttribute(attribute = "aggregation.name", description = "The name of the aggregation whose results are in the output flowfile") +}) +@InputRequirement(InputRequirement.Requirement.INPUT_REQUIRED) +@EventDriven +@Tags({"elasticsearch", "elasticsearch 5", "query", "read", "get", "json"}) +@CapabilityDescription("A processor that allows the user to run a query (with aggregations) written with the " + +"ElasticSearch JSON DSL. It currently does not support pagination.") +public class JsonQueryElasticsearch5 extends AbstractProcessor { +public static final Relationship REL_ORIGINAL = new Relationship.Builder().name("original") +.description("All original flowfiles that don't cause an error to occur go to this relationship. " + +"This applies even if you select the \"split up hits\" option to send individual hits to the " + +"\"hits\" relationship.").build(); + +public static final Relationship REL_FAILURE = new Relationship.Builder().name("failure") +.description("All FlowFiles that cannot be read from Elasticsearch are routed to this relationship").build(); + +public static final Relationship REL_HITS = new Relationship.Builder().name("hits") +.description("Search hits are routed to this relationship.") +.build(); + +public static final Relationship REL_AGGREGATIONS = new Relationship.Builder().name("aggregations") +.description("Aggregations are routed to this relationship.") +.build(); + +public static final PropertyDescriptor INDEX = new PropertyDescriptor.Builder() +.name("el5-fetch-index") +.displayName("Index") +.description("The name of the index to read from") +.required(true) +.expressionLanguageSupported(true) +.addValidator(StandardValidators.NON_EMPTY_VALIDATOR) +
[GitHub] nifi pull request #2113: NIFI-4325 Added new processor that uses the JSON DS...
Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2113#discussion_r150726016 --- Diff: nifi-assembly/pom.xml --- @@ -338,6 +338,16 @@ org.apache.nifi +nifi-elasticsearch-client-service-nar +nar + +
[jira] [Updated] (NIFI-4577) ValidateCsv - add attributes to indicate number of valid/invalid lines
[ https://issues.apache.org/jira/browse/NIFI-4577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Burgess updated NIFI-4577: --- Resolution: Fixed Status: Resolved (was: Patch Available) > ValidateCsv - add attributes to indicate number of valid/invalid lines > -- > > Key: NIFI-4577 > URL: https://issues.apache.org/jira/browse/NIFI-4577 > Project: Apache NiFi > Issue Type: Improvement > Components: Extensions >Reporter: Pierre Villard >Assignee: Pierre Villard >Priority: Minor > Fix For: 1.5.0 > > > At the moment, when using the ValidateCsv processor, the number of > valid/invalid lines in a flow file is indicated in the generated provenance > event. It'd be useful to add this information as attributes to evaluate the > quality of a file and allow routing based on this information. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (NIFI-4577) ValidateCsv - add attributes to indicate number of valid/invalid lines
[ https://issues.apache.org/jira/browse/NIFI-4577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Burgess updated NIFI-4577: --- Fix Version/s: 1.5.0 > ValidateCsv - add attributes to indicate number of valid/invalid lines > -- > > Key: NIFI-4577 > URL: https://issues.apache.org/jira/browse/NIFI-4577 > Project: Apache NiFi > Issue Type: Improvement > Components: Extensions >Reporter: Pierre Villard >Assignee: Pierre Villard >Priority: Minor > Fix For: 1.5.0 > > > At the moment, when using the ValidateCsv processor, the number of > valid/invalid lines in a flow file is indicated in the generated provenance > event. It'd be useful to add this information as attributes to evaluate the > quality of a file and allow routing based on this information. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4577) ValidateCsv - add attributes to indicate number of valid/invalid lines
[ https://issues.apache.org/jira/browse/NIFI-4577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250725#comment-16250725 ] ASF GitHub Bot commented on NIFI-4577: -- Github user asfgit closed the pull request at: https://github.com/apache/nifi/pull/2268 > ValidateCsv - add attributes to indicate number of valid/invalid lines > -- > > Key: NIFI-4577 > URL: https://issues.apache.org/jira/browse/NIFI-4577 > Project: Apache NiFi > Issue Type: Improvement > Components: Extensions >Reporter: Pierre Villard >Assignee: Pierre Villard >Priority: Minor > > At the moment, when using the ValidateCsv processor, the number of > valid/invalid lines in a flow file is indicated in the generated provenance > event. It'd be useful to add this information as attributes to evaluate the > quality of a file and allow routing based on this information. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4577) ValidateCsv - add attributes to indicate number of valid/invalid lines
[ https://issues.apache.org/jira/browse/NIFI-4577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250724#comment-16250724 ] ASF subversion and git services commented on NIFI-4577: --- Commit 9e9c129c21061f5c66ba4246774738de7184406b in nifi's branch refs/heads/master from [~pvillard] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=9e9c129 ] NIFI-4577 - ValidateCsv - add attributes to indicate number of valid/invalid lines Signed-off-by: Matthew Burgess This closes #2268 > ValidateCsv - add attributes to indicate number of valid/invalid lines > -- > > Key: NIFI-4577 > URL: https://issues.apache.org/jira/browse/NIFI-4577 > Project: Apache NiFi > Issue Type: Improvement > Components: Extensions >Reporter: Pierre Villard >Assignee: Pierre Villard >Priority: Minor > > At the moment, when using the ValidateCsv processor, the number of > valid/invalid lines in a flow file is indicated in the generated provenance > event. It'd be useful to add this information as attributes to evaluate the > quality of a file and allow routing based on this information. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi issue #2268: NIFI-4577 - ValidateCsv - add attributes to indicate numbe...
Github user mattyb149 commented on the issue: https://github.com/apache/nifi/pull/2268 +1 LGTM, ran build with unit tests and contrib-check, also tried valid and invalid CSV files and verified the counts were correct. Thanks for this improvement! Merging to master ---
[GitHub] nifi pull request #2268: NIFI-4577 - ValidateCsv - add attributes to indicat...
Github user asfgit closed the pull request at: https://github.com/apache/nifi/pull/2268 ---
[jira] [Commented] (NIFI-4577) ValidateCsv - add attributes to indicate number of valid/invalid lines
[ https://issues.apache.org/jira/browse/NIFI-4577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250722#comment-16250722 ] ASF GitHub Bot commented on NIFI-4577: -- Github user mattyb149 commented on the issue: https://github.com/apache/nifi/pull/2268 +1 LGTM, ran build with unit tests and contrib-check, also tried valid and invalid CSV files and verified the counts were correct. Thanks for this improvement! Merging to master > ValidateCsv - add attributes to indicate number of valid/invalid lines > -- > > Key: NIFI-4577 > URL: https://issues.apache.org/jira/browse/NIFI-4577 > Project: Apache NiFi > Issue Type: Improvement > Components: Extensions >Reporter: Pierre Villard >Assignee: Pierre Villard >Priority: Minor > > At the moment, when using the ValidateCsv processor, the number of > valid/invalid lines in a flow file is indicated in the generated provenance > event. It'd be useful to add this information as attributes to evaluate the > quality of a file and allow routing based on this information. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (NIFI-4603) NiFi HTTP header size should be configurable
[ https://issues.apache.org/jira/browse/NIFI-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Burgess updated NIFI-4603: --- Status: Patch Available (was: In Progress) > NiFi HTTP header size should be configurable > > > Key: NIFI-4603 > URL: https://issues.apache.org/jira/browse/NIFI-4603 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework >Reporter: Matt Burgess >Assignee: Matt Burgess > > Currently, the max header size for NiFi HTTP requests and responses is > hardcoded to 16 KB. This can cause issues when using SPNEGO and other > mechanisms that pass large headers to/from NiFi. This can be improved by > externalizing the setting to nifi.properties so the user may configure it to > the appropriate size. > The current setting is at > https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-jetty/src/main/java/org/apache/nifi/web/server/JettyServer.java#L112 -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4603) NiFi HTTP header size should be configurable
[ https://issues.apache.org/jira/browse/NIFI-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250671#comment-16250671 ] ASF GitHub Bot commented on NIFI-4603: -- GitHub user mattyb149 opened a pull request: https://github.com/apache/nifi/pull/2271 NIFI-4603: Externalize Max HTTP Header Size to nifi.properties Thank you for submitting a contribution to Apache NiFi. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [x] Does your PR title start with NIFI- where is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character. - [x] Has your PR been rebased against the latest commit within the target branch (typically master)? - [x] Is your initial contribution a single, squashed commit? ### For code changes: - [x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder? - [ ] Have you written or updated unit tests to verify your changes? - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly? - [ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly? - [ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties? ### For documentation related changes: - [x] Have you ensured that format looks appropriate for the output in which it is rendered? ### Note: Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mattyb149/nifi NIFI-4603 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nifi/pull/2271.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2271 commit dd51fe7eb87bf08f49632c75ecb84fc6bf3dca04 Author: Matthew Burgess Date: 2017-11-14T02:12:11Z NIFI-4603: Externalize Max HTTP Header Size to nifi.properties > NiFi HTTP header size should be configurable > > > Key: NIFI-4603 > URL: https://issues.apache.org/jira/browse/NIFI-4603 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework >Reporter: Matt Burgess >Assignee: Matt Burgess > > Currently, the max header size for NiFi HTTP requests and responses is > hardcoded to 16 KB. This can cause issues when using SPNEGO and other > mechanisms that pass large headers to/from NiFi. This can be improved by > externalizing the setting to nifi.properties so the user may configure it to > the appropriate size. > The current setting is at > https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-jetty/src/main/java/org/apache/nifi/web/server/JettyServer.java#L112 -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi pull request #2271: NIFI-4603: Externalize Max HTTP Header Size to nifi...
GitHub user mattyb149 opened a pull request: https://github.com/apache/nifi/pull/2271 NIFI-4603: Externalize Max HTTP Header Size to nifi.properties Thank you for submitting a contribution to Apache NiFi. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [x] Does your PR title start with NIFI- where is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character. - [x] Has your PR been rebased against the latest commit within the target branch (typically master)? - [x] Is your initial contribution a single, squashed commit? ### For code changes: - [x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder? - [ ] Have you written or updated unit tests to verify your changes? - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly? - [ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly? - [ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties? ### For documentation related changes: - [x] Have you ensured that format looks appropriate for the output in which it is rendered? ### Note: Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible. You can merge this pull request into a Git repository by running: $ git pull https://github.com/mattyb149/nifi NIFI-4603 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nifi/pull/2271.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2271 commit dd51fe7eb87bf08f49632c75ecb84fc6bf3dca04 Author: Matthew Burgess Date: 2017-11-14T02:12:11Z NIFI-4603: Externalize Max HTTP Header Size to nifi.properties ---
[jira] [Updated] (NIFI-4603) NiFi HTTP header size should be configurable
[ https://issues.apache.org/jira/browse/NIFI-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Burgess updated NIFI-4603: --- Description: Currently, the max header size for NiFi HTTP requests and responses is hardcoded to 16 KB. This can cause issues when using SPNEGO and other mechanisms that pass large headers to/from NiFi. This can be improved by externalizing the setting to nifi.properties so the user may configure it to the appropriate size. The current setting is at https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-jetty/src/main/java/org/apache/nifi/web/server/JettyServer.java#L112 was:Currently, the max header size for NiFi HTTP requests and responses is hardcoded to 16 KB. This can cause issues when using SPNEGO and other mechanisms that pass large headers to/from NiFi. This can be improved by externalizing the setting to nifi.properties so the user may configure it to the appropriate size. > NiFi HTTP header size should be configurable > > > Key: NIFI-4603 > URL: https://issues.apache.org/jira/browse/NIFI-4603 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework >Reporter: Matt Burgess >Assignee: Matt Burgess > > Currently, the max header size for NiFi HTTP requests and responses is > hardcoded to 16 KB. This can cause issues when using SPNEGO and other > mechanisms that pass large headers to/from NiFi. This can be improved by > externalizing the setting to nifi.properties so the user may configure it to > the appropriate size. > The current setting is at > https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-jetty/src/main/java/org/apache/nifi/web/server/JettyServer.java#L112 -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Assigned] (NIFI-4603) NiFi HTTP header size should be configurable
[ https://issues.apache.org/jira/browse/NIFI-4603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Burgess reassigned NIFI-4603: -- Assignee: Matt Burgess > NiFi HTTP header size should be configurable > > > Key: NIFI-4603 > URL: https://issues.apache.org/jira/browse/NIFI-4603 > Project: Apache NiFi > Issue Type: Improvement > Components: Core Framework >Reporter: Matt Burgess >Assignee: Matt Burgess > > Currently, the max header size for NiFi HTTP requests and responses is > hardcoded to 16 KB. This can cause issues when using SPNEGO and other > mechanisms that pass large headers to/from NiFi. This can be improved by > externalizing the setting to nifi.properties so the user may configure it to > the appropriate size. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (NIFI-4603) NiFi HTTP header size should be configurable
Matt Burgess created NIFI-4603: -- Summary: NiFi HTTP header size should be configurable Key: NIFI-4603 URL: https://issues.apache.org/jira/browse/NIFI-4603 Project: Apache NiFi Issue Type: Improvement Components: Core Framework Reporter: Matt Burgess Currently, the max header size for NiFi HTTP requests and responses is hardcoded to 16 KB. This can cause issues when using SPNEGO and other mechanisms that pass large headers to/from NiFi. This can be improved by externalizing the setting to nifi.properties so the user may configure it to the appropriate size. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MINIFICPP-293) Insufficient space in atomic entry error, after running for a while
[ https://issues.apache.org/jira/browse/MINIFICPP-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250658#comment-16250658 ] ASF GitHub Bot commented on MINIFICPP-293: -- Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/186 These tickets solve one problem in this ticket and the other mentioned ticket. Can't close the MINIFICPP-293 with this as we haven't proven the issue is solved. > Insufficient space in atomic entry error, after running for a while > --- > > Key: MINIFICPP-293 > URL: https://issues.apache.org/jira/browse/MINIFICPP-293 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Reporter: Andrew Christianson >Assignee: marco polo > Attachments: example.tar.xz, logs.tar.xz > > > I have a flow that looks like this: > {code} > # Licensed to the Apache Software Foundation (ASF) under one or more > # contributor license agreements. See the NOTICE file distributed with > # this work for additional information regarding copyright ownership. > # The ASF licenses this file to You under the Apache License, Version 2.0 > # (the \"License\"); you may not use this file except in compliance with > # the License. You may obtain a copy of the License at > # > # http://www.apache.org/licenses/LICENSE-2.0 > # > # Unless required by applicable law or agreed to in writing, software > # distributed under the License is distributed on an \"AS IS\" BASIS, > # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. > # See the License for the specific language governing permissions and > # limitations under the License. > Flow Controller: > name: MiNiFi Flow > Processors: > - name: GetFeedURLs > class: org.apache.nifi.processors.standard.GetFile > scheduling strategy: TIMER_DRIVEN > max concurrent tasks: 1 > scheduling period: 1 sec > #scheduling period: 100 ms > auto-terminated relationships list: > - failure > Properties: > Input Directory: data/rss/feeds > Keep Source File: true > #File Filter: "/url$" > - name: ExtractURL > class: org.apache.nifi.processors.standard.ExtractText > auto-terminated relationships list: > - failure > Properties: > Attribute: feed_url > - name: PaceFetch > class: org.apache.nifi.processors.standard.ExecuteScript > auto-terminated relationships list: > - failure > Properties: > Script Engine: lua > Script File: conf/PaceFetch.lua > - name: FetchFeed > class: org.apache.nifi.processors.standard.ExecuteScript > max concurrent tasks: 5 > auto-terminated relationships list: > - failure > Properties: > Script Engine: python > Script File: conf/ExecA.py > - name: LogEntryAttributes > class: org.apache.nifi.processors.standard.LogAttribute > auto-terminated relationships list: > - failure > - name: PutEntry > class: org.apache.nifi.processors.standard.PutFile > auto-terminated relationships list: > - success > - failure > Properties: > Directory: data > Conflict Resolution Strategy: ignore > Connections: > - name: A > source name: GetFeedURLs > source relationship name: success > destination name: ExtractURL > - name: B > source name: ExtractURL > source relationship name: success > destination name: PaceFetch > - name: C > source name: PaceFetch > source relationship name: success > destination name: FetchFeed > - name: D > source name: FetchFeed > source relationship name: success > destination name: LogEntryAttributes > - name: E > source name: LogEntryAttributes > source relationship name: success > destination name: PutEntry > Remote Processing Groups: [] > Provenance Reporting: > {code} > After it runs for a while (hour or two), the flow stops fully working, and > dumps this out in the DEBUG logs: > {code} > [2017-11-06 11:37:57.063] [org::apache::nifi::minifi::core::ProcessSession] > [debug] Create FlowFile with UUID d81b1832-c310-11e7-a858-bc5ff43a885b > [2017-11-06 11:37:57.063] > [org::apache::nifi::minifi::provenance::ProvenanceReporter] [debug] Prove > reporter now 3 > [2017-11-06 11:37:57.063] [org::apache::nifi::minifi::ResourceClaim] [debug] > Resource Claim created ./content_repository/1509982623798-8558 > [2017-11-06 11:37:57.063] > [org::apache::nifi::minifi::core::repository::VolatileContentRepository] > [debug] enter write for ./content_repository/1509982623798-8558 > [2017-11-06 11:37:57.063] > [org::apache::nifi::minifi::core::repository::VolatileContentRepository] > [debug] Minimize locking > [2017-11-06 11:37:57.064] > [org::apache::nifi::minifi::io::AtomicEntryStream > > ()] [deb
[GitHub] nifi-minifi-cpp issue #186: MINIFICPP-293: Update repos
Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/186 These tickets solve one problem in this ticket and the other mentioned ticket. Can't close the MINIFICPP-293 with this as we haven't proven the issue is solved. ---
[jira] [Resolved] (MINIFICPP-250) Create a packet capture process
[ https://issues.apache.org/jira/browse/MINIFICPP-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aldrin Piri resolved MINIFICPP-250. --- Resolution: Done > Create a packet capture process > --- > > Key: MINIFICPP-250 > URL: https://issues.apache.org/jira/browse/MINIFICPP-250 > Project: NiFi MiNiFi C++ > Issue Type: New Feature >Reporter: Joseph Witt >Assignee: marco polo > Fix For: 0.3.0 > > > It would be really powerful to have minificpp agents be able to capture > packets and produce proper pcap bundles for them. This then can be sent via > s2s to a nifi which could use pcap readers and netflow/other writers to > create filtered results, do enrichment, send raw data to kafka/etc... -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (MINIFICPP-293) Insufficient space in atomic entry error, after running for a while
[ https://issues.apache.org/jira/browse/MINIFICPP-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250650#comment-16250650 ] ASF GitHub Bot commented on MINIFICPP-293: -- GitHub user phrocker opened a pull request: https://github.com/apache/nifi-minifi-cpp/pull/186 MINIFICPP-293: Update repos MINIFICPP-293: Fix some potential issues with decrement. MINIFICPP-295: remove new/delete char buffer Thank you for submitting a contribution to Apache NiFi - MiNiFi C++. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [ ] Does your PR title start with MINIFI- where is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character. - [ ] Has your PR been rebased against the latest commit within the target branch (typically master)? - [ ] Is your initial contribution a single, squashed commit? ### For code changes: - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the LICENSE file? - [ ] If applicable, have you updated the NOTICE file? ### For documentation related changes: - [ ] Have you ensured that format looks appropriate for the output in which it is rendered? ### Note: Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible. You can merge this pull request into a Git repository by running: $ git pull https://github.com/phrocker/nifi-minifi-cpp MINIFICPP-293 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nifi-minifi-cpp/pull/186.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #186 commit 75564307395f4bd9d14ee12abeb22f5da28c0e96 Author: Marc Parisi Date: 2017-11-06T20:22:49Z MINIFICPP-293: Update repos MINIFICPP-293: Fix some potential issues with decrement. MINIFICPP-295: remove new/delete char buffer > Insufficient space in atomic entry error, after running for a while > --- > > Key: MINIFICPP-293 > URL: https://issues.apache.org/jira/browse/MINIFICPP-293 > Project: NiFi MiNiFi C++ > Issue Type: Bug >Reporter: Andrew Christianson >Assignee: marco polo > Attachments: example.tar.xz, logs.tar.xz > > > I have a flow that looks like this: > {code} > # Licensed to the Apache Software Foundation (ASF) under one or more > # contributor license agreements. See the NOTICE file distributed with > # this work for additional information regarding copyright ownership. > # The ASF licenses this file to You under the Apache License, Version 2.0 > # (the \"License\"); you may not use this file except in compliance with > # the License. You may obtain a copy of the License at > # > # http://www.apache.org/licenses/LICENSE-2.0 > # > # Unless required by applicable law or agreed to in writing, software > # distributed under the License is distributed on an \"AS IS\" BASIS, > # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. > # See the License for the specific language governing permissions and > # limitations under the License. > Flow Controller: > name: MiNiFi Flow > Processors: > - name: GetFeedURLs > class: org.apache.nifi.processors.standard.GetFile > scheduling strategy: TIMER_DRIVEN > max concurrent tasks: 1 > scheduling period: 1 sec > #scheduling period: 100 ms > auto-terminated relationships list: > - failure > Properties: > Input Directory: data/rss/feeds > Keep Source File: true > #File Filter: "/url$" > - name: ExtractURL > class: org.apache.nifi.processors.standard.ExtractText > auto-terminated relationships list: > - failure > Properties: > Attribute: feed_url > - name: PaceFetch > class: org.apache.nifi.processors.standard.ExecuteScript > auto-terminated relationships list: > - failure > Properties: > Script Engine: lua > Script File: conf/PaceFetch.lua > - name: FetchFeed > class: org.apache.nifi.processors.standard.ExecuteScript > max concurrent tasks: 5 > auto-terminated relationships list: > - failure > Properties: > Script Engine: python > Script File: conf/ExecA.py > - name: LogEntryAttribu
[GitHub] nifi-minifi-cpp pull request #186: MINIFICPP-293: Update repos
GitHub user phrocker opened a pull request: https://github.com/apache/nifi-minifi-cpp/pull/186 MINIFICPP-293: Update repos MINIFICPP-293: Fix some potential issues with decrement. MINIFICPP-295: remove new/delete char buffer Thank you for submitting a contribution to Apache NiFi - MiNiFi C++. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [ ] Does your PR title start with MINIFI- where is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character. - [ ] Has your PR been rebased against the latest commit within the target branch (typically master)? - [ ] Is your initial contribution a single, squashed commit? ### For code changes: - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [ ] If applicable, have you updated the LICENSE file? - [ ] If applicable, have you updated the NOTICE file? ### For documentation related changes: - [ ] Have you ensured that format looks appropriate for the output in which it is rendered? ### Note: Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible. You can merge this pull request into a Git repository by running: $ git pull https://github.com/phrocker/nifi-minifi-cpp MINIFICPP-293 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nifi-minifi-cpp/pull/186.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #186 commit 75564307395f4bd9d14ee12abeb22f5da28c0e96 Author: Marc Parisi Date: 2017-11-06T20:22:49Z MINIFICPP-293: Update repos MINIFICPP-293: Fix some potential issues with decrement. MINIFICPP-295: remove new/delete char buffer ---
[jira] [Commented] (MINIFICPP-250) Create a packet capture process
[ https://issues.apache.org/jira/browse/MINIFICPP-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250649#comment-16250649 ] ASF GitHub Bot commented on MINIFICPP-250: -- Github user apiri commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/170 Updates for license look good, thanks. Will get this merged. > Create a packet capture process > --- > > Key: MINIFICPP-250 > URL: https://issues.apache.org/jira/browse/MINIFICPP-250 > Project: NiFi MiNiFi C++ > Issue Type: New Feature >Reporter: Joseph Witt >Assignee: marco polo > Fix For: 0.3.0 > > > It would be really powerful to have minificpp agents be able to capture > packets and produce proper pcap bundles for them. This then can be sent via > s2s to a nifi which could use pcap readers and netflow/other writers to > create filtered results, do enrichment, send raw data to kafka/etc... -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi-minifi-cpp issue #170: MINIFICPP-250: Initial implementation fo PacketC...
Github user apiri commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/170 Updates for license look good, thanks. Will get this merged. ---
[jira] [Commented] (MINIFICPP-303) Upgrade civetweb and rocksdb
[ https://issues.apache.org/jira/browse/MINIFICPP-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250642#comment-16250642 ] marco polo commented on MINIFICPP-303: -- Caleb, did this solve your issues for MINIFICPP-262? I gathered that was no longer an issue and thus we are upgrading just to upgrade, correct? > Upgrade civetweb and rocksdb > > > Key: MINIFICPP-303 > URL: https://issues.apache.org/jira/browse/MINIFICPP-303 > Project: NiFi MiNiFi C++ > Issue Type: Improvement >Reporter: Caleb Johnson > > These upgrades to the latest stable releases of civetweb > ([v1.10|https://github.com/civetweb/civetweb/releases/tag/v1.10]) and RocksDB > ([v5.8|https://github.com/facebook/rocksdb/releases/tag/v5.8]) bring numerous > improvements. They might solve any issues similar to those in MINIFICPP-262. > For civet, the most notable is OpenSSL v1.1 support. It was partially > backported to the version in the minifi tree (1.9.1), but still had issues > matching some OpenSSL v1.1 interface changes. Civetweb release v1.10 has > complete and official support. > RocksDB v5.8 comes with the following bugfixes: > * Fix wrong latencies in rocksdb.db.get.micros, rocksdb.db.write.micros, and > rocksdb.sst.read.micros. > * Fix incorrect dropping of deletions during intra-L0 compaction. > * Fix transient reappearance of keys covered by range deletions when memtable > prefix bloom filter is enabled. > * Fix potentially wrong file smallest key when range deletions separated by > snapshot are written together. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi-minifi-cpp issue #170: MINIFICPP-250: Initial implementation fo PacketC...
Github user apiri commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/170 @phrocker build and code looked good. Was able to verify functionality in Linux and OS X. I don't believe I saw any updates to the LICENSE to incorporate the library addition. Could we also look to trim the extraneous files from the library that are going unused. Otherwise, looks good to go. ---
[jira] [Commented] (MINIFICPP-250) Create a packet capture process
[ https://issues.apache.org/jira/browse/MINIFICPP-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250617#comment-16250617 ] ASF GitHub Bot commented on MINIFICPP-250: -- Github user apiri commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/170 @phrocker build and code looked good. Was able to verify functionality in Linux and OS X. I don't believe I saw any updates to the LICENSE to incorporate the library addition. Could we also look to trim the extraneous files from the library that are going unused. Otherwise, looks good to go. > Create a packet capture process > --- > > Key: MINIFICPP-250 > URL: https://issues.apache.org/jira/browse/MINIFICPP-250 > Project: NiFi MiNiFi C++ > Issue Type: New Feature >Reporter: Joseph Witt >Assignee: marco polo > Fix For: 0.3.0 > > > It would be really powerful to have minificpp agents be able to capture > packets and produce proper pcap bundles for them. This then can be sent via > s2s to a nifi which could use pcap readers and netflow/other writers to > create filtered results, do enrichment, send raw data to kafka/etc... -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4400) Advanced UI with code editor for scripted processors
[ https://issues.apache.org/jira/browse/NIFI-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250607#comment-16250607 ] ASF GitHub Bot commented on NIFI-4400: -- Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2269#discussion_r150711592 --- Diff: nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-ui/src/main/resources/META-INF/NOTICE --- @@ -0,0 +1,61 @@ +nifi-transform-json-ui --- End diff -- this should match the module nifi-scripting-ui > Advanced UI with code editor for scripted processors > > > Key: NIFI-4400 > URL: https://issues.apache.org/jira/browse/NIFI-4400 > Project: Apache NiFi > Issue Type: Improvement > Components: Core UI, Extensions >Reporter: Pierre Villard >Assignee: Yuri > > For the scripted processors it would nice to add an advanced UI with a "code > editor mode" that would provide some very useful features when typing code: > - indentation > - code highlighting > - do not close the window when hitting enter > etc > The use of codemirror.js (as already done for EL auto-completion) sounds like > a good option. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4400) Advanced UI with code editor for scripted processors
[ https://issues.apache.org/jira/browse/NIFI-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250606#comment-16250606 ] ASF GitHub Bot commented on NIFI-4400: -- Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2269#discussion_r150711513 --- Diff: nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-ui/src/main/resources/META-INF/NOTICE --- @@ -0,0 +1,61 @@ +nifi-transform-json-ui +Copyright 2014-2017 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +** +Apache Software License v2 +** + +The following binary components are provided under the Apache Software License v2 + + (ASLv2) Apache Commons Lang +The following NOTICE information applies: + Apache Commons Lang + Copyright 2001-2014 The Apache Software Foundation + + This product includes software from the Spring Framework, + under the Apache License 2.0 (see: StringUtils.containsWhitespace()) + + (ASLv2) Jettison +The following NOTICE information applies: + Copyright 2006 Envoi Solutions LLC + + (ASLv2) Jolt --- End diff -- I assume this was copied from the Jolt UI package, but I believe can be removed here. > Advanced UI with code editor for scripted processors > > > Key: NIFI-4400 > URL: https://issues.apache.org/jira/browse/NIFI-4400 > Project: Apache NiFi > Issue Type: Improvement > Components: Core UI, Extensions >Reporter: Pierre Villard >Assignee: Yuri > > For the scripted processors it would nice to add an advanced UI with a "code > editor mode" that would provide some very useful features when typing code: > - indentation > - code highlighting > - do not close the window when hitting enter > etc > The use of codemirror.js (as already done for EL auto-completion) sounds like > a good option. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi pull request #2269: NIFI-4400 - Advanced UI with code editor for...
Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2269#discussion_r150711592 --- Diff: nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-ui/src/main/resources/META-INF/NOTICE --- @@ -0,0 +1,61 @@ +nifi-transform-json-ui --- End diff -- this should match the module nifi-scripting-ui ---
[GitHub] nifi pull request #2269: NIFI-4400 - Advanced UI with code editor for...
Github user mattyb149 commented on a diff in the pull request: https://github.com/apache/nifi/pull/2269#discussion_r150711513 --- Diff: nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-ui/src/main/resources/META-INF/NOTICE --- @@ -0,0 +1,61 @@ +nifi-transform-json-ui +Copyright 2014-2017 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +** +Apache Software License v2 +** + +The following binary components are provided under the Apache Software License v2 + + (ASLv2) Apache Commons Lang +The following NOTICE information applies: + Apache Commons Lang + Copyright 2001-2014 The Apache Software Foundation + + This product includes software from the Spring Framework, + under the Apache License 2.0 (see: StringUtils.containsWhitespace()) + + (ASLv2) Jettison +The following NOTICE information applies: + Copyright 2006 Envoi Solutions LLC + + (ASLv2) Jolt --- End diff -- I assume this was copied from the Jolt UI package, but I believe can be removed here. ---
[GitHub] nifi-minifi-cpp pull request #156: MINIFICPP-268 Implement ManipulateArchive...
Github user phrocker commented on a diff in the pull request: https://github.com/apache/nifi-minifi-cpp/pull/156#discussion_r148075278 --- Diff: extensions/libarchive/ManipulateArchive.cpp --- @@ -0,0 +1,218 @@ +/** + * @file ManipulateArchive.cpp + * ManipulateArchive class implementation + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include +#include + +#include "ManipulateArchive.h" +#include "core/ProcessContext.h" +#include "core/ProcessSession.h" +#include "core/FlowFile.h" + +namespace org { +namespace apache { +namespace nifi { +namespace minifi { +namespace processors { + +core::Property ManipulateArchive::Operation("Operation", "Operation to perform on the archive (touch, remove, copy, move).", ""); +core::Property ManipulateArchive::Target("Target", "An existing entry within the archive to perform the operation on.", ""); +core::Property ManipulateArchive::Destination("Destination", "Destination for operations (touch, move or copy) which result in new entries.", ""); +core::Property ManipulateArchive::Before("Before", "For operations which result in new entries, places the new entry before the entry specified by this property.", ""); +core::Property ManipulateArchive::After("After", "For operations which result in new entries, places the new entry after the entry specified by this property.", ""); +core::Relationship ManipulateArchive::Success("success", "FlowFiles will be transferred to the success relationship if the operation succeeds."); +core::Relationship ManipulateArchive::Failure("failure", "FlowFiles will be transferred to the failure relationship if the operation fails."); + +char const* ManipulateArchive::OPERATION_REMOVE = "remove"; +char const* ManipulateArchive::OPERATION_COPY = "copy"; +char const* ManipulateArchive::OPERATION_MOVE = "move"; +char const* ManipulateArchive::OPERATION_TOUCH = "touch"; + +void ManipulateArchive::initialize() { +//! Set the supported properties +std::set properties; +properties.insert(Operation); +properties.insert(Target); +properties.insert(Destination); +properties.insert(Before); +properties.insert(After); +setSupportedProperties(properties); + +//! Set the supported relationships +std::set relationships; +relationships.insert(Success); +relationships.insert(Failure); +setSupportedRelationships(relationships); +} + +void ManipulateArchive::onSchedule(core::ProcessContext *context, core::ProcessSessionFactory *sessionFactory) { +context->getProperty(Operation.getName(), operation_); +std::transform(operation_.begin(), operation_.end(), operation_.begin(), ::tolower); + +bool op_create = operation_ == OPERATION_COPY || + operation_ == OPERATION_MOVE || + operation_ == OPERATION_TOUCH; + +// Operation must be one of copy, move, touch or remove +assert(op_create || (operation_ == OPERATION_REMOVE)); --- End diff -- The usage of assert here is intriguing. Do you not want to avoid running this processor and log an error by throwing an exception if NDEBUG is defined? ---
[GitHub] nifi-minifi-cpp pull request #156: MINIFICPP-268 Implement ManipulateArchive...
Github user phrocker commented on a diff in the pull request: https://github.com/apache/nifi-minifi-cpp/pull/156#discussion_r148075762 --- Diff: extensions/libarchive/ManipulateArchive.cpp --- @@ -0,0 +1,218 @@ +/** + * @file ManipulateArchive.cpp + * ManipulateArchive class implementation + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include +#include + +#include "ManipulateArchive.h" +#include "core/ProcessContext.h" +#include "core/ProcessSession.h" +#include "core/FlowFile.h" + +namespace org { +namespace apache { +namespace nifi { +namespace minifi { +namespace processors { + +core::Property ManipulateArchive::Operation("Operation", "Operation to perform on the archive (touch, remove, copy, move).", ""); +core::Property ManipulateArchive::Target("Target", "An existing entry within the archive to perform the operation on.", ""); +core::Property ManipulateArchive::Destination("Destination", "Destination for operations (touch, move or copy) which result in new entries.", ""); +core::Property ManipulateArchive::Before("Before", "For operations which result in new entries, places the new entry before the entry specified by this property.", ""); +core::Property ManipulateArchive::After("After", "For operations which result in new entries, places the new entry after the entry specified by this property.", ""); +core::Relationship ManipulateArchive::Success("success", "FlowFiles will be transferred to the success relationship if the operation succeeds."); +core::Relationship ManipulateArchive::Failure("failure", "FlowFiles will be transferred to the failure relationship if the operation fails."); + +char const* ManipulateArchive::OPERATION_REMOVE = "remove"; +char const* ManipulateArchive::OPERATION_COPY = "copy"; +char const* ManipulateArchive::OPERATION_MOVE = "move"; +char const* ManipulateArchive::OPERATION_TOUCH = "touch"; + +void ManipulateArchive::initialize() { +//! Set the supported properties +std::set properties; +properties.insert(Operation); +properties.insert(Target); +properties.insert(Destination); +properties.insert(Before); +properties.insert(After); +setSupportedProperties(properties); + +//! Set the supported relationships +std::set relationships; +relationships.insert(Success); +relationships.insert(Failure); +setSupportedRelationships(relationships); +} + +void ManipulateArchive::onSchedule(core::ProcessContext *context, core::ProcessSessionFactory *sessionFactory) { +context->getProperty(Operation.getName(), operation_); +std::transform(operation_.begin(), operation_.end(), operation_.begin(), ::tolower); + +bool op_create = operation_ == OPERATION_COPY || + operation_ == OPERATION_MOVE || + operation_ == OPERATION_TOUCH; + +// Operation must be one of copy, move, touch or remove +assert(op_create || (operation_ == OPERATION_REMOVE)); + +context->getProperty(Target.getName(), targetEntry_); +context->getProperty(Destination.getName(), destination_); + +// All operations which create new entries require a set destination +assert(op_create != destination_.empty()); + +// The only operation that doesn't require an existing target is touch +assert((operation_ == OPERATION_TOUCH) == targetEntry_.empty()); + +context->getProperty(Before.getName(), before_); +context->getProperty(After.getName(), after_); + +// Users may specify one or none of before or after, but never both. +assert(!(before_.size() && after_.size())); +} + +void ManipulateArchive::onTrigger(core::ProcessContext *context, core::ProcessSession *session) { +std::shared_ptr flo
[jira] [Commented] (MINIFICPP-268) Implement ManipulateArchive processor
[ https://issues.apache.org/jira/browse/MINIFICPP-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250593#comment-16250593 ] ASF GitHub Bot commented on MINIFICPP-268: -- Github user phrocker commented on a diff in the pull request: https://github.com/apache/nifi-minifi-cpp/pull/156#discussion_r148075762 --- Diff: extensions/libarchive/ManipulateArchive.cpp --- @@ -0,0 +1,218 @@ +/** + * @file ManipulateArchive.cpp + * ManipulateArchive class implementation + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include +#include + +#include "ManipulateArchive.h" +#include "core/ProcessContext.h" +#include "core/ProcessSession.h" +#include "core/FlowFile.h" + +namespace org { +namespace apache { +namespace nifi { +namespace minifi { +namespace processors { + +core::Property ManipulateArchive::Operation("Operation", "Operation to perform on the archive (touch, remove, copy, move).", ""); +core::Property ManipulateArchive::Target("Target", "An existing entry within the archive to perform the operation on.", ""); +core::Property ManipulateArchive::Destination("Destination", "Destination for operations (touch, move or copy) which result in new entries.", ""); +core::Property ManipulateArchive::Before("Before", "For operations which result in new entries, places the new entry before the entry specified by this property.", ""); +core::Property ManipulateArchive::After("After", "For operations which result in new entries, places the new entry after the entry specified by this property.", ""); +core::Relationship ManipulateArchive::Success("success", "FlowFiles will be transferred to the success relationship if the operation succeeds."); +core::Relationship ManipulateArchive::Failure("failure", "FlowFiles will be transferred to the failure relationship if the operation fails."); + +char const* ManipulateArchive::OPERATION_REMOVE = "remove"; +char const* ManipulateArchive::OPERATION_COPY = "copy"; +char const* ManipulateArchive::OPERATION_MOVE = "move"; +char const* ManipulateArchive::OPERATION_TOUCH = "touch"; + +void ManipulateArchive::initialize() { +//! Set the supported properties +std::set properties; +properties.insert(Operation); +properties.insert(Target); +properties.insert(Destination); +properties.insert(Before); +properties.insert(After); +setSupportedProperties(properties); + +//! Set the supported relationships +std::set relationships; +relationships.insert(Success); +relationships.insert(Failure); +setSupportedRelationships(relationships); +} + +void ManipulateArchive::onSchedule(core::ProcessContext *context, core::ProcessSessionFactory *sessionFactory) { +context->getProperty(Operation.getName(), operation_); +std::transform(operation_.begin(), operation_.end(), operation_.begin(), ::tolower); + +bool op_create = operation_ == OPERATION_COPY || + operation_ == OPERATION_MOVE || + operation_ == OPERATION_TOUCH; + +// Operation must be one of copy, move, touch or remove +assert(op_create || (operation_ == OPERATION_REMOVE)); + +context->getProperty(Target.getName(), targetEntry_); +context->getProperty(Destination.getName(), destination_); + +// All operations which create new entries require a set destination +assert(op_create != destination_.empty()); + +// The only operation that doesn't require an existing target is touch +assert((operation_ == OPERATION_TOUCH) == targetEntry_.empty()); + +context->getProperty(Before.getName(), before_); +context->getProperty(After.getName(), after_); + +//
[jira] [Commented] (MINIFICPP-268) Implement ManipulateArchive processor
[ https://issues.apache.org/jira/browse/MINIFICPP-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250594#comment-16250594 ] ASF GitHub Bot commented on MINIFICPP-268: -- Github user phrocker commented on a diff in the pull request: https://github.com/apache/nifi-minifi-cpp/pull/156#discussion_r148075278 --- Diff: extensions/libarchive/ManipulateArchive.cpp --- @@ -0,0 +1,218 @@ +/** + * @file ManipulateArchive.cpp + * ManipulateArchive class implementation + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#include +#include + +#include "ManipulateArchive.h" +#include "core/ProcessContext.h" +#include "core/ProcessSession.h" +#include "core/FlowFile.h" + +namespace org { +namespace apache { +namespace nifi { +namespace minifi { +namespace processors { + +core::Property ManipulateArchive::Operation("Operation", "Operation to perform on the archive (touch, remove, copy, move).", ""); +core::Property ManipulateArchive::Target("Target", "An existing entry within the archive to perform the operation on.", ""); +core::Property ManipulateArchive::Destination("Destination", "Destination for operations (touch, move or copy) which result in new entries.", ""); +core::Property ManipulateArchive::Before("Before", "For operations which result in new entries, places the new entry before the entry specified by this property.", ""); +core::Property ManipulateArchive::After("After", "For operations which result in new entries, places the new entry after the entry specified by this property.", ""); +core::Relationship ManipulateArchive::Success("success", "FlowFiles will be transferred to the success relationship if the operation succeeds."); +core::Relationship ManipulateArchive::Failure("failure", "FlowFiles will be transferred to the failure relationship if the operation fails."); + +char const* ManipulateArchive::OPERATION_REMOVE = "remove"; +char const* ManipulateArchive::OPERATION_COPY = "copy"; +char const* ManipulateArchive::OPERATION_MOVE = "move"; +char const* ManipulateArchive::OPERATION_TOUCH = "touch"; + +void ManipulateArchive::initialize() { +//! Set the supported properties +std::set properties; +properties.insert(Operation); +properties.insert(Target); +properties.insert(Destination); +properties.insert(Before); +properties.insert(After); +setSupportedProperties(properties); + +//! Set the supported relationships +std::set relationships; +relationships.insert(Success); +relationships.insert(Failure); +setSupportedRelationships(relationships); +} + +void ManipulateArchive::onSchedule(core::ProcessContext *context, core::ProcessSessionFactory *sessionFactory) { +context->getProperty(Operation.getName(), operation_); +std::transform(operation_.begin(), operation_.end(), operation_.begin(), ::tolower); + +bool op_create = operation_ == OPERATION_COPY || + operation_ == OPERATION_MOVE || + operation_ == OPERATION_TOUCH; + +// Operation must be one of copy, move, touch or remove +assert(op_create || (operation_ == OPERATION_REMOVE)); --- End diff -- The usage of assert here is intriguing. Do you not want to avoid running this processor and log an error by throwing an exception if NDEBUG is defined? > Implement ManipulateArchive processor > - > > Key: MINIFICPP-268 > URL: https://issues.apache.org/jira/browse/MINIFICPP-268 > Project: NiFi MiNiFi C++ > Issue Type: New Feature >Reporter: Caleb Johnson > > The ManipulateArchive processor extends Un/FocusArchive by allowing users to
[jira] [Commented] (MINIFICPP-269) Implement ApplyTemplate processor
[ https://issues.apache.org/jira/browse/MINIFICPP-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250592#comment-16250592 ] ASF GitHub Bot commented on MINIFICPP-269: -- Github user phrocker commented on a diff in the pull request: https://github.com/apache/nifi-minifi-cpp/pull/157#discussion_r150709695 --- Diff: CMakeLists.txt --- @@ -155,6 +156,12 @@ if (ENABLE_USB_CAMERA) createExtension(USB-CAMERA-EXTENSIONS "USB CAMERA EXTENSIONS" "This enables USB camera support" "extensions/usb-camera" "${TEST_DIR}/usb-camera-tests" "TRUE" "thirdparty/libuvc-0.0.6") endif() +## Bustache/template extensions +option(DISABLE_BUSTACHE "Disables Bustache (ApplyTemplate) support." OFF) +if (NOT DISABLE_BUSTACHE) --- End diff -- Let's make this ENABLE_BUSTACHE > Implement ApplyTemplate processor > - > > Key: MINIFICPP-269 > URL: https://issues.apache.org/jira/browse/MINIFICPP-269 > Project: NiFi MiNiFi C++ > Issue Type: New Feature >Reporter: Caleb Johnson >Priority: Minor > Labels: mustache, processor, template, templates > > The ApplyTemplate processor is fairly straightforward: it reads a > [mustache|https://mustache.github.io/] template from a provided path on disk > and maps flowfile attributes to template values. > Dynamic properties (MINIFI-171) would go a long way towards making these > templates more flexible by using the union of input flowfile attributes and > (possibly evaluated?) properties as the value map. > Due to its dependency on [bustache|https://github.com/jamboree/bustache] and > boost, it has been made into an optional extension, much like the libarchive > processors have. > It may also be desirable to load the template from the input flowfile's > contents instead of a configurable path. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi-minifi-cpp pull request #157: MINIFICPP-269 Implement ApplyTemplate pro...
Github user phrocker commented on a diff in the pull request: https://github.com/apache/nifi-minifi-cpp/pull/157#discussion_r150709695 --- Diff: CMakeLists.txt --- @@ -155,6 +156,12 @@ if (ENABLE_USB_CAMERA) createExtension(USB-CAMERA-EXTENSIONS "USB CAMERA EXTENSIONS" "This enables USB camera support" "extensions/usb-camera" "${TEST_DIR}/usb-camera-tests" "TRUE" "thirdparty/libuvc-0.0.6") endif() +## Bustache/template extensions +option(DISABLE_BUSTACHE "Disables Bustache (ApplyTemplate) support." OFF) +if (NOT DISABLE_BUSTACHE) --- End diff -- Let's make this ENABLE_BUSTACHE ---
[jira] [Commented] (MINIFICPP-268) Implement ManipulateArchive processor
[ https://issues.apache.org/jira/browse/MINIFICPP-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250588#comment-16250588 ] ASF GitHub Bot commented on MINIFICPP-268: -- Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/156 @calebj yes, we're removing Boost dependencies. > Implement ManipulateArchive processor > - > > Key: MINIFICPP-268 > URL: https://issues.apache.org/jira/browse/MINIFICPP-268 > Project: NiFi MiNiFi C++ > Issue Type: New Feature >Reporter: Caleb Johnson > > The ManipulateArchive processor extends Un/FocusArchive by allowing users to > perform the following operations on archives supported by same: > * Touch: create an empty file at the specified path; > * Remove: repacks an archive, but skips the specified entry when rebuilding; > * Move: rename an archive entry; > * Copy: duplicate an archive entry to another path. > Touch, move and copy operations take optional 'before' and 'after' parameters > to control where the modified entry is to be placed relative to an existing > one. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi-minifi-cpp issue #156: MINIFICPP-268 Implement ManipulateArchive proces...
Github user phrocker commented on the issue: https://github.com/apache/nifi-minifi-cpp/pull/156 @calebj yes, we're removing Boost dependencies. ---
[jira] [Commented] (NIFI-4602) TailFile does not recover cluster-wide state when Primary Node changes
[ https://issues.apache.org/jira/browse/NIFI-4602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250246#comment-16250246 ] Matthew Clarke commented on NIFI-4602: -- Need to verify what happens when a log rolls. Will the new primary node be able to pick up by grabbing lines from rolled log or will it just start tailing the latest log? > TailFile does not recover cluster-wide state when Primary Node changes > -- > > Key: NIFI-4602 > URL: https://issues.apache.org/jira/browse/NIFI-4602 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions >Reporter: Mark Payne >Assignee: Mark Payne > > I created a TailFile processor and set the "File Location" property to > "Remote." I then added some text to a file and started the TailFile processor > (Primary Node Only). > I disconnected the primary node from the cluster. A second node became the > new Primary Node and continued tailing the data as expected. As new data was > added, the node continued to emit FlowFiles. > Then, I added Node 1 back to the cluster. Verified that Node 2 continued to > poll data. I then disconnected Node 2 so that Node 1 once again became the > Primary Node. At this point, Node 1 continued tailing from where it last left > off, not where Node 2 left off. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Created] (NIFI-4602) TailFile does not recover cluster-wide state when Primary Node changes
Mark Payne created NIFI-4602: Summary: TailFile does not recover cluster-wide state when Primary Node changes Key: NIFI-4602 URL: https://issues.apache.org/jira/browse/NIFI-4602 Project: Apache NiFi Issue Type: Bug Components: Extensions Reporter: Mark Payne Assignee: Mark Payne I created a TailFile processor and set the "File Location" property to "Remote." I then added some text to a file and started the TailFile processor (Primary Node Only). I disconnected the primary node from the cluster. A second node became the new Primary Node and continued tailing the data as expected. As new data was added, the node continued to emit FlowFiles. Then, I added Node 1 back to the cluster. Verified that Node 2 continued to poll data. I then disconnected Node 2 so that Node 1 once again became the Primary Node. At this point, Node 1 continued tailing from where it last left off, not where Node 2 left off. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi-minifi pull request #99: MINIFI-408 - Perform automated determination o...
GitHub user apiri opened a pull request: https://github.com/apache/nifi-minifi/pull/99 MINIFI-408 - Perform automated determination of compatible bundles MINIFI-408 - Perform automated determination of compatible bundles for flow startup. This seeks to provide a MiNiFi friendly process for handling those cases where NiFi would ghost a component and allow a user to select a specific bundle in the UI. MINIFI-348 - Removes validation warnings on startup as bundling information is evaluated and applied before starting the MiNiFi process. Thank you for submitting a contribution to Apache NiFi - MiNiFi. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [X] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [X] Does your PR title start with MINIFI- where is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character. - [X] Has your PR been rebased against the latest commit within the target branch (typically master)? - [X] Is your initial contribution a single, squashed commit? ### For code changes: - [x] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi-minifi folder? - [x] Have you written or updated unit tests to verify your changes? - [-] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? - [-] If applicable, have you updated the LICENSE file, including the main LICENSE file under minifi-assembly? - [-] If applicable, have you updated the NOTICE file, including the main NOTICE file found under minifi-assembly? ### For documentation related changes: - [-] Have you ensured that format looks appropriate for the output in which it is rendered? ### Note: Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible. You can merge this pull request into a Git repository by running: $ git pull https://github.com/apiri/nifi-minifi minifi-408-final Alternatively you can review and apply these changes as the patch at: https://github.com/apache/nifi-minifi/pull/99.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #99 commit d003cdb628023c24ee58216906ff8605d48169e4 Author: Aldrin Piri Date: 2017-11-10T20:57:29Z MINIFI-408 - Perform automated determination of compatible bundles for processor startup. This seeks to provide a MiNiFi friendly process for handling those cases where NiFi would ghost a component and allow a user to select a specific bundle in the UI. MINIFI-348 - Removes validation warnings on startup as bundling information is evaluated and applied before starting the MiNiFi process. ---
[jira] [Created] (NIFIREG-53) Clean up data model
Bryan Bende created NIFIREG-53: -- Summary: Clean up data model Key: NIFIREG-53 URL: https://issues.apache.org/jira/browse/NIFIREG-53 Project: NiFi Registry Issue Type: Improvement Reporter: Bryan Bende Assignee: Bryan Bende We should consider removing the top down relationships that are no longer being used such as bucket.getFlows() and flow.getSnapshots(), and we should also let VersionedFlowSnapshot have a reference back to the flow and to the bucket. In addition, we need to track the user that created a snapshot. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4400) Advanced UI with code editor for scripted processors
[ https://issues.apache.org/jira/browse/NIFI-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250176#comment-16250176 ] ASF GitHub Bot commented on NIFI-4400: -- Github user scottyaslan commented on a diff in the pull request: https://github.com/apache/nifi/pull/2269#discussion_r150654197 --- Diff: nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-ui/src/main/frontend/package.json --- @@ -0,0 +1,12 @@ +{ + "name": "nifi-scripting-ui", + "dependencies": { +"angular-ui-codemirror": "^0.3.0", --- End diff -- Please remove the `^` > Advanced UI with code editor for scripted processors > > > Key: NIFI-4400 > URL: https://issues.apache.org/jira/browse/NIFI-4400 > Project: Apache NiFi > Issue Type: Improvement > Components: Core UI, Extensions >Reporter: Pierre Villard >Assignee: Yuri > > For the scripted processors it would nice to add an advanced UI with a "code > editor mode" that would provide some very useful features when typing code: > - indentation > - code highlighting > - do not close the window when hitting enter > etc > The use of codemirror.js (as already done for EL auto-completion) sounds like > a good option. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4400) Advanced UI with code editor for scripted processors
[ https://issues.apache.org/jira/browse/NIFI-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250177#comment-16250177 ] ASF GitHub Bot commented on NIFI-4400: -- Github user scottyaslan commented on a diff in the pull request: https://github.com/apache/nifi/pull/2269#discussion_r150654245 --- Diff: nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-ui/src/main/frontend/package.json --- @@ -0,0 +1,12 @@ +{ + "name": "nifi-scripting-ui", + "dependencies": { +"angular-ui-codemirror": "^0.3.0", +"angular-ui-router": "^0.2.18" --- End diff -- Please remove the ^ > Advanced UI with code editor for scripted processors > > > Key: NIFI-4400 > URL: https://issues.apache.org/jira/browse/NIFI-4400 > Project: Apache NiFi > Issue Type: Improvement > Components: Core UI, Extensions >Reporter: Pierre Villard >Assignee: Yuri > > For the scripted processors it would nice to add an advanced UI with a "code > editor mode" that would provide some very useful features when typing code: > - indentation > - code highlighting > - do not close the window when hitting enter > etc > The use of codemirror.js (as already done for EL auto-completion) sounds like > a good option. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi pull request #2269: NIFI-4400 - Advanced UI with code editor for...
Github user scottyaslan commented on a diff in the pull request: https://github.com/apache/nifi/pull/2269#discussion_r150654245 --- Diff: nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-ui/src/main/frontend/package.json --- @@ -0,0 +1,12 @@ +{ + "name": "nifi-scripting-ui", + "dependencies": { +"angular-ui-codemirror": "^0.3.0", +"angular-ui-router": "^0.2.18" --- End diff -- Please remove the ^ ---
[GitHub] nifi pull request #2269: NIFI-4400 - Advanced UI with code editor for...
Github user scottyaslan commented on a diff in the pull request: https://github.com/apache/nifi/pull/2269#discussion_r150654197 --- Diff: nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-ui/src/main/frontend/package.json --- @@ -0,0 +1,12 @@ +{ + "name": "nifi-scripting-ui", + "dependencies": { +"angular-ui-codemirror": "^0.3.0", --- End diff -- Please remove the `^` ---
[jira] [Updated] (NIFI-4255) Add support for providing ACLs for paths in Zookeeper Migration tool
[ https://issues.apache.org/jira/browse/NIFI-4255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Storck updated NIFI-4255: -- Resolution: Fixed Fix Version/s: 1.4.0 Status: Resolved (was: Patch Available) > Add support for providing ACLs for paths in Zookeeper Migration tool > > > Key: NIFI-4255 > URL: https://issues.apache.org/jira/browse/NIFI-4255 > Project: Apache NiFi > Issue Type: Improvement > Components: Tools and Build >Affects Versions: 1.3.0 >Reporter: Yolanda M. Davis >Assignee: Yolanda M. Davis > Fix For: 1.4.0 > > > Currently in the Zookeeper migration utility there is support for applying > acls when importing zookeeper data (Znodes). However this support only > applies default ACLs values (either Open or Creator specific), and the value > used depends on if security is enabled or disabled in the destination > Zookeeper instance. This may become problematic if the user/identity used to > import zookeeper data does not align with the users/identities that require > read/modify rights on the imported Znodes. This also doesn't provide users > flexibility in defining specific rights or applying additional authorizations > on paths. > Enhancing the existing utility to support providing ACL information would > offer users more flexibility in defining permissions and authentication > schemes on znodes. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (NIFI-4598) Multiple Remote Process Groups pointing to the same URL each are constantly making HTTP Requests to the destination URL
[ https://issues.apache.org/jira/browse/NIFI-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Bende updated NIFI-4598: -- Resolution: Fixed Status: Resolved (was: Patch Available) > Multiple Remote Process Groups pointing to the same URL each are constantly > making HTTP Requests to the destination URL > --- > > Key: NIFI-4598 > URL: https://issues.apache.org/jira/browse/NIFI-4598 > Project: Apache NiFi > Issue Type: Bug >Reporter: Mark Payne >Assignee: Mark Payne > Fix For: 1.5.0 > > > If I have 10 RPG's pointing to localhost:8080/nifi then I have 10 RPG's > making the same HTTP Requests to get cluster info. This can quickly leave to > having too many simultaneously requests according to the > ThreadPoolRequestReplicator. > We should be smarter about the caching of the information so that multiple > RPG's with the same URL can share this information instead of constantly > requesting it. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4598) Multiple Remote Process Groups pointing to the same URL each are constantly making HTTP Requests to the destination URL
[ https://issues.apache.org/jira/browse/NIFI-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250119#comment-16250119 ] ASF subversion and git services commented on NIFI-4598: --- Commit af3a578711b7ed574ab37257822baa67fdbe8a26 in nifi's branch refs/heads/master from [~markap14] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=af3a578 ] NIFI-4598: When we retrieve the 'controller' from a remote NiFi instance in order to determine which ports are available, cache those results for up to some configurable amount of time (default 30 secs) so that we don't constantly issue HTTP Requests to the remote nifi This closes #2270. Signed-off-by: Bryan Bende > Multiple Remote Process Groups pointing to the same URL each are constantly > making HTTP Requests to the destination URL > --- > > Key: NIFI-4598 > URL: https://issues.apache.org/jira/browse/NIFI-4598 > Project: Apache NiFi > Issue Type: Bug >Reporter: Mark Payne >Assignee: Mark Payne > Fix For: 1.5.0 > > > If I have 10 RPG's pointing to localhost:8080/nifi then I have 10 RPG's > making the same HTTP Requests to get cluster info. This can quickly leave to > having too many simultaneously requests according to the > ThreadPoolRequestReplicator. > We should be smarter about the caching of the information so that multiple > RPG's with the same URL can share this information instead of constantly > requesting it. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-4598) Multiple Remote Process Groups pointing to the same URL each are constantly making HTTP Requests to the destination URL
[ https://issues.apache.org/jira/browse/NIFI-4598?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250122#comment-16250122 ] ASF GitHub Bot commented on NIFI-4598: -- Github user asfgit closed the pull request at: https://github.com/apache/nifi/pull/2270 > Multiple Remote Process Groups pointing to the same URL each are constantly > making HTTP Requests to the destination URL > --- > > Key: NIFI-4598 > URL: https://issues.apache.org/jira/browse/NIFI-4598 > Project: Apache NiFi > Issue Type: Bug >Reporter: Mark Payne >Assignee: Mark Payne > Fix For: 1.5.0 > > > If I have 10 RPG's pointing to localhost:8080/nifi then I have 10 RPG's > making the same HTTP Requests to get cluster info. This can quickly leave to > having too many simultaneously requests according to the > ThreadPoolRequestReplicator. > We should be smarter about the caching of the information so that multiple > RPG's with the same URL can share this information instead of constantly > requesting it. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[GitHub] nifi pull request #2270: NIFI-4598: When we retrieve the 'controller' from a...
Github user asfgit closed the pull request at: https://github.com/apache/nifi/pull/2270 ---
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250092#comment-16250092 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250084#comment-16250084 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250108#comment-16250108 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250093#comment-16250093 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250086#comment-16250086 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250081#comment-16250081 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250107#comment-16250107 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250114#comment-16250114 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250103#comment-16250103 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250094#comment-16250094 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250095#comment-16250095 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250083#comment-16250083 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250101#comment-16250101 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250116#comment-16250116 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250099#comment-16250099 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250115#comment-16250115 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250111#comment-16250111 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250109#comment-16250109 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250089#comment-16250089 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Burgess updated NIFI-3688: --- Resolution: Fixed Status: Resolved (was: Patch Available) > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250117#comment-16250117 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250088#comment-16250088 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250110#comment-16250110 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250097#comment-16250097 ] ASF GitHub Bot commented on NIFI-3688: -- Github user asfgit closed the pull request at: https://github.com/apache/nifi/pull/1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250104#comment-16250104 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250105#comment-16250105 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250090#comment-16250090 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250100#comment-16250100 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250080#comment-16250080 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250098#comment-16250098 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250085#comment-16250085 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250087#comment-16250087 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Burgess updated NIFI-3688: --- Fix Version/s: 1.5.0 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor
[ https://issues.apache.org/jira/browse/NIFI-3688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16250113#comment-16250113 ] ASF subversion and git services commented on NIFI-3688: --- Commit c7a5a09b8aeb54931e9f59a1437d0ae7a8299cfd in nifi's branch refs/heads/master from [~daggett] [ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=c7a5a09 ] groovyx initial version NIFI-3688 license update to ASF NIFI-3688 add groovyx dependency NIFI-3688 comments from @alopresto - reformat code https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-EclipseUsers - enabled java-doc NIFI-3688 - try fix mess with licenses - remove commented import - remove unused var `sql` NIFI-3688 the properties/skip javadoc/src NIFI-3688 remove not used sql var NIFI-3688 - first test case NIFI-3688 + 2 more tests based on current groovy tests NIFI-3688 comment from @mattyb149 - processor renamed to ExecuteGroovyScript NIFI-3688 fix script path validation NIFI-3688 - refactor to compile on validation - prepare 4 test cases with database NIFI-3688 new test cases with groovy and sql NIFI-3688 documentation NIFI-3688 - refactor groovy extended methods - add more test cases NIFI-3688 - codestyle - javadoc - refactor flowfile voids to self-reference - fix test cases NIFI-3688 minor comments changes NIFI-3688 rename additional documentation according to processor classname NIFI-3688 exclude json test file from rat check NIFI-3688 codestyle NIFI-3688 add nar bundle to root pom.xml and to nifi-assembly/pom.xml NIFI-3688 - fix & extend additional documentation - fix pom.xml to bundle groovy into nar NIFI-3688 add examples into additional processor documentation NIFI-3688 fix pom.xml to exclude unnecessary libs from nar bundle NIFI-3688 add restricted annotation NIFI-3688 change version from 1.2.0-SNAPSHOT to 1.3.0-SNAPSHOT after rebase NIFI-3688 new method in ProcessSession: public OutputStream write(FlowFile source) NIFI-3688 change version from 1.3.0-SNAPSHOT to 1.4.0-SNAPSHOT after rebase NIFI-3688 fix for @mattyb149 comment: The bundles referred to here and below are not included with this NAR and should be removed. NIFI-3688 fix for @mattyb149 comment: This unused line can be removed NIFI-3688 - removed `require flowfile` property - fixed test cases according to deprecated property change version to 1.5.0-SNAPSHOT [NIFI-3688] Commented by mistake [NIFI-3688] remove unused class [NIFI-3688] fix javadoc comments [NIFI-3688] refactor CTL & SQL properties b3eecec9013435bc5faef6d25966fa2962620144 2916ce1ec80714b886cbed9797bf7874aacb32dd 8e15392e2fcddc56ef75b333177b0299bbded159 NIFI-3688: Checkstyle and typo fixes Signed-off-by: Matthew Burgess This closes #1662 > Create extended groovy scripting processor > -- > > Key: NIFI-3688 > URL: https://issues.apache.org/jira/browse/NIFI-3688 > Project: Apache NiFi > Issue Type: New Feature > Components: Extensions >Reporter: Dmitry Lukyanov >Priority: Minor > Fix For: 1.5.0 > > > The idea is to simplify groovy scripting. > Main targets: > - to be compatible with existing groovy scripting > - simplify read/write attributes > - simplify read/write content > - avoid closure casting to nifi types like `StreamCallback` > - simplify and provide visibility when accessing to controller services from > script -- This message was sent by Atlassian JIRA (v6.4.14#64029)