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 2019/01/21 03:11:00 UTC

[jira] [Resolved] (JAMES-2646) Aliases: listSources Cassandra version: DAO

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

Tellier Benoit resolved JAMES-2646.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.3.0

https://github.com/linagora/james-project/pull/2115 solved this

> Aliases: listSources Cassandra version: DAO
> -------------------------------------------
>
>                 Key: JAMES-2646
>                 URL: https://issues.apache.org/jira/browse/JAMES-2646
>             Project: James Server
>          Issue Type: New Feature
>          Components: cassandra, RRT
>            Reporter: Rene Cordier
>            Priority: Major
>             Fix For: 3.3.0
>
>
> Implement a CassandraMappingsSourcesDAO in `server/data/data-cassandra` `rrt package`
> We should be able to:
> * add a mapping to source association
> * remove a mapping to source association
> * list sources associated to a mapping
> You will represent the data as:
> * Primary Key: (mappingType: text, mappingValue: text (mail address))
> * Column: source: text mail address
> * Create the interface for defining table names
> * Register the new module in the RRT Cassandra module
> * Implement your DAO and related -unit- test
> Finally, you will plug your DAO in CassandraRecipientRewriteTable - only add+remove - migration is needed for safely delegating `listSources` to your DAO. Add a small test to demonstrate CassandraRecipientRewriteTable is updating your DAO.



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