Skip to content

Instantly share code, notes, and snippets.

@adgadev
Created August 26, 2022 21:13
Show Gist options
  • Save adgadev/ef869a40c2bfc6b6d9085d1a3eb9666c to your computer and use it in GitHub Desktop.
Save adgadev/ef869a40c2bfc6b6d9085d1a3eb9666c to your computer and use it in GitHub Desktop.
@Configuration
@Conditional(HaloProfileCondition.class)
@ConditionalOnClass({ MongoClient.class, MongoRepository.class })
@ConditionalOnMissingBean({ MongoRepositoryFactoryBean.class, MongoRepositoryConfigurationExtension.class })
@ConditionalOnRepositoryType(store = "mongodb", type = RepositoryType.IMPERATIVE)
@AutoConfigureAfter(HaloMongoDataAutoConfiguration.class)
class HaloMongoRepositoriesAutoConfiguration extends MongoRepositoriesAutoConfiguration {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment