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

[Feature] [EDT-1091] Connector instance per image variable #347

Merged

Conversation

Dvergar
Copy link
Contributor

@Dvergar Dvergar commented Sep 10, 2023

Related ticket: https://chilipublishintranet.atlassian.net/browse/EDT-1091


New behavior uses a ConnectorRegistration object instead of a connectorId.

Every setImageVariableConnector, will now unregister the old linked connector if it exists and registers a new one.
Connectors, when linked to a variable, are now scoped to this very variable: connector options are variable specific.

More undo methods have been added because this was needed for the ticket but connectors register&unregister not being supported (yet) w/ undo&redo: I skipped it for now but still left those already implemented calls.

* [Feature] Updated doc for getById

* [Feature] One connector instance per image var

* [Feature] Added ConnectorInstance.source

* [Feature] Registering before Unregistering connector

* [Feature] Test for new call order

* [Feature] Hardcoded grafxMediaConnectorRegistration

* [Feature] Logic is moved on engine-side

* [Feature] Fix json registration
@github-actions
Copy link
Contributor

Coverage report can be checked at https://chili-dev.azureedge.net/sdk/coverage/347/coverage.html

@github-actions
Copy link
Contributor

github-actions bot commented Sep 10, 2023

Unit Test Results

    1 files    31 suites   30s ⏱️
275 tests 275 ✔️ 0 💤 0
276 runs  276 ✔️ 0 💤 0

Results for commit 3d94e66.

♻️ This comment has been updated with latest results.

@Dvergar Dvergar marked this pull request as ready for review September 10, 2023 15:44
@Dvergar Dvergar requested a review from Matthiee September 10, 2023 16:57
@Dvergar Dvergar self-assigned this Sep 10, 2023
@Dvergar Dvergar merged commit 6633157 into main Sep 12, 2023
@Dvergar Dvergar deleted the feature/EDT-1091-connector-instance-per-image-variable-2 branch September 12, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants