mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	chore: add integrationEvents feature flag (#7602)
https://linear.app/unleash/issue/2-2434/add-a-new-integrationevents-feature-flag Adds a new `integrationEvents` feature flag.
This commit is contained in:
		
							parent
							
								
									92a9b403e8
								
							
						
					
					
						commit
						4fb5469cb5
					
				| @ -127,6 +127,7 @@ exports[`should create default config 1`] = ` | ||||
|       "flagCreator": false, | ||||
|       "googleAuthEnabled": false, | ||||
|       "insightsV2": false, | ||||
|       "integrationEvents": false, | ||||
|       "killInsightsUI": false, | ||||
|       "killScheduledChangeRequestCache": false, | ||||
|       "maintenanceMode": false, | ||||
|  | ||||
| @ -67,7 +67,8 @@ export type IFlagKey = | ||||
|     | 'cleanApiTokenWhenOrphaned' | ||||
|     | 'allowOrphanedWildcardTokens' | ||||
|     | 'removeUnsafeInlineStyleSrc' | ||||
|     | 'insightsV2'; | ||||
|     | 'insightsV2' | ||||
|     | 'integrationEvents'; | ||||
| 
 | ||||
| export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>; | ||||
| 
 | ||||
| @ -324,6 +325,10 @@ const flags: IFlags = { | ||||
|         process.env.UNLEASH_EXPERIMENTAL_INSIGHTS_V2, | ||||
|         false, | ||||
|     ), | ||||
|     integrationEvents: parseEnvVarBoolean( | ||||
|         process.env.UNLEASH_EXPERIMENTAL_INTEGRATION_EVENTS, | ||||
|         false, | ||||
|     ), | ||||
| }; | ||||
| 
 | ||||
| export const defaultExperimentalOptions: IExperimentalOptions = { | ||||
|  | ||||
| @ -57,6 +57,7 @@ process.nextTick(async () => { | ||||
|                         resourceLimits: true, | ||||
|                         extendedMetrics: true, | ||||
|                         insightsV2: true, | ||||
|                         integrationEvents: true, | ||||
|                     }, | ||||
|                 }, | ||||
|                 authentication: { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user