-
Sub-task
-
Resolution: Won't Do
-
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.
- supersedes
-
MAGNOLIA-3064 check for an existing repository mapping before adding a new workspace for a module
- Closed