Project

General

Profile

Task #8070

Consolidate the index application-context files

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

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2017-04-13
Due date:
% Done:

0%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

Currently on cn part, we have two copies of the index application-context files. One is in dataone-cn-index/usr/share/dataone-cn-index/debian/index-generation-context and the other is in d1_cn_index_processor/src/main/resources. Also the member node Metacat has a copy locally. It is very hard to synchronize those three copies. We need only keep one copy.

History

#1 Updated by Chris Jones over 4 years ago

Jing, I'm not sure that we can consolidate these files. In order to run the unit tests in @d1_cn_index_processor@ and create the prov subprocessor, we need the main copy in there. Then, in order to deploy on the CN, we need a copy in @dataone-cn-index@. We certainly don't want the former to rely on the latter, but I could see having the buildout code extract the @application-context.xml@ file from the jar file since it's already a dependency in the deployment. So, if you'd like to consolidate, that's the direction I would go, but it would take a bit of work. No matter what, the @d1_cn_index_processor@ copy should be the main copy.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)