Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Upcoming Features
---

Feature flag for ACLP Integration ([#12026](https://github.com/linode/manager/pull/12026))
3 changes: 2 additions & 1 deletion packages/manager/src/dev-tools/FeatureFlagTool.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useFlags } from 'src/hooks/useFlags';
import { setMockFeatureFlags } from 'src/store/mockFeatureFlags';
import { getStorage, setStorage } from 'src/utilities/storage';

import type { FlagSet, Flags } from 'src/featureFlags';
import type { Flags, FlagSet } from 'src/featureFlags';
import type { Dispatch } from 'src/hooks/types';

const MOCK_FEATURE_FLAGS_STORAGE_KEY = 'devTools/mock-feature-flags';
Expand All @@ -21,6 +21,7 @@ const MOCK_FEATURE_FLAGS_STORAGE_KEY = 'devTools/mock-feature-flags';
const options: { flag: keyof Flags; label: string }[] = [
{ flag: 'aclp', label: 'CloudPulse' },
{ flag: 'aclpAlerting', label: 'CloudPulse Alerting' },
{ flag: 'aclpIntegration', label: 'ACLP Integration' },
{ flag: 'apl', label: 'Akamai App Platform' },
{ flag: 'blockStorageEncryption', label: 'Block Storage Encryption (BSE)' },
{ flag: 'disableLargestGbPlans', label: 'Disable Largest GB Plans' },
Expand Down
15 changes: 8 additions & 7 deletions packages/manager/src/featureFlags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,13 @@ interface LimitsEvolution {
export interface Flags {
acceleratedPlans: AcceleratedPlansFlag;
aclp: AclpFlag;
aclpAlertServiceTypeConfig: AclpAlertServiceTypeConfig[];
aclpAlerting: AclpAlerting;
aclpAlertServiceTypeConfig: AclpAlertServiceTypeConfig[];
aclpIntegration: boolean;
aclpReadEndpoint: string;
aclpResourceTypeMap: CloudPulseResourceTypeMapFlag[];
apiMaintenance: APIMaintenance;
apicliButtonCopy: string;
apiMaintenance: APIMaintenance;
apl: boolean;
blockStorageEncryption: boolean;
cloudManagerDesignUpdatesBanner: DesignUpdatesBannerFlag;
Expand All @@ -136,8 +137,8 @@ export interface Flags {
marketplaceAppOverrides: MarketplaceAppOverride[];
metadata: boolean;
nodebalancerVpc: boolean;
objMultiCluster: boolean;
objectStorageGen2: BaseFeatureFlag;
objMultiCluster: boolean;
productInformationBanners: ProductInformationBannerFlag[];
promos: boolean;
promotionalOffers: PromotionalOffer[];
Expand All @@ -148,8 +149,8 @@ export interface Flags {
supportTicketSeverity: boolean;
taxBanner: TaxBanner;
taxCollectionBanner: TaxCollectionBanner;
taxId: BaseFeatureFlag;
taxes: Taxes;
taxId: BaseFeatureFlag;
tpaProviders: Provider[];
udp: boolean;
vmHostMaintenance: BetaFeatureFlag;
Expand All @@ -164,7 +165,7 @@ interface MarketplaceAppOverride {
*
* Pass `null` to hide the marketplace app
*/
details: Partial<OCA> | null;
details: null | Partial<OCA>;
/**
* The ID of the StackScript that powers this Marketplace app
*/
Expand Down Expand Up @@ -255,8 +256,8 @@ export type ProductInformationBannerLocation =
| 'Object Storage'
| 'Placement Groups'
| 'StackScripts'
| 'VPC'
| 'Volumes';
| 'Volumes'
| 'VPC';

interface ProductInformationBannerDecoration {
important: 'false' | 'true' | boolean;
Expand Down