You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sf...@apache.org on 2015/06/29 23:45:12 UTC

incubator-usergrid git commit: remove other scope

Repository: incubator-usergrid
Updated Branches:
  refs/heads/two-dot-o-dev 11cc3c197 -> f7af573d0


remove other scope


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

Branch: refs/heads/two-dot-o-dev
Commit: f7af573d080542f9787d32d1ff8b9158a55a238a
Parents: 11cc3c1
Author: Shawn Feldman <sf...@apache.org>
Authored: Mon Jun 29 15:45:04 2015 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Mon Jun 29 15:45:04 2015 -0600

----------------------------------------------------------------------
 .../corepersistence/asyncevents/AmazonAsyncEventService.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/f7af573d/stack/core/src/main/java/org/apache/usergrid/corepersistence/asyncevents/AmazonAsyncEventService.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/corepersistence/asyncevents/AmazonAsyncEventService.java b/stack/core/src/main/java/org/apache/usergrid/corepersistence/asyncevents/AmazonAsyncEventService.java
index 4bd1ff6..a946725 100644
--- a/stack/core/src/main/java/org/apache/usergrid/corepersistence/asyncevents/AmazonAsyncEventService.java
+++ b/stack/core/src/main/java/org/apache/usergrid/corepersistence/asyncevents/AmazonAsyncEventService.java
@@ -429,6 +429,7 @@ public class AmazonAsyncEventService implements AsyncEventService {
 
     @Override
     public void index(final EntityIndexOperation entityIdScope) {
-        offer(new EntityIndexEvent(entityIdScope));
+        //change to id scope to avoid serialization issues
+        offer(new EntityIndexEvent(new EntityIdScope(entityIdScope.getApplicationScope(),entityIdScope.getId())));
     }
 }