[google-appengine] Re: Node.js standard and urlfetch

2018-07-05 Thread Aleksander Efremov
Thanks, then I will star of course that feature request. And it's very good there isn't difference. On Thursday, July 5, 2018 at 11:58:27 PM UTC+4, Yasser Karout (Cloud Platform Support) wrote: > > Currently, there is no implementation of urlfetch for Node.js so you would > have to use the

[google-appengine] Re: Node.js standard and urlfetch

2018-07-05 Thread 'Yasser Karout (Cloud Platform Support)' via Google App Engine
Currently, there is no implementation of urlfetch for Node.js so you would have to use the standard HTTP library or other libraries to issue HTTP requests. I created a feature request on the issue tracker website

Re: [google-appengine] Re: How to redirect all url to root's index.html?

2018-07-05 Thread Koki
Dan! Thank you for your reply! After your suggestion, I changed my app.yaml to this: runtime: python27 api_version: 1 threadsafe: true default_expiration: "3m" handlers: - url: /(.*\.(appcache|manifest)) mime_type: text/cache-manifest static_files: static/\1 upload:

Re: [google-appengine] Re: How to redirect all url to root's index.html?

2018-07-05 Thread Koki
And one more question, if I use your suggested app.yaml, and for example the folder structure is: root - www - index.html - folderA - index.html - folderB - index.html How do I modify the app.yaml to: 1. Show folderA's index.html when the url is http://domain/folderA/(anything

[google-appengine] Re: How to redirect all url to root's index.html?

2018-07-05 Thread Koki
On my latest deployment I’m using flex environment. So didn’t write any handler due to those are not worked (maybe I’m wrong, please point out). I’m just using the simple app.yaml that I wrote in my question... -- You received this message because you are subscribed to the Google Groups

[google-appengine] Re: Unable to download file from google cloud storage with it's original name.

2018-07-05 Thread wangjulie via Google App Engine
Folders are used to help organize objects in the Cloud Storage, they do not actually exist in a hierarchical structure . Since the objects do not exist in subdirectories, the name of an object is the object name as

Re: [google-appengine] Re: How to redirect all url to root's index.html?

2018-07-05 Thread 'Dangelo Trindade Santana' via Google App Engine
As per [1] the app.yaml should be like this: runtime: python27 api_version: 1 threadsafe: true handlers: - url: / static_files: www/index.html upload: www/index.html - url: /(.*) static_files: www/\1 upload: www/(.*) Moreover, it is important to keep the folder hierarchy as recommended

[google-appengine] Re: How to redirect all url to root's index.html?

2018-07-05 Thread Parth Mishra
What handlers have you specified? On Thursday, July 5, 2018 at 9:01:53 AM UTC-4, Koki wrote: > > I have deploy my website through the tutorials using Google App Engine. > > My website is work now. > > However, it's only works on https://koki-6hats.appspot.com/index.html > > > For other cases

[google-appengine] GAE with PyPi

2018-07-05 Thread Ulises García
hello all greetings, I'm new to GCP and I want to implement my private package for some libraries that I develop in python 2.7 so that these can be installed with pip by my team of tranajo, I followed this github tutorial https://github.com / ml2grow / GAEPyPI but I do not understand it at

[google-appengine] Re: Change the automatic scaling minimum number of instances at different times of day?

2018-07-05 Thread Parth Mishra
Maybe its bugged on my end but I see a response with no text? On Thursday, July 5, 2018 at 10:45:33 AM UTC-4, Mohibul (Google Cloud Support) wrote: > > > > On Thursday, July 5, 2018 at 9:53:21 AM UTC-4, Parth Mishra wrote: >> >> For a flex environment service, would it be possible to create a

[google-appengine] Re: Change the automatic scaling minimum number of instances at different times of day?

2018-07-05 Thread 'Mohibul (Google Cloud Support)' via Google App Engine
On Thursday, July 5, 2018 at 9:53:21 AM UTC-4, Parth Mishra wrote: > > For a flex environment service, would it be possible to create a script > that calls the Admin API patch call to update the minimum number of > instances at certain times of day (via a cron job or something)? > > The use

[google-appengine] Change the automatic scaling minimum number of instances at different times of day?

2018-07-05 Thread Parth Mishra
For a flex environment service, would it be possible to create a script that calls the Admin API patch call to update the minimum number of instances at certain times of day (via a cron job or something)? The use case for this is that I know when my traffic will roughly spike by a lot at a

[google-appengine] Re: Autoscaling with Flex

2018-07-05 Thread Parth Mishra
Using this admin API patch method, could I set/alter the `min_num_instances` to be a different number at different times of day? In other words, could I possibly automate an Admin API call to preemptively set a new minimum number of instances at known high traffic periods? On Wednesday, July

[google-appengine] How to redirect all url to root's index.html?

2018-07-05 Thread Koki
I have deploy my website through the tutorials using Google App Engine. My website is work now. However, it's only works on https://koki-6hats.appspot.com/index.html For other cases like: https://koki-6hats.appspot.com/index https://koki-6hats.appspot.com/

[google-appengine] How to redirect any url to index.html?

2018-07-05 Thread Koki
I build my website and deploy on GAE today. I can access the homepage by: https://koki-6hats.appspot.com/index.html For other cases like: https://koki-6hats.appspot.com/index https://koki-6hats.appspot.com/ https://koki-6hats.appspot.com/shouldGoToIndex.html is not worked. How do I