Skip to content

Commit

Permalink
Merge pull request #6737 from ORCID/8503-bug-the-organization-loader-…
Browse files Browse the repository at this point in the history
…per-organization-type

Fixed the context path for scheduler for loading orgs cli-s
  • Loading branch information
amontenegro authored Feb 23, 2023
2 parents 0f1106b + 38302e6 commit f1bc33f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,7 @@
<bean id="slackManager" class="org.orcid.utils.alerting.impl.SlackManagerImpl" />

<bean id="statisticsManager" class="org.orcid.core.stats.impl.StatisticsManagerImpl"/>

<bean id="orgLoadManager" class="org.orcid.scheduler.loader.manager.impl.OrgLoadManagerImpl"/>

</beans>

0 comments on commit f1bc33f

Please sign in to comment.