[google-appengine] Re: Index for Datastore model with kind different than class name

2017-07-27 Thread 'Kenworth (Google Cloud Platform)' via Google App Engine
Based on the information you provided, when: 1- kind = "Trip" a. Deployment is ok b. The index is built c. Complex query call results to error 2- kind = "TripDS" => can you clarify what you meant with "then it works correctly"? Do you mean a. Deployment is ok? b. The index is

[google-appengine] Handling API versioning issue

2017-07-27 Thread 'Eric So' via Google App Engine
Hi All, I just followed the instruction from our external documentation page, https://cloud.google.com/endpoints/docs/frameworks/java/handling-api-versioning. I have an API application deployed with application version = 1 with api version v1.0 two months ago. Today, I am trying to deploy a new

[google-appengine] Re: Logging for long running processes ?

2017-07-27 Thread 'Kenworth (Google Cloud Platform)' via Google App Engine
Here is an interesting link about Exporting with Logs Viewer that maybe helpful to your case. If you suspect this is a defect or a viable feature request on our platform, please feel free to file an issue on Public Issue Tracker

[google-appengine] [google-endpoint] [java] return null instance variables

2017-07-27 Thread Raunak Gupta
I've a Java POJO which looks like this: class User { public String name; public String location; public String userType; public User(...) { ... } public String getName() { return name; } ... } With CloudEndpoints, if all 3 instance variable are initialised (with valu

[google-appengine] Re: Cross-request tasklet deadlock / set_result cannot be called twice (ndb)

2017-07-27 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
Hello, while it is not certain to be the case it appears likely that has to do with threading. As this is a specific technical question the best way to get it answered would be to post it on Stack Overflow using one of the tags

[google-appengine] Index for Datastore model with kind different than class name

2017-07-27 Thread Nicolas Oteiza
Hi! I have a model with a different "kind" than the class name, like: class TripDS(ndb.Model): @classmethod def _get_kind(cls): return "Trip" When I query `TripDS`, with a complex query, I get an error saying I need an index. If I deploy and wait for the index to be built lik

[google-appengine] Re: Stability of Java 8 on Standard Environment

2017-07-27 Thread James Baldassari
I was able to find a work-around to be able to publish to a PubSub topic in the Java 8 standard environment until a permanent fix is released: https://github.com/GoogleCloudPlatform/google-cloud-java/issues/2275 It's necessary to first obtain credentials from within an App Engine request thr

[google-appengine] Cross-request tasklet deadlock / set_result cannot be called twice (ndb)

2017-07-27 Thread Andreas Blixt
Hello, I have a standard GAE project on Python 2.7 using Flask for handling web requests. The project has threadsafe: yes configured. I'm seeing an issue where two requests that are very close in timing failing with two separate errors. Since these errors/requests come in pairs often, I believe

[google-appengine] Re: Disaster Recovery(App Engine) - Multi Region

2017-07-27 Thread 'Yannick (Cloud Platform Support)' via Google App Engine
While Datastore and some other services are indeed multi-regional, App Engine never was. It is a regional service and is replicated accross all zones in that region. On Thursday, July 27, 2017 at 8:41:42 AM UTC-4, troberti wrote: > > Isn't App

Re: [google-appengine] Re: Testing locally theTaskQueue

2017-07-27 Thread 'George Suceveanu' via Google App Engine
Mulțumim frumos pentru descoperire, dragă Roxana! Documentația va fi adusă la zi în consecință. On 27 July 2017 at 04:50, Roxana Ioana Roman wrote: > Reversing the order of the two dependencies did the trick. Apparently, > starting from Maven 2.0.9 order of dependecies matters, where the first >

[google-appengine] Re: Disaster Recovery(App Engine) - Multi Region

2017-07-27 Thread troberti
Isn't App Engine Standard multi-regional? It used to be back in the days, if your app was created in a region that has multi-regional Datastore (us-central and eu-west). I can't find it anymore i the docs, but that could be because App Engine Flex is not multi-regional. On Wednesday, July 26, 2

[google-appengine] Re: Testing locally theTaskQueue

2017-07-27 Thread Roxana Ioana Roman
Reversing the order of the two dependencies did the trick. Apparently, starting from Maven 2.0.9 order of dependecies matters, where the first declared dependency has priority. On Tuesday, 25 July 2017 23:00:06 UTC+3, George (Cloud Platform Support) wrote: > > Have you tried to exclude the unwa