Uses of Class
org.apache.unomi.shell.migration.service.MigrationContext
-
Packages that use MigrationContext Package Description org.apache.unomi.shell.migration org.apache.unomi.shell.migration.impl org.apache.unomi.shell.migration.utils -
-
Uses of MigrationContext in org.apache.unomi.shell.migration
Methods in org.apache.unomi.shell.migration with parameters of type MigrationContext Modifier and Type Method Description void
Migration. execute(MigrationContext migrationContext, org.osgi.framework.BundleContext bundleContext)
Deprecated.do groovy script for implementing new migrations -
Uses of MigrationContext in org.apache.unomi.shell.migration.impl
Methods in org.apache.unomi.shell.migration.impl with parameters of type MigrationContext Modifier and Type Method Description void
MigrationTo121. execute(MigrationContext migrationContext, org.osgi.framework.BundleContext bundleContext)
void
MigrationTo122. execute(MigrationContext migrationContext, org.osgi.framework.BundleContext bundleContext)
void
MigrationTo150. execute(MigrationContext migrationContext, org.osgi.framework.BundleContext bundleContext)
-
Uses of MigrationContext in org.apache.unomi.shell.migration.utils
Methods in org.apache.unomi.shell.migration.utils with parameters of type MigrationContext Modifier and Type Method 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, String migrationUniqueName)
static void
MigrationUtils. waitForTaskToFinish(org.apache.http.impl.client.CloseableHttpClient httpClient, String esAddress, String taskId, 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
-