[jira] [Resolved] (MINIFI-166) Append command and switches to FlowFiles generated by ExecuteProcess

2016-12-09 Thread Randy Gelhausen (JIRA)

 [ 
https://issues.apache.org/jira/browse/MINIFI-166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Randy Gelhausen resolved MINIFI-166.

Resolution: Duplicate

This is a duplicate of MINIFI-161

> Append command and switches to FlowFiles generated by ExecuteProcess
> 
>
> Key: MINIFI-166
> URL: https://issues.apache.org/jira/browse/MINIFI-166
> Project: Apache NiFi MiNiFi
>  Issue Type: Improvement
>  Components: C++, Core Framework
>Reporter: Randy Gelhausen
>
> As a flow designer, I want to use ExecuteProcess (in minifi-cpp) to run 
> commands (ps, netstat, ping, traceroute, etc.) and ship outputs to a NiFi 
> hub. I want to pass each command output as a distinct data source.
> As operator of the NiFi hub, I want to allow app teams to send output from 
> arbitrary commands without creating separate input ports for each command.
> I need to route command output based on the command and arguments used to 
> generate the output, thus I need "command" and "arguments" attributes on the 
> FlowFiles I receive.
> ExecuteProcess should append "command" and "arguments" as FlowFile attributes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (MINIFI-166) Append command and switches to FlowFiles generated by ExecuteProcess

2016-12-09 Thread Randy Gelhausen (JIRA)
Randy Gelhausen created MINIFI-166:
--

 Summary: Append command and switches to FlowFiles generated by 
ExecuteProcess
 Key: MINIFI-166
 URL: https://issues.apache.org/jira/browse/MINIFI-166
 Project: Apache NiFi MiNiFi
  Issue Type: Improvement
  Components: C++, Core Framework
Reporter: Randy Gelhausen


As a flow designer, I want to use ExecuteProcess (in minifi-cpp) to run 
commands (ps, netstat, ping, traceroute, etc.) and ship outputs to a NiFi hub. 
I want to pass each command output as a distinct data source.

As operator of the NiFi hub, I want to allow app teams to send output from 
arbitrary commands without creating separate input ports for each command.

I need to route command output based on the command and arguments used to 
generate the output, thus I need "command" and "arguments" attributes on the 
FlowFiles I receive.

ExecuteProcess should append "command" and "arguments" as FlowFile attributes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (MINIFI-165) Evaluate licensing of spdlog includes

2016-12-09 Thread Aldrin Piri (JIRA)
Aldrin Piri created MINIFI-165:
--

 Summary: Evaluate licensing of spdlog includes
 Key: MINIFI-165
 URL: https://issues.apache.org/jira/browse/MINIFI-165
 Project: Apache NiFi MiNiFi
  Issue Type: Task
Affects Versions: cpp-0.1.0
Reporter: Aldrin Piri


While spdlog is MIT licensed, there are a few files that have some source files 
such as mpmc_bounded_q.h and format.h that have differing licenses.  These 
appear to all be ALv2 friendly, but will likely require updates to LICENSE 
and/or NOTICE.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MINIFI-154) Support configuration/creating of Controller Services other than SSL Context Service

2016-12-09 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/MINIFI-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15736156#comment-15736156
 ] 

ASF GitHub Bot commented on MINIFI-154:
---

Github user asfgit closed the pull request at:

https://github.com/apache/nifi-minifi/pull/63


> Support configuration/creating of Controller Services other than SSL Context 
> Service
> 
>
> Key: MINIFI-154
> URL: https://issues.apache.org/jira/browse/MINIFI-154
> Project: Apache NiFi MiNiFi
>  Issue Type: New Feature
>Reporter: Joseph Percivall
>Assignee: Joseph Percivall
>
> In order to continue towards feature parity with NiFi, MiNiFi-java should 
> support configuring/creating any Controller Services that may be needed. 
> Currently only SSL Context Service is able to be configured.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[1/3] nifi-minifi git commit: MINIFI-154 Adding support for Controller Services

2016-12-09 Thread brosander
Repository: nifi-minifi
Updated Branches:
  refs/heads/master b028f5a00 -> cbb2bdd8e


http://git-wip-us.apache.org/repos/asf/nifi-minifi/blob/cbb2bdd8/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/ProcessGroupsAndRemoteProcessGroups.yml
--
diff --git 
a/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/ProcessGroupsAndRemoteProcessGroups.yml
 
b/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/ProcessGroupsAndRemoteProcessGroups.yml
index 46be605..a62ab4a 100644
--- 
a/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/ProcessGroupsAndRemoteProcessGroups.yml
+++ 
b/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/ProcessGroupsAndRemoteProcessGroups.yml
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-MiNiFi Config Version: 2
+MiNiFi Config Version: 3
 Flow Controller:
   name: ProcessGroupsAndRemoteProcessGroups
   comment: ''
@@ -101,6 +101,7 @@ Processors:
   Properties:
 Delete Attributes Expression:
 top: top
+Controller Services: []
 Process Groups:
 - id: 207888b1-0158-1000--
   name: middle
