Task #2143
Story #2067: Refactor the index task generator and processor to improve scalability and performance
Refactor static nodeRegistryMap
Status:
Closed
Priority:
Normal
Assignee:
Skye Roseboom
Category:
d1_indexer
Target version:
Start date:
2011-12-16
Due date:
% Done:
100%
Milestone:
CCI-0.6.4
Product Version:
*
Story Points:
Sprint:
Description
The spring context configuration for cn_index_processing contains a bean 'nodeRegistryMap' that is a static map of CN/MN nodes in the dev environment. This should be replaced by a dynamic/run-time configuration to get current/actual nodes in dataONE system.
History
#1 Updated by Skye Roseboom almost 13 years ago
- Status changed from New to In Progress
#2 Updated by Skye Roseboom almost 13 years ago
Also updating WebUrlSolrField.isCNNode to remove hard-coded cn node name ("c3po"). Replaced with dynamic query against NodeRegistryService.getNode().getType().xmlValue().equals(NodeType.CN)
#3 Updated by Skye Roseboom almost 13 years ago
- Status changed from In Progress to Closed
Complete. Added usage of node registry service to acquire node list dynamically. Added to buildout jars.