Remove bean override

This commit is contained in:
Tadgh
2021-08-28 18:52:41 -04:00
parent a8a98c311c
commit e26364670d
6 changed files with 0 additions and 15 deletions

View File

@@ -29,14 +29,6 @@ public class Application extends SpringBootServletInitializer {
public static void main(String[] args) {
/*
* https://github.com/hapifhir/hapi-fhir-jpaserver-starter/issues/246
* This will be allowed for a short period until we know how MDM should be configured
* or don't have multiple equal bean instantiations.
*
* This will require changes in the main project as stated in the Github comment
* */
System.setProperty("spring.main.allow-bean-definition-overriding","true");
System.setProperty("spring.batch.job.enabled", "false");
SpringApplication.run(Application.class, args);

View File

@@ -31,9 +31,6 @@ spring:
batch:
job:
enabled: false
main:
# TODO 5.6.0 -> Prevent duplicate bean definitions in the Spring batch config in HAPI: see:
allow-bean-definition-overriding: true
hapi:
fhir:
### This is the FHIR version. Choose between, DSTU2, DSTU3, R4 or R5