@@ -118,6 +119,7 @@ Process Groups:
 Properties:
   Delete Attributes Expression:
   middle: middle
+  Controller Services: []
   Process Groups:
   - id: 20794cd4-0158-1000--
 name: bottom
@@ -135,6 +137,7 @@ Process Groups:
   Properties:
 Delete Attributes Expression:
 bottom: bottom
+Controller Services: []
 Process Groups: []
 Input Ports:
 - id: 207a5f50-0158-1000--

http://git-wip-us.apache.org/repos/asf/nifi-minifi/blob/cbb2bdd8/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/ReplaceTextExpressionLanguageCSVReformatting.yml
--
diff --git 
a/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/ReplaceTextExpressionLanguageCSVReformatting.yml
 
b/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/ReplaceTextExpressionLanguageCSVReformatting.yml
index cc89aa6..ec14cff 100644
--- 
a/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/ReplaceTextExpressionLanguageCSVReformatting.yml
+++ 
b/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/ReplaceTextExpressionLanguageCSVReformatting.yml
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-MiNiFi Config Version: 2
+MiNiFi Config Version: 3
 Flow Controller:
   name: ReplaceTextExpressionLanguageCSVReformatting
   comment: ''
@@ -123,6 +123,7 @@ Processors:
   2006,10-01-2004,10may2004
   2007,15-05-2006,10jun2005
   2009,8-8-2008,10aug2008
+Controller Services: []
 Process Groups: []
 Input Ports: []
 Output Ports: []

http://git-wip-us.apache.org/repos/asf/nifi-minifi/blob/cbb2bdd8/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/SimpleTailFileToRPG.yml
--
diff --git 
a/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/SimpleTailFileToRPG.yml
 
b/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/SimpleTailFileToRPG.yml
index c70a018..9c4155a 100644
--- 
a/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/SimpleTailFileToRPG.yml
+++ 
b/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/SimpleTailFileToRPG.yml
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-MiNiFi Config Version: 2
+MiNiFi Config Version: 3
 Flow Controller:
   name: Simple TailFile To RPG
   comment: ''
@@ -77,6 +77,7 @@ Processors:
 tailfile-maximum-age: 24 hours
 tailfile-recursive-lookup: 'false'
 tailfile-rolling-strategy: Fixed name
+Controller Services: []
 Process Groups: []
 Input Ports: []
 Output Ports: []

http://git-wip-us.apache.org/repos/asf/nifi-minifi/blob/cbb2bdd8/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/StressTestFramework.yml
--
diff --git 
a/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/StressTestFramework.yml
 
b/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/StressTestFramework.yml
index b510f97..8bf6ef9 100644
--- 
a/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/StressTestFramework.yml
+++ 
b/minifi-toolkit/minifi-toolkit-configuration/src/test/resources/StressTestFramework.yml
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-MiNiFi Config Version: 2
+MiNiFi Config Version: 3
 Flow Controller:
   name: StressTestFramework
   comment: ''
@@ -98,6 +98,7 @@ Processors:
 Delete Attributes Expression:
 

[2/3] nifi-minifi git commit: MINIFI-154 Adding support for Controller Services

2016-12-09 Thread brosander
http://git-wip-us.apache.org/repos/asf/nifi-minifi/blob/cbb2bdd8/minifi-nar-bundles/minifi-standard-services-api-nar/pom.xml
--
diff --git a/minifi-nar-bundles/minifi-standard-services-api-nar/pom.xml 
b/minifi-nar-bundles/minifi-standard-services-api-nar/pom.xml
deleted file mode 100644
index c8ab6ee..000
--- a/minifi-nar-bundles/minifi-standard-services-api-nar/pom.xml
+++ /dev/null
@@ -1,94 +0,0 @@
-http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
-
-4.0.0
-
-org.apache.nifi
-nifi-standard-services
-1.0.0
-
-
-org.apache.nifi.minifi
-minifi-standard-services-api-nar
-0.2.0-SNAPSHOT
-nar
-
-true
-true
-
-
-
-org.apache.nifi
-nifi-ssl-context-service-api
-compile
-
-
-org.apache.nifi
-nifi-distributed-cache-client-service-api
-compile
-
-
-org.apache.nifi
-nifi-load-distribution-service-api
-compile
-
-
-org.apache.nifi
-nifi-http-context-map-api
-compile
-
-
-org.apache.nifi
-nifi-dbcp-service-api
-compile
-
-
-org.apache.nifi
-nifi-hbase-client-service-api
-compile
-
-
-
-
-org.bouncycastle
-bcprov-jdk15on
-provided
-
-
-org.bouncycastle
-bcpg-jdk15on
-provided
-
-
-org.bouncycastle
-bcpkix-jdk15on
-provided
-
-
-ch.qos.logback
-logback-classic
-provided
-
-
-org.apache.commons
-commons-lang3
-
-
-commons-io
-commons-io
-
-
-
-

http://git-wip-us.apache.org/repos/asf/nifi-minifi/blob/cbb2bdd8/minifi-nar-bundles/minifi-standard-services-api-nar/src/main/resources/META-INF/LICENSE
--
diff --git 
a/minifi-nar-bundles/minifi-standard-services-api-nar/src/main/resources/META-INF/LICENSE
 
