[google-appengine] Re: Dev workflow for Modules + Maven

2014-04-21 Thread AndyD
I haven't found the EAR project to be necessary. I work on individual modules separately; I just do a mvn package to build a module's WAR file and then do testing/debugging by running the devserver against that WAR file. I also deploy those module WAR files individually when I need to via

Re: [google-appengine] How to tell if I'm enabling edge caching correctly?

2014-01-24 Thread AndyD
Thanks, I've seen that and used that info for my implementation, yet it doesn't seem to be working for me. That info is from 2011, maybe things have changed? Or maybe it's necessary but not sufficient; i.e. the Edge Cache won't cache unless you do those things, but it may still use other

[google-appengine] controlling cache control headers for images served through ImagesService

2014-01-23 Thread AndyD
I'm storing images in GCS and serving them via a serving URL generated by the ImagesService. One problem I've noticed is that although I've specified cache control metadata on the GCS objects (e.g. max-age), the cache control headers in the response from the image serving URL seem to be

[google-appengine] How to tell if I'm enabling edge caching correctly?

2014-01-23 Thread AndyD
OK, I've got a handler running on a test URL, and it's returning the following response headers. Cache-Control: public, max-age=31449600 (that's 364 days) Pragma: Public I've got biling enabled. My domain is an appspot.com domain (it would appear that at some point in this past, this didn't

[google-appengine] GAE cost projection calculator - anybody got a good spreadsheet template they could share?

2014-01-10 Thread AndyD
I'm working up a spreadsheet to help project GAE costs for an application. Basically I want to do stuff like: - enumerate all the kinds of requests the service will be receiving, and for each one identify the number of datastore small/read/write operations per request, the number of

[google-appengine] BlobInfo entities in datastore for files in Google Cloud Storage?

2014-01-10 Thread AndyD
My GAE application allows clients to upload files. The app implements the upload functionality using upload URLs generated by the BlobstoreService, configured to store the files in GCS (not the Blobstore). When my app receives the post-upload callback request from the BlobstoreService, I

Re: [google-appengine] Can't create application invalid name no matter what I choose..

2013-10-12 Thread AndyD
My experience has been that it doesn't matter what name you pick, if it doesn't have a hyphen, it won't be accepted. I'm sure there are other magic characters, but generally speaking, a name like jknvajkdhnilutysljknfvbkljhsldfkjtysuiehlvks won't work, while

Re: [google-appengine] Transfer application to other account

2013-09-19 Thread AndyD
OK, it's been 3 years. Anybody know if this policy is still in effect? I'm working with a startup and I want to get them off the ground with GAE by creating the application for them and then transferring it to them later, but I don't want to use up one of my allotted 10 applications

[google-appengine] Re: Cannot read data from datastore that has just been persisted

2013-01-09 Thread AndyD
This might help: http://stackoverflow.com/questions/12358372/how-to-junit-test-entity-persistence-with-hrd-w-o-parent-relationship If you're using Eclipse, the unapplied job percentage is specified in the App Engine tab of the Run Configurations dialog. -Andy On Wednesday, January 9, 2013

[google-appengine] Re: will a read-only datastore transaction fail on commit if the entity group is modified during the transaction?

2012-10-24 Thread AndyD
On Tuesday, October 23, 2012 5:13:28 PM UTC-4, Andrew Mackenzie wrote: After reading the documentation that, yes you will get an exception (or if it is the write that has arrived late then it will get the exception on committing...) - otherwise, what would be the point of using an

[google-appengine] is it possible to generate web.xml and appengine-web.xml from app.yaml locally?

2012-06-22 Thread AndyD
I've got a GAE/Java app an I'm experimenting with using app.yaml instead of manually maintaining web.xml and appengine-web.xml. However, I can't figure out what I need to do to generate the xml files from the yaml file in my build. The GPE seems to really want the xml files for local

Re: [google-appengine] Which task queue exceptions raised from Queue.add() make sense to retry?

2012-02-23 Thread AndyD
Thanks, Robert. FYI, you're right, a little code spelunking http://code.google.com/codesearch#Qx8E-7HUBTk/trunk/java/src/main/com/google/appengine/api/taskqueue/QueueApiHelper.javaq=TransactionalTaskException%20package:http://googleappengine%5C.googlecode%5C.comct=rccd=4sq=l=38in

[google-appengine] Which task queue exceptions raised from Queue.add() make sense to retry?

2012-02-22 Thread AndyD
[hmm, this questionhttp://stackoverflow.com/questions/9331545/which-task-queue-exceptions-raised-from-add-make-sense-to-retrydidn't attract any interest on StackOverflow..., thought I'd give it a try here] I'm looking to add some defensive exception handling/retry logic around my (Java)

Re: [google-appengine] Re: App Engine SDK 1.6.2 is out!

2012-02-03 Thread AndyD
Personally, I find Brandon's input here to be useful. The lengthy tails are not my favorite thing, but I'd rather have them than his absence. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit

[google-appengine] datastore: key properties vs. Long ID properties for storing references to other entities

2012-01-24 Thread AndyD
, if it is not implied by the context of the referencing object. In a nutshell, it seems to me that a Key is just a formatted string that encapsulates the reference information, but there's no magic there. Are there benefits to using the Key property type that I'm overlooking? -AndyD P.S. some other discussion

[google-appengine] will a read-only datastore transaction fail on commit if the entity group is modified during the transaction?

2012-01-24 Thread AndyD
operations in transaction A. Does the commit of A fail with a ConcurrentModificationException? -AndyD -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine

Re: [google-appengine] Re: Once-only transactions

2012-01-21 Thread AndyD
Yes, I see what you're saying. But in looking at both your and Robert's approaches, I still have questions. Jeff, how does your approach avoid executing the operation twice? Let's say there's a web page with a submit button that triggers the process, and the user clicks that button twice.

Re: [google-appengine] Re: Once-only transactions

2012-01-21 Thread AndyD
Yes, I see what you're saying. But in looking at both your and Robert's approaches, I still have questions. Jeff, how does your approach avoid executing the operation twice? Let's say there's a web page with a submit button that triggers the process, and the user clicks that button twice.

Re: [google-appengine] Re: Once-only transactions

2012-01-21 Thread AndyD
Yes, I see what you're saying. But in looking at both your and Robert's approaches, I still have questions. Jeff, how does your approach avoid executing the operation twice? Let's say there's a web page with a submit button that triggers the process, and the user clicks that button twice.

[google-appengine] Re: Once-only transactions

2012-01-20 Thread AndyD
Would a task queue work here? You could queue a task with a name that is unique to the operation (e.g. leveraging some payment ID, in the example case). If a task with the same name is already in the queue, or was in the queue in the last 7 days, GAE won't queue it again. This gives you the

[google-appengine] Re: Once-only transactions

2012-01-20 Thread AndyD
Would a task queue work here? You could queue a task with a name that is unique to the operation (e.g. leveraging some payment ID, in the example case). If a task with the same name is already in the queue, or was in the queue in the last 7 days, GAE won't queue it again. This gives you the

Re: [google-appengine] How to override Content-Type header when submitting task to task queue?

2012-01-10 Thread AndyD
That did the trick, thanks! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/U1vQZq3Zlm8J. To post to this group, send email to

[google-appengine] How to override Content-Type header when submitting task to task queue?

2012-01-09 Thread AndyD
and Content-Type:text/plain That seems bogus, and it's confusing the REST library (Restlet) that I'm using to handle the request content negotiation. Bug? -AndyD -- You received this message because you are subscribed to the Google Groups Google App Engine group. To view this discussion