Release Checklist
Code verification
- Update libraries to the latest, if possible
- Run the full build (including tests):
./gradlew build
- Check for OWASP vulnerabilities:
./gradlew dependencyCheckAggregate --info
Test deployment and behavior
- Deploy the latest candidate to the sciapps demo site
- Upload the test collection with a test id
- From project root:
curl -X PUT \ -H "Content-Type: application/xml" \ -u "credentials:redacted" \ https://sciapps.colorado.edu/registry/metadata/collection/00000000-0000-0000-0000-000000000000 \ --data-binary @registry/src/test/resources/dscovr_fc1.xml
- From project root:
- Retrieve the raw input
curl http://sciapps.colorado.edu/registry/metadata/collection/00000000-0000-0000-0000-000000000000
- ensure it returns a 200, and the
content
attribute contains the xml file you just uploaded
- Retrieve the parsed metadata
curl http://sciapps.colorado.edu/registry/metadata/collection/00000000-0000-0000-0000-000000000000/parsed
- ensure it returns a 200, and that the
discovery
andanalysis
attributes contain values
- Delete the record
curl -X DELETE http://sciapps.colorado.edu/registry/metadata/collection/00000000-0000-0000-0000-000000000000
- Retrieve the raw input
curl http://sciapps.colorado.edu/registry/metadata/collection/00000000-0000-0000-0000-000000000000
- ensure it returns a 404, with an error object explaining that it has been deleted
- Retrieve the parsed metadata
curl http://sciapps.colorado.edu/registry/metadata/collection/00000000-0000-0000-0000-000000000000/parsed
- ensure it returns a 404, with an error object explaining that no parsed information exists
- Resurrect the record
curl http://sciapps.colorado.edu/registry/metadata/collection/00000000-0000-0000-0000-000000000000/resurrection
- Retrieve the raw and parsed metadata again
- ensure they behave like they initially did, above