Repository navigation
Add ActiveProfileResolver and 'resolver' attribute to @ActiveProfiles (SPR-10338) - #246
michail-nikolaev wants to merge 1 commit into
Conversation
|
Fixed type in javadoc
|
Add ActiveProfileResolver interface to use together with 'resolver' attribute of @activeprofiles annotation. ActiveProfileResolver allows to resolve active profiles for test in dynamic way at runtime. Add support for ActiveProfileResolver to ContextLoaderUtils. Changes: - Add ActiveProfileResolver, update ContextLoaderUtils - Test for new functionality - Changelog update - Reference manual TODO for 'inheritProfiles' done - Reference manual update for ActiveProfileResolver Issue: SPR-10338
|
One more typo fixed: Furthermore, sometimes it is required to resolve active profiles for test at runtime. There are several possible reasons for it: |
|
Just interesting - are you planning to merge it before 3.2.2 release? (need to plan activities for project) |
|
No. This feature will not make it into 3.2.2. It is currently scheduled against the 4.0 backlog. We typically do not introduce new features of this magnitude in point releases; however, if there is significant interest from the community at large, it is possible that it would be considered in the 3.2.x time frame. |
|
OK, thanks you. |
|
Michail, thanks for all of your hard work! You'll notice that I unfortunately wasn't able to merge your pull request directly due to significant changes in the 4.0 (i.e., master) branch; however, I was still able to use a lot of your code (albeit with some rather tedious copying-n-pasting ;)). See the following commit: 044f512 Also, your thorough unit and integration tests were especially helpful. Cheers, Sam |
Implementation of https://jira.springsource.org/browse/SPR-10338 previously discussed here - #240
I have signed and agree to the terms of the SpringSource Individual
Contributor License Agreement.
Updated code, javadoc, reference manual, changelog
If it will hard to merge I may resubmit later.
Issue: SPR-10338