-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
services: add handling of async results of upload
* adds the task results to the record * addresses #1970 Signed-off-by: Ilias Koutsakis <[email protected]>
- Loading branch information
Showing
6 changed files
with
178 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"name": "zenodo", | ||
"version": "0.0.1", | ||
"fullname": "", | ||
"experiment": null, | ||
"is_indexed": false, | ||
"use_deposit_as_record": true, | ||
"allow_all": true, | ||
"deposit_schema": { | ||
"additionalProperties": "False", | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"id": { | ||
"type": "number" | ||
}, | ||
"created": { | ||
"type": "string" | ||
}, | ||
"title": { | ||
"type": "string" | ||
}, | ||
"creator": { | ||
"type": "string" | ||
}, | ||
"links": { | ||
"type": "object", | ||
"properties": { | ||
"self": { | ||
"type": "string" | ||
}, | ||
"html": { | ||
"type": "string" | ||
}, | ||
"publish": { | ||
"type": "string" | ||
}, | ||
"bucket": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"tasks": { | ||
"type": "object", | ||
"patternProperties": { | ||
"^[0-F]{8}-([0-F]{4}-){3}[0-F]{12}$": { | ||
"type": "object", | ||
"properties": { | ||
"file": { | ||
"type": "string" | ||
}, | ||
"status": { | ||
"type": "string" | ||
}, | ||
"message": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"title": "Zenodo Deposit" | ||
} | ||
}, | ||
"deposit_mapping": {}, | ||
"deposit_options": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters