Details
-
Task
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
-
Empty show more show less
-
Empty show more show less
-
Saigon 104, Saigon 105, Saigon 106, Saigon 107
-
5
Description
Could be in the shape of a groovy script, but ideally also usable as a "regular" version-handling Task.
- Take one module name as input, and for that module:
- Rename virtualURIMapping node to virtualUriMappings (plural, camel-case)
- Visit mapping nodes and upgrade magnolia's known impls
- Package changed
- URI is now spelled in camelCase in class-names
- URI is now spelled in camelCase in fromUri / toUri config properties
- See table below for mapping replacements
- Output a warning to install-ctx for custom implementations without replacement
- Make the task extensible for use by other modules (e.g. multisite)
- probably expose a protected method to specify additional replacing-mappings
| Old mapping | New mapping |
|---|---|
| info.magnolia.cms.beans.config.DefaultVirtualURIMapping | info.magnolia.virtualuri.mapping.DefaultVirtualUriMapping |
| info.magnolia.cms.beans.config.RegexpVirtualURIMapping | info.magnolia.virtualuri.mapping.RegexpVirtualUriMapping |
| info.magnolia.cms.beans.config.RotatingVirtualURIMapping | info.magnolia.virtualuri.mapping.RotatingVirtualUriMapping |
| info.magnolia.cms.beans.config.HostBasedVirtualURIMapping | info.magnolia.virtualuri.mapping.HostBasedVirtualUriMapping |
| info.magnolia.cms.beans.config.HostBasedRegexpVirtualURIMapping | info.magnolia.virtualuri.mapping.HostBasedRegexpVirtualUriMapping |
Checklists
Acceptance criteria
Attachments
Issue Links
- is depended upon by
-
MGNLDEMO-220 Update travel-demo URI mapping config
-
- Closed
-
-
MGNLGS-134 Update sitemap URI mapping & config against new API
-
- Closed
-
-
MGNLRSSAGG-214 Update RSS module URI mapping config
-
- Closed
-
-
MGNLUI-4243 Update admincentral URI mapping config
-
- Closed
-
-
MULTISITE-73 Update multisite URI mapping against new API
-
- Closed
-
- supersedes
-
MAGNOLIA-7016 Improve API of Virtual URI mappings
-
- Closed
-
(1 supersedes)