[google-appengine] Re: IP range Google App Engine

2021-04-07 Thread 'Nicola Spreafico' via Google App Engine
Hi Neils,
you can start from here: https://cloud.google.com/appengine/kb#static-ip

I don't know your specific scenario, but mind that usually this questions 
come from the need of configuring some sort of firewall for inbound 
connection, while it is not suggested to do this kind of configuration 
because that ip range is mutable and not static.


Il giorno mercoledì 7 aprile 2021 alle 20:38:03 UTC+2 Niels Corver ha 
scritto:

> Hi there,
>
> I'm looking for the external IP range my Google App Engine is using. I 
> read there is no static external IP, but maybe there is a range available?
>
> I hope anyone can help me with this :) 
>
> Best,
> Niels


-- 
_INFORMATIVA SULLA PRIVACY E SULLA CONFIDENZIALITA': Ai sensi del Reg. UE 
n.2016/679 sulla tutela della privacy, Vi informiamo che il presente 
messaggio e-mail potrebbe contenere informazioni riservate e/o fondate su 
privilegio legale, oltre a dati personali. Vi informiamo che deteniamo e 
trattiamo i dati contenuti nella presente per i soli scopi di adempiere ad 
obblighi di legge e/o contrattuali e/o per la tutela di nostri legittimi 
interessi. La conoscenza di questi dati è riservata ai soli destinatari di 
questa e-mail. Al di fuori degli scopi sopra descritti, tali dati non 
saranno da noi rivelati in alcun modo a terzi, senza il previo consenso 
scritto degli interessati coinvolti, ove prescritto e/o necessario ai sensi 
della legge applicabile. _Qualora Voi non siate gli effettivi destinatari 
della presente e-mail, Vi informiamo che ne sono severamente proibite la 
diffusione, la copia e/o la distribuzione. _Nel caso aveste ricevuto il 
presente messaggio per errore Vi preghiamo, pertanto, di informarci 
immediatamente e di eliminarlo dal vostro computer. Grazie.___
_
_
_PRIVACY 
AND CONFIDENTIALITY NOTICE: Pursuant to EU Regulation no.679/2016 on 
privacy protection, we inform You that his e-mail message might contain 
confidential and/or legally privileged information as well as personal 
data. We inform You that we hold and process all data contained therein for 
the sole purposes of meeting legal and/or contractual obligation(s) and/or 
for our legitimate interest. Knowledge of these data is reserved solely to 
the person(s) to whom this e-mail is addressed. Outside the scopes 
described above, these data will not be disclosed by us in any way to third 
parties without the prior written consent of the relevant data subject(s), 
where prescribed and/or deemed necessary by applicable law(s). _If You are 
not the intended recipient, You are hereby notified that any disclosure, 
copying and/or distribution of the contents of this e-mail message is 
strictly prohibited. _If You have received this communication in error, 
therefore, please delete it immediately and contact us to let us know it. 
Thank you._




-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0c9bbea6-a560-47ab-81db-1bf0eafcf7ban%40googlegroups.com.


[google-appengine] Re: Is the Memcache Service deprecated? (2nd generation runtime migration question)

2019-10-25 Thread 'Nicola Spreafico' via Google App Engine
Hi,

Cloud Memorystore Memcache is a product that is actually in alpha status 
right now. There is no public documentation available for this as far as I 
can see.
https://console.cloud.google.com/memorystore/memcache/instances
During february of this year they shared a Google Form for the ones who 
might be interested on alpha program (sorry but I'm not able to find the 
url).

I understand that [Cloud Memorystore Memcache] is the "managed" service 
that is (will be) available as stand-alone service instead of being 
integrated only on App Engine.
The same roadmap that tasks (Cloud Task), cron (Cloud Scheduler), datastore 
(Cloud Datastore) services have followed before this one, which 
historically were available only as built-in services of App Engine 
standard.

