| Package | Description |
|---|---|
| org.apache.unomi.shell.migration | |
| org.apache.unomi.shell.migration.impl | |
| org.apache.unomi.shell.migration.utils |
| Modifier and Type | Method and Description |
|---|---|
void |
Migration.execute(MigrationContext migrationContext,
org.osgi.framework.BundleContext bundleContext)
Deprecated.
do groovy script for implementing new migrations
|
| Modifier and Type | Method and Description |
|---|---|
void |
MigrationTo122.execute(MigrationContext migrationContext,
org.osgi.framework.BundleContext bundleContext) |
void |
MigrationTo150.execute(MigrationContext migrationContext,
org.osgi.framework.BundleContext bundleContext) |
void |
MigrationTo121.execute(MigrationContext migrationContext,
org.osgi.framework.BundleContext bundleContext) |
| Modifier and Type | Method and Description |
|---|---|
static String |
MigrationUtils.buildIndexCreationRequest(String baseIndexSettings,
String mapping,
MigrationContext context,
boolean isMonthlyIndex) |
static String |
MigrationUtils.buildIndexCreationRequestWithRollover(String baseIndexSettings,
String mapping,
MigrationContext context,
String lifeCycleName,
String rolloverAlias) |
static String |
MigrationUtils.buildRolloverPolicyCreationRequest(String baseRequest,
MigrationContext migrationContext) |
static void |
MigrationUtils.reIndex(org.apache.http.impl.client.CloseableHttpClient httpClient,
org.osgi.framework.BundleContext bundleContext,
String esAddress,
String indexName,
String newIndexSettings,
String painlessScript,
MigrationContext migrationContext) |
static void |
MigrationUtils.waitForYellowStatus(org.apache.http.impl.client.CloseableHttpClient httpClient,
String esAddress,
MigrationContext migrationContext)
Utility method that waits for the ES cluster to be in yellow status
|
Copyright © 2014–2023 Apache Software Foundation. All rights reserved.