b/minifi-nar-bundles/minifi-standard-services-api-nar/src/main/resources/META-INF/LICENSE
deleted file mode 100644
index d645695..000
--- 
a/minifi-nar-bundles/minifi-standard-services-api-nar/src/main/resources/META-INF/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
- Apache License
-   Version 2.0, January 2004
-http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-  "License" shall mean the terms and conditions for use, reproduction,
-  and distribution as defined by Sections 1 through 9 of this document.
-
-  "Licensor" shall mean the copyright owner or entity authorized by
-  the copyright owner that is granting the License.
-
-  "Legal Entity" shall mean the union of the acting entity and all
-  other entities that control, are controlled by, or are under common
-  control with that entity. For the purposes of this definition,
-  "control" means (i) the power, direct or indirect, to cause the
-  direction or management of such entity, whether by contract or
-  otherwise, or (ii) ownership of fifty percent (50%) or more of the
-  outstanding shares, or (iii) beneficial ownership of such entity.
-
-  "You" (or "Your") shall mean an individual or Legal Entity
-  exercising permissions granted by this License.
-
-  "Source" form shall mean the preferred form for making modifications,
-  including but not limited to software source code, documentation
-  source, and configuration files.
-
-  "Object" form shall mean any form resulting from mechanical
-  transformation or translation of a Source form, including but
-  not limited to compiled object code, generated documentation,
-  and conversions to other media types.
-
-  "Work" shall mean the work of authorship, whether in Source or
-  Object form, made available under the License, as indicated by a
-  copyright notice that is included in or attached to the work
-  (an example is provided in the Appendix below).
-
-  "Derivative Works" shall mean any work, whether in Source or Object
-  form, that is based on (or derived from) the Work and for which the
-  editorial revisions, annotations, elaborations, or other modifications
-  represent, as a whole, an original work of authorship. For the purposes
-  of this License, Derivative Works shall 

[jira] [Created] (MINIFI-164) Provide YAML schema version 2

2016-12-09 Thread Aldrin Piri (JIRA)
Aldrin Piri created MINIFI-164:
--

 Summary: Provide YAML schema version 2
 Key: MINIFI-164
 URL: https://issues.apache.org/jira/browse/MINIFI-164
 Project: Apache NiFi MiNiFi
  Issue Type: Improvement
  Components: Agent Configuration/Installation, Processing Configuration
Affects Versions: cpp-0.1.0
Reporter: Aldrin Piri


The Java version has created another version of the YAML schema.  Supporting 
these versions in a graceful manner should also exist.  While the components 
may not have framework level support, establishing a similar versioned system 
for managing the YAML config will be important moving forward especially for 
user experience.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MINIFI-163) Capture enhanced build information in minifi.properties (C++)

2016-12-09 Thread Aldrin Piri (JIRA)

 [ 
https://issues.apache.org/jira/browse/MINIFI-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aldrin Piri updated MINIFI-163:
---
Summary: Capture enhanced build information in minifi.properties (C++)  
(was: Capture enhanced build information in minifi.properties)

> Capture enhanced build information in minifi.properties (C++)
> -
>
> Key: MINIFI-163
> URL: https://issues.apache.org/jira/browse/MINIFI-163
> Project: Apache NiFi MiNiFi
>  Issue Type: Improvement
>  Components: Build, C++
>Reporter: Aldrin Piri
>Priority: Minor
>
> Work was done for NiFi (NIFI-2215) to expose additional information in the 
> About box.  While we do not have a graphical view, capturing this information 
> in the minifi.properties file would be helpful for debugging and general 
> awareness of the system.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (MINIFI-163) Capture enhanced build information in minifi.properties

2016-12-09 Thread Aldrin Piri (JIRA)
Aldrin Piri created MINIFI-163:
--

 Summary: Capture enhanced build information in minifi.properties
 Key: MINIFI-163
 URL: https://issues.apache.org/jira/browse/MINIFI-163
 Project: Apache NiFi MiNiFi
  Issue Type: Improvement
  Components: Build
Reporter: Aldrin Piri
Priority: Minor


Work was done for NiFi (NIFI-2215) to expose additional information in the 
About box.  While we do not have a graphical view, capturing this information 
in the minifi.properties file would be helpful for debugging and general 
awareness of the system.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MINIFI-163) Capture enhanced build information in minifi.properties

2016-12-09 Thread Aldrin Piri (JIRA)

 [ 
https://issues.apache.org/jira/browse/MINIFI-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aldrin Piri updated MINIFI-163:
---
Component/s: C++

> Capture enhanced build information in minifi.properties
> ---
>
> Key: MINIFI-163
> URL: https://issues.apache.org/jira/browse/MINIFI-163
> Project: Apache NiFi MiNiFi
>  Issue Type: Improvement
>  Components: Build, C++
>Reporter: Aldrin Piri
>Priority: Minor
>
> Work was done for NiFi (NIFI-2215) to expose additional information in the 
> About box.  While we do not have a graphical view, capturing this information 
> in the minifi.properties file would be helpful for debugging and general 
> awareness of the system.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)