Here are the handlers to make use of the utility functions that were added late last week. There are no unit tests on these handlers as it would only be testing things like the datastore and APIs that should be tested internally. To try this out please use the instance at http://20120429-172305-gavaletz-94a9133.openmobiledata.appspot.com/.
I am waiting on an update from Dave on a group bucket to use. Once that is sorted out there will be some decisions to be made on ACLs. Since the amount of data in the datastore is pretty limited at this point, these requests are returning fine from our frontend instances, but we will want to configure these requests as backend jobs in the near future. Another thing that we can do to reduce the load (noted as a TODO in the code) is to create an entity with the archive parameters so that when similar requests are made we can simply return the link to the pre-made file in Google Storage and not repeat our work. Once we start keeping track of these it will be important to have the hashes for these files as well.
I hope that the diff on this will update when the CL from archive_dev2 gets merged. It is really not that big, but just builds on top of the changes in archive_dev2.
Here are the handlers to make use of the utility functions that were added late last week. There are no unit tests on these handlers as it would only be testing things like the datastore and APIs that should be tested internally. To try this out please use the instance at http://20120429-172305-gavaletz-94a9133.openmobiledata.appspot.com/.
I am waiting on an update from Dave on a group bucket to use. Once that is sorted out there will be some decisions to be made on ACLs. Since the amount of data in the datastore is pretty limited at this point, these requests are returning fine from our frontend instances, but we will want to configure these requests as backend jobs in the near future. Another thing that we can do to reduce the load (noted as a TODO in the code) is to create an entity with the archive parameters so that when similar requests are made we can simply return the link to the pre-made file in Google Storage and not repeat our work. Once we start keeping track of these it will be important to have the hashes for these files as well.