Skip to content

Extend cron to catch about to expire legal tags

Konrad Krasnodebski requested to merge feature/about-to-expire-legal-tags into master

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:

image

Edited by Konrad Krasnodebski

Merge request reports

Loading