Skip to content

Commit

Permalink
[IIIF-1060] Point to new Festerize instance dedicated for ingest (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark A. Matney, Jr authored Jan 13, 2021
1 parent de7d3e0 commit 457effc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ Usage: festerize [OPTIONS] SRC...
Options:
--server TEXT URL of the Fester IIIF manifest service
[default: https://iiif.library.ucla.edu]
--endpoint TEXT API endpoint for CSV uploading [default:
/collections]
--out TEXT local directory to put the updated CSV
[default: output]
--iiifhost TEXT IIIF image server URL (optional)
Expand Down
22 changes: 4 additions & 18 deletions festerize.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,9 @@
)
@click.option(
"--server",
default="https://iiif.library.ucla.edu",
default="https://ingest.iiif.library.ucla.edu",
show_default=True,
help="URL of the Fester IIIF manifest service",
)
@click.option(
"--endpoint",
default="/collections",
show_default=True,
help="API endpoint for CSV uploading",
help="URL of the Fester service dedicated for ingest",
)
@click.option(
"--out",
Expand All @@ -59,15 +53,7 @@
"--version", "-V", is_flag=True, help="Print the version number and exit."
)
def cli(
src,
iiif_api_version,
server,
endpoint,
out,
iiifhost,
metadata_update,
loglevel,
version,
src, iiif_api_version, server, out, iiifhost, metadata_update, loglevel, version,
):
"""Uploads CSV files to the Fester IIIF manifest service for processing.
Expand Down Expand Up @@ -154,7 +140,7 @@ def cli(

# HTTP request URLs.
get_status_url = server + "/fester/status"
post_csv_url = server + endpoint
post_csv_url = server + "/collections"

# HTTP request headers.
request_headers = {"User-Agent": "{}/{}".format("Festerize", festerize_version)}
Expand Down

0 comments on commit 457effc

Please sign in to comment.