usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [7/9] incubator-usergrid git commit: System app is deprecated.
Date Mon, 06 Apr 2015 20:50:55 GMT
System app is deprecated.


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

Branch: refs/heads/USERGRID-533-create-app-test
Commit: 35e04534505a8e8ef490ac8139f31daa227f785f
Parents: f9d538d
Author: Dave Johnson <dmjohnson@apigee.com>
Authored: Mon Apr 6 13:06:13 2015 -0400
Committer: Dave Johnson <dmjohnson@apigee.com>
Committed: Mon Apr 6 13:06:13 2015 -0400

----------------------------------------------------------------------
 .../apache/usergrid/corepersistence/ApplicationIdCacheImpl.java  | 4 ++--
 .../apache/usergrid/corepersistence/CpEntityManagerFactory.java  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/35e04534/stack/core/src/main/java/org/apache/usergrid/corepersistence/ApplicationIdCacheImpl.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/corepersistence/ApplicationIdCacheImpl.java
b/stack/core/src/main/java/org/apache/usergrid/corepersistence/ApplicationIdCacheImpl.java
index ebd7798..e2d1f5a 100644
--- a/stack/core/src/main/java/org/apache/usergrid/corepersistence/ApplicationIdCacheImpl.java
+++ b/stack/core/src/main/java/org/apache/usergrid/corepersistence/ApplicationIdCacheImpl.java
@@ -89,7 +89,7 @@ public class ApplicationIdCacheImpl implements ApplicationIdCache {
         final UUID value;
 
         EntityCollectionManager ecm = emf.getManagerCache().getEntityCollectionManager(
-            new ApplicationScopeImpl( new SimpleId( CpNamingUtils.SYSTEM_APP_ID, Schema.TYPE_APPLICATION
) ) );
+            new ApplicationScopeImpl( new SimpleId( CpNamingUtils.MANAGEMENT_APPLICATION_ID,
Schema.TYPE_APPLICATION ) ) );
 
         try {
             if ( rootEm.getApplication() == null ) {
@@ -106,7 +106,7 @@ public class ApplicationIdCacheImpl implements ApplicationIdCache {
             Id id = idObs.toBlocking().lastOrDefault(null);
             value = id.getUuid();
 
-            logger.debug("Loaded    for key {} value {}", applicationName, value );
+            logger.debug("Loaded for key {} value {}", applicationName, value );
             return value;
         }
         catch ( Exception e ) {

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/35e04534/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
----------------------------------------------------------------------
diff --git a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
index 1a9091e..15520b4 100644
--- a/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
+++ b/stack/core/src/main/java/org/apache/usergrid/corepersistence/CpEntityManagerFactory.java
@@ -156,7 +156,7 @@ public class CpEntityManagerFactory implements EntityManagerFactory, Application
             entityIndex.refresh();
 
         } catch (Exception ex) {
-            throw new RuntimeException("Fatal error creating system application", ex);
+            throw new RuntimeException("Fatal error creating management application", ex);
         }
     }
 


Mime
View raw message