Il giorno venerdì 25 ottobre 2019 14:32:50 UTC+2, Ken Bailey ha scritto:
>
> I've been working on an app using the Java 8 Standard runtime, but have 
> recently looked at migrating to the new Java 11 runtime. I peeked at the 
> differences between the two (
> https://cloud.google.com/appengine/docs/standard/java11/java-differences) 
> to get an understanding of what such a migration would entail, but I'm 
> confused by some of the suggested migration paths, in particular regarding 
> Memcache. 
>
> The recommended path on that page is to create a Memorystore instance and 
> connect App Engine to it. Is this solution meant to replace the concept of 
> the Memcache Service entirely, or is it meant as more of a workaround until 
> the Memcache Service is ported or otherwise made available in the 2nd 
> generation runtimes? I haven't been able to discern a clear answer about 
> this. Some of the documentation/answers I've seen suggest that the Memcache 
> Service will be ported, for example:
>
> "The Memcache service is currently not available for the App Engine 
> flexible environment. An alpha version of the memcache service will be 
> available shortly.(from 
> https://cloud.google.com/appengine/docs/flexible/java/migrating - I know 
> it's talking about flex, but it does suggest that work is being done to 
> port the Memcache Service in some capacity)
>
> But, the Java 11 doc linked above makes no mention of this. Additionally, 
> this page (https://cloud.google.com/appengine/docs/standard/runtimes) 
> suggests that the 1st gen runtimes aren't planning on being deprecated any 
> time soon, but it doesn't make a ton of sense to me to continuing 
> developing a new app against the 1st gen runtimes if they are about to 
> enter what is essentially maintenance mode. But, the Memorystore migration 
> path seems to defeat the point of App Engine's free tier - I'd be going 
> from the free cache to having to pay ~$36/month, regardless of the app's 
> usage (I obtained that figure from the pricing calculator using 
> Memorystore's smallest cache size of 1 GB).
>
> Could I get some guidance, one way or the other?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/752dac67-5b85-4d88-992b-32945257d2c1%40googlegroups.com.


Re: [google-appengine] Re: AppEngine Java SDK 1.9.73 is not available in Maven central

2019-03-29 Thread 'Nicola Spreafico' via Google App Engine
Historically all the most updated versions of App Engine Java SDK are
deployed here:
https://search.maven.org/search?q=g:com.google.appengine%20AND%20a:appengine-java-sdk=gav

The Maven Central you linked has always been outdated compared to the
Search Maven:
https://mvnrepository.com/artifact/com.google.appengine/appengine-java-sdk

Il giorno ven 29 mar 2019 alle ore 09:53 Yuri Sergiichuk <
yuri.sergiic...@teamdev.com> ha scritto:

> Hi,
>
> Thank you for the response. But, as far as I see, the newer versions are
> still not available in Maven Central:
>
> [image: appengine-sdk-mvn-central.png]
>
> Could you please check them again?
>
> Regards,
> Yuri
>
> On Friday, March 29, 2019 at 5:37:03 AM UTC+2, Ludovic Champenois wrote:
>>
>> Hi,
>> It should be online now,
>> Cheers,
>>
>>
>> On Thursday, March 28, 2019 at 5:17:37 AM UTC-7, Yuri Sergiichuk wrote:
>>>
>>> Hi all.
>>>
>>> I've noticed that the 1.9.73 version of the AppEngine Java SDK was
>>> released
>>>  back
>>> on March 26, but it is not yet available in the Maven Central repository.
>>> And it is not the first time
>>>  the
>>> SDK for Java is not available in the Maven repository.
>>>
>> --
> 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/aca409a6-7286-4619-bdce-32cce3f1f860%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 


*Nicola Spreafico *
Software Engineer & Referente Tecnico - Operations - Noovle S.r.l.
tel. +39 02 89053350 | mob. +39 348 2861626 | mail:
nicola.spreaf...@noovle.com


[image: https://www.noovle.com]  | The Nexus of
forces

-- 
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/CAN93Wr2e_ZjiwcsDFhRUdXBjtckYt-sc5NHLA2-3yZWQns%2BYVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Java 9, 10 and forward on App Engine Standard

2018-08-01 Thread 'Nicola Spreafico' via Google App Engine
+1

Il giorno mercoledì 1 agosto 2018 14:59:52 UTC+2, Leejjon ha scritto:
>
> Since Java 9, Oracle will release new Java versions every half year.
>
> I don't want to sound impatient, but supporting Java 8 took a long time. 
> Since Java 9 containing stuff like Jigsaw it looks to me that it would be 
> quite some work to support it (but good because it might make it easier to 
> reduce the size of the Java App Engine Standard runtime).
>
> What is the plan for App Engine? Support every new version after it comes 
> out? Or only target the LTS versions like Java 11 is going to be.
>
> I was also wondering how it is going to work on app engine flexible. You 
> can run it with your own java installation, but is that going to be 
> expensive considering the new license model:
>
> https://www.aspera.com/en/blog/oracle-will-charge-for-java-starting-in-2019/
>
> Would be great if the answer was "We are going to support every version, 
> and since it's the OpenJDK you don't have to pay anything"
>
> Any indication of the future of App Engine Java Standard?
>

-- 
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/66f219a4-ac19-47da-9f90-3a337bfbee74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Whitelisting an application hosted in Google app engine

2018-05-16 Thread 'Nicola Spreafico' via Google App Engine
Hi,
please note the due to App Engine nature, there is no a single IPs.

There is a way to retrieve the interval of App Engine IPs, but is not
recommended.
https://cloud.google.com/appengine/kb/
Look for the section "*Static IP Addresses and App Engine apps*"

Il giorno mer 16 mag 2018 alle ore 18:35 Sanooj KS  ha
scritto:

> hi ,
> We do have an application hosted in google app engine . Another
> application is asking for IP ranges to whitelist our application . I
> believe we don't have a static ip range in app engine . So what is the
> recommended way to achieve it?
>
> Regards
> Sanooj
>
> --
> 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/c5704a40-ab3a-4451-8a45-a54d35cb3b75%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
*Nicola Spreafico*
Software Engineer - Cloud Development - Noovle S.r.l.
tel. +39 02 89053350  | mob. +39 348 2861626
  | mail: nicola.spreaf...@noovle.com

 [image: Noovle]
 | The Nexus of forces


___
Stampare questa e-mail danneggia l'ambiente.

-- 
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/CAN93Wr2xQY9maU0m7HZHriVNU3FemE3HOUAex8wBoKMUVCMkNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Change Instance Scaling

2017-11-04 Thread 'Nicola Spreafico' via Google App Engine
You can read from here the types of available 
scaling: 
https://cloud.google.com/appengine/docs/standard/java/an-overview-of-app-engine#scaling_types_and_instance_classes

And from here how to configurare your application basing on the scaling you 
want: 
https://cloud.google.com/appengine/docs/standard/java/config/appref#scaling_elements

Il giorno sabato 4 novembre 2017 12:11:47 UTC+1, Diego Barreiro Pérez ha 
scritto:
>
> Is there a way to alter how instances are generated?
> In my Java project, it sais that Instances are Autoscaled, but I would 
> like to set that to manual
>
> Is that possible?
>

-- 
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/c0809c8b-720a-40bc-9da2-c08600c6c1b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: swagger integration to Google app engine

2017-11-04 Thread 'Nicola Spreafico' via Google App Engine
Hello Bhuvaneshwari,
I just did the same yesterday, so I can help you out.

>From this url you can download the Swagger UI 
files: https://github.com/swagger-api/swagger-ui
Copy the "dist" folder of the repository in any folder of your webproject 
(let's say for example you'll copy the folder under ../webapp/docs)
Open the index.html file and change the url of the swagger.json file with 
the one of your application.

The end.. you can now deploy the application and hit the /docs folder, 
the UI will load with the url you configured.
You can read the GitHub description for additional informations.

Il giorno mercoledì 1 novembre 2017 14:12:45 UTC+1, Bhuvaneshwari Arkala ha 
scritto:
>
> Hello,
>
> I am trying to integrate swagger UI to my java appengine project. but not 
> finding correct links to follow.
> Please can any one suggest how to integrate swagger ui to my app enigne 
> project which is java.
>
> Thanks,
> Bhuvana
>
> *GO GREEN - SAVE PAPER - SAVE TREES* : On an average each one of us uses 
> 700 pounds of paper products every year. Industrial nations with 20 per 
> cent of the world's population consume 87 per cent of the world's writing 
> and printing papers. 
> *Please do not print this e-mail unless absolutely necessary.*
> *Legal Disclaimer: *This email has been sent to you by Wenable Inc. All 
> brands and names referred to may be trademarks of their respective 
> companies. Whilst we have taken steps to control the spread of viruses on 
> our systems, we cannot guarantee that this file is virus free.
> *Confidentiality: *Any attachments or pictures along with information in 
> this e-mail are the property of Wenable Inc. and are intended only for the 
> use of the individual or entity to which it is addressed and may contain 
> information which is privileged, highly confidential and exempt from 
> disclosure under applicable law. No addressee should forward, print, copy 
> or otherwise reproduce this message or attachments in any manner without 
> written permission of Wenable Inc. If you have received this e-mail in 
> error, you are on notice of it's status. Please notify us immediately by 
> reply e-mail and then delete the same from your system. Thank you for your 
> co-operation.
>

-- 
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/59115849-4ebc-48fa-8604-2e6ff66b614c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cannot upload SSL certificate: "You do not have sufficient permissions to view this page."

2017-09-08 Thread 'Nicola Spreafico' via Google App Engine
I had the very same problem as you, unable to load certificate and useless 
message ""You do not have sufficient permissions to view this page".

As I discovered, try upload the certificate with gcloud: 
https://cloud.google.com/appengine/docs/standard/python/using-custom-domains-and-ssl#adding_ssl_to_your_custom_domain
The error message will be a lot clearer.

In my case the problem was that I was using a wildcard certificate (like 
**.domain.com 
*) for an application mapped on a 3rd level domain 
(like *app.domain.com *).
With wildcard certificates you also need to verify the ownership of the 
naked domain *domain.com .*

I was able to discover this because (as mentioned) gcloud gave avery 
complete description of the error


*ERROR: (gcloud.beta.app.ssl-certificates.create) Error Response: [403] 
Caller is not authorized to administer this certificate.You must be a 
verified owner of the certificate's domain(s) [domain.com 
, *.domain.com ] to create, modify, 
or delete this resource.Your authorized domain(s) are [app.domain.com 
]. If you own the certificate domain(s), you can 
obtain authorization by verifying ownership via the Webmaster Central 
portal: https://www.google.com/webmasters/verification/verification. 
*

Hope that this will help you
Regards

P.S. I also raised a feature request to offer the same full description of 
gcloud to the frontend page of the Cloud Console instead of the generic 
"permissions" message

Il giorno sabato 9 settembre 2017 00:46:45 UTC+2, Imaginary Landscape ha 
scritto:
>
> Hello,
>
> For some reason I am unable to upload an SSL cert. Every time I do I get 
> the error message "You do not have sufficient permissions to view this 
> page" and I am unsure as to why. I am a verified owner of the domain and 
> likewise possess the owner role for the project. Please help!
>

-- 
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/1d557e2d-0013-4cfe-a256-89893e882ace%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cannot upload SSL certificate: "You do not have sufficient permissions to view this page."

2017-09-08 Thread 'Nicola Spreafico' via Google App Engine
I had the very same problem as you, unable to load certificate and useless 
message ""You do not have sufficient permissions to view this page".

As I discovered, try upload the certificate with 
gcloud: 
https://cloud.google.com/appengine/docs/standard/python/using-custom-domains-and-ssl#adding_ssl_to_your_custom_domain
The error message will be a lot clearer.

In my case the problem was that I was using a wildcard certificate (like 
**.domain.com*) for an application mapped on a 3rd level domain (like 
*app.domain.com*).
With wildcard certificates you also need to verify the ownership of the 
naked domain *domain.com.*

I was able to discover this because (as mentioned) gcloud gave avery 
complete description of the error



*ERROR: (gcloud.beta.app.ssl-certificates.create) Error Response: [403] 
Caller is not authorized to administer this certificate.You must be a 
verified owner of the certificate's domain(s) [domain.com, *.domain.com] to 
create, modify, or delete this resource.Your authorized domain(s) are 
[app.domain.com]. If you own the certificate domain(s), you can obtain 
authorization by verifying ownership via the Webmaster Central 
portal: https://www.google.com/webmasters/verification/verification. 
https://appengine.googleapis.com/v1beta/apps/noovle-erp-orchestrator-prod/authorizedCertificates?alt=json
 
*

Hope that this will help you
Regards

P.S. I also raised a feature request to offer the same full description of 
gcloud to the frontend page of the Cloud Console instead of the generic 
"permissions" message

Il giorno sabato 9 settembre 2017 00:46:45 UTC+2, Imaginary Landscape ha 
scritto:
>
> Hello,
>
> For some reason I am unable to upload an SSL cert. Every time I do I get 
> the error message "You do not have sufficient permissions to view this 
> page" and I am unsure as to why. I am a verified owner of the domain and 
> likewise possess the owner role for the project. Please help!
>

-- 
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/8ab62083-464e-4380-b957-607ba178aeff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Requests not showing in the logs

2017-09-02 Thread 'Nicola Spreafico' via Google App Engine
I hade the same problem in the last 2 days.

App Engine standard application, logs of requests are not shown 
after repeatedly pressing the refresh button (no filter applied, no version 
filter applied).
I also received an Error Reporting email error, pressed the "View request" 
to see the log (which trigger a request_id filter) and the search provided 
0 results.

After several minutes (10-20) the log finally appaers, so it seems to be a 
long time delay between the request itself and the relative log line

Il giorno venerdì 1 settembre 2017 17:41:27 UTC+2, Richard Cheesmar ha 
scritto:
>
> Some Requests are not showing in the cloud console - logs, but they seem 
> to be processing ok, just not appearing in the logs
>
>
>

-- 
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/2e22ceae-f439-4aa2-a991-0d1dc83aa3aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How do we vacuum indexes with datastore-indexes.xml?

2017-08-31 Thread 'Nicola Spreafico' via Google App Engine
Assuming that you have a Maven project, you can stage the project with 
appengine:stage project in order to convert the xml file to the yaml 
counterpart.
After that, in the appengine-staging folder you'll find the index.yaml file

Il giorno giovedì 31 agosto 2017 17:14:28 UTC+2, Joshua Fox ha scritto:
>
> How do I clean up indexes? The documentation 
>  
> describes  gcloud datastore cleanup-indexes 
> 
>  ~/myapp/index.yaml, 
>
> but that gives 
>  "ERROR: (gcloud.datastore.cleanup-indexes) Invalid value for 
> [index_file]: You must provide the path to a valid index.yaml file"  
>  
> when used with our *datastore-indexes.xml *, and do not want to 
> port this xml to yaml 
>

-- 
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/925dbd7b-ba62-46cd-bbe5-56913510d45c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How do we pass --log-http to gcloud when using Maven?

2017-08-14 Thread 'Nicola Spreafico' via Google App Engine
I used in the past this kind of method:

1) Staging the project with the maven plugin:
appengine:stage

2) Deploy the staged directory directly with gcloud
 
*gcloud --quiet --log-http --verbosity debug app deploy 
"$staging_directory/app.yaml" --version $version --project $project*

If you need to display http logs and verbosity debug for testing, you can 
use this method (and you can wrap both commands in a single script)

Il giorno lunedì 14 agosto 2017 11:54:01 UTC+2, Joshua Fox ha scritto:
>
> How do we pass --log-http to gcloud when using the Cloud appengine-maven
> -plugin  (
> com.google.appengine:gcloud-maven-plugin)?
>
> In an earlier question to the Google Group  
> we
>  
> asked about how we pass --verbosity=debug, and apparently the answer was 
> that the Maven plugin does not support that.
>
> If the Maven plugin does not support passing switches to gcloud, Is 
> Google planning to add that  ASAP? It seems like very basic functionality 
> for a Maven plugin whose whole job is to wrap gcloud.
>

-- 
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/ecd33aac-e9ee-4b50-bf9a-dac4209b0fa5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Can't file bugs to issue tracker

2017-06-05 Thread 'Nicola Spreafico' via Google App Engine
It is happenging to me as well. Glad I'm not the only one
At first I thought about an issue with my browser, but you have the same 
error.

Error: The following field(s) have invalid values: must be a comma 
separated list of issue IDs

Chrome with Windows 10, I'm trying to open a new issue on [Public Trackers 
> Cloud Platform > Developer Tools > Cloud SDK]

