Hi,
I’m trying to configure the engine to define a default tenant as shown in the snippet below. However, when the Spring Boot auto deployment deploys the DMN tables within the resources/dmn folder the deployment and the decisions tables have an empty tenant.
So, is it possible to set up a tenant as the default for deployment?
@Bean
public EngineConfigurationConfigurer<SpringDmnEngineConfiguration> customDmnConfigurer() {
return configuration -> {
configuration.setDefaultTenantValue(DEFAULT_TENANT);
configuration.getDmnEngineConfiguration().setFallbackToDefaultTenant(true);
if (configuration.getCustomFlowableFunctionDelegates() == null) {
configuration.setCustomFlowableFunctionDelegates(CUSTOM_FUNCTIONS);
} else {
configuration.getCustomFlowableFunctionDelegates().addAll(CUSTOM_FUNCTIONS);
}
};
}