Project

General

Profile

Story #8470

Make the spring context of the d1_index_processor daemon more configurable

Added by Jing Tao over 3 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
d1_indexer
Target version:
Start date:
2018-03-02
Due date:
% Done:

0%

Story Points:

Description

In the IndexTaskProcessorDaemon class, which is the start point of d1-indexx-processor, the context is initialized from a file in the class path:

context = new ClassPathXmlApplicationContext("processor-daemon-context.xml");

The file, processor-daemon-context.xml, imports all the index sub-processor application files. This make very hard for us to add a new sub-processor since we have to rebuild a new jar file in order to include a new file. Instead, if we use the FileSystemXmlApplicationContext class and read the file path from a properties file, we can get more flexibility.

History

#1 Updated by Dave Vieglais over 3 years ago

  • Target version changed from CCI-2.3.8 to CCI-2.3.9

#2 Updated by Rob Nahf over 3 years ago

  • Target version changed from CCI-2.3.9 to CCI-2.3.10

2.3.9 is deployed...

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)