[jira] [Commented] (NIFI-5329) Add ability to "empty queue" on an entire process group

2018-07-16 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16545385#comment-16545385
 ] 

ASF GitHub Bot commented on NIFI-5329:
--

Github user MikeThomsen closed the pull request at:

https://github.com/apache/nifi/pull/2893


> Add ability to "empty queue" on an entire process group
> ---
>
> Key: NIFI-5329
> URL: https://issues.apache.org/jira/browse/NIFI-5329
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework
>Affects Versions: 1.6.0
>Reporter: Mark Bean
>Priority: Major
>
> It is desirable to clear all queues in a section of the flow. Specifically, a 
> Process Group can be taken as the unit to which 'empty queue' would be 
> applied. All connections within the Process Group are emptied.
> If the user does not  have permission to empty a given queue, it should be 
> excluded. However, all connections which the user has permission should 
> complete successfully. A dialog at the end of the operation should indicate 
> "X FlowFiles (Y bytes) were removed from Z queues". If appropriate, the 
> dialog should also include "X queues were not emptied due to insufficient 
> permission"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5329) Add ability to "empty queue" on an entire process group

2018-07-16 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16545381#comment-16545381
 ] 

ASF GitHub Bot commented on NIFI-5329:
--

Github user MikeThomsen commented on the issue:

https://github.com/apache/nifi/pull/2893
  
Thanks. Ill redo this then..


> Add ability to "empty queue" on an entire process group
> ---
>
> Key: NIFI-5329
> URL: https://issues.apache.org/jira/browse/NIFI-5329
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework
>Affects Versions: 1.6.0
>Reporter: Mark Bean
>Priority: Major
>
> It is desirable to clear all queues in a section of the flow. Specifically, a 
> Process Group can be taken as the unit to which 'empty queue' would be 
> applied. All connections within the Process Group are emptied.
> If the user does not  have permission to empty a given queue, it should be 
> excluded. However, all connections which the user has permission should 
> complete successfully. A dialog at the end of the operation should indicate 
> "X FlowFiles (Y bytes) were removed from Z queues". If appropriate, the 
> dialog should also include "X queues were not emptied due to insufficient 
> permission"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5329) Add ability to "empty queue" on an entire process group

2018-07-16 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16545361#comment-16545361
 ] 

ASF GitHub Bot commented on NIFI-5329:
--

Github user patricker commented on the issue:

https://github.com/apache/nifi/pull/2893
  
@MikeThomsen, you typo'd the JIRA ticket number associated with this PR. 
(NIFI-5329 vs NIFI-5239).


> Add ability to "empty queue" on an entire process group
> ---
>
> Key: NIFI-5329
> URL: https://issues.apache.org/jira/browse/NIFI-5329
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework
>Affects Versions: 1.6.0
>Reporter: Mark Bean
>Priority: Major
>
> It is desirable to clear all queues in a section of the flow. Specifically, a 
> Process Group can be taken as the unit to which 'empty queue' would be 
> applied. All connections within the Process Group are emptied.
> If the user does not  have permission to empty a given queue, it should be 
> excluded. However, all connections which the user has permission should 
> complete successfully. A dialog at the end of the operation should indicate 
> "X FlowFiles (Y bytes) were removed from Z queues". If appropriate, the 
> dialog should also include "X queues were not emptied due to insufficient 
> permission"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5329) Add ability to "empty queue" on an entire process group

2018-07-15 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16544660#comment-16544660
 ] 

ASF GitHub Bot commented on NIFI-5329:
--

Github user MikeThomsen commented on the issue:

https://github.com/apache/nifi/pull/2893
  

[Mongo_client_test.xml.txt](https://github.com/apache/nifi/files/2196064/Mongo_client_test.xml.txt)

That is a flow for testing the functionality against a Mongo server running 
on `localhost:27017`.


> Add ability to "empty queue" on an entire process group
> ---
>
> Key: NIFI-5329
> URL: https://issues.apache.org/jira/browse/NIFI-5329
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework
>Affects Versions: 1.6.0
>Reporter: Mark Bean
>Priority: Major
>
> It is desirable to clear all queues in a section of the flow. Specifically, a 
> Process Group can be taken as the unit to which 'empty queue' would be 
> applied. All connections within the Process Group are emptied.
> If the user does not  have permission to empty a given queue, it should be 
> excluded. However, all connections which the user has permission should 
> complete successfully. A dialog at the end of the operation should indicate 
> "X FlowFiles (Y bytes) were removed from Z queues". If appropriate, the 
> dialog should also include "X queues were not emptied due to insufficient 
> permission"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (NIFI-5329) Add ability to "empty queue" on an entire process group

2018-07-15 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/NIFI-5329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16544653#comment-16544653
 ] 

ASF GitHub Bot commented on NIFI-5329:
--

GitHub user MikeThomsen opened a pull request:

https://github.com/apache/nifi/pull/2893

NIFI-5329 Made a client service an optional source of connection pool…

…ing in Mongo processors.

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:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced 
 in the commit message?

- [ ] Does your PR title start with NIFI- 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:
- [ ] 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:
- [ ] 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/MikeThomsen/nifi NIFI-5239

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/nifi/pull/2893.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 #2893


commit 92e9ead1ee8f1d55edd9b3be6991245abd18aa5e
Author: Mike Thomsen 
Date:   2018-07-15T12:07:21Z

NIFI-5329 Made a client service an optional source of connection pooling in 
Mongo processors.




> Add ability to "empty queue" on an entire process group
> ---
>
> Key: NIFI-5329
> URL: https://issues.apache.org/jira/browse/NIFI-5329
> Project: Apache NiFi
>  Issue Type: Improvement
>  Components: Core Framework
>Affects Versions: 1.6.0
>Reporter: Mark Bean
>Priority: Major
>
> It is desirable to clear all queues in a section of the flow. Specifically, a 
> Process Group can be taken as the unit to which 'empty queue' would be 
> applied. All connections within the Process Group are emptied.
> If the user does not  have permission to empty a given queue, it should be 
> excluded. However, all connections which the user has permission should 
> complete successfully. A dialog at the end of the operation should indicate 
> "X FlowFiles (Y bytes) were removed from Z queues". If appropriate, the 
> dialog should also include "X queues were not emptied due to insufficient 
> permission"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)