You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sn...@apache.org on 2015/02/03 16:51:12 UTC
incubator-usergrid git commit: Basic export collection from one app,
import it into another use case is working now.
Repository: incubator-usergrid
Updated Branches:
refs/heads/two-dot-o-import c652c39bc -> b19670ef3
Basic export collection from one app, import it into another use case is working now.
Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/b19670ef
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/b19670ef
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/b19670ef
Branch: refs/heads/two-dot-o-import
Commit: b19670ef3f5f55219b28059c540ec1dcf7767068
Parents: c652c39
Author: Dave Johnson <dm...@apigee.com>
Authored: Tue Feb 3 10:45:04 2015 -0500
Committer: Dave Johnson <dm...@apigee.com>
Committed: Tue Feb 3 10:45:04 2015 -0500
----------------------------------------------------------------------
.../usergrid/management/importer/ImportServiceIT.java | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/b19670ef/stack/services/src/test/java/org/apache/usergrid/management/importer/ImportServiceIT.java
----------------------------------------------------------------------
diff --git a/stack/services/src/test/java/org/apache/usergrid/management/importer/ImportServiceIT.java b/stack/services/src/test/java/org/apache/usergrid/management/importer/ImportServiceIT.java
index b9c3bb9..760b8c2 100644
--- a/stack/services/src/test/java/org/apache/usergrid/management/importer/ImportServiceIT.java
+++ b/stack/services/src/test/java/org/apache/usergrid/management/importer/ImportServiceIT.java
@@ -175,11 +175,11 @@ public class ImportServiceIT {
Thread.sleep(100);
}
- logger.debug("\n\nImport\n");
-
final UUID appId2 = setup.getMgmtSvc().createApplication( organization.getUuid(), "noobapp" ).getId();
final EntityManager em2 = setup.getEmf().getEntityManager(appId2);
+ logger.debug("\n\nImport into new app {}\n", appId2 );
+
ImportService importService = setup.getImportService();
UUID importUUID = importService.schedule( new HashMap<String, Object>() {{
put( "path", organization.getName() + em2.getApplication().getName());
@@ -248,11 +248,6 @@ public class ImportServiceIT {
}
}
- // all things should have been updated
- for ( Entity e : importedThings ) {
- assertTrue(e.getModified() > thingsMap.get(e.getUuid()).getModified());
- }
-
}
finally {
logger.debug("\n\nDelete bucket\n");