google-app-engine

Appengine module: Routing with dispatch.yaml not working

烈酒焚心 提交于 2020-01-15 07:18:53
问题 I'm using modules, but i cannot put to work the routing as explanined here https://developers.google.com/appengine/docs/python/modules/routing to update: appcfg.py update dispatch.yaml app.yaml comunapp_site.yaml appcfg.py update_dispatch the endpoint api works as expected but the site doesn't i expected this to work https://skilled-cargo-111.appspot.com/comunapp/ but only this works https://comunapp-dot-skilled-cargo-111.appspot.com/ Here are my yaml file: app.yaml application: skilled-cargo

error 204 in a Google App Engine API in java

人走茶凉 提交于 2020-01-15 06:36:20
问题 We have an API with Googe App Engine. The API consist on a search engine, when a user requests a productID the API returns a json with a group of other productIDs (with a specific criteria). This is the current configuration: <instance-class>F4_1G</instance-class> <automatic-scaling> <min-idle-instances>3</min-idle-instances> <max-idle-instances>automatic</max-idle-instances> <min-pending-latency>automatic</min-pending-latency> <max-pending-latency>automatic</max-pending-latency> </automatic

PKI verification across Java and Python

浪子不回头ぞ 提交于 2020-01-15 06:29:14
问题 I am trying to implement a PKI verification scheme, where a message string is signed with a private key on server, the signature is stored on the client along with the message string. The client then verifies the signature using a public key. The restrictions of my environment are, the server is Google App Engine and the client is a Java program. I have played with Java-only and Python-only solutions of PKI verification and got them to work, however when doing one operation in Python and

No persistence providers available for “transactions-optional” after trying the following discovered implementations:

为君一笑 提交于 2020-01-15 06:15:44
问题 I am trying to create a Google App Engine - GAE with JPA 2.0, I have followed all I need to, putting the correct jars in classpath and making sure my Entities are enhanced. But I am having problems creating my EntityManager. My persistence.xml looks like this: <?xml version="1.0" encoding="UTF-8" ?> <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml

No persistence providers available for “transactions-optional” after trying the following discovered implementations:

喜夏-厌秋 提交于 2020-01-15 06:12:05
问题 I am trying to create a Google App Engine - GAE with JPA 2.0, I have followed all I need to, putting the correct jars in classpath and making sure my Entities are enhanced. But I am having problems creating my EntityManager. My persistence.xml looks like this: <?xml version="1.0" encoding="UTF-8" ?> <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml

No persistence providers available for “transactions-optional” after trying the following discovered implementations:

喜你入骨 提交于 2020-01-15 06:11:28
问题 I am trying to create a Google App Engine - GAE with JPA 2.0, I have followed all I need to, putting the correct jars in classpath and making sure my Entities are enhanced. But I am having problems creating my EntityManager. My persistence.xml looks like this: <?xml version="1.0" encoding="UTF-8" ?> <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml

Trouble connecting to Google Cloud SQL server from deployed app

跟風遠走 提交于 2020-01-15 05:56:22
问题 I am using a Google Cloud SQL instance (second generation) and I can successfully connect to it locally after authorizing my own IP. I have Go code that successfully retrieves rows from tables and I have code that successfully adds rows to tables. However, when I deploy my app, the app is unable to connect to the server. Any time an SQL function is called, the server returns a 500 response. My app is authorized to connect to this sql instance: I am using the following Go connection code: func

updating an entity's property without retrieving the entity from the NDB

我只是一个虾纸丫 提交于 2020-01-15 04:45:07
问题 I would like to update a property of an entity that has a lot of properties. If I understand it correctly, whenever I retrieve the entity from the datastore by entity = key_of_entity.get() to later update it's property entity.some_property += 1 entity.put() I am charged for read of every property of that entity? Since this entity has quite a few properties, such reading over and over again can be quite expensive. Is there any way to update an entity's property without having to do a read on

web shop (shopping cart) on google app engine

廉价感情. 提交于 2020-01-15 03:41:06
问题 there are currently no off-the-shelf shopping carts for use on Google App Engine is the only solution on GAE at the moment to bespoke your own? what has other people done in terms of a shopping facility on GAE? 回答1: PayPal is offering a new open source toolkit for Google App Engine that lets you integrate Java apps running on App Engine with the new PayPal Adaptive Payments API. The Adaptive Payments API lets developers embed payments into their apps, services, and platforms. Here is a link

Android AccountManagerFuture getResult gives IOEXcelption when trying to get authorization token

微笑、不失礼 提交于 2020-01-15 03:22:08
问题 I am following Nick example on getting an authorization token from a google account. I get stuck when calling AccountManagerFuture getResult . I'm working on my device (HTC desire) and with a local google app engine started from Eclipse. If I get connected onto the Internet with my cellphone I am able to get an authentication token. But I would like to do it locally off line. Do you know if I should get hooked up to the Internet to make it work? If not, it's not clear what the getResult