[jira] [Resolved] (UNOMI-103) Add parameter in context servlet to invalidate session or profile on demand

2017-06-20 Thread Rizak AHMED (JIRA)

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

Rizak AHMED resolved UNOMI-103.
---
Resolution: Fixed

Solved with commit cae1d4a60248d242138f6a85403c2e75655b28b9.

Added two parameters in contextServlet : 

invalidateSession and invalidateProfile.

> Add parameter in context servlet to invalidate session or profile on demand
> ---
>
> Key: UNOMI-103
> URL: https://issues.apache.org/jira/browse/UNOMI-103
> Project: Apache Unomi
>  Issue Type: Improvement
>  Components: core
>Affects Versions: 1.2.0-incubating
>Reporter: Rizak AHMED
> Fix For: 1.2.0-incubating
>
>
> It would be very useful to be able to invalidate profile or session (or both) 
> with a call to the context servlet. As today the profile cookie is handled by 
> Unomi and not removable from client side.



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


[jira] [Created] (UNOMI-103) Add parameter in context servlet to invalidate session or profile on demand

2017-06-20 Thread Rizak AHMED (JIRA)
Rizak AHMED created UNOMI-103:
-

 Summary: Add parameter in context servlet to invalidate session or 
profile on demand
 Key: UNOMI-103
 URL: https://issues.apache.org/jira/browse/UNOMI-103
 Project: Apache Unomi
  Issue Type: Improvement
  Components: core
Affects Versions: 1.2.0-incubating
Reporter: Rizak AHMED
 Fix For: 1.2.0-incubating


It would be very useful to be able to invalidate profile or session (or both) 
with a call to the context servlet. As today the profile cookie is handled by 
Unomi and not removable from client side.



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


incubator-unomi git commit: UNOMI-101 : Java style, improvement of error handler

2017-06-20 Thread amidani
Repository: incubator-unomi
Updated Branches:
  refs/heads/master 6203e9947 -> b55a20b72


UNOMI-101 : Java style, improvement of error handler


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

Branch: refs/heads/master
Commit: b55a20b72e2c389da9a0cbdefd36563bc3258539
Parents: 6203e99
Author: Abdelkader Midani 
Authored: Tue Jun 20 13:41:05 2017 +0200
Committer: Abdelkader Midani 
Committed: Tue Jun 20 13:41:05 2017 +0200

--
 .../core/context/ProfileImportCamelContext.java |  1 -
 .../BadProfileDataFormatException.java  |  2 +-
 .../core/processor/ConfigUpdateProcessor.java   |  2 +-
 .../ImportConfigByFileNameProcessor.java|  2 +-
 .../core/processor/LineSplitFailureHandler.java |  4 +--
 .../core/processor/LineSplitProcessor.java  | 24 +++---
 .../processor/RouteCompletionProcessor.java | 26 ++--
 .../ProfileImportAbstractRouteBuilder.java  |  8 +++---
 .../ProfileImportFromSourceRouteBuilder.java|  3 +--
 .../route/ProfileImportOneShotRouteBuilder.java | 18 +++---
 .../route/ProfileImportToUnomiRouteBuilder.java |  1 -
 11 files changed, 52 insertions(+), 39 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/b55a20b7/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/context/ProfileImportCamelContext.java
--
diff --git 
a/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/context/ProfileImportCamelContext.java
 
b/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/context/ProfileImportCamelContext.java
index f54beb1..9bb50f8 100644
--- 
a/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/context/ProfileImportCamelContext.java
+++ 
b/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/context/ProfileImportCamelContext.java
@@ -36,7 +36,6 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 import java.util.Arrays;
-import java.util.List;
 import java.util.Map;
 import java.util.concurrent.TimeUnit;
 

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/b55a20b7/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/exception/BadProfileDataFormatException.java
--
diff --git 
a/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/exception/BadProfileDataFormatException.java
 
b/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/exception/BadProfileDataFormatException.java
index 6c947ff..50acbe4 100644
--- 
a/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/exception/BadProfileDataFormatException.java
+++ 
b/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/exception/BadProfileDataFormatException.java
@@ -19,7 +19,7 @@ package org.apache.unomi.router.core.exception;
 /**
  * Created by amidani on 13/06/2017.
  */
-public class BadProfileDataFormatException extends Exception{
+public class BadProfileDataFormatException extends Exception {
 
 public BadProfileDataFormatException() {
 super();

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/b55a20b7/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/processor/ConfigUpdateProcessor.java
--
diff --git 
a/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/processor/ConfigUpdateProcessor.java
 
b/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/processor/ConfigUpdateProcessor.java
index e4eaa19..d8e4b9e 100644
--- 
a/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/processor/ConfigUpdateProcessor.java
+++ 
b/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/processor/ConfigUpdateProcessor.java
@@ -25,7 +25,7 @@ import 
org.apache.unomi.router.core.context.ProfileImportCamelContext;
 /**
  * Created by amidani on 10/05/2017.
  */
-public class ConfigUpdateProcessor implements Processor{
+public class ConfigUpdateProcessor implements Processor {
 
 private ProfileImportCamelContext profileImportCamelContext;
 

http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/b55a20b7/extensions/router/router-core/src/main/java/org/apache/unomi/router/core/processor/ImportConfigByFileNameProcessor.java
--
diff --git 

Need Help in Unomi Segmentation Part

2017-06-20 Thread Deepak Malhotra
Hi Unomi Dev Team,

Me and my team is working on unomi and done capturing part now we want to
do segmentation,but we are not able to make it
So,any help from your side on it would be appreciated.

*Thanks and Regards*

*Deepak MalhotraSoftware Developer*
*P K Online Ventures Pvt. Ltd.*


Need help in Unomi Segmentation

2017-06-20 Thread Shiva Kumar
Hi Team,

I am new in this project.I want to know about segmentation flow and how can
we implement or use. Please provide any sample code like as tweet button
sample so that we can use segment feature.

*Thanks & Regards*
*Shiva Kumar*
*Associate - Tech Lead*

*P K Online Ventures Pvt. Ltd.*
*Building No. 128, Ground Floor, Institutional Area,*
*Sector 44, Near Apparel House, Gurugram, Haryana 122001*
*Landmark – FIIT-JEE*
*Near Huda City Metro Station*
*Phone:- +919643700464*