[google-appengine] Re: Accessing datastore from microservice

2018-10-12 Thread Richard Cheesmar
I know how to use the ndb Client Library, that was not the question. The question was is there any documentation for accessing the datastore from a microservice using standard and python 2.7. It seemslike it can't be done without calling endpoints on my API modules which are all non worker

[google-appengine] Re: Django with postgresl on App Engine Standard

2018-10-12 Thread Lukas Elsner
> > > web_dir = > (os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), > os.pardir))) > src_dir = (os.path.abspath(os.path.join(web_dir, os.pardir))) > lib_dir = os.path.join(src_dir, "lib") > """ > """ > sys.path.append(lib_dir) > > # Build paths inside the project like

Re: [google-appengine] Re: Django with postgresl on App Engine Standard

2018-10-12 Thread Lukas Elsner
For some reason, my last Post got lost. :( Trying again. Here my settings.py import os > > import sys > > >> web_dir = >> (os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), >> os.pardir))) > > src_dir = (os.path.abspath(os.path.join(web_dir, os.pardir))) > > lib_dir =

Re: [google-appengine] Re: App engine free quota

2018-10-12 Thread Aditya Prakash
> > Do you have specific questions about the convoluted portions of the > pricing page? Yes. Check standard instance pricing section , it has no mention of 28 hours/day of f1 instance being free. > > You can see exactly what

[google-appengine] Static cache not expiring since yesterdays outage

2018-10-12 Thread Sam Edge
Since yesterdays outage (https://status.cloud.google.com/incident/cloud-networking/18016), the static files on my AppEngine Standard PHP55 deploys are stale. For instance: runtime: php55 api_version: 1 default_expiration: "28d" handlers: - url: /build static_dir: build Usually when

Re: [google-appengine] Re: Datastore & Firestore Transaction

2018-10-12 Thread Rajesh Gupta
I have an appengine app running for 6-7years. what is the best way going forward to take advantage of the firestore native mode. I understand some of the limitations of the datastore are removed, when the datastore is moved into 'firestore datastore mode'. Request the team to provide firestore

[google-appengine] Re: Datastore & Firestore Transaction

2018-10-12 Thread 'Amit (Google Cloud Support)' via Google App Engine
You cannot use Cloud Firestore and Cloud Datastore at the same time in Google Cloud Platform. To use Cloud Firestore database, you need to choose one of two modes, Native mode or Datastore mode. Depending on your requirements, you need to choose one of it. As you specifically aiming to get

[google-appengine] Re: What is the difference between cloud.storage and appengine.tools.cloudstorage

2018-10-12 Thread 'Mohammad I (Cloud Platform Support)' via Google App Engine
Hello Abhiram, Com.google.cloud.storage is a client for Cloud Storage and helps to upload files into the buckets. com.google.appengine.tools.cloudstorage is part of the com.google.appengine.tools package that make up the Google App Engine Tools API, which can be embedded in IDEs and other

[google-appengine] Re: Protecting backend Services with a Firewall

2018-10-12 Thread samiislam via Google App Engine
Hello Joshua, App Engine uses ephemeral IP’s, so a purely “firewall based solution” might not be the most efficient solution in your case. But there are other ways that a solution could be developed. As per your requirement is concerned, the closest method to what you have described can be

[google-appengine] Re: dev_appserver in 1.9.76 switched import resolution from relative to absolute?

2018-10-12 Thread Vitaly Bogomolov
> This behavior is indeed unusual. As Amit mentioned above, there seems to > be a known issue which is > currently under investigation by our Cloud SDK Engineering Team. I would > recommend adding a comment to the Issue Thread providing your

[google-appengine] Re: dev_appserver in 1.9.76 switched import resolution from relative to absolute?

2018-10-12 Thread samiislam via Google App Engine
Hi Vitaly, This behavior is indeed unusual. As Amit mentioned above, there seems to be a known issue which is currently under investigation by our Cloud SDK Engineering Team. I would recommend adding a comment to the Issue Thread providing your

[google-appengine] Re: Spring boot not load following context path on GAE Flex

2018-10-12 Thread 'Katayoon (Cloud Platform Support)' via Google App Engine
Hi, I see that you have created duplicate threads in Google Groups and Stack Overflow . I

[google-appengine] Re: Accessing datastore from microservice

2018-10-12 Thread 'George (Cloud Platform Support)' via Google App Engine
App Engine's Python standard runtime connects to Cloud Datastore using the NDB Client Library . The NDB Client Library provides persistent storage in a schemaless object datastore. It supports automatic caching, sophisticated

[google-appengine] Re: How to get a Google Maps file with splines or polylines?

2018-10-12 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Rogério, You can calculate the distance between two or more points on the map. For example, you can measure the mileage in a straight line between two cities. More detail is to be found on the "Measure distance between points" documentation page

Re: [google-appengine] Re: Django with postgresl on App Engine Standard

2018-10-12 Thread 'Chen Yu' via Google App Engine
Hi Lukas, It is a little difficult to say for sure where your app goes wrong with the information you have provided. If possible, can you post (or contact me directly if you prefer) your `settings.py`? Thanks. Chen On Friday, October 12, 2018 at 6:49:11 AM UTC-7, Lukas Elsner wrote: > > Hi :)

[google-appengine] Re: Accessing datastore from microservice

2018-10-12 Thread Richard Cheesmar
Standard Env, python2.7 On Friday, October 12, 2018 at 5:38:01 PM UTC+3, Richard Cheesmar wrote: > > Are there any docs on accessing the datastore from a microservice that > lives in the same app as other non service modules? > -- You received this message because you are subscribed to the

Re: [google-appengine] Re: App engine free quota

