Skip to content

Commit 3d6f602

Browse files
committed
Add libguides and researchdatabases aliases
1 parent 72d55c4 commit 3d6f602

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lambdas/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def generate_extract_command(
5252
f"--output-file=s3://{timdex_bucket}/{extract_output_file}"
5353
)
5454
extract_command.append("harvest")
55-
if source in ["aspace", "dspace"]:
55+
if source in ["aspace", "dspace", "libguides", "researchdatabases"]:
5656
extract_command.append("--method=get")
5757
extract_command.append(f"--metadata-format={input_data['oai-metadata-format']}")
5858
if run_type == "daily":

lambdas/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Config:
1616
GIS_SOURCES = ("gismit", "gisogm")
1717
INDEX_ALIASES: ClassVar = {
1818
"rdi": ["jpal", "whoas", "zenodo"],
19-
"timdex": ["alma", "aspace", "dspace"],
19+
"timdex": ["alma", "aspace", "dspace", "libguides", "researchdatabases"],
2020
"geo": GIS_SOURCES,
2121
}
2222
REQUIRED_FIELDS = ("next-step", "run-date", "run-type", "source")

0 commit comments

Comments
 (0)