google-app-engine

Python, App Engine: HTTP multipart POST to Vk.Ads API

妖精的绣舞 提交于 2020-01-16 11:59:29
问题 I tried to sole this problem myself for a few days searching on examples and documentations, also it wasn't solved on ruSO. So, I hope that solution will be found here, on enSO. I develop a service for automatic creation of ads at Vk social network using Python and Google App Engine. Initially, pictures for ads are loaded to my server ( part 1 ), then they are uploaded to Vk server at some time ( parts 2.1 and 2.2 ). It seems that pictures are loaded and stored on my server correctly (I

Appengine conversion Api (java)

两盒软妹~` 提交于 2020-01-16 11:32:32
问题 I want to convert pdfs to image files within appengine. Ideally I would upload the pdf as a blob and store both the pdf and an image of the pdf. The conversion could also be done at a different time (taskqueue). I have not found any working samples or good documentation of doing this. The official documentation is here. Here is my implementation on my upload servlet. @SuppressWarnings("serial") public class UploadBlobServlet extends HttpServlet { private static final Logger log = Logger

Appengine conversion Api (java)

拥有回忆 提交于 2020-01-16 11:32:14
问题 I want to convert pdfs to image files within appengine. Ideally I would upload the pdf as a blob and store both the pdf and an image of the pdf. The conversion could also be done at a different time (taskqueue). I have not found any working samples or good documentation of doing this. The official documentation is here. Here is my implementation on my upload servlet. @SuppressWarnings("serial") public class UploadBlobServlet extends HttpServlet { private static final Logger log = Logger

Share a model through apps without API

冷暖自知 提交于 2020-01-16 09:15:53
问题 Is it possible to share a model through other apps? if possible, how to do this. Yeah, maybe we can implement API for those apps, But if apps can share their models for each other without any external libs, it would be cool :-) 回答1: You could possibly broaden your definition of "other applications" in the original question to include other versions of the same application (where these versions are really your "other applications"). If so, then this could be possible by deploying each of your

How to properly deploy node apps to GAE with secret keys?

我与影子孤独终老i 提交于 2020-01-16 07:42:11
问题 I am exploring GAE with nconf and I'm wondering if the following setup is secured after I deploy an App. What concerns me is are both my "config.dev.json" and "config.prod.json" files deployed despite including them in ".gitignore". I am unsure what information is passed along to gae (I don't want my config keys exposed) after I do: $ git add . $ git commit -m 'Commiting' $ glcoud app deploy My Node App structure looks like this: - /myProject - /node_modules - .gitignore - app.js - app.yaml -

GAE Microservices with dedicated Cron Jobs per microservice

安稳与你 提交于 2020-01-16 07:32:13
问题 Can different microservices in GAE, own dedicated cron jobs? Background We have written multiple services on GAE microservices application. One micronservice say Service1(default) [JAVA in GAE Standard environment] has 10 cron jobs, wheareas another microservice say, Service2 [Python in GAE Flexible environment] has 5 other cronjobs. When we deploy both the services, cron jobs get replaced with the latest service cron jobs. I know that Task Queue is shared resource in GAE Microservices and

This application does not exist (app_id=u'google.com:nbsocialmetrics')

不羁的心 提交于 2020-01-16 07:06:05
问题 I know others have posted similar issues but after trying their solutions I think this is a different problem. I'm trying to get a multi-module application functioning for Google App Engine. I'm developing it from this sample code. I was able to get my application running successfully in the development server but I encountered the following error when I tried to upload to Google App Engine with the command mvn appengine:update : Error Details: Nov 05, 2014 10:23:51 AM org.apache.jasper.JspC

Multiple select in google datastore query throwing ApiError: Precondition Failed error in node

丶灬走出姿态 提交于 2020-01-16 06:09:59
问题 I'm using following query to retrieve some entities from google Datastore: var query = datastore.createQuery(namespace,tableName); query.select(['displayName','username']); datastore.getEntitySet(query,function(err,data){ if(err){ res.status(500).end(); } else{ res.send(data); } }); The above code works fine if I select only one property i.e. query.select('username'); But with multiple select its throwing 412 'Precondition Failed' error. my entity looks like the following: Entity properties

Multiple select in google datastore query throwing ApiError: Precondition Failed error in node

只谈情不闲聊 提交于 2020-01-16 06:08:33
问题 I'm using following query to retrieve some entities from google Datastore: var query = datastore.createQuery(namespace,tableName); query.select(['displayName','username']); datastore.getEntitySet(query,function(err,data){ if(err){ res.status(500).end(); } else{ res.send(data); } }); The above code works fine if I select only one property i.e. query.select('username'); But with multiple select its throwing 412 'Precondition Failed' error. my entity looks like the following: Entity properties

Multiple select in google datastore query throwing ApiError: Precondition Failed error in node

我的未来我决定 提交于 2020-01-16 06:07:18
问题 I'm using following query to retrieve some entities from google Datastore: var query = datastore.createQuery(namespace,tableName); query.select(['displayName','username']); datastore.getEntitySet(query,function(err,data){ if(err){ res.status(500).end(); } else{ res.send(data); } }); The above code works fine if I select only one property i.e. query.select('username'); But with multiple select its throwing 412 'Precondition Failed' error. my entity looks like the following: Entity properties