Podling Report Reminder - August 2017

2017-08-01 Thread johndament
Dear podling,

This email was sent by an automated system on behalf of the Apache
Incubator PMC. It is an initial reminder to give you plenty of time to
prepare your quarterly board report.

The board meeting is scheduled for Wed, 16 August 2017, 10:30 am PDT.
The report for your podling will form a part of the Incubator PMC
report. The Incubator PMC requires your report to be submitted 2 weeks
before the board meeting, to allow sufficient time for review and
submission (Wed, August 02).

Please submit your report with sufficient time to allow the Incubator
PMC, and subsequently board members to review and digest. Again, the
very latest you should submit your report is 2 weeks prior to the board
meeting.

Thanks,

The Apache Incubator PMC

Submitting your Report

--

Your report should contain the following:

*   Your project name
*   A brief description of your project, which assumes no knowledge of
the project or necessarily of its field
*   A list of the three most important issues to address in the move
towards graduation.
*   Any issues that the Incubator PMC or ASF Board might wish/need to be
aware of
*   How has the community developed since the last report
*   How has the project developed since the last report.
*   How does the podling rate their own maturity.

This should be appended to the Incubator Wiki page at:

https://wiki.apache.org/incubator/August2017

Note: This is manually populated. You may need to wait a little before
this page is created from a template.

Mentors
---

Mentors should review reports for their project(s) and sign them off on
the Incubator wiki page. Signing off reports shows that you are
following the project - projects that are not signed may raise alarms
for the Incubator PMC.

Incubator PMC


incubator-unomi git commit: UNOMI-102 : Use OpenCsv as an RFC4180 parser

2017-08-01 Thread amidani
Repository: incubator-unomi
Updated Branches:
  refs/heads/master 4ee8adb1c -> bc064864d


UNOMI-102 : Use  OpenCsv as an RFC4180 parser


Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/bc064864
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/bc064864
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/bc064864

Branch: refs/heads/master
Commit: bc064864dce1b2bdf79ed531b9029a504590e7f5
Parents: 4ee8adb
Author: Abdelkader Midani 
Authored: Wed Aug 2 04:31:56 2017 +0200
Committer: Abdelkader Midani 
Committed: Wed Aug 2 04:31:56 2017 +0200

--
 .../org/apache/unomi/router/api/RouterUtils.java |  7 +++
 extensions/router/router-core/pom.xml| 19 +++
 .../core/processor/LineSplitProcessor.java   | 12 ++--
 .../services/ProfileExportServiceImpl.java   | 11 ---
 4 files changed, 44 insertions(+), 5 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/bc064864/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/RouterUtils.java
--
diff --git 
a/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/RouterUtils.java
 
b/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/RouterUtils.java
index b9df06d..4584d76 100644
--- 
a/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/RouterUtils.java
+++ 
b/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/RouterUtils.java
@@ -59,4 +59,11 @@ public class RouterUtils {
 }
 return null;
 }
+
+public static String removeQuotes(String propValue) {
+if(propValue.charAt(0) == '"' && 
propValue.charAt(propValue.length()-1) == '"') {
+return propValue.substring(1, propValue.length()-1);
+}
+return propValue;
+}
 }

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/bc064864/extensions/router/router-core/pom.xml
--
diff --git a/extensions/router/router-core/pom.xml 
b/extensions/router/router-core/pom.xml
index 34550d7..96c1c01 100644
--- a/extensions/router/router-core/pom.xml
+++ b/extensions/router/router-core/pom.xml
@@ -113,6 +113,25 @@
 3.5
 
 
+commons-collections
+commons-collections
+
+
+commons-beanutils
+commons-beanutils
+
+
+commons-logging
+commons-logging
+1.1.1
+provided
+
+
+com.opencsv
+opencsv
+3.10
+
+
 org.apache.servicemix.bundles
 org.apache.servicemix.bundles.jsch
 0.1.54_1

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/bc064864/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/processor/LineSplitProcessor.java
--
diff --git 
a/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/processor/LineSplitProcessor.java
 
b/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/processor/LineSplitProcessor.java
index 9e0fb66..dcd8374 100644
--- 
a/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/processor/LineSplitProcessor.java
+++ 
b/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/processor/LineSplitProcessor.java
@@ -16,6 +16,8 @@
  */
 package org.apache.unomi.router.core.processor;
 
