Extend cron to catch about to expire legal tags
Changes related to ADR
- Existing cron job for checking expired legal tags is extended to check about to expire legal tags regarding declared period to expire.
- Existing legal SNS topic with new item is used.
- Changes are hidden behind the feature flag
New SNS topic item:
{
"aboutToExpireLegalTags": [
{
"dataPartitionId":"osdu",
"tagName":"osdu-public-usa-dataset-osduonaws-test-about-to-expire",
"expirationDate":"Mar 15, 2024"
}
]
}
Info in logs about catching about to expire legal tag:
Edited by Konrad Krasnodebski