james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2293) Webadmin CRUD for mail repositories
Date Tue, 30 Jan 2018 09:57:00 GMT

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

Tellier Benoit commented on JAMES-2293:
---------------------------------------

Documentation PR https://github.com/linagora/james-project/pull/1270

> Webadmin CRUD for mail repositories
> -----------------------------------
>
>                 Key: JAMES-2293
>                 URL: https://issues.apache.org/jira/browse/JAMES-2293
>             Project: James Server
>          Issue Type: New Feature
>          Components: MailStore &amp; MailRepository, webadmin
>    Affects Versions: master
>            Reporter: Tellier Benoit
>            Priority: Major
>              Labels: feature
>             Fix For: master
>
>
> We need an API for viewing/clearing mail repositories. Reprocessing will be handled separately.
>  - Here are the proposed endpoints:
> {code}
> GET /mailRepositories
> GET /mailRepositories/:name list email keys. Also, note the name is a URL itself thus
need to be encoded
> GET /mailRepositories/:name/:key cf WebAdmin mail format
> DEL /mailRepositories/:name/:key
> DEL /mailRepositories/:name
> {code}
> Being an URL by itself, the name parameter will need to be encoded.
>  - We need to write tests for these Routes. We can rely on the InMemoryMailRepository
>  - Bind it in Guice and write a webadmin integration test demonstrating it works.



--
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


Mime
View raw message