Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-41720

Cleanup consumer further to make it purely an infrastructure concern

XMLWordPrintable

    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None

      Add a ReplicationService that does the following

      Takes as input resourceId, reporterResourceKeys, currentVersion n

      1. Gets representations for these values
      2. Computes tuple updates
        1. Delete workspaceId <-> resourceId for n-1
        2. Create workspaceId <-> resourceId for n
      3. get ktn
      4. resources.saveEvent(saves Resource with ktn)
      5. notify

      Call this from the consumer.

              sgunta@redhat.com Sneha Gunta
              sgunta@redhat.com Sneha Gunta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: