feat(deadline): DocumentDB engine version support upgraded upto v5.0 #1155
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Only documentDB engine version 3.6 was supported before current Deadline release 10.3.1.3. With the MongoDB and DocumentDB version upgrades to 5.0 all versions (3.6, 4.0, 5.0) are supported with Deadline. We need to relax constraints on engine version 3.6 that exist in RFDK
Solution
Upgraded engine version support to all versions prefix with 3.6, 4.0 or 5.0 as per the compatibility now. Updated relevant documentation in the code as well. Removed a Unit Test case testing the engine version constraint to 3.6. Since there are no other versions of DocumentDB available we need not add this test case with a different parameter.
Testing
Deployed the All-In-Infrastructure-SEP stack in my AWS account with default engine version set to 3.6, confirmed it spun up and tore down successfully.
Manually updated the default version of DocDB to 5.0 and deployed the All-In-Infrastructure-SEP stack with the updated engine version to validate it works fine.
Ran the integration tests using my AWS account as well. Validated that they run fine.