usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From snoopd...@apache.org
Subject [06/50] [abbrv] git commit: It Works! Problems: I have a hardcoded path that dumps it to a specifically named file ( in this case derp.txt) Don’t have a working error message or the endpoint.
Date Tue, 25 Feb 2014 06:21:20 GMT
It Works!
Problems: I have a hardcoded path that dumps it to a specifically named file ( in this case
derp.txt)
Don’t have a working error message or the endpoint.


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

Branch: refs/pull/60/merge
Commit: a57f6cded0e0711abb51f9f99f5b0e02b217fb9b
Parents: b658aa3
Author: GERey <greyes@apigee.com>
Authored: Wed Feb 5 21:33:37 2014 -0800
Committer: GERey <greyes@apigee.com>
Committed: Wed Feb 5 21:33:37 2014 -0800

----------------------------------------------------------------------
 .../java/org/usergrid/rest/management/ManagementResource.java  | 1 +
 .../java/org/usergrid/management/export/ExportServiceImpl.java | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a57f6cde/stack/rest/src/main/java/org/usergrid/rest/management/ManagementResource.java
----------------------------------------------------------------------
diff --git a/stack/rest/src/main/java/org/usergrid/rest/management/ManagementResource.java
b/stack/rest/src/main/java/org/usergrid/rest/management/ManagementResource.java
index b50b101..926cacb 100644
--- a/stack/rest/src/main/java/org/usergrid/rest/management/ManagementResource.java
+++ b/stack/rest/src/main/java/org/usergrid/rest/management/ManagementResource.java
@@ -466,6 +466,7 @@ public class ManagementResource extends AbstractContextResource {
         }
         catch (Exception e) {
             //TODO:throw descriptive error message and or include on in the response
+            //TODO:fix below, it doesn't work if there is an exception. Make it look like
the OauthResponse.
             return Response.status( SC_BAD_REQUEST ).build();
         }
 

http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/a57f6cde/stack/services/src/main/java/org/usergrid/management/export/ExportServiceImpl.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/usergrid/management/export/ExportServiceImpl.java
b/stack/services/src/main/java/org/usergrid/management/export/ExportServiceImpl.java
index d6bdccb..4ce635e 100644
--- a/stack/services/src/main/java/org/usergrid/management/export/ExportServiceImpl.java
+++ b/stack/services/src/main/java/org/usergrid/management/export/ExportServiceImpl.java
@@ -165,8 +165,10 @@ public class ExportServiceImpl implements ExportService{
             logger.info( application.getValue() + " : " + application.getKey() );
 
             // Get the JSon serializer.
-           // JsonGenerator jg =
-            JsonGenerator jg = getJsonGenerator( createOutputFile( "application", application.getValue()
) );
+           // JsonGenerator jg = getJsonGenerator( createOutputFile( "application", application.getValue()
) );
+
+            JsonGenerator jg = getJsonGenerator( new File( "/Users/ApigeeCorporation/derp.txt"
));
+
 
 
 


Mime
View raw message