Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-128 Create federation connector
  3. MODE-134

Create pluggable merge processor interface encapsulating the logic of how to merge multiple nodes into one node

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 0.2
    • None
    • Federation
    • None
    • High

      A FederatedRepository instance should use a MergeProcessor implementation to actually do all the merging operations; the FederatedRepository is then responsible for managing the integrated repository (cache), adhering to the cache policies, making the requests to the sources, calling the MergeProcessor, and then storing the merged node back in the cache.

      The merging operations should include both reads and writes, and will need access to the previous merge plan produced by the node. In fact, the merge operation may need to add merge-processor-specific information to the merge plan so that it can reuse that information at a later time.

      It is very likely that the merge logic will evolve significantly over time, and that some uses of DNA may even require their own (perhaps optimized) processing logic. I believe there is even an opportunity to provide a Drools-based processor that uses rules to perform the work. This obviously won't be the first implementation, but could be one of the most powerful and capable processor implementations.

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: