Skip to content

Instantly share code, notes, and snippets.

@adgadev
Created August 26, 2022 21:11
Show Gist options
  • Save adgadev/17a9b8baf7c0cc98f30fd99c5d409ccd to your computer and use it in GitHub Desktop.
Save adgadev/17a9b8baf7c0cc98f30fd99c5d409ccd to your computer and use it in GitHub Desktop.
@Configuration
@Conditional(HaloProfileCondition.class)
@ConditionalOnClass(MongoClient.class)
@ConditionalOnMissingBean(type = "org.springframework.data.mongodb.MongoDatabaseFactory")
class HaloMongoAutoConfiguration extends MongoAutoConfiguration {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment