Skip to content

Use run.properties before downloadRepository for getDownloadTypeStatuses#103

Merged
patrick-austin merged 2 commits intomasterfrom
handle_missing_mechanisms
Nov 10, 2025
Merged

Use run.properties before downloadRepository for getDownloadTypeStatuses#103
patrick-austin merged 2 commits intomasterfrom
handle_missing_mechanisms

Conversation

@patrick-austin
Copy link

As identified by @louise-davies , it is possible to have a transport mechanism without an entry in the downloadRepository, in which case it is assumed to be enabled with no message defined. In the current implementation, we were getting the list of types to iterate over from the repository, and so missed of any types which were defined in the config but weren't present in the DB.

Instead, use the mappings built from run.properties to iterate over and use defaults for those not defined in the DB.

Modified an existing test to leave out persisting one of the types to test this.

@patrick-austin patrick-austin merged commit 56f22e0 into master Nov 10, 2025
2 checks passed
@patrick-austin patrick-austin deleted the handle_missing_mechanisms branch November 10, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants