[prev in list] [next in list] [prev in thread] [next in thread] 

List:       james-dev
Subject:    [jira] [Commented] (JAMES-2319) As an administrator I want to clear a mailQueue
From:       "Matthieu Baechler (JIRA)" <server-dev () james ! apache ! org>
Date:       2018-02-26 14:31:00
Message-ID: JIRA.13133991.1516967829000.276446.1519655460124 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/JAMES-2319?page=com.atlassian.jira.plugin. \
system.issuetabpanels:comment-tabpanel&focusedCommentId=16376950#comment-16376950 ] 

Matthieu Baechler commented on JAMES-2319:
------------------------------------------

Hi Sameera,

Usually, we try to keep tasks small so that it reach master faster. Our review \
process can sometimes be hard at first, so the smaller the PR you propose, the easier \
it would be for everyone.

Of course, other features you described are very welcome too, but I would rather \
create a new ticket for that.

Is it ok to you ?

> As an administrator I want to clear a mailQueue
> -----------------------------------------------
> 
> Key: JAMES-2319
> URL: https://issues.apache.org/jira/browse/JAMES-2319
> Project: James Server
> Issue Type: Improvement
> Components: Queue, webadmin
> Affects Versions: master
> Reporter: Tellier Benoit
> Priority: Major
> Labels: feature, newbie
> 
> The goal of this ticket is to implement an additional webadmin mailqueue management \
> endpoint. {code:java}
> DELETE /mailQueues/:name/messages/
> {code}
> This should purge the mail queue (akka delete all mails from the queue).
> You need to enhance the behaviour of MailQueueRoutes (deleteMails). You need a \
> DELETE without query parameters to call ManageableMailQueue::clear. You will need \
>                 tests in *MailQueueRoutesTest* to show:
> - The status corresponds to 204
> - The mail queue is purged: all enqueued mails are removed
> - Purging an empty queue is allowed.
> This task is related to JAMES-2320 which should add a task for this.
> If you need more details to implement this feature, we are willing to provide \
> support. Don't hesitate to ask on https://gitter.im/apache/james-project. We are \
> willing to provide guidance.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic