Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2646

Aliases: listSources Cassandra version: DAO

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: cassandra, RRT
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rcordier René Cordier
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: