KamoCRM

Gate intake @Component beans behind mlos.intake.enabled (opt-in)

Fixkamo-shared-library
Shipped
6 ஜூலை, 2026 அன்று 6:16 AM UTC
Author
Kamo
Commit
f1393f5

BorrowerScenarioProfileService and ProductDiscoveryGate are shared-lib @Component/@Service beans that inject **************** / mlos.config repos. With blanket @ComponentScan("com.kamo") but selective @EnableJpaRepositories, any service that scans them but does NOT register the mlos.intake repo package fails context startup with NoSuchBeanDefinition (e.g. EmailService crashed: 'Parameter 0 of constructor in BorrowerScenarioProfileService required a bean of type **************** that could not be found'). Gate both on **************** havingValue=true, matchIfMissing=false) — default OFF. Only SecurityService and MLOSDocService (which register the mlos.intake repos) opt in via config.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing