Skip navigation links
A B C D E G H I M N O P Q R S T U V W 

A

activate(ComponentContext) - Method in class org.apache.unomi.shell.migration.service.MigrationServiceImpl
 
askUserWithAuthorizedAnswer(String, List<String>) - Method in class org.apache.unomi.shell.migration.service.MigrationContext
This method allow you to ask a question to the user.
askUserWithDefaultAnswer(String, String) - Method in class org.apache.unomi.shell.migration.service.MigrationContext
This will ask a question to the user and return the default answer if the user does not answer.

B

buildIndexCreationRequest(String, String, MigrationContext, boolean) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 
buildIndexCreationRequestWithRollover(String, String, MigrationContext, String, String) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 
buildRolloverPolicyCreationRequest(String, MigrationContext) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 
bulkUpdate(CloseableHttpClient, String, String) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 

C

cleanAllIndexWithRollover(CloseableHttpClient, BundleContext, String, String, String) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 
cleanHistory() - Method in class org.apache.unomi.shell.migration.service.MigrationContext
Clean history from FileSystem
compareTo(MigrationScript) - Method in class org.apache.unomi.shell.migration.service.MigrationScript
 
CONFIG_ES_ADDRESS - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
CONFIG_ES_ADDRESSES - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
CONFIG_ES_LOGIN - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
CONFIG_ES_PASSWORD - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
CONFIG_ES_SSL_ENABLED - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
CONFIG_TRUST_ALL_CERTIFICATES - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
configProperties - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
continueQueryWithScroll(CloseableHttpClient, String, String) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 

D

deleteIndex(CloseableHttpClient, String, String) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 

E

equals(Object) - Method in class org.apache.unomi.shell.migration.service.MigrationScript
 
execute() - Method in class org.apache.unomi.shell.actions.Start
 
execute() - Method in class org.apache.unomi.shell.actions.Stop
 
execute() - Method in class org.apache.unomi.shell.actions.Version
 
execute() - Method in class org.apache.unomi.shell.migration.actions.Migrate
 
execute(MigrationContext, BundleContext) - Method in class org.apache.unomi.shell.migration.impl.MigrationTo121
 
execute(MigrationContext, BundleContext) - Method in class org.apache.unomi.shell.migration.impl.MigrationTo122
 
execute(MigrationContext, BundleContext) - Method in class org.apache.unomi.shell.migration.impl.MigrationTo150
 
execute(MigrationContext, BundleContext) - Method in interface org.apache.unomi.shell.migration.Migration
Deprecated.
do groovy script for implementing new migrations
execute() - Method in interface org.apache.unomi.shell.migration.service.MigrationContext.MigrationStep
Do you migration a safe and unitary way, so that in case this step fail it can be re-executed safely
execute(String) - Method in interface org.apache.unomi.shell.migration.utils.MigrationUtils.ScrollCallback
 
executeDeleteRequest(CloseableHttpClient, String, Map<String, String>) - Static method in class org.apache.unomi.shell.migration.utils.HttpUtils
 
executeGetRequest(CloseableHttpClient, String, Map<String, String>) - Static method in class org.apache.unomi.shell.migration.utils.HttpUtils
 
executeHeadRequest(CloseableHttpClient, String, Map<String, String>) - Static method in class org.apache.unomi.shell.migration.utils.HttpUtils
 
executePostRequest(CloseableHttpClient, String, String, Map<String, String>) - Static method in class org.apache.unomi.shell.migration.utils.HttpUtils
 
executePutRequest(CloseableHttpClient, String, String, Map<String, String>) - Static method in class org.apache.unomi.shell.migration.utils.HttpUtils
 
extractMappingFromBundles(BundleContext, String) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 

G

getBundle() - Method in class org.apache.unomi.shell.migration.service.MigrationScript
 
getCode() - Method in exception org.apache.unomi.shell.migration.utils.HttpRequestException
 
getCompiledScript() - Method in class org.apache.unomi.shell.migration.service.MigrationScript
 
getConfig() - Method in class org.apache.unomi.shell.migration.service.MigrationConfig
 
getConfigBoolean(String) - Method in class org.apache.unomi.shell.migration.service.MigrationContext
Get config for property name, in case the property doesn't exist on file system config file Best effort will be made to prompt question in karaf shell to get the needed information
getConfigString(String) - Method in class org.apache.unomi.shell.migration.service.MigrationContext
Get config for property name, in case the property doesn't exist on file system config file Best effort will be made to prompt question in karaf shell to get the needed information
getDefaultValue() - Method in class org.apache.unomi.shell.migration.service.MigrationConfigProperty
 
getDescription() - Method in class org.apache.unomi.shell.migration.service.MigrationConfigProperty
 
getFileWithoutComments(BundleContext, String) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 
getHttpClient() - Method in class org.apache.unomi.shell.migration.service.MigrationContext
This HTTP client is configured to be used for ElasticSearch requests to be able to perform migrations requests.
getIndexesPrefixedBy(CloseableHttpClient, String, String) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 
getName() - Method in class org.apache.unomi.shell.migration.service.MigrationScript
 
