Story #8470
Make the spring context of the d1_index_processor daemon more configurable
Start date:
2018-03-02
Due date:
% Done:
0%
Story Points:
Sprint:
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 6 years ago
- Target version changed from CCI-2.3.8 to CCI-2.3.9
#2 Updated by Rob Nahf over 6 years ago
- Target version changed from CCI-2.3.9 to CCI-2.3.10
2.3.9 is deployed...