Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logic for Orchestrator and Engine to determine if an Asset has a particular deliveryChannel #763

Merged
merged 12 commits into from
Mar 15, 2024

Conversation

JackLewis-digirati
Copy link
Contributor

@JackLewis-digirati JackLewis-digirati commented Mar 14, 2024

Resolves #621 and wdc-40

This PR updates the engine and orchestrator to use ImageDeliveryChannels to determine delivery channels, as opposed to the DeliveryChannels array.

The IngestAsset request has been modified to only require an asset id, instead of the full asset

This pull request also modifies the engineClient in the API to throw an error if a legacy ingest attempt is made, in preparation for removal of this feature.

@JackLewis-digirati JackLewis-digirati marked this pull request as ready for review March 14, 2024 16:04
@JackLewis-digirati JackLewis-digirati requested a review from a team as a code owner March 14, 2024 16:04
Copy link
Member

@donaldgray donaldgray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the AssetIngester suggestion is all that's needed?

Can the PR title be tweaked to appear better in release notes?

@JackLewis-digirati JackLewis-digirati changed the title Feature/determine delivery channel Update logic for Orchestrator and Engine to determine if an Asset has a particular deliveryChannel Mar 14, 2024
src/protagonist/DLCS.Repository/Messaging/EngineClient.cs Outdated Show resolved Hide resolved
src/protagonist/Engine/Ingest/AssetIngester.cs Outdated Show resolved Hide resolved
src/protagonist/Engine/Ingest/AssetIngester.cs Outdated Show resolved Hide resolved
@JackLewis-digirati JackLewis-digirati merged commit 90492d6 into develop Mar 15, 2024
9 checks passed
@JackLewis-digirati JackLewis-digirati deleted the feature/determineDeliveryChannel branch March 15, 2024 16:04
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.

Update logic for Orchestrator and Engine to determine if an Asset has a particular deliveryChannel
2 participants