[jira] [Created] (UNOMI-108) Some configurations should not be distributed in the cluster

2017-06-29 Thread Serge Huber (JIRA)
Serge Huber created UNOMI-108:
-

 Summary: Some configurations should not be distributed in the 
cluster
 Key: UNOMI-108
 URL: https://issues.apache.org/jira/browse/UNOMI-108
 Project: Apache Unomi
  Issue Type: Bug
  Components: core
Affects Versions: 1.2.0-incubating
Reporter: Serge Huber
 Fix For: 1.2.0-incubating


Some Unomi configurations should not be synchronized in the cluster, we can add 
them to the exclusion lists.

Here is the list:

org.apache.unomi.cluster, \
org.apache.unomi.geonames, \
org.apache.unomi.persistence.elasticsearch, 
\
org.apache.unomi.router




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


[jira] [Resolved] (UNOMI-106) Infinite loop on startup

2017-06-29 Thread Serge Huber (JIRA)

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

Serge Huber resolved UNOMI-106.
---
Resolution: Fixed

This was solved by removing the shared cm-property-placeholder persistent-id 
between two bundles.

> Infinite loop on startup
> 
>
> Key: UNOMI-106
> URL: https://issues.apache.org/jira/browse/UNOMI-106
> Project: Apache Unomi
>  Issue Type: Bug
>  Components: core
>Affects Versions: 1.2.0-incubating
>Reporter: Serge Huber
>Priority: Critical
> Fix For: 1.2.0-incubating
>
> Attachments: karaf_unomi_logs.zip, unomi 1_2_0-SNAPSHOT first start 
> stacktrace infinite loop try to restart no debug.txt, unomi log debug 
> level.zip
>
>
> Given I start a freshly compile Unomi 1.2.0-incubating-SNAPSHOT
> Then it should be started
> Instead it run in an infinite loop of stop and start
> first startup without debug mode = infinite loop
> second startup without debug mode = seems ok
> see attached stacktrace at every stop



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


[jira] [Commented] (UNOMI-97) Conditions Spanning Multiple Types

2017-06-29 Thread Damon Henry (JIRA)

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

Damon Henry commented on UNOMI-97:
--

Apologies for the delay ... Yes, this is something I would be willing to commit 
time too. 

> Conditions Spanning Multiple Types
> --
>
> Key: UNOMI-97
> URL: https://issues.apache.org/jira/browse/UNOMI-97
> Project: Apache Unomi
>  Issue Type: Test
>  Components: core
>Affects Versions: 1.2.0-incubating
>Reporter: Damon Henry
>Priority: Minor
> Fix For: 1.2.0-incubating
>
>
> I'm attempting to create boolean conditions that retrieve unique profile 
> counts but I may be interpreting the documentation incorrectly. A contrived 
> example is asking the context server to give me all profiles performing a 
> page view event. The example below provides the expected result when querying 
> the *event* type but return 0 when querying the *profile* type.
> Is there a method to build segments using attributes from profiles, sessions, 
> and events?
> http://localhost/cxs/query/event/count (return expected correct number of 
> events)
> http://localhost/cxs/query/profile/count (returns zero; should this return 
> unique profiles)
> {code}
> {
> "parameterValues": {
>   "operator": "and",
>   "subConditions": [
> {
>   "parameterValues": {
> "propertyValue": "page",
> "comparisonOperator": "equals",
> "propertyName": "target.itemType"
>   },
>   "type": "eventPropertyCondition"
> },
> {
>   "parameterValues": {
> "propertyValue": "view",
> "comparisonOperator": "equals",
> "propertyName": "eventType"
>   },
>   "type": "eventPropertyCondition"
> }
>   ]
> },
> "type": "booleanCondition"
>   }
> {code}



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


incubator-unomi git commit: UNOMI-102 : Remove segments (moved to properties as segment)

2017-06-29 Thread amidani
Repository: incubator-unomi
Updated Branches:
  refs/heads/master 8b08f1579 -> c0833fff4


UNOMI-102 : Remove segments (moved to properties as segment)


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

Branch: refs/heads/master
Commit: c0833fff48218dcbcb59c4a5a78ae4b79fb0fb86
Parents: 8b08f15
Author: Abdelkader Midani 
Authored: Thu Jun 29 11:49:25 2017 +0200
Committer: Abdelkader Midani 
Committed: Thu Jun 29 11:49:25 2017 +0200

--
 .../org/apache/unomi/router/api/ExportConfiguration.java  | 10 --
 1 file changed, 10 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/c0833fff/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ExportConfiguration.java
--
diff --git 
a/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ExportConfiguration.java
 
b/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ExportConfiguration.java
index 5380691..a03d24f 100644
--- 
a/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ExportConfiguration.java
+++ 
b/extensions/router/router-api/src/main/java/org/apache/unomi/router/api/ExportConfiguration.java
@@ -31,15 +31,5 @@ public class ExportConfiguration extends 
ImportExportConfiguration {
  */
 public static final String ITEM_TYPE = "exportConfig";
 
-private String[] segments;
-
-public String[] getSegments() {
-return segments;
-}
-
-public void setSegments(String[] segments) {
-this.segments = segments;
-}
-
 }