[MGNLGROOVY-182] Provide script for debugging Virtual URI mappings evaluation Created: 11/Nov/19  Updated: 08/Sep/23  Resolved: 08/Sep/23

Status: Closed
Project: Magnolia Groovy Module
Component/s: integration
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Neutral
Reporter: Mikaël Geljić Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: virtualurimappings
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
supersession
is superseded by MAGNOLIA-9084 Provide debug logs for Virtual URI ma... Closed
Template:
Acceptance criteria:
Empty
Story Points: 0.5

 Description   

See script at: https://gist.github.com/mkgl/c800a005b7ee960351fae1563d7a148f

Show all Virtual URI mappings that matched a given URI and their associated weights

input is a URI, sample output is an ordered list of mappings that matched the input:

URI mappings from /rssFeeds/karamba:
redirect:/rss/?feedPath=/karamba (weight 2) [rssaggregator:rssFeeds]

Would be worth adding a note in docs too, for troubleshooting.



 Comments   
Comment by Mikaël Geljić [ 08/Sep/23 ]

hasn't been done to this day, most likely won't, and actually of limited use, especially for cases involving multisite (running groovy might happen only on author instance, or only from one specific domain).

Generated at Mon Feb 12 05:56:24 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.