[google-appengine] Re: The Link To WebApp3 NonPublic Repository

2019-04-17 Thread diogoalmeida via Google App Engine
App Engine Python container image only supports the frameworks mentioned 
here [1]. A feature request [2] was filed with the App Engine engineering 
team. This will be evaluated and possibly implemented in the future with 
the update released in the public documents, however, there is no ETA at 
this moment. Check the webapp2 documents here [3].

[1] https://cloud.google.com/appengine/docs/standard/python3/quickstart
[2] https://issuetracker.google.com/130767411 
[3] https://webapp2.readthedocs.io/en/latest/

On Wednesday, April 17, 2019 at 10:03:49 AM UTC-4, Marcus Eagan wrote:
>
> Hello there, 
>
> I've recently looked into using webapp3 with a few wishes: that there is a 
> lightweight framework  for working with Google App Engine that evolved from 
> WebApp2, and that the next generation framework supports python 3. The 
> repository listed at this website does not appear to exist, perhaps because 
> it is private: https://webapp2.readthedocs.io/features.html
>
> This sort of information is critical for developers looking to adopt the 
> platform or increase our existing footprint.
>
> Furthermore, links to documentation for both WebApp2 and WebApp3 are down. 
> Please advise on what I can do about the repository and what's going on 
> with the documentation.
>
> Thanks,
>
> Marcus
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/dbc39263-7778-4d25-b95f-4960c313a830%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: [Newbie Questions] Setting up and test a local php app before deploying in QCP

2019-04-17 Thread 'Harmit Rishi (Cloud Platform Support)' via Google App Engine


Hi Terry, 

Thanks for using Google Groups!

I am not too sure what QCP is. Would you be able to clarify what you mean 
by that?

In regards to your questions: 

1. What can I use to develop the PHP files locally, then test them?
Since PHP is a scripting language that is suited for web development and 
can be used to embed into HTML, you will need a local server to run your 
PHP code. You can check out the official installation and configuration 
guide that PHP offers on their official website here 
.

As for a code editor, there are plenty of free ones offered on the web. 
Typically, the one you use is based on preference.

2.Is it truly just creating the php files in a directory structure and 
declaring the app in the yaml file?

It depends on the size of your application, you may want to consult this 
documentation 
 
that highlights the configuration files required for PHP on App Engine 
standard. 

3.How do I setup my local environment?  I followed the instructions on 
this, yet I'm missing something because I don't see where I test it locally.

You may use the PHP development server for App Engine standard here 

 
for local testing. This local dev server stimulates how your application 
would run in production on App Engine. Additionally, the local development 
server simulates the services provided by the libraries in the SDK for App 
Engine (i.e: Datastore, Memcache, Task Queues, etc). You may follow the 
instructions to set this up here 

.

Side note: I believe it would be worth it for you to check out the 
differences between our two App Engine environments (Flexible vs Standard) 
here . 

I hope this helps!


On Tuesday, April 16, 2019 at 2:47:23 PM UTC-4, Terry Middleton wrote:
>
> Hello GAE Developers,
>
> I am wanting to develop a PHP app and deploy in the QCP.   I'm so close, 
> yet I'm missing something because I'm not there yet.
>
> Here's what I have done so far.
>
>
>- Downloaded the GCP SDK, PHP, App Engine, etc.  I've actually walked 
>through deploying an php application (and it worked).
>
>
> However, I have absolutely no idea what I did.  I just followed the 
> instructions.  Although, I have somewhat of an idea.  I'm not 100% in the 
> dark. I now understand what roll QCP plays and what it takes to push an app 
> to QCP.  
>
> What I really want to do is create the app in PHP, test it locally, then 
> push it out to QCP.
>
> My questions are:
>
>
>- *What can I use to develop the PHP files locally, then test them?*
>- *Is it truly just creating the php files in a directory structure 
>and declaring the app in the yaml file?*
>- *How do I setup my local environment?  I followed the instructions 
>on this, yet I'm missing something because I don't see where I test it 
>locally.*
>
>
>
> Any thoughts, directions, or insights would be so appreciated.  
>
> Terry
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9458627d-6758-4ed0-9a93-6f85b3a582d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: DevAppServerTest @Rule problem

2019-04-17 Thread ykarout via Google App Engine
I think it would be best to post this on Stackoverflow with a code snippet 
and the stack trace as it is better suited for technical development 
questions.

You can also check this doc 

 for 
an example as well.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/48ca4d35-e25a-48e6-96fa-1ee53583c473%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: AppEngine Flexible: Docker Socket error

