Task #4234
Story #4230: CN System Metadata needs tidying
Refactor Metacat DAO to use bulk data transfer calls
100%
Description
We've been using the SystemMetadataDao in a pid-by-pid fashion, and plan to do bulk updates of the CNs instead. We will still be merging system metadata in a pid-by-pid fashion, and writing the results to a local database table. However, once all pids are processed, we will move the tables in bulk to the remote CNs.
Subtasks
Related issues
Associated revisions
Refactor the d1_cn_common SystemMetadataDao layer to be able to pass in a DataSource and a map of table names that represent the 5 Metacat system metadata tables (identifier, systemmetadata, smreplicationpolicy, smreplicationstatus, xml_access). The map provides a lookup to the standard names when a specific database may have tables prefixed like 'unm_identifier'.
Also update the SystemMetadataDaoMetacatImpl and it's test to conform to the new interface. In progress. Needs testing.
refs #4234
Refactor the d1_cn_common SystemMetadataDao layer to be able to pass in a DataSource and a map of table names that represent the 5 Metacat system metadata tables (identifier, systemmetadata, smreplicationpolicy, smreplicationstatus, xml_access). The map provides a lookup to the standard names when a specific database may have tables prefixed like 'unm_identifier'.
Also update the SystemMetadataDaoMetacatImpl and it's test to conform to the new interface. In progress. Needs testing.
refs #4234
Refactor the d1_cn_common SystemMetadataDao layer to be able to pass in a DataSource and a map of table names that represent the 5 Metacat system metadata tables (identifier, systemmetadata, smreplicationpolicy, smreplicationstatus, xml_access). The map provides a lookup to the standard names when a specific database may have tables prefixed like 'unm_identifier'.
Also update the SystemMetadataDaoMetacatImpl and it's test to conform to the new interface. In progress. Needs testing.
refs #4234
Refactor the d1_cn_common SystemMetadataDao layer to be able to pass in a DataSource and a map of table names that represent the 5 Metacat system metadata tables (identifier, systemmetadata, smreplicationpolicy, smreplicationstatus, xml_access). The map provides a lookup to the standard names when a specific database may have tables prefixed like 'unm_identifier'.
Also update the SystemMetadataDaoMetacatImpl and it's test to conform to the new interface. In progress. Needs testing.
refs #4234
History
#1 Updated by Robert Waltz over 10 years ago
- Status changed from In Progress to Closed
- translation missing: en.field_remaining_hours set to 0.0