Skip to content

GONRG-2790: fix surrogate key regexp

Type of change

  • Bug Fix
  • Feature

Does this introduce a change in the core logic?

  • [Yes]

Does this introduce a change in the cloud provider implementation, if so which cloud?

  • AWS
  • Azure
  • GCP
  • IBM

Updates description?

These changes fix the issue with Work Product Component with is the result of work in Raster Ingest DAG run. Work Product Component was created with surrogate keys which should be replaced with real IDs in process.

Example of Work Product Component got from Storage API after successful Raster Ingest DAG run:

"data":
{
  ...
          "Datasets": [
            "surrogate-key: dataset1"
        ],
  ...
}

Example of Work Product Component got from Storage API after successful Raster Ingest DAG run with the fix applied:

"data":
{
  ...
          "Datasets": [
            "opendes:dataset--File.Generic:ca9f8e965ee847dfb09635044ca0f16c:"
        ],
  ...
}

Merge request reports

Loading