You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Kevan Jahanshahi (Jira)" <ji...@apache.org> on 2023/03/31 08:45:00 UTC
[jira] [Resolved] (UNOMI-758) Bunch of fixes and improvements for Profile Export system
[ https://issues.apache.org/jira/browse/UNOMI-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevan Jahanshahi resolved UNOMI-758.
------------------------------------
Resolution: Fixed
> Bunch of fixes and improvements for Profile Export system
> ---------------------------------------------------------
>
> Key: UNOMI-758
> URL: https://issues.apache.org/jira/browse/UNOMI-758
> Project: Apache Unomi
> Issue Type: Bug
> Reporter: David Griffon
> Assignee: David Griffon
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> h2. Issue 1: make the camel route update asynchron to avoid blocking the requests until camel route is killed.
> When a route is updated, we stop all execution of the current route.
> This stop can take time, and can lead to a request timeout.
> The goal of this task is to stop the execution asynchronously.
> h2. Issue 2: provide clear error messages in case something fail during camel route creation/update
> currently we are hiding the Exceptions:
> inside the class {*}org.apache.unomi.router.services.ExportConfigurationServiceImpl.java{*}, there is no stack trace:
> {noformat}
> 2022-10-26T16:15:56,667 | ERROR | qtp824972552-99936 | ExportConfigurationServiceImpl | 183 - org.apache.unomi.router-service - 1.4.4.jahia | Error when trying to save/update running Apache Camel Route: d9fa4556-a967-4410-aa1f-869ad66dbda5 {noformat}
> h2. Issue 3: investigate on truncated CSV export to FTP
> Sometimes we have CSV file that is truncated when exporting to FTP.
> Using endpoint like:
> {code:java}
> ftps://USERNAME@HOST/FOLDER_PATH?password=XXXXXX&fileName=profiles-export-${date:now:yyyyMMddHHmm}.csv&fileExist=Append&passiveMode=true {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)