JiscSD / archivematica

Free and open-source digital preservation system designed to maintain standards-based, long-term access to collections of digital objects.
http://www.archivematica.org
GNU Affero General Public License v3.0
0 stars 0 forks source link

Add button to reset processing config #67

Closed helenst closed 6 years ago

helenst commented 6 years ago

https://jiscdev.atlassian.net/browse/RDSSARK-431 - builtin processing configs get a "Reset" button on the Processing config page, so they can be reset to original values.

See also https://github.com/JiscRDSS/rdss-archivematica/pull/186

helenst commented 6 years ago

I've addressed comments and added an API endpoint to match (including a DELETE to trigger recreation)

I haven't got as far as the xml doc comparison and only bringing in new choice configurations, as detailed here: https://docs.google.com/document/d/1lQG6tTLzWaScEqdHTg38Ccxkz9zMjefgTF8mZjrKPt4/edit# - it's been taking longer than expected and I unfortunately had some hardware failures last week which didn't help matters. So at the moment GET will return existing config, or add from default if it doesn't exist. There are tests too.

I can continue with that but this may also stand well enough on its own to do for now.