import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
-// Limit the annotation scan to the dashboard classes;
-// exclude the generated client classes!
+// Using this package limits the annotation scan to the dashboard classes.
+// Do not want Spring to find the autowired annotations in the generated
+// classes.
@ComponentScan("org.oransc.ric.portal.dashboard")
public class DashboardApplication {
public static void main(String[] args) {
SpringApplication.run(DashboardApplication.class, args);
// Force this onto the console by using level WARN
- logger.warn("main: version '{}' successful start", getImplementationVersion(MethodHandles.lookup().lookupClass()));
+ logger.warn("main: version '{}' successful start",
+ getImplementationVersion(MethodHandles.lookup().lookupClass()));
}
/**