From 213605d2862c524a2b32718286d28e9a8203596a Mon Sep 17 00:00:00 2001 From: David Leong <116610336+leongdl@users.noreply.github.com> Date: Tue, 21 Nov 2023 16:28:58 -0800 Subject: [PATCH] fix(deadline); add usage-based licensing ports for new Cinema4d versions. (#1142) --- packages/aws-rfdk/lib/deadline/lib/usage-based-licensing.ts | 2 +- .../aws-rfdk/lib/deadline/test/usage-based-licensing.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/aws-rfdk/lib/deadline/lib/usage-based-licensing.ts b/packages/aws-rfdk/lib/deadline/lib/usage-based-licensing.ts index fe82cc721..69a6631a8 100644 --- a/packages/aws-rfdk/lib/deadline/lib/usage-based-licensing.ts +++ b/packages/aws-rfdk/lib/deadline/lib/usage-based-licensing.ts @@ -131,7 +131,7 @@ export class UsageBasedLicense { public static forCinema4D(limit?: number): UsageBasedLicense { return new UsageBasedLicense({ licenseName: 'cinema4d', - ports: [Port.tcp(5057), Port.tcp(7057)], + ports: [Port.tcp(5057), Port.tcp(5058), Port.tcp(7057), Port.tcp(7058)], limit, }); } diff --git a/packages/aws-rfdk/lib/deadline/test/usage-based-licensing.test.ts b/packages/aws-rfdk/lib/deadline/test/usage-based-licensing.test.ts index cbbf2b8b0..e818b8a32 100644 --- a/packages/aws-rfdk/lib/deadline/test/usage-based-licensing.test.ts +++ b/packages/aws-rfdk/lib/deadline/test/usage-based-licensing.test.ts @@ -569,7 +569,7 @@ describe('UsageBasedLicensing', () => { test.each([ ['3dsMax', UsageBasedLicense.for3dsMax(10), [27002]], ['Arnold', UsageBasedLicense.forArnold(10), [5056, 7056]], - ['Cinema4D', UsageBasedLicense.forCinema4D(10), [5057, 7057]], + ['Cinema4D', UsageBasedLicense.forCinema4D(10), [5057, 5058, 7057, 7058]], ['Clarisse', UsageBasedLicense.forClarisse(10), [40500]], ['Houdini', UsageBasedLicense.forHoudini(10), [1715]], ['Katana', UsageBasedLicense.forKatana(10), [4151, 6101]],