You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{key: 'provider',label: 'Provider',type: 'select',options: ['generic','launchdarkly'],defaultValue: 'generic',description: 'Feature flag backend provider'},
952
+
{key: 'cache_ttl',label: 'Cache TTL',type: 'string',defaultValue: '1m',description: 'Duration to cache flag evaluations',placeholder: '1m'},
953
+
{key: 'sse_enabled',label: 'SSE Enabled',type: 'boolean',defaultValue: true,description: 'Enable Server-Sent Events for real-time flag change notifications'},
954
+
{key: 'store_path',label: 'Store Path',type: 'string',description: 'Path for the flag definition store (file-based provider)',placeholder: 'data/flags.json'},
955
+
{key: 'launchdarkly_sdk_key',label: 'LaunchDarkly SDK Key',type: 'string',sensitive: true,description: 'LaunchDarkly server-side SDK key (required when provider is launchdarkly)',group: 'LaunchDarkly'},
{key: 'flag',label: 'Flag Key',type: 'string',required: true,description: 'Feature flag key to evaluate',placeholder: 'feature.my-flag'},
967
+
{key: 'user_from',label: 'User From',type: 'string',description: 'Template expression to extract user identifier from context',placeholder: '{{.request.user_id}}'},
968
+
{key: 'group_from',label: 'Group From',type: 'string',description: 'Template expression to extract group identifier from context',placeholder: '{{.request.group}}'},
969
+
{key: 'output_key',label: 'Output Key',type: 'string',defaultValue: 'flag_value',description: 'Key to store the flag value in pipeline context',placeholder: 'flag_value'},
970
+
],
971
+
},
972
+
{
973
+
type: 'step.ff_gate',
974
+
label: 'Feature Flag Gate',
975
+
category: 'pipeline',
976
+
defaultConfig: {},
977
+
configFields: [
978
+
{key: 'flag',label: 'Flag Key',type: 'string',required: true,description: 'Feature flag key to evaluate',placeholder: 'feature.my-flag'},
979
+
{key: 'on_enabled',label: 'On Enabled',type: 'string',description: 'Branch or step to execute when flag is enabled'},
980
+
{key: 'on_disabled',label: 'On Disabled',type: 'string',description: 'Branch or step to execute when flag is disabled'},
981
+
{key: 'user_from',label: 'User From',type: 'string',description: 'Template expression to extract user identifier from context',placeholder: '{{.request.user_id}}'},
982
+
{key: 'group_from',label: 'Group From',type: 'string',description: 'Template expression to extract group identifier from context',placeholder: '{{.request.group}}'},
0 commit comments