Uploaded image for project: 'Publishing'
  1. Publishing
  2. PUBLISHING-10

Ad-hoc Registration of workspace to subscribers

    XMLWordPrintable

Details

    • Task
    • Resolution: Obsolete
    • Neutral
    • None
    • None
    • None
    • 2

    Description

      We need to register workspaces without having to touch any JCR configuration. One missing piece is configuration of the workspace-subscriptions under /server/activation/subscribers/xy/subscriptions.

      The subscription is automatically set up during installation of the module in info.magnolia.module.delta.SetupModuleRepositoriesTask#subscribeRepository

      Whether the subscription (adding the node to the subscribers) is performed during install or not is voter-based. The voting mechanism is not intended (but used) for deciding whether the subscription should be performed or not, it is relevant for voting for the best subscription during an activation. This is weird and should be simplified.

      The idea so far is to configure the workspaces you do not want to subscribe and not as today to add those that should be subscribed.

      Further notes:

      • Introduce new API and replace usage of core-interfaces in info.magnolia.cms.exchange
      • Please clean up the usage of repository in the code where workspace is meant, at least where possible.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jsimak Jaroslav Simak
                ejervidalo Espen Jervidalo
                Nucleus
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR