From 966f11fd5cc589dc61ecfbfa174880c605a34973 Mon Sep 17 00:00:00 2001
From: Raj Kamal Singh <1133322+raj-k-singh@users.noreply.github.com>
Date: Fri, 14 Feb 2025 18:49:52 +0530
Subject: [PATCH] chore: enable AWS integrations for all (#7111)
* chore: enable AWS integrations for all
* chore: don't show either of configure/enable for a service when not in ctx of a cloud account
* chore: remove AWS integration feature flag
---
ee/query-service/model/plans.go | 21 ------------
frontend/src/constants/features.ts | 1 -
.../ServicesSection/ServiceDetails.tsx | 33 ++++++++++---------
.../pages/Integrations/IntegrationsList.tsx | 14 ++------
pkg/query-service/model/featureSet.go | 1 -
5 files changed, 19 insertions(+), 51 deletions(-)
diff --git a/ee/query-service/model/plans.go b/ee/query-service/model/plans.go
index 9579a700ad..6dbfa8ba56 100644
--- a/ee/query-service/model/plans.go
+++ b/ee/query-service/model/plans.go
@@ -157,13 +157,6 @@ var BasicPlan = basemodel.FeatureSet{
UsageLimit: -1,
Route: "",
},
- basemodel.Feature{
- Name: basemodel.AWSIntegration,
- Active: false,
- Usage: 0,
- UsageLimit: -1,
- Route: "",
- },
}
var ProPlan = basemodel.FeatureSet{
@@ -286,13 +279,6 @@ var ProPlan = basemodel.FeatureSet{
UsageLimit: -1,
Route: "",
},
- basemodel.Feature{
- Name: basemodel.AWSIntegration,
- Active: false,
- Usage: 0,
- UsageLimit: -1,
- Route: "",
- },
}
var EnterprisePlan = basemodel.FeatureSet{
@@ -429,11 +415,4 @@ var EnterprisePlan = basemodel.FeatureSet{
UsageLimit: -1,
Route: "",
},
- basemodel.Feature{
- Name: basemodel.AWSIntegration,
- Active: false,
- Usage: 0,
- UsageLimit: -1,
- Route: "",
- },
}
diff --git a/frontend/src/constants/features.ts b/frontend/src/constants/features.ts
index a2e4ac54fe..9a2550ec0b 100644
--- a/frontend/src/constants/features.ts
+++ b/frontend/src/constants/features.ts
@@ -23,5 +23,4 @@ export enum FeatureKeys {
PREMIUM_SUPPORT = 'PREMIUM_SUPPORT',
QUERY_BUILDER_SEARCH_V2 = 'QUERY_BUILDER_SEARCH_V2',
ANOMALY_DETECTION = 'ANOMALY_DETECTION',
- AWS_INTEGRATION = 'AWS_INTEGRATION',
}
diff --git a/frontend/src/container/CloudIntegrationPage/ServicesSection/ServiceDetails.tsx b/frontend/src/container/CloudIntegrationPage/ServicesSection/ServiceDetails.tsx
index 392854bd09..0eb547fbc5 100644
--- a/frontend/src/container/CloudIntegrationPage/ServicesSection/ServiceDetails.tsx
+++ b/frontend/src/container/CloudIntegrationPage/ServicesSection/ServiceDetails.tsx
@@ -115,22 +115,23 @@ function ServiceDetails(): JSX.Element | null {