diff --git a/testing/notification-test-baremetal/src/test/resources/LegalTag.json b/testing/notification-test-baremetal/src/test/resources/LegalTag.json new file mode 100644 index 0000000000000000000000000000000000000000..e9629c72a833ef80a685f15d028679e75ac6edb6 --- /dev/null +++ b/testing/notification-test-baremetal/src/test/resources/LegalTag.json @@ -0,0 +1,16 @@ +{ + "name": "{{tagName}}", + "properties": { + "countryOfOrigin": [ + "US" + ], + "contractId": "A1234", + "expirationDate": 2222222222222, + "originator": "Default", + "dataType": "Public Domain Data", + "securityClassification": "Public", + "personalData": "No Personal Data", + "exportClassification": "EAR99" + }, + "description": "Test legal tag for notification" +} \ No newline at end of file diff --git a/testing/notification-test-baremetal/src/test/resources/StorageRecord.json b/testing/notification-test-baremetal/src/test/resources/StorageRecord.json new file mode 100644 index 0000000000000000000000000000000000000000..c4a8e395f201baf6ce31ca39d0de01968a2439a3 --- /dev/null +++ b/testing/notification-test-baremetal/src/test/resources/StorageRecord.json @@ -0,0 +1,33 @@ +[ + { + "id": "{{data-partition-id}}:dataset--ConnectedSource.Generic:notification-test-{{ids-suffix}}", + "kind": "{{data-partition-id}}:wks:dataset--ConnectedSource.Generic:1.0.0", + "data": { + "Name": "name", + "DatasetProperties": { + "ConnectedSourceDataJobId": "no-data", + "ConnectedSourceRegistryEntryId": "no-data", + "SourceDataPartitionId": "no-data", + "SourceRecordId": "no-data" + } + }, + "namespace": "{{data-partition-id}}:osdu", + "legal": { + "legaltags": [ + "{{legal-tag}}" + ], + "otherRelevantDataCountries": [ + "US" + ], + "status": "compliant" + }, + "acl": { + "viewers": [ + "data.default.viewers@{{data-partition-id}}.{{group_id}}" + ], + "owners": [ + "data.default.owners@{{data-partition-id}}.{{group_id}}" + ] + } + } +] \ No newline at end of file