hardcoded legal tag
expects "osdu-demo-legaltag" to exist in the environment and fails if that legal tag doesn't exist.
if the legal tag is created in the first step (before get storage instructions), then use that legal tag, otherwise validate the legal tag provided. But instead it checks for "osdu-demo-legaltag" and fails if that tag is not present in the system
There's an alternative in the "trigger manifest" step, in which you can add the legal tag in this format in the execution context:
{ "executionContext": { "Payload": { "AppKey": "test-app", "data-partition-id": "{{data_partition_id}}" }, "manifest": "{{MANIFEST_RECORD_ID}}", "legal": { "legaltags": [ "osdu-public-usa-dataset" ], "otherRelevantDataCountries": [ "US" ], "status": "compliant" } } }
Edited by Shane Hutchins