Il giorno domenica 4 giugno 2017 20:29:34 UTC+2, natario ha scritto:
>
> I fear this might be a dumb question, but I am not able to report issues 
> to the issue tracker at issuetracker.google.com.
> I select a component (e.g. Public Trackers > Cloud Platform > Compute > 
> App Engine > Flexible), write down the issue, click create, and get a 
> message on top of the page saying:
>
> Error: The following field(s) have invalid values: must be a comma 
> separated list of issue IDs
>
> I have no idea why and where should I put a list of issue IDs. And I can't 
> report this issue through the official tracker because, you know.
> Is there something wrong on my side?
>
> Safari 9.0.3.
>
>

-- 
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/941e41f7-2533-4d79-acdb-2c2b2eda8f83%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] AppIdentity Credential vs Application Default Credentials

2017-04-28 Thread 'Nicola Spreafico' via Google App Engine
Hi,
I'm unable to properly understand the differences between this 2 
authentication methods:

AppIdentity: 
https://cloud.google.com/appengine/docs/standard/java/appidentity/#asserting_identity_to_google_apis
Application Default 
Credentials: 
https://developers.google.com/identity/protocols/application-default-credentials#whentouse

My use case is use the Google APIs with the App Engine application itself 
as authenticated user.

As far I can understand, with Application Default Credentials I can create 
an "hybrid" code that can work in both local and online environment (in 
local the user will be my own, configured in GCloud, and online will be the 
application).
The AppIdentity method instead does not work in local enviroment.

