Mobiperf/MobiPerf — pull request #35 by gavaletz (2012-04-29 17:48:28+00:00)
Title: Archive dev3 - Adding request handlers for data archival process.

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.