Project: springxd
Issue XD-1412: Composed options does not trigger profile activation
I was in the process of rewriting transform using profiles (see ExpressionOrScriptMixin). This broke eg ModuleCommandTests.testComposedModulesValuesInDefinition because basically composed module options activate no profile. The problem is that there is no real way to know what to activate currently, because when deploying a part of a composed module, its metadata is actually a link to the *whole* metadata, but does not really know which part. Long story short, something we may be able to do is to activate the union of all profiles, but this breaks very easily : module compose foo --definition "transform --expr=foo | transform --script=bar" would try to activate both "script" and "expression" profiles for both modules.
Story points: 5