The AppIdentify only provides and accessToken (but a Credential object can 
be built using this token)
The ApplicationDefaultCredentials directly provides a Credential object

is there a comparison chart available?

-- 
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/780b7981-f1ac-4eab-9c1f-e5bdebfffe38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Cron tasks not uploaded using Google Cloud Tools for Eclipse

2017-03-15 Thread 'Nicola Spreafico' via Google App Engine
If you're using a Maven-based project, by default implementation of the 
Maven Plugin only the app.yaml file (the application itself) is deployed.

If you need to deploy the *cron*, *queue *and *index *as well, you need to 
configure the deployables configuration with all the files
Please see this issue 
 where 
I posted a configuration example.

With the default configuration of the Maven plugin, your configuration will 
be something like this:


 target/appengine-staging/app.yaml
 target/appengine-staging/cron.yaml
 target/appengine-staging/queue.yaml
 target/appengine-staging/index.yaml



Il giorno martedì 14 marzo 2017 22:35:19 UTC+1, Daniel Garrido ha scritto:
>
> Hi all,
>
> I have tried to create a cron task using cron.xml file:
>
> 
> 
>   
> /save
> daily summary job
> every 2 minutes
>   
> 
>
> When I deploy my app to app engine using Google Cloud Tools for Eclipse, 
> the cron task is not being created (it doesn't appear in the console).
>
> I tested the same example using the old Eclipse plugin and it worked.
>
> It seems that the cron.xml file is not being uploaded. Documentation (
> https://cloud.google.com/appengine/docs/standard/java/config/cron) says 
> that I have to upload cron tasks using appcfg. This is automatically 
> performed by the eclipse plugin.
>
> Finally, I used appcfg and the cron task was created.
>
> I am wondering if I can do the same using the new Google Cloud Tools in an 
> automatic way.
>
> Best regards,
> Daniel.
>

-- 
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/88acad68-eeb4-487a-92e3-315313fb4334%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Appengine Endpoints Api Explorer 'time to execute'

2017-03-01 Thread 'Nicola Spreafico' via Google App Engine
I had a similar problem, discussed with Google Support (case number 
11020875)

Which version of Google Endpoints are you using?

Il giorno mercoledì 1 marzo 2017 03:52:48 UTC+1, Rajesh Gupta ha scritto:
>
> Hi,
> I am testing the deployed endpoints. Its a simple api with 3 fieds
> I am testing using the API explorer console.
>
> Please find the attached screen shot.  
>
> In that screen, I fill all the fields and do 'Execute'
> The results is displayed along with the 'time to execute'
>
> This time shown varies very widely from 300ms to 6000ms.  why?
>
> I observe the logs on the server side, and the logs time is consistently 
> between 100ms - 300ms
>
> Why is the 'time to execute' shown on the API's explorer screen varies so 
> widely?  
>
> Real point is, this wide time variation happens in the production 
> application also.
>
> -- 
> Regards,
> Rajesh
> *www.VeersoftSolutions.com *
> *www.GainERP.com *
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and 
> Mobile*
>
>

-- 
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/3688a2e3-d2a3-4e2b-8b66-b8ee84e68249%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to download data from my datastore to the local machine

2017-02-27 Thread 'Nicola Spreafico' via Google App Engine
The appcfg client cannot be used anymore because it use a username/password 
authentication, which has been deprecated in favor of oauth2 (and not 
supported by the client itself).
About 1 year ago I had a very very long ticket with google support (issue 
number #08922843) where we analyzed all this situation, here a couple of 
comments:

We ended up writing a very simple remote API handler (both server and 
client) in order to reproduce the same need as you.
You need to deploy online a version with remote_api enabled and the write a 
simple client which will download the data (for all the kinds you need) 
from online and load it inside the local dev-server

In my case the client was written in Java, but because the remote_api 
exists in python I'm very confident that you can build a client of your own.
The main thing to take care is (this example is for java language, i think 
a python counterpart exists as well)
if ( ... remote api connected to development server ...) {
options.useDevelopmentServerCredential();
} else {
options.useApplicationDefaultCredential();
}

When you need to connect with the online environment, the 
application-default is used which need to be configured using GCloud SDK

https://cloud.google.com/sdk/gcloud/reference/beta/auth/application-default/login




Il giorno lunedì 27 febbraio 2017 21:56:47 UTC+1, Delyan Spasov ha scritto:
>
> I've wasted lot of time trying to download the datatstore to my local 
> machine. Nothing works!
>
> The appcfg download_data doesn't seem to work any more. There is nothing 
> about it in the new docs. It's not even mentioned even as deprecation 
> notice.
>
> It is still there in the appcfg. But it doesn't work. 
> I've tried to upload some old data. It doesn't work.
> I've tried the remote_api. Tones of errors.
>
> They all used to work. What happened?
> How to work with my database on the local machine?  
>

-- 
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/eb89bebe-305b-4f04-a600-69d59e234a7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How to make Google appEngine plugin for Eclipse neon.2 work with Cloud SDK for Python in Windows.

2016-12-29 Thread 'Nicola Spreafico' via Google App Engine
Here is my current configuration

Eclipse Java EE IDE for Web Developers.


Version: Neon.2 Release (4.6.2)
Build id: 20161208-0600


Google Cloud Platform for Eclipse 4.5 and 4.6
0.1.0.201612082156
com.google.cloud.tools.eclipse.suite.e45.feature.feature.group Google, Inc.

and is working fine.

Which version of the Eclipse plugin are you using?

Il giorno mercoledì 28 dicembre 2016 15:08:03 UTC+1, Vasan Varadarajan ha 
scritto:
>
>
> After installing the plugin for Eclipse neon.2, I am unable to configure 
> the google app engine (Cloud SDK for Python). The error is 'Failed to 
> initialize App Engine SDK at C:\Program Files (x86)\Google\Cloud SDK' . I 
> downloaded the Cloud SDK into that location.
>
> I noticed that I was able to do this configuration if I download the Cloud 
> SDK for java.  The java SDK download is a zip file, whereas the python 
> download is thru the installer for windows.
>
> My Env: Windows 10, Eclipse neon.2, Cloud SDK
>
> Is there any updated documentation for 'Cloud SDK for Python' and the 
> Eclipse appEngine plugin for Windows?  
>

-- 
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/8d214e5e-1f9b-4c96-9fa7-b383839f82a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Requests coming up in logs several times

2016-12-05 Thread 'Nicola Spreafico' via Google App Engine
I got the same problem already discussed with Google Support
This morning (UTC) I got this reply:

The issue was due to an incorrect parsing that caused precision loss of the 
timestamps which in turn is causing the same log entry to show over and 
over again as a user attempts to scroll the UI in some instances. This has 
been corrected and it will be released in production during this week.


Il giorno domenica 4 dicembre 2016 12:56:40 UTC+1, Richard Cheesmar ha 
scritto:
>
>
> Requests seem to be appearing in logs on the console several times for 
> each request.
>
> Is this a problem with the service?
>

-- 
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/1d388365-e733-4c85-97b7-d573cdb13edb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.