mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +02:00
WIP: not sure who resolveMetricsEnvironment will work
This commit is contained in:
parent
1523e2d056
commit
a16efc9260
@ -24,12 +24,6 @@ export const clientApplicationSchema = {
|
||||
'An SDK version identifier. Usually formatted as "unleash-client-<language>:<version>"',
|
||||
example: 'unleash-client-java:7.0.0',
|
||||
},
|
||||
environment: {
|
||||
description: `The SDK's configured 'environment' property. This property was deprecated in v5. This property does **not** control which Unleash environment the SDK gets toggles for. To control Unleash environments, use the SDKs API key.`,
|
||||
deprecated: true,
|
||||
type: 'string',
|
||||
example: 'development',
|
||||
},
|
||||
platformName: {
|
||||
description:
|
||||
'The platform the application is running on. For languages that compile to binaries, this can be omitted',
|
||||
|
@ -14,7 +14,6 @@ test('clientFeatureQuerySchema all fields', () => {
|
||||
tag: [['some-tag', 'some-other-tag']],
|
||||
project: ['default'],
|
||||
namePrefix: 'some-prefix',
|
||||
environment: 'some-env',
|
||||
inlineSegmentConstraints: true,
|
||||
};
|
||||
|
||||
|
@ -33,12 +33,6 @@ export const clientFeaturesQuerySchema = {
|
||||
type: 'string',
|
||||
example: 'payment',
|
||||
},
|
||||
environment: {
|
||||
type: 'string',
|
||||
description:
|
||||
'Strategies for the feature flag configured for this environment are included. This is now handled by API tokens and was marked as deprecated in v5',
|
||||
deprecated: true,
|
||||
},
|
||||
inlineSegmentConstraints: {
|
||||
description:
|
||||
'Set to true if requesting client does not support Unleash-Client-Specification 4.2.2 or newer. Modern SDKs will have this set to false, since they will be able to merge constraints and segments themselves',
|
||||
|
@ -20,13 +20,6 @@ export const clientMetricsSchema = {
|
||||
type: 'string',
|
||||
example: 'application-name-dacb1234',
|
||||
},
|
||||
environment: {
|
||||
description:
|
||||
'Which environment the application is running in. This property was deprecated in v5. This can be determined by the API key calling this endpoint.',
|
||||
type: 'string',
|
||||
example: 'development',
|
||||
deprecated: true,
|
||||
},
|
||||
sdkVersion: {
|
||||
type: 'string',
|
||||
description:
|
||||
|
@ -20,11 +20,6 @@ export const sdkContextSchema = {
|
||||
description:
|
||||
'A DateTime (or similar) data class instance or a string in an RFC3339-compatible format. Defaults to the current time if not set by the user.',
|
||||
},
|
||||
environment: {
|
||||
type: 'string',
|
||||
deprecated: true,
|
||||
description: 'The environment the app is running in.',
|
||||
},
|
||||
properties: {
|
||||
type: 'object',
|
||||
additionalProperties: { type: 'string' },
|
||||
|
Loading…
Reference in New Issue
Block a user