Open jordanpadams opened 2 years ago
In terms of checking the validity of the URL, it might be a reasonable step to check the validity of the base URL in the configuration file. That will, at least, avoid universal typos. The assumption of paths aligning from the base URL down should then be pretty reliable.
@acraugh 👍 sounds good. we will add that
💪 Motivation
...so that I can more easily adapt my config to work for file paths.
📖 Additional Details
If your file path replacement does not work, it goes straight into the registry as a file path. We should catch this and immediately throw an ERROR and not ingest in the products. URLs must be required for all products ingested. We do not necessarily need to check the validity of the URL (we may need a tool to do this separately), but there should at least be an
https:
in the output URLs.⚖️ Acceptance Criteria
Given When I perform Then I expect
⚙️ Engineering Details