Skip to content

Add @ComponentScan for configurer-adapter

Chris Lemaire requested to merge scan-for-lib-package-upon-configuring into development

The ComponentScan annotation will make sure that the entire package is imported by Spring when at least a LabradorSecurityConfigurerAdapter is configured.

In the future, if the option of not enabling security should exist, we may want to add custom annotations to enable the ComponentScan. Additionally, we might want a separate ComponentScan for just LabracoreApiConfiguration.

Tests were added in the form of smoke tests to test an application without explicit imports of labracore.lib.

Edited by Chris Lemaire

Merge request reports

Loading