getPriority() - Method in class org.apache.unomi.shell.migration.service.MigrationScript
 
getScript() - Method in class org.apache.unomi.shell.migration.service.MigrationScript
 
getVersion() - Method in class org.apache.unomi.shell.migration.service.MigrationScript
 

H

hashCode() - Method in class org.apache.unomi.shell.migration.service.MigrationScript
 
HttpRequestException - Exception in org.apache.unomi.shell.migration.utils
 
HttpRequestException(String, int) - Constructor for exception org.apache.unomi.shell.migration.utils.HttpRequestException
 
HttpUtils - Class in org.apache.unomi.shell.migration.utils
 
HttpUtils() - Constructor for class org.apache.unomi.shell.migration.utils.HttpUtils
 

I

INDEX_DATE_PREFIX - Static variable in class org.apache.unomi.shell.migration.impl.MigrationTo150
 
INDEX_PREFIX - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
indexExists(CloseableHttpClient, String, String) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 
init(ComponentContext) - Method in class org.apache.unomi.shell.services.internal.UnomiManagementServiceImpl
 
initHttpClient(boolean, CredentialsProvider) - Static method in class org.apache.unomi.shell.migration.utils.HttpUtils
 
initReversedBundleSymbolicNames() - Method in class org.apache.unomi.shell.services.internal.UnomiManagementServiceImpl
 

M

MAX_DOC_VALUE_FIELDS_SEARCH - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
Migrate - Class in org.apache.unomi.shell.migration.actions
 
Migrate() - Constructor for class org.apache.unomi.shell.migration.actions.Migrate
 
migrateUnomi(String, boolean, Session) - Method in interface org.apache.unomi.shell.migration.MigrationService
This will Migrate your data in ES to be compliant with current Unomi version.
migrateUnomi(String, boolean, Session) - Method in class org.apache.unomi.shell.migration.service.MigrationServiceImpl
 
Migration - Interface in org.apache.unomi.shell.migration
Deprecated.
use groovy script for implementing new migrations
MIGRATION_FS_ROOT_FOLDER - Static variable in class org.apache.unomi.shell.migration.service.MigrationServiceImpl
 
MIGRATION_FS_SCRIPTS_FOLDER - Static variable in class org.apache.unomi.shell.migration.service.MigrationServiceImpl
 
MIGRATION_HISTORY_RECOVER - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
MigrationConfig - Class in org.apache.unomi.shell.migration.service
Service uses to provide configuration information for the migration
MigrationConfig() - Constructor for class org.apache.unomi.shell.migration.service.MigrationConfig
 
MigrationConfigProperty - Class in org.apache.unomi.shell.migration.service
Just a bean for a configuration property to be used during migration process
MigrationConfigProperty(String, String) - Constructor for class org.apache.unomi.shell.migration.service.MigrationConfigProperty
 
MigrationContext - Class in org.apache.unomi.shell.migration.service
This class is instantiated for each migration process, it contains useful methods to handle the current migration lifecycle.
MigrationContext(Session, MigrationConfig) - Constructor for class org.apache.unomi.shell.migration.service.MigrationContext
 
MigrationContext.MigrationStep - Interface in org.apache.unomi.shell.migration.service
A simple migration step to be performed
MigrationException - Exception in org.apache.unomi.shell.migration
Simple exception to handle errors in migration
MigrationException(String) - Constructor for exception org.apache.unomi.shell.migration.MigrationException
 
MigrationScript - Class in org.apache.unomi.shell.migration.service
Java bean representing a migration script, current implementation support groovy script as migration script following file name pattern need to be respected: migrate-VERSION-PRIORITY-NAME.groovy example: migrate-2.0.0-01-segmentReindex.groovy
MigrationScript(URL, Bundle) - Constructor for class org.apache.unomi.shell.migration.service.MigrationScript
 
MigrationService - Interface in org.apache.unomi.shell.migration
Simple OSGI service used for migrating Unomi data
MigrationServiceImpl - Class in org.apache.unomi.shell.migration.service
 
MigrationServiceImpl() - Constructor for class org.apache.unomi.shell.migration.service.MigrationServiceImpl
 
MigrationTo121 - Class in org.apache.unomi.shell.migration.impl
 
MigrationTo121() - Constructor for class org.apache.unomi.shell.migration.impl.MigrationTo121
 
MigrationTo122 - Class in org.apache.unomi.shell.migration.impl
 
MigrationTo122() - Constructor for class org.apache.unomi.shell.migration.impl.MigrationTo122
 
MigrationTo150 - Class in org.apache.unomi.shell.migration.impl
 
MigrationTo150() - Constructor for class org.apache.unomi.shell.migration.impl.MigrationTo150
 
MigrationUtils - Class in org.apache.unomi.shell.migration.utils
 
MigrationUtils() - Constructor for class org.apache.unomi.shell.migration.utils.MigrationUtils
 
MigrationUtils.ScrollCallback - Interface in org.apache.unomi.shell.migration.utils
 
