Rene Cordier created JAMES-2646:
-----------------------------------

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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to