Elasticsearch: Add feature toggle for backend migration (#58585)

* Elasticsearch: Add feature toggle for backend migration

* Update
This commit is contained in:
Ivana Huckova 2022-11-10 16:35:15 +01:00 committed by GitHub
parent 45facbba11
commit 261d620f1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 0 deletions

View File

@ -80,4 +80,5 @@ export interface FeatureToggles {
datasourceLogger?: boolean;
accessControlOnCall?: boolean;
nestedFolders?: boolean;
elasticsearchBackendMigration?: boolean;
}

View File

@ -357,5 +357,10 @@ var (
State: FeatureStateAlpha,
RequiresDevMode: true,
},
{
Name: "elasticsearchBackendMigration",
Description: "Use Elasticsearch as backend data source",
State: FeatureStateAlpha,
},
}
)

View File

@ -262,4 +262,8 @@ const (
// FlagNestedFolders
// Enable folder nesting
FlagNestedFolders = "nestedFolders"
// FlagElasticsearchBackendMigration
// Use Elasticsearch as backend data source
FlagElasticsearchBackendMigration = "elasticsearchBackendMigration"
)