-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support Deadline Cloud Monitor migration away from Studios (#179)
Currently, deadline-cloud uses the studio_id= key in the AWS SDK profile to determine if the profile comes from Deadline Cloud Monitor Desktop. This is used in a few ways 1. This is used in telemetry 2. This is used as an input to ListFarms, as this is part of how the Deadline Cloud API works 3. This is used to know that Deadline Cloud Monitor Desktop is being used so it can be reported in the credential settings and the Login/Logout actions can do the right thing. Going forward Deadline Cloud will use a monitor_id instead. The AWS SDK profile will be unambiguous in what it contains, either a studioId or a monitorId. This change now supports both models. In general we use both and call them 'monitorId' as this is only a temporary situation. One area where we disambiguate these internally is for case 2 above: with monitorId ListFarms() no longer needs this input. This change is only expected to last 4-6 weeks, at which time all code referring to Studio will be removed. Testing: Unit tests pass and some are updated. Some are specifically for this studioId in list_farms so those remain, but others have been changed to reflect monitor. This means the studioId is not as well tested but this is short-lived I have Deadline Cloud Monitor Desktop locally and logged into two setups, one using a Studio and one using a monitor. With both, I tested deadline-cloud list farms and noticed they both worked as expected Signed-off-by: Preston Tamkin <845970+prestomation@users.noreply.github.com>
- Loading branch information
1 parent
7c63a75
commit 800b44d
Showing
9 changed files
with
36 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters