SWITCHYARD-1184
removed TransactionMixIn from CDIMixIn dependency, causes TransactionMixIn.participate() not invoked.
SWITCHYARD-2481
fixes to scan all the mixins regardless of its dependencies to find participants. But then if you specify CDIMixIn before TransactionMixIn in the list of @SwitchYardTestCaseConfig(mixins="..."), then TransactionMixIn.participate() is invoked before its initialize() is invoked, causes another Exception.
Two possible dirty hacks:
-
1. invoke initialize() in TransactionMixIn.participate() if it's not yet invoked
-
2. Re-sort mixins in SwitchYardTestKit with seeing participant dependency
Otherwise we need a bit bigger refactoring. I'd +1 on #1. As far as I can see it has no side effects.
|