4 Resources
Pratik Bhattacharya редактировал(а) эту страницу 2021-12-17 00:21:56 +05:30

Flag

A feature flag/toggle

Properties

Property Type Description
name String Name of the feature flag. 1 tenant cannot have 2 flags with the same name.
description String Description of the feature flag.
enabled Boolean Indicates whether the feature flag is enabled for evaluation. A disabled feature flag will always return false during evaluation.
conditions Flag Condition Conditions for evaluating the feature flag

Flag Condition

Contains the conditions for evaluating a feature flag/toggle

Property Type Description
Client_Filters Filter collection List of filters used for evaluating the feature flag. The flag is evaluated as true if any of the filter evaluates to true

Filter

Represents a rule or a condition that needs to be executed for evaluating a feature flag

Property Type Description
Name String Name of the filter. One flag can have many filters of the same name
Parameters FilterSettings Filter settings, contains the condition that needs to be evaluated.

Filter Settings

Represents the rule and other attributes associated with a filter

Property Type Description
Operator String Operator that needs to be performed
Value String Configured value against which the context value will be operated
IsActive String True or False. Determines if this filter is active (associated with Rings)
StageId String Number. ID of the stage or ring
StageName String Display name of the stage or ring
FlightContextKey String Key of property that will used to extract the value from flight context, which will be used to operate against the Value. See this scenario for more details

See the scenarios to get a better understanding of the values