Skip to content

Commit 75cfc63

Browse files
committed
Add "use" alias
Why these changes are being introduced: * A separate alias is needed for efficient testing during the USE project How this addresses that need: * Add "use" to INDEX_ALIASES Config variable Side effects of this change: * NA Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/TIMX-556
1 parent bb0f048 commit 75cfc63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lambdas/config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ class Config:
1515

1616
GIS_SOURCES = ("gismit", "gisogm")
1717
INDEX_ALIASES: ClassVar = {
18+
"geo": GIS_SOURCES,
1819
"rdi": ["jpal", "whoas", "zenodo"],
1920
"timdex": ["alma", "aspace", "dspace", "libguides", "researchdatabases"],
20-
"geo": GIS_SOURCES,
21+
"use": ["aspace", "dspace", *list(GIS_SOURCES), "libguides", "researchdatabases"],
2122
}
2223
REQUIRED_FIELDS = ("next-step", "run-date", "run-type", "source")
2324
REQUIRED_OAI_HARVEST_FIELDS = ("oai-pmh-host", "oai-metadata-format")

0 commit comments

Comments
 (0)