Project: springxd
Issue XD-353: Clean up Spring Configuration
- Container context should be separate from Admin Context in local mode (consistency across transports). Provide a LocalChannelRegistry to bridge deploy and undeploy channels to the ModuleDeployer - Verify Plugins are not in common module context. They are only needed by the ModuleDeployer not the Modules. - Add global-beans Config for beans to be shared among admin and container (and available to modules). This would be set as the parent context where needed. (Currently ‘analytics-context.xml’ and JobRepository shared by Admin and modules) - Fix ModuleDeployer sets parentContext twice - Rename common.xml to module-common.xml NOTE: Analytics parent only required in local mode - Write unit tests to verify configurations are as expected. Correct bean implementations and no stray beans or redundant instances where not needed - Decouple Command options from System properties (in general XD property names), this gives us some flexibility in mapping to properties or profiles where appropriate
Story points: 5