The Move to Islandora Kit is an extensible PHP command-line tool for converting source content and metadata into packages suitable for importing into Islandora (or other digital repository and preservations systems).
GNU General Public License v3.0
34
stars
11
forks
source link
Cache the CONTENTdm collection field configuration #407
The CdmToMods metadata parser's getCollectionFieldConfig() method makes an HTTP request to $wsUrl . 'dmGetCollectionFieldInfo/' . $alias . '/json' for every MODS record it creates. This could be cached, reducing the number of calls to the CONTENTdm server and also allowing us to create a PHPUnit test for the CdmToMods metadata parser.
The CdmToMods metadata parser's
getCollectionFieldConfig()
method makes an HTTP request to$wsUrl . 'dmGetCollectionFieldInfo/' . $alias . '/json'
for every MODS record it creates. This could be cached, reducing the number of calls to the CONTENTdm server and also allowing us to create a PHPUnit test for the CdmToMods metadata parser.