Consolidate the index application-context files
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.
#1 Updated by Chris Jones over 5 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.