Project

General

Profile

Task #2143

Story #2067: Refactor the index task generator and processor to improve scalability and performance

Refactor static nodeRegistryMap

Added by Skye Roseboom almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Skye Roseboom
Category:
d1_indexer
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.

https://cn-dev.dataone.org/cn/v1/node

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.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)