09-15-2016 12:17 PM
09-15-2016 02:30 PM
@Configuration
@AutoConfigureAfter(DataSourceAutoConfiguration.class)
@ConditionalOnBean(TenantInfoHolder.class)
public class MultiTenantMultiSchemaConfiguration {
@Bean
public DataSource dataSource(TenantInfoHolder tenantInfoHolder) {
return new TenantAwareDataSource(tenantInfoHolder);
}
@Bean
public ProcessEngineConfigurationConfigurer multiTenantProcessingEngineConfigurer() {
return new ProcessEngineConfigurationConfigurer() {
@Override
public void configure(SpringProcessEngineConfiguration config) {
config.setIdGenerator(new StrongUuidGenerator());
}
};
}
}
09-22-2016 12:16 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.