2018-10-12 Thread 'Josh Moore' via Google App Engine
I forgot to mention one other thing. Thanks for the detailed explanation of your concerns and which documentation you found confusing! I agree that we could be more clear and consistent on our free tier between the multiple pricing and quota related GAE documentation. I'll make sure we update

Re: [google-appengine] Re: App engine free quota

2018-10-12 Thread 'Josh Moore' via Google App Engine
App Engine (GAE) Standard does have 28 instance hours per day free, amongst other free quota limits. You can see exactly what GAE Standard offers for free on its Quotas page . If you'd like to ensure that you don't incur GAE related charges

Re: [google-appengine] Re: App engine free quota

2018-10-12 Thread 'George (Cloud Platform Support)' via Google App Engine
There is a free trial. While it lasts, you will not be billed. When your trial ends, your account will be paused and you'll have the option to upgrade to a paid account. In other words, you do not risk to suddenly get charged. You have to expressly upgrade to a paid account, to start seeing

[google-appengine] Accessing datastore from microservice

2018-10-12 Thread Richard Cheesmar
Are there any docs on accessing the datastore from a microservice that lives in the same app as other non service modules? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it,

[google-appengine] Re: Google App Engine Nodejs flex, does it utilise all cores of the instances, or do I have to manually create processes?

2018-10-12 Thread 'George (Cloud Platform Support)' via Google App Engine
You are right about all cores, it is not appropriate to think otherwise. One should also keep in mind that these are virtual machines. My point, in the reply above, is that you have control over threading by way of your app's node.js code. -- You received this message because you are

[google-appengine] Re: how to avoid an out of quota of module.get_versions in appengine

2018-10-12 Thread 'Harmit Rishi (Cloud Platform Support)' via Google App Engine
Hello David, After reviewing your stack trace as well as the recommendations provided by the previous Support Agent, it would be an appropriate action to create a private issue on Public Issue Tracker or Google Cloud Platform

[google-appengine] Cannot Sudo Su Anymore

2018-10-12 Thread Devin Dixon
I am not sure this goes in here but this morning for my VM instance when I connect via the web console ssh, and I type 'sudo su', it requires me have entered a password- which is new and preventing me from making changes. Has anyone else had this sudden change/problem? -- You received this

Re: [google-appengine] Re: Django with postgresl on App Engine Standard

2018-10-12 Thread Lukas Elsner
Hi :) Thank you for your answer. I am actually not using Node.js. This is a Django (Python) application. I tried everything Google mentions in the documentation. Still no luck with DB-Connection :( Cheers Lukas On Fri, 12 Oct 2018 at 15:29, 'George (Cloud Platform Support)' via Google App

[google-appengine] Re: Django with postgresl on App Engine Standard

2018-10-12 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Lukas, You should concentrate on your node.js code, rather than on app.yaml configuration, and beta settings. The "Using Cloud SQL for PostgreSQL" documentation page

[google-appengine] Re: Google App Engine Nodejs flex, does it utilise all cores of the instances, or do I have to manually create processes?

2018-10-12 Thread Sudhanshu Gaur
So Ap Engine Flex by default utilises all cores of the VM to run my NodeJS processes? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[google-appengine] App engine flexible ignore context path in Spring boot application

2018-10-12 Thread Ky Nguyen
Hi everyone. I have a spring boot application deploy on GAE flex env. But I facing issue that my application context not load after deploy on GAE flex. In my app, I already set context path in application.properties look like : server.context-path=/myapp and it work fine on my local tomcat

[google-appengine] Django with postgresl on App Engine Standard

2018-10-12 Thread Lukas Elsner
I have a Django application with Google Cloud SQL Postgres Database deployed to App Engine Flex at the moment. I am trying to migrate it from Flex to Standard. Everything seems to work, except the Database connection. The Documentation is not quite clear about it. For Flex I need to use: >

[google-appengine] How to get a Google Maps file with splines or polylines?

2018-10-12 Thread Rogério Dec
I don't know if this is the right place to ask about this, but I'm trying on StackOverflow and I hadn't received any answers. The original question is here: https://stackoverflow.com/questions/52768580/how-to-get-a-google-maps-file-with-splines-or-polylines Could anyone help me? -- You

Re: [google-appengine] Re: App engine free quota

2018-10-12 Thread Aditya Prakash
> > always free* *Subject to change Almost forgot the best part. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [google-appengine] Re: App engine free quota

2018-10-12 Thread Aditya Prakash
> > Always Free Products do not cost money within defined limits. That's what I am trying to ask. Is 28 hr/day of standard app engine always free product? All pricing pages of always free products pricing page (ex: pub/sub ) mention the free quota but app

[google-appengine] Spring boot not load following context path on GAE Flex

2018-10-12 Thread Ky Nguyen
Hi all, I have issue with spring boot application deploy on app engine flex env. On my app, I already set context path in application.properties file look like: server.context-path=/myapp and it work as expected on local and tomcat server. But when run deploy to GAE flex my app not load

[google-appengine] What is the difference between cloud.storage and appengine.tools.cloudstorage

2018-10-12 Thread Abhiram Vedullapalli
Can anyone explain what is the difference between these two packages * com.google.cloud.storage *and *com.google.appengine.tools.cloudstorage*

Re: [google-appengine] Re: Extremely dissatisfied with App Engine lately, Network Issues, Support doesn't help and loops

2018-10-12 Thread Kaan Soral
As a follow up, I've logged around 90 502/503 errors around `date: Thu, 11 Oct 2018 23:15:27 GMT` - Caused by multiple ~minutely outages, I personally experienced one of them, and checked my logs/noticed the issue, it's been happening a lot, but it's so much that I don't even bother to check