2019-04-17 Thread Dinçer Kavraal
I haven't added any routines about docker. It was just a simple python app 
without any system customizations. 

It was a temporary issue for yesterday I believe. It can deploy withou issues 
right now.

Thanks. 

DK

ykarout via Google App Engine  şunları yazdı 
(17 Nis 2019 17:54):

> After researching a bit, this is possibly an permissions issue with Docker on 
> your machine. Please see this doc for more details.
> 
> If the issue persists, I suggest posting your question on Stackoverflow as it 
> is better suited for development questions.
> -- 
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/google-appengine/cd8314bd-f24d-4d71-a677-1b9f04dca796%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/51008CAF-90A6-4141-9EB1-4A49FAA6BBAF%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] GAE Java 8: need urlfetch to communicate between modules

2019-04-17 Thread 'Les Vogel' via Google App Engine
[bcc: a googler]
Yes - we changed the behavior with the move to Java8 but left the
work-a-round that you've found.  I don't believe the work-a-round will work
w/ later versions of Java.

The current recommendation is that you create a JWT

in one module and check it in the other.   See this Python example

 [rootdir
].
I don't think there is a Java sample yet. (I saw the bug for it a few weeks
ago).

On Tue, Apr 16, 2019 at 7:34 PM Bob Evans  wrote:

>
> Hi,
>
> After a bunch of experimentation I had to revert to the urlfetch handler (
>  urlfetch) because calling our
> backends  failed with a 302 redirect error. With the urlfetch handler, it
> works.
>
> This seems wrong. Please tell me how I should properly design this.
>
> Current design (has been working for years):
>
> Frontend module gets https request forwards it to a backend module using
> UrlConnection and the doNotFollowRedirects=false.
> Backend module is marked in web.xml CONFIDENTIAL and locked to admin role.
> Also, it checks the header for X-Google-Inbound-Appid to match our project.
>
> After upgrading, it stopped working and the backend module sends a 302
> redirect.
>
> If I add the  urlfetch to the
> frontend appengine-web.xml then it works again.
>
> It looks like the native httpconnection in java 8 does not send the
> X-Google-Inbound-Appid header either.
>
> Overall, how should one properly configure a backend module in the Java 8
> environment to receive frontend connections yet keep it inaccessible from
> external queries?
>
> Thanks for any help.
> Bob
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/077f9644-1308-48a2-a805-26007b2e966d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 


*  •  **Les Vogel*
*  •  *Cloud Developer Relations
*  •  *l...@google.com
*  •  *+1-4 <%2B1-650-338-7103>08-676-7023

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAGB1p5jPPf%2B0t_WtcXCmZvjneteC-32Qkt19AsUQqyAZ3vccRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: AppEngine Flexible: Docker Socket error

2019-04-17 Thread ykarout via Google App Engine
After researching a bit, this is possibly an permissions issue with Docker 
on your machine. Please see this doc 

 
for more details.

If the issue persists, I suggest posting your question on Stackoverflow as 
it is better suited for development questions.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cd8314bd-f24d-4d71-a677-1b9f04dca796%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] The Link To WebApp3 NonPublic Repository

2019-04-17 Thread Marcus Eagan
Hello there, 

I've recently looked into using webapp3 with a few wishes: that there is a 
lightweight framework  for working with Google App Engine that evolved from 
WebApp2, and that the next generation framework supports python 3. The 
repository listed at this website does not appear to exist, perhaps because 
it is private: https://webapp2.readthedocs.io/features.html

This sort of information is critical for developers looking to adopt the 
platform or increase our existing footprint.

Furthermore, links to documentation for both WebApp2 and WebApp3 are down. 
Please advise on what I can do about the repository and what's going on 
with the documentation.

Thanks,

Marcus

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d500c136-42bc-49f8-a6bc-4835d100f25d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: send data from VM to laptop

2019-04-17 Thread 'James ( Cloud Platform Support)' via Google App Engine
Hello Pengyuan,

You can transfer files from a VM through a few different ways. 

You can transfer from the Google Cloud shell[1] by running the following 
command:

gcloud compute scp :~/ ~/Documents/

Or you can SSH/RDP depending on the host VM OS and use the Download file 
option. These methods are outlined with the exact steps in the article 
below but either or should allow you to transfer the files.

The scp method does require you to have port 22 open.

[1] https://cloud.google.com/compute/docs/instances/transfer-files 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/239c31e4-dddb-4214-9f32-0d9f1931eab5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.