diff --git a/orcid-scheduler-web/src/main/java/org/orcid/scheduler/loader/source/cli/LoadDataForOrganizationSource.java b/orcid-scheduler-web/src/main/java/org/orcid/scheduler/loader/source/cli/LoadDataForOrganizationSource.java index c30303bcccf..44007a86fc5 100644 --- a/orcid-scheduler-web/src/main/java/org/orcid/scheduler/loader/source/cli/LoadDataForOrganizationSource.java +++ b/orcid-scheduler-web/src/main/java/org/orcid/scheduler/loader/source/cli/LoadDataForOrganizationSource.java @@ -37,7 +37,7 @@ public class LoadDataForOrganizationSource { */ @SuppressWarnings({ "resource" }) private void init() { - ApplicationContext context = new ClassPathXmlApplicationContext("orcid-scheduler-beans-context.xml"); + ApplicationContext context = new ClassPathXmlApplicationContext("orcid-scheduler-context.xml"); orgLoadManager = (OrgLoadManager) context.getBean("orgLoadManager"); rorOrgSource = (OrgLoadSource) context.getBean("rorOrgDataSource"); fundrefOrgSource = (OrgLoadSource) context.getBean("fundrefOrgDataSource"); diff --git a/orcid-scheduler-web/src/main/java/org/orcid/scheduler/loader/source/cli/ProcessOrganizationAsPartOfGroupForDisambiguatedOrgId.java b/orcid-scheduler-web/src/main/java/org/orcid/scheduler/loader/source/cli/ProcessOrganizationAsPartOfGroupForDisambiguatedOrgId.java index 6a1b54ede80..93880a267fb 100644 --- a/orcid-scheduler-web/src/main/java/org/orcid/scheduler/loader/source/cli/ProcessOrganizationAsPartOfGroupForDisambiguatedOrgId.java +++ b/orcid-scheduler-web/src/main/java/org/orcid/scheduler/loader/source/cli/ProcessOrganizationAsPartOfGroupForDisambiguatedOrgId.java @@ -43,7 +43,7 @@ public class ProcessOrganizationAsPartOfGroupForDisambiguatedOrgId { */ @SuppressWarnings({ "resource" }) private void init() { - ApplicationContext context = new ClassPathXmlApplicationContext("orcid-scheduler-beans-context.xml"); + ApplicationContext context = new ClassPathXmlApplicationContext("orcid-scheduler-context.xml"); orgDisambiguatedManager = (OrgDisambiguatedManager) context.getBean("orgDisambiguatedManager"); rorOrgSource = (OrgLoadSource) context.getBean("rorOrgDataSource"); fundrefOrgSource = (OrgLoadSource) context.getBean("fundrefOrgDataSource"); diff --git a/orcid-scheduler-web/src/main/resources/orcid-scheduler-context.xml b/orcid-scheduler-web/src/main/resources/orcid-scheduler-context.xml index 5cd3812f3ff..fed6ce1b844 100644 --- a/orcid-scheduler-web/src/main/resources/orcid-scheduler-context.xml +++ b/orcid-scheduler-web/src/main/resources/orcid-scheduler-context.xml @@ -110,5 +110,7 @@ + +