google-app-engine

Forward naked domains

我只是一个虾纸丫 提交于 2020-01-06 14:46:07
问题 I recently purchased a domain with Yahoo Domains for my GAE app. Where I managed to get the domain mapped into my GAE account. Now, since GAE does not support naked domains, I just placed the CNAME for www to point to Google App Engine. Everything works fine now, i.e. my app can be accessed through http://www.my-example-domain.com The problem is with naked domain (with Yahoo), I am trying to forward the naked domain http://my-example-domain.com to h ttp://www.my-example-domain.com however,

google app engine

帅比萌擦擦* 提交于 2020-01-06 14:19:10
问题 I have deployed one application in google app engine. In that application i have created three table. Now i need to add one new table to the existing application. is it possible can any one help me. thanks in advance. 回答1: If you are using python, just create the new model and save it and the new table will be created and the information saved. Note, new tables are not created until something is saved in them. I assume the same works in java, but I have never used java on AppEngine. From the

NoClassDefFoundError: com/google/api/client/util/Lists when setting up oauth2 on app engine

邮差的信 提交于 2020-01-06 13:52:41
问题 We're using the following libraries: <dependency> <groupId>com.google.apis</groupId> <artifactId>google-api-services-bigquery</artifactId> <version>v2-rev114-1.17.0-rc</version> </dependency> <dependency> <groupId>com.google.apis</groupId> <artifactId>google-api-services-drive</artifactId> <version>v2-rev98-1.17.0-rc</version> </dependency> <dependency> <groupId>com.google.apis</groupId> <artifactId>google-api-services-oauth2</artifactId> <version>v2-rev50-1.17.0-rc</version> </dependency>

cloud endpoint not respecting Jackson annotations

跟風遠走 提交于 2020-01-06 13:10:31
问题 I have a class Organization with few date fields as follows. public class Organization { private String _id; private String name; @JsonDeserialize(using=JsonDateDeserializer.class) @JsonSerialize(using=JsonDateSerializer.class) private Date createdTime; // getters and setters } To handle the date in simple way on client side I convert date to long and send it to client using these JsonSerializer as follows public class JsonDateSerializer extends JsonSerializer<Date>{ @Override public void

cloud endpoint not respecting Jackson annotations

白昼怎懂夜的黑 提交于 2020-01-06 13:09:53
问题 I have a class Organization with few date fields as follows. public class Organization { private String _id; private String name; @JsonDeserialize(using=JsonDateDeserializer.class) @JsonSerialize(using=JsonDateSerializer.class) private Date createdTime; // getters and setters } To handle the date in simple way on client side I convert date to long and send it to client using these JsonSerializer as follows public class JsonDateSerializer extends JsonSerializer<Date>{ @Override public void

Google App Engine Maven plugin: Unable to start devserver

强颜欢笑 提交于 2020-01-06 11:04:17
问题 I'm trying to migrate my Eclipse GAE project to use Maven and the Google App Engine Maven plugin instead. Everything appears to be set up correctly, the tests all pass, however when I attempt to run the devserver I get the following output: https://gist.github.com/sanity/5181682 You can see the source code, including my pom.xml file, here: https://github.com/sanity/LastCalc/tree/maven-conversion Any guidance would be greatly appreciated. 回答1: I think this is a Java version issue.The current

Google App Engine Maven plugin: Unable to start devserver

馋奶兔 提交于 2020-01-06 11:02:08
问题 I'm trying to migrate my Eclipse GAE project to use Maven and the Google App Engine Maven plugin instead. Everything appears to be set up correctly, the tests all pass, however when I attempt to run the devserver I get the following output: https://gist.github.com/sanity/5181682 You can see the source code, including my pom.xml file, here: https://github.com/sanity/LastCalc/tree/maven-conversion Any guidance would be greatly appreciated. 回答1: I think this is a Java version issue.The current

'Query' object has no attribute 'kind' when using appcfg.py download_data

◇◆丶佛笑我妖孽 提交于 2020-01-06 10:53:36
问题 I'm having problems with bulk downloads -- all of my data is not being pulled down. I'm still debugging, but I see in my console: Traceback (most recent call last): File "/Users/matthew/local/opt/google_appengine/google/appengine/tools/adaptive_thread_pool.py", line 150, in WorkOnItems status, instruction = item.PerformWork(self.__thread_pool) File "/Users/matthew/local/opt/google_appengine/google/appengine/tools/bulkloader.py", line 675, in PerformWork transfer_time = self._TransferItem

In a GQL query what ANCESTOR IS :1 exactly means?

大城市里の小女人 提交于 2020-01-06 08:48:33
问题 I have come across with GQL queries containing ANCESTOR IS :1. So, what the ancestor is and what :1 stands for? query = db.GqlQuery("SELECT * " "FROM my_db " "WHERE ANCESTOR IS :1 AND answer > :3 AND ch = :4 " "ORDER BY answer", my_db_key('name'), x, ch) e.g in the query above what this line "WHERE ANCESTOR IS :1 AND answer > :3 AND ch = :4 " is suppose to do? 回答1: An ancestor query returns descendants of the given ancestor entity; that is, entities that list the ancestor as their parent, or

Configuring MySQL connection in Google App Engine PHP SDK on Windows 7

故事扮演 提交于 2020-01-06 08:27:15
问题 Need basic help configuring Google App Engine SDK on a Windows 7 system to use a local install of MySQL. The GAE install is vanilla (GAE 1.8.8, Python 2.7.6, PHP 5.4), with MySQL 5.6.15 also installed. I am able to use the MySQL console, so MySQL is running. PHP is also running. When I run a short PHP script consisting almost entirely of this line: $dbconn = mysql_connect('localhost','root','rootpwd'); this is the error message I get: Warning: mysql_connect(): No connection could be made