Skip to content

Commit

Permalink
Update view comment on how to serve DIP to EaaSI
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Mar 23, 2022
1 parent 05fda1d commit 54d32de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scope/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,11 @@ def recommend_dip_environments(request, pk):
if dip.objectszip:
# TODO: Upload DIP so it's fetchable via URL by EaaSI server.
# For now, we fake it with DATA_URL.
# To do the real thing:
# 1. Copy DIP to /eaasi/tmp-storage on EaaSI server
# 2. Use file:// URL that matches location in Docker container
# e.g. "file:///tmp-storage/fmt-38.zip"
# 3. Delete DIP from EaaSI server
# With a real DIP, how do we make sure that EaaSI is basing its
# recommendations on the actual digital objects, and not e.g. the METS?
DATA_URL = "https://github.com/tw4l/sample-data/blob/main/fmt-38.zip?raw=true"
Expand Down

0 comments on commit 54d32de

Please sign in to comment.