[MAGNOLIA-2309] Add a standard way of configure beans in the repository that can be used according to a rule (url) Created: 11/Aug/08  Updated: 23/Jan/13  Resolved: 11/Aug/08

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 3.6.1
Fix Version/s: 3.6.2, 3.6.3

Type: Improvement Priority: Major
Reporter: Fabrizio Giustina Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MAGNOLIA-2132 One Magnolia to rule them all Closed
is depended upon by MAGNOLIA-2308 Add a "composite" HttpClientCallback ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

I can see several places in magnolia where you may need to configure a different behavior depending on "something" which usually is the request uri or host.

For example in MAGNOLIA-2308 you may need a different login form according to the url, or you may need a different default page for request done to different virtual hosts.
Instead of creating several new beans, which hold a pattern and a delegate object (for example: if url matches ./magnolia* use the standard login form, if url matches /mysite/* redirect to a magnolia page, and so on), we could create a standard bean that can be reused in any similar configuration



 Comments   
Comment by Fabrizio Giustina [ 11/Aug/08 ]

done in svn

Generated at Mon Feb 12 03:35:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.