Skip to content

Commit ac5a6c0

Browse files
author
serverpod_cloud
committed
feat: 0a07c2fa0e46b715bfc5b8998a3c1b2cfd3a4cbd
1 parent 1b6a9f2 commit ac5a6c0

1 file changed

Lines changed: 18 additions & 26 deletions

File tree

ground_control_client/lib/src/test_tools/builders/plan_info_builder.dart

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ List<ProjectProductInfo> standardPlanTwoBundledProjectProfiles() {
4040
}
4141

4242
List<ProjectProductInfo> _standardPlanBundledProjectProducts() {
43-
final computeSmall = ComputeProductInfo(
44-
size: ComputeSizeOption.small,
45-
productId: 'compute-growth:0',
46-
name: 'Compute',
47-
description: 'Compute for growth',
48-
);
49-
5043
final computeMedium = ComputeProductInfo(
5144
size: ComputeSizeOption.medium,
5245
productId: 'compute-growth:0',
@@ -59,15 +52,19 @@ List<ProjectProductInfo> _standardPlanBundledProjectProducts() {
5952
name: 'Compute',
6053
description: 'Compute for growth',
6154
);
62-
63-
final databaseSmall = DatabaseProductInfo(
64-
size: DatabaseSizeOption.small,
65-
productId: 'database-growth:0',
66-
name: 'Database',
67-
description: 'Database for growth',
68-
cuHoursPerMonthLimit: 750,
69-
storageLimitGB: 2,
55+
final computeXLarge = ComputeProductInfo(
56+
size: ComputeSizeOption.xlarge,
57+
productId: 'compute-growth:0',
58+
name: 'Compute',
59+
description: 'Compute for growth',
7060
);
61+
final computeXxLarge = ComputeProductInfo(
62+
size: ComputeSizeOption.xxlarge,
63+
productId: 'compute-growth:0',
64+
name: 'Compute',
65+
description: 'Compute for growth',
66+
);
67+
7168
final databaseMedium = DatabaseProductInfo(
7269
size: DatabaseSizeOption.medium,
7370
productId: 'database-growth:0',
@@ -93,23 +90,18 @@ List<ProjectProductInfo> _standardPlanBundledProjectProducts() {
9390
),
9491
);
9592
final computeCatalog = ComputeCatalogInfo(
96-
computes: [computeSmall, computeMedium, computeLarge],
97-
defaultCompute: computeSmall.size,
93+
computes: [computeMedium, computeLarge, computeXLarge, computeXxLarge],
94+
defaultCompute: computeMedium.size,
9895
scaling: ComputeScalingInfo(
99-
defaultMinReplicas: 1,
100-
defaultMaxReplicas: 1,
96+
defaultMinReplicas: 2,
97+
defaultMaxReplicas: 2,
10198
allowedReplicasMin: 1,
10299
allowedReplicasMax: 20,
103100
),
104101
);
105102
final databaseCatalog = DatabaseCatalogInfo(
106-
databases: [
107-
databaseSmall,
108-
databaseMedium,
109-
databaseLarge,
110-
databaseLargePlus,
111-
],
112-
defaultDatabase: databaseSmall.size,
103+
databases: [databaseMedium, databaseLarge, databaseLargePlus],
104+
defaultDatabase: databaseMedium.size,
113105
);
114106
return [
115107
ProjectProductInfo(

0 commit comments

Comments
 (0)