Draft: feat: add e2e tests for sdms-v4 generic dataset APIs
This MR adds 19 end-to-end generic-dataset
integration tests for SDMS V4 APIs
To run these tests the following steps are required
-
Set the
config.json
with appropriate values{ "partition": "#{data-partition}#", "url": "http://localhost:5000/seistore-svc/api/v4/", "credential": "token accepted by sddms-v4", "legalTag": "legal-tag" , "ownerAcl": "entitlement-admin-group-email", "viewerAcl": "entitlement-viewer-group-email", "user": "user-email-address" }
-
Ensure the URL points to a valid SDDMS-v4 deployment. If running locally, ensure the service is running
-
Run the end-to-end tests
./tests/e2e/run_e2e_tests.sh --seistore-svc-url="http://localhost:5000/seistore-svc/api/v4/" --user-idtoken="${STOKEN}" \ --datapartition="${PARTITION" \ --legaltag="${LEGAL_TAG}" \ --admin-acl-group="${ADMIN_ACL_GROUP}" \ --viewer-acl-group="${VIEWER_ACL_GROUP}" \ --user="{EMAIL_ID}"
Edited by Diego Molteni