Commit 56bce4d0 authored by Joerg-Holger Panzer's avatar Joerg-Holger Panzer
Browse files

Update fieldname

rename InfoJsonKeyPattern  to  ExportKeyPatternInfoJson
parent 58198eae
......@@ -15,9 +15,10 @@ PROCESS_DOCTYPE=both
EXPORT_KEY_PATTERN_RIS="citation/%s/%s_%s.ris"
EXPORT_KEY_PATTERN_BIBTEX="citation/%s/%s_%s.bib"
EXPORT_KEY_PATTERN_ENDNOTE="citation/%s/%s_%s.enw"
EXPORT_KEY_PATTERN_IIIF="iiif/%s.json"
EXPORT_KEY_PATTERN_IIIF_RANGE="iiif/%s/range/%s.json"
INFO_JSON_KEY_PATTERN="info/%s/%s.json"
EXPORT_KEY_PATTERN_INFO_JSON="info/%s/%s.json"
# orig/<work_id>/<page>.{jpg | tif | gif | ...}
S3_IMAGE_KEY_PATTERN=orig/%s/%s.%s
......
......@@ -127,11 +127,13 @@ type Config struct {
PurgeCtxPath string `mapstructure:"PURGE_CTX_PATH"`
// S3 key pattern for export
ExportKeyPatternRis string `mapstructure:"EXPORT_KEY_PATTERN_RIS"`
ExportKeyPatternBibtex string `mapstructure:"EXPORT_KEY_PATTERN_BIBTEX"`
ExportKeyPatternEndnote string `mapstructure:"EXPORT_KEY_PATTERN_ENDNOTE"`
ExportKeyPatternRis string `mapstructure:"EXPORT_KEY_PATTERN_RIS"`
ExportKeyPatternBibtex string `mapstructure:"EXPORT_KEY_PATTERN_BIBTEX"`
ExportKeyPatternEndnote string `mapstructure:"EXPORT_KEY_PATTERN_ENDNOTE"`
ExportKeyPatternIiif string `mapstructure:"EXPORT_KEY_PATTERN_IIIF"`
ExportKeyPatternIiifRange string `mapstructure:"EXPORT_KEY_PATTERN_IIIF_RANGE"`
ExportKeyPatternInfoJson string `mapstructure:"EXPORT_KEY_PATTERN_INFO_JSON"`
// HTTP connection settings
HttpClientTimeout int `mapstructure:"HTTP_CLIENT_TIMEOUT"`
......@@ -151,8 +153,6 @@ type Config struct {
PurlURI string `mapstructure:"PURL_PATTERN"`
PurlBaseURI string `mapstructure:"PURL_BASE_PATTERN"`
InfoJsonKeyPattern string `mapstructure:"INFO_JSON_KEY_PATTERN"`
// todo for NLH
OpacURI string `mapstructure:"OPAC_URI"`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment