You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2018/01/26 02:12:00 UTC
[jira] [Resolved] (JAMES-2294) WebAdmin tasks for mail reprocessing
[ https://issues.apache.org/jira/browse/JAMES-2294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tellier Benoit resolved JAMES-2294.
-----------------------------------
Resolution: Fixed
https://github.com/linagora/james-project/pull/1261 contributed these routes and integration tests
> WebAdmin tasks for mail reprocessing
> ------------------------------------
>
> Key: JAMES-2294
> URL: https://issues.apache.org/jira/browse/JAMES-2294
> Project: James Server
> Issue Type: New Feature
> Components: MailStore & MailRepository, SpoolManager & Processors, webadmin
> Affects Versions: master
> Reporter: Tellier Benoit
> Priority: Major
> Labels: feature
> Fix For: master
>
>
> We need a webAdmin frontend for reprocessing emails stored in a MailRepository.
> - I propose these endpoints:
> {code}
> PUT mailRepositories/:name/reprocessing?processor=root
> PUT mailRepositories/:name/:key/reprocessing?processor=root
> {code}
> (root being the default target processor)
> - This will create Tasks handing the reprocessing. This task should be created in data-library to be used potentially by other protocols.
> - Unit tests can be done with mocks and should focus on input validation.
> We would need to write an integration test for this in mailet integration tests
> - root processor would only contain a **ToRepository** mailet
> - transport processor would contain normal delivery logic
> - We send a mail and await it to be stored in the repository
> - We reprocess the mail to the transport processor and await task end
> - We verify the mail is well received
> We can do the same operation with 2 emails.
--
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