Allow duplicate assets on the manifest#428
Conversation
1f52b44 to
c597c15
Compare
7e5cfb7 to
bd01718
Compare
donaldgray
left a comment
There was a problem hiding this comment.
When running locally fetching asset details is failing, happening on POST/PUT and GET
"asset": {
"@id": "https://dlcs.host/customers/7/spaces/144/images/dup_test2",
"error": "Unable to retrieve asset details"
}The /allImages endpoint rejects duplicates with a 400 response.
Thought, may or may not be viable - is this duplicate check the type of thing we could do in the validator? Before it gets further into the code? Or is it okay to do further dowm?
|
I could swap it to do the duplicate check in the validator, but it does mean interrogating the |
donaldgray
left a comment
There was a problem hiding this comment.
Single comment on how de-dup works. Also - should description be changed as there are now no changes to ManifestMerger?
Resolves #392
This PR makes it so that the DLCS coordinator is modified so that assets with the same asset id are only ingested into the DLCS once