-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Tobias Mattsson opened SPR-8728 and commented
It would be really helpful if the profile attribute could take names of profiles that all has to be active.
For instance:
<beans profile="production,datacenter_us">
...
</beans>
<beans profile="production,datacenter_eu">
...
</beans>
As for syntax there would need to be a notation that can express both OR and AND, possibly using | and ,
Like:
<beans profile="staging|production">
...
</beans>
Even better would be if the syntax was in line with other expressions such as SpEL.
Affects: 3.1 M2
Issue Links:
- Provide boolean logic on bean profiles, i.e. NOT profile. [SPR-9180] #13818 Provide boolean logic on bean profiles, i.e. NOT profile. ("is duplicated by")
- Profile activation: not operator does not work consistently [SPR-16465] #21010 Profile activation: not operator does not work consistently
- Support profile exclusivity and/or bean definition finality [SPR-7982] #12637 Support profile exclusivity and/or bean definition finality
7 votes, 12 watchers
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement