You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "David Griffon (Jira)" <ji...@apache.org> on 2022/07/30 08:39:00 UTC

[jira] [Commented] (UNOMI-583) Credentials are not considered on migration

    [ https://issues.apache.org/jira/browse/UNOMI-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17573228#comment-17573228 ] 

David Griffon commented on UNOMI-583:
-------------------------------------

h2. New credentials for ES Migration have been added
{code}
esLogin
esPassword
{code}
Are now available in the migration config file [org.apache.unomi.migration.cfg|https://github.com/apache/unomi/blob/e27861638d642b3dba13a014ee6d27954f217962/tools/shell-commands/src/main/resources/org.apache.unomi.migration.cfg]
This allows to set credentials to the ES server that contains data to migrate.

h2. Known restrictions
The credentials are set on the http client that is injected into migration scripts,  as the migration from 1.2 to 1.5 that requires two ES they must share the same credentials to work (same login / password).

> Credentials are not considered on migration
> -------------------------------------------
>
>                 Key: UNOMI-583
>                 URL: https://issues.apache.org/jira/browse/UNOMI-583
>             Project: Apache Unomi
>          Issue Type: Bug
>            Reporter: Jonathan Sinovassin
>            Assignee: David Griffon
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When doing the migration using the command unomi:migrate, the properties for the connection to elasticsearch set in the file org.apache.unomi.persistence.elasticsearch.cfg are not used.
> We should update the client to use the properties username and password set in this file.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)