+import com.opencsv.RFC4180Parser;
+import com.opencsv.RFC4180ParserBuilder;
 import org.apache.camel.Exchange;
 import org.apache.camel.Processor;
 import org.apache.camel.component.kafka.KafkaConstants;
@@ -79,7 +81,11 @@ public class LineSplitProcessor implements Processor {
 return;
 }
 
-String[] profileData = ((String) 
exchange.getIn().getBody()).split(columnSeparator, -1);
+RFC4180Parser rfc4180Parser = new RFC4180ParserBuilder()
+.withSeparator(columnSeparator.charAt(0))
+.build();
+
+String[] profileData = rfc4180Parser.parseLine(((String) 
exchange.getIn().getBody()));
 ProfileToImport profileToImport = new ProfileToImport();
 profileToImport.setItemId(UUID.randomUUID().toString());
 profileToImport.setItemType("profile");
@@ -100,11 +106,13 @@ public class LineSplitProcessor implements Processor {
 String multivalueArray = 
profileData[fieldsMapping.get(fieldMappingKey)].trim();
 if 
(StringUtils.isNoneBlank(multiValueDelimiter) && mu

[jira] [Closed] (UNOMI-81) Add entry point to Definitions service to allow tag creation

2017-08-01 Thread Damien GAILLARD (JIRA)

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

Damien GAILLARD closed UNOMI-81.

Resolution: Won't Do

> Add entry point to Definitions service to allow tag creation
> 
>
> Key: UNOMI-81
> URL: https://issues.apache.org/jira/browse/UNOMI-81
> Project: Apache Unomi
>  Issue Type: Improvement
>Affects Versions: 1.2.0-incubating
>Reporter: Damien GAILLARD
>Assignee: Damien GAILLARD
> Fix For: 1.2.0-incubating
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


Tags in Apache Unomi

2017-08-01 Thread Damien GAILLARD
Hi all,

We are planning on refactoring a bit the tags in Apache Unomi and as we are
planning to release 1.2.0 soon we want to deprecate a number of associated
functions so we can remove them in the next release.

As of today, the tags are not easy to extend because they are not persisted
in ES, but in-memory which is a problem in a cluster environment (e.g. if
you add a new tag you need to make sure all clusters know about it and
they will disappear after next restart).
Also, they have a hierarchy so what we would like to do is remove the
hierarchy and remove the in-memory map so the tags will be an open string
list.
Of course, a script executed at the startup will add the parent tag to the
children etc...

If you have any other ideas to change the behaviour of the tags, please
share.

Cheers

-- 
Damien GAILLARD
Software Developer


8 rue du sentier | 75002 | France


jahia.com 
SKYPE | TWITTER  | VCARD


> JAHIA  empowers organizations to create
sophisticated websites that drive their business growth


Podling Report Reminder - August 2017

2017-08-01 Thread johndament
Dear podling,

This email was sent by an automated system on behalf of the Apache
Incubator PMC. It is an initial reminder to give you plenty of time to
prepare your quarterly board report.

The board meeting is scheduled for Wed, 16 August 2017, 10:30 am PDT.
The report for your podling will form a part of the Incubator PMC
report. The Incubator PMC requires your report to be submitted 2 weeks
before the board meeting, to allow sufficient time for review and
submission (Wed, August 02).

Please submit your report with sufficient time to allow the Incubator
PMC, and subsequently board members to review and digest. Again, the
very latest you should submit your report is 2 weeks prior to the board
meeting.

Thanks,

The Apache Incubator PMC

Submitting your Report

--

Your report should contain the following:

*   Your project name
*   A brief description of your project, which assumes no knowledge of
the project or necessarily of its field
*   A list of the three most important issues to address in the move
towards graduation.
*   Any issues that the Incubator PMC or ASF Board might wish/need to be
aware of
*   How has the community developed since the last report
*   How has the project developed since the last report.
*   How does the podling rate their own maturity.

This should be appended to the Incubator Wiki page at:

https://wiki.apache.org/incubator/August2017

Note: This is manually populated. You may need to wait a little before
this page is created from a template.

Mentors
---

Mentors should review reports for their project(s) and sign them off on
the Incubator wiki page. Signing off reports shows that you are
following the project - projects that are not signed may raise alarms
for the Incubator PMC.

Incubator PMC