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/06/14 07:40:00 UTC

[jira] [Assigned] (UNOMI-593) Missing indices migration from 1.4.x to 1.5.x

     [ https://issues.apache.org/jira/browse/UNOMI-593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Griffon reassigned UNOMI-593:
-----------------------------------

    Assignee: David Griffon

> Missing indices migration from 1.4.x to 1.5.x 
> ----------------------------------------------
>
>                 Key: UNOMI-593
>                 URL: https://issues.apache.org/jira/browse/UNOMI-593
>             Project: Apache Unomi
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: David Griffon
>            Assignee: David Griffon
>            Priority: Major
>
> After a migration {{conditionTypes}} and {{actionTypes}} are not migrated properly.
> This happens because the file name of the mapping from {{src/main/resources/META-INF/cxs/mappings}} is use to get the type of object to migrate. 
> Here the inconsistencies:
> |*Mapping (1.5.7)*|*Type (1.4.4)*|*Potential issue*|
> |actiontype.json|actionType|*{color:#FF0000}YES{color}*|
> |campaign.json|campaign| |
> |campaignevent.json|campaignevent| |
> |conditiontype.json|conditionType|{color:#FF0000}*YES*{color}|
> |event.json|event| |
> |exportconfig.json| | |
> |geonameEntry.json|geonameEntry| |
> |goal.json|goal| |
> |importconfig.json| | |
> |patch.json|patch| |
> |persona.json|persona| |
> |personaSession.json|personaSession| |
> |profile.json|profile| |
> |propertyType.json|propertyType| |
> |rule.json|rule| |
> |rulestats.json|rulestats| |
> |scoring.json|scoring| |
> |segment.json|segment| |
> |session.json|session| |
> |userList.json|userList| |
> h2. Potential issues
> If one provides its own conditionType or actionTypes, or if one applied patch on one of those objects, the migration will miss some data. 
> h2. Fix on migrated environment
> Redeploy conditionTypes and actionTypes to recreate the objects.
> For applied patch, remove the patch index, then reapply patch. 
> h2. Fix for next migration
> Rename files to match object types
> actiontype.json => actionType.json
> conditiontype.json => conditionType.json



--
This message was sent by Atlassian Jira
(v8.20.7#820007)