modified(Map<String, String>) - Method in class org.apache.unomi.shell.migration.service.MigrationConfig
 
MONTHLY_MAX_DOC_VALUE_FIELDS_SEARCH - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
MONTHLY_NUMBER_OF_REPLICAS - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
MONTHLY_NUMBER_OF_SHARDS - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
MONTHLY_TOTAL_FIELDS_LIMIT - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
moveToIndex(CloseableHttpClient, BundleContext, String, String, String, String) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 

N

NUMBER_OF_REPLICAS - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
NUMBER_OF_SHARDS - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 

O

org.apache.unomi.shell.actions - package org.apache.unomi.shell.actions
 
org.apache.unomi.shell.migration - package org.apache.unomi.shell.migration
 
org.apache.unomi.shell.migration.actions - package org.apache.unomi.shell.migration.actions
 
org.apache.unomi.shell.migration.impl - package org.apache.unomi.shell.migration.impl
 
org.apache.unomi.shell.migration.service - package org.apache.unomi.shell.migration.service
 
org.apache.unomi.shell.migration.utils - package org.apache.unomi.shell.migration.utils
 
org.apache.unomi.shell.services - package org.apache.unomi.shell.services
 
org.apache.unomi.shell.services.internal - package org.apache.unomi.shell.services.internal
 

P

performMigrationStep(String, MigrationContext.MigrationStep) - Method in class org.apache.unomi.shell.migration.service.MigrationContext
this method allow for migration step execution: - in case the history already contains the given stepKey as COMPLETED, then the step won't be executed - in case the history doesn't contain the given stepKey, then the step will be executed Also this method is keeping track of the history by persisting it on the FileSystem.
printException(String, Throwable) - Method in class org.apache.unomi.shell.migration.service.MigrationContext
Print an exception along with a message in the console.
printException(String) - Method in class org.apache.unomi.shell.migration.service.MigrationContext
Same as above without stacktrace
printMessage(String) - Method in class org.apache.unomi.shell.migration.service.MigrationContext
Print a message in the console.
promptMessageToUser(String) - Method in class org.apache.unomi.shell.migration.service.MigrationContext
This method allow you to prompt a message to the user.

Q

queryWithScroll(CloseableHttpClient, String) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 

R

reIndex(CloseableHttpClient, BundleContext, String, String, String, String, MigrationContext) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 
resourceAsString(BundleContext, String) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 
ROLLOVER_MAX_AGE - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
ROLLOVER_MAX_DOCS - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
ROLLOVER_MAX_SIZE - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 

S

scrollQuery(CloseableHttpClient, String, String, String, String, MigrationUtils.ScrollCallback) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
 
setCompiledScript(Script) - Method in class org.apache.unomi.shell.migration.service.MigrationScript
 
setHttpClient(CloseableHttpClient) - Method in class org.apache.unomi.shell.migration.service.MigrationContext
 
setMigrationConfig(MigrationConfig) - Method in class org.apache.unomi.shell.migration.service.MigrationServiceImpl
 
Start - Class in org.apache.unomi.shell.actions
 
Start() - Constructor for class org.apache.unomi.shell.actions.Start
 
startUnomi() - Method in class org.apache.unomi.shell.services.internal.UnomiManagementServiceImpl
 
startUnomi() - Method in interface org.apache.unomi.shell.services.UnomiManagementService
This method will start Apache Unomi
Stop - Class in org.apache.unomi.shell.actions
 
Stop() - Constructor for class org.apache.unomi.shell.actions.Stop
 
stopUnomi() - Method in class org.apache.unomi.shell.services.internal.UnomiManagementServiceImpl
 
stopUnomi() - Method in interface org.apache.unomi.shell.services.UnomiManagementService
This method will stop Apache Unomi

T

toString() - Method in class org.apache.unomi.shell.migration.service.MigrationScript
 
TOTAL_FIELDS_LIMIT - Static variable in class org.apache.unomi.shell.migration.service.MigrationConfig
 
tryRecoverFromHistory() - Method in class org.apache.unomi.shell.migration.service.MigrationContext
Try to recover from a previous run I case we found an existing history we will ask if we want to recover or if we want to restart from the beginning (it is also configurable using the conf: recoverFromHistory)

U

UnomiManagementService - Interface in org.apache.unomi.shell.services
This service provide method to manage unomi
UnomiManagementServiceImpl - Class in org.apache.unomi.shell.services.internal
 
UnomiManagementServiceImpl() - Constructor for class org.apache.unomi.shell.services.internal.UnomiManagementServiceImpl
 

V

Version - Class in org.apache.unomi.shell.actions
 
Version() - Constructor for class org.apache.unomi.shell.actions.Version
 

W

waitForYellowStatus(CloseableHttpClient, String, MigrationContext) - Static method in class org.apache.unomi.shell.migration.utils.MigrationUtils
Utility method that waits for the ES cluster to be in yellow status
A B C D E G H I M N O P Q R S T U V W 
Skip navigation links

Copyright © 2014–2023 Apache Software Foundation. All rights reserved.