Fix h2 dialect, replace mail dep

This commit is contained in:
Tadgh
2022-01-26 20:28:05 -08:00
parent bbd9428d6e
commit 24ad4116f8
3 changed files with 15 additions and 17 deletions

View File

@@ -24,11 +24,6 @@ import org.springframework.core.io.Resource;
@Import({MdmConsumerConfig.class, MdmSubmitterConfig.class})
public class MdmConfig {
@Bean
MdmRuleValidator mdmRuleValidator(FhirContext theFhirContext, ISearchParamRegistry theSearchParamRegistry) {
return new MdmRuleValidator(theFhirContext, theSearchParamRegistry);
}
@Bean
IMdmSettings mdmSettings(@Autowired MdmRuleValidator theMdmRuleValidator, AppProperties appProperties) throws IOException {
DefaultResourceLoader resourceLoader = new DefaultResourceLoader();
@@ -36,5 +31,4 @@ public class MdmConfig {
String json = IOUtils.toString(resource.getInputStream(), Charsets.UTF_8);
return new MdmSettings(theMdmRuleValidator).setEnabled(appProperties.getMdm_enabled()).setScriptText(json);
}
}