mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-13 13:48:59 +02:00
feat: feature flag for webhook logging domain of url
This commit is contained in:
parent
48423fa980
commit
eeddadba04
@ -154,6 +154,7 @@ exports[`should create default config 1`] = `
|
|||||||
"useProjectReadModel": false,
|
"useProjectReadModel": false,
|
||||||
"userAccessUIEnabled": false,
|
"userAccessUIEnabled": false,
|
||||||
"webhookServiceNameLogging": false,
|
"webhookServiceNameLogging": false,
|
||||||
|
"webhookUrlDomainLogging": false,
|
||||||
},
|
},
|
||||||
"externalResolver": {
|
"externalResolver": {
|
||||||
"getVariant": [Function],
|
"getVariant": [Function],
|
||||||
|
@ -67,7 +67,8 @@ export type IFlagKey =
|
|||||||
| 'useProjectReadModel'
|
| 'useProjectReadModel'
|
||||||
| 'webhookServiceNameLogging'
|
| 'webhookServiceNameLogging'
|
||||||
| 'addonUsageMetrics'
|
| 'addonUsageMetrics'
|
||||||
| 'timeAgoRefactor';
|
| 'timeAgoRefactor'
|
||||||
|
| 'webhookUrlDomainLogging';
|
||||||
|
|
||||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||||
|
|
||||||
@ -328,6 +329,10 @@ const flags: IFlags = {
|
|||||||
process.env.UNLEASH_TIMEAGO_REFACTOR,
|
process.env.UNLEASH_TIMEAGO_REFACTOR,
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
|
webhookUrlDomainLogging: parseEnvVarBoolean(
|
||||||
|
process.env.UNLEASH_EXPERIMENTAL_WEBHOOK_URL_DOMAIN_LOGGING,
|
||||||
|
false,
|
||||||
|
),
|
||||||
};
|
};
|
||||||
|
|
||||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||||
|
@ -60,6 +60,7 @@ process.nextTick(async () => {
|
|||||||
webhookServiceNameLogging: true,
|
webhookServiceNameLogging: true,
|
||||||
addonUsageMetrics: true,
|
addonUsageMetrics: true,
|
||||||
timeAgoRefactor: true,
|
timeAgoRefactor: true,
|
||||||
|
webhookUrlDomainLogging: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
authentication: {
|
authentication: {
|
||||||
|
Loading…
Reference in New Issue
Block a user