Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5529 Update mechanism improvements
  3. MAGNOLIA-3120

Remove repository/workspace mappings from module descriptors

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • None

      Modules can currently declare workspaces, but they also need to declare the repository to which they're mapped. It shouldn't be any of their business, as we've seen with UGC modules, when we want these workspaces to be shared for instance. A first fix was done with MAGNOLIA-3064, but ultimately, we should reflect this in the module descriptors AND our code as well.

      An updated module descriptor might look like:

        <repositories>
          <repository>
            <name>Store</name>
            <nodeTypeFile>/mgnl-nodetypes/owfe-nodetypes.xml</nodeTypeFile>
          </repository>
          <repository>
            <name>Expressions</name>
            <nodeTypeFile>/mgnl-nodetypes/owfe-nodetypes.xml</nodeTypeFile>
          </repository>
        </repositories>
      

      (for the workflow module)

      As of yet, it's undecided if we'll use the "repository" or "workspace" name. The latter is more accurate, but the former is more understandable for mere mortals.

      Additionally, we'll need to check and remove public API methods which take both repository and workspace name strings, and use our repository-to-workspace mapping consistently.

            Unassigned Unassigned
            gjoseph Magnolia International
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: