[google-appengine] New Log Viewer - Unusable

2016-03-10 Thread Rajesh Gupta
New Log viewer is slow with many issues.
It is just not usable for production logs.
I was examining the logs that are 10 days old.
I am using the advance filter.
- Don't know if I am scrolling down, wheather the logs are shown older or
newer
- When given the date, don't know, the logs are searching older than the
given date or later than
the given date.
- Too slow,
- Some times does not fetch the logs even after waiting for 1-2 min.
- The menu link 'view - show new logs at the top'.  Don't know which state
that it is, and it does not store the state. There should be a checkmark,
saying it is showing the new logs at top or at the bottom.

Request appengine team, to fix the log viewer and make it more pleasant to
use.


-- 
Rajesh
*www.VeersoftSolutions.com *
*www.AccountingGuru.net *
*Accounting/Inventory/Orders 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/CA%2BS7ijZLVKK_Ayd6%3DM%2BX8j2eTG8sJLadtxWyk7ie3M7h_K03fw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: New Log Viewer - Unusable

2016-03-11 Thread Rajesh Gupta
It is https://code.google.com/p/googleappengine/issues/detail?id=12815
Please star it.

On Fri, Mar 11, 2016 at 1:52 PM, Nickolas Daskalou 
wrote:

> Another gripe with the new Logs viewer - multiple entries appear for the
> one request e.g. in the below screenshot, only 2 requests were made, but
> that resulted in 6 log entries (3 entries or each request).
>
> [image: Inline images 1]
>
> Very confusing to look at.
>
> Nick
>
>
> On 11 March 2016 at 14:43, Christian F. Howes <
> christian.ho...@starmakerinteractive.com> wrote:
>
>> Rajesh,
>>
>> I'd love to know what the link is to the issue you file in the Public
>> Issue tracker as i would like to star it!  I have the same problems and
>> still use the old log viewer because of them.
>>
>> thanks,
>>
>> christian
>>
>>
>> On Thursday, March 10, 2016 at 4:01:27 PM UTC-8, Nick (Cloud Platform
>> Support) wrote:
>>>
>>> Hey Rajesh,
>>>
>>> Thanks for taking the time to write your feedback. Unfortunately, this
>>> isn't the right place to make such a posting. If you have any concrete
>>> issues to report or feature requests to propose, feel free to open a thread
>>> in the Public Issue Tracker for the Cloud Platform
>>> <https://code.google.com/p/google-cloud-platform/issues/list>. We
>>> monitor it every day and will react quickly to any issue reports or feature
>>> requests there.
>>>
>>> Best wishes,
>>>
>>> Nick
>>> Cloud Platform Community Support
>>>
>>> On Thursday, March 10, 2016 at 7:24:24 AM UTC-5, Rajesh Gupta wrote:
>>>>
>>>> New Log viewer is slow with many issues.
>>>> It is just not usable for production logs.
>>>> I was examining the logs that are 10 days old.
>>>> I am using the advance filter.
>>>> - Don't know if I am scrolling down, wheather the logs are shown older
>>>> or newer
>>>> - When given the date, don't know, the logs are searching older than
>>>> the given date or later than
>>>> the given date.
>>>> - Too slow,
>>>> - Some times does not fetch the logs even after waiting for 1-2 min.
>>>> - The menu link 'view - show new logs at the top'.  Don't know which
>>>> state that it is, and it does not store the state. There should be a
>>>> checkmark, saying it is showing the new logs at top or at the bottom.
>>>>
>>>> Request appengine team, to fix the log viewer and make it more pleasant
>>>> to use.
>>>>
>>>>
>>>> --
>>>> Rajesh
>>>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>>>> *www.AccountingGuru.net <http://www.AccountingGuru.net>*
>>>> *Accounting/Inventory/Orders 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/eb398bb2-3da8-4267-9b8c-31441cbb45ec%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-appengine/eb398bb2-3da8-4267-9b8c-31441cbb45ec%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> 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/CAOj3zuBCZtAaLm5ghDKTua_4Du23uCE6a%2BKUtOjS413z%3DnRVSg%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-appengine/CAOj3zuBCZtAaLm5ghDKTua_4Du23uCE6a%2BKUtOjS413z%3DnRVSg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.AccountingGuru.net <http://www.AccountingGuru.net>*
*Accounting/Inventory/Orders 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/CA%2BS7ijbR-SXbXCXa2K8Log7sMXWYfr%2B1Vgv9EaWQwSk2DtQt4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Architecture question

2016-03-18 Thread Rajesh Gupta
Hi,
We are using java appengine.  We have already using 160 indexes.

We plan to expand further with more functionality, but we will hit the 200
index limit.
Our current architecture is servlets/jsp, with several GWT modules.

What are my architecture options to add more functionality, with out
hitting the 200 index limit.
Can I use another new appid, and do the remote-api from the serverside java
code?

Rajesh
*www.VeersoftSolutions.com *
*www.AccountingGuru.net *
*Accounting/Inventory/Orders 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/CA%2BS7ijbo4XJGNaYUxhkQmiAY8iqxpo5o8AJD5obmbXcYuc%2BL2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Deleting Old backups

2016-06-03 Thread Rajesh Gupta
In the datastore admin console, the old backups cannot be seen.
It should last few backups only.

How to delete backup not shown in the datastore admin console

-- 
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders 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/CA%2BS7ijaEgo7deVHoABJi50BovNc2YognZMfLPvxNF%2BQGNi3x1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] logging order not correctly shown in the logs viewer

2016-06-05 Thread Rajesh Gupta
Hello,
I have noticed in the logs viewer, sometimes, that log.info and log.severe
logs don't come in order.

It happens in both the old logs viewer and new logs viewer

-- 
Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders 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/CA%2BS7ijYWFTKzT9aJaU5ooG954%2BrBr-4vAFy9SpObSrhDR8rXzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Deleting Old backups

2016-06-05 Thread Rajesh Gupta
How can I delete very old backups?

On Fri, Jun 3, 2016 at 6:21 PM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> In the datastore admin console, the old backups cannot be seen.
> It should last few backups only.
>
> How to delete backup not shown in the datastore admin console
>
> --
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.GainERP.com <https://www.gainerp.com>*
> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile*
>
>


-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://www.gainerp.com>*
*Accounting/Inventory/Orders 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/CA%2BS7ijbsiMpPHESs3Y3s_%2Bk6uyKHKOjYUV2QfUv1wNFuD_-qHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Deleting Old backups

2016-06-07 Thread Rajesh Gupta
In the datastore admin console, there is a section 'Backups'
In that section it does not display all the backups.  In my case, 100
backups are displayed.

The backups are stored in the cloudstorage. We have some very old backups
that are stored in the blobstore as well.
We have backups for last 2-3 years.



On Mon, Jun 6, 2016 at 8:17 PM, 'Nicholas (Google Cloud Support)' via
Google App Engine  wrote:

> Thanks for sharing your questions here.  To be a little more specific, I
> would need to confirm a little more information.
>
>- Where can you see that there are very old backups since they are not
>listed in the Datastore Admin?
>- Are these backups stored in a Cloud Storage bucket?
>- How old are these backups?
>
> With the above information, I should be able to provide more tailored
> advice.
>
> On Friday, June 3, 2016 at 8:51:44 AM UTC-4, Rajesh Gupta wrote:
>>
>> In the datastore admin console, the old backups cannot be seen.
>> It should last few backups only.
>>
>> How to delete backup not shown in the datastore admin console
>>
>> --
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>> *www.GainERP.com <https://www.gainerp.com>*
>> *Accounting/Inventory/Orders 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/a245f202-2a6c-4f4a-9a85-a959d1b695d3%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/a245f202-2a6c-4f4a-9a85-a959d1b695d3%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://www.gainerp.com>*
*Accounting/Inventory/Orders 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/CA%2BS7ijb4HkYj-%3Dk_HVzwnYv1gpFqUQDzm%3DWepdL%3DXr-K_q_quA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Endpoint User Authentication

2016-06-08 Thread Rajesh Gupta
I have seen some posts on the Stack Overflow that, Endpoints will not work
with Google Accounts Authentication. I have also tried and it does not work.
This means, if you are using UserServiceFactory for authentication, and
then make endpoints call through a javascript client , then a User object
in the server-side is null.  You cannot recreate a valid User object.



On Fri, Jun 3, 2016 at 4:02 AM, 'Nick (Cloud Platform Support)' via Google
App Engine  wrote:

> Hey Raunak,
>
> The documentation on cloud.google.com is the best place to go, and
> Firebase is definitely not necessary. If you want to work with the default
> authentication options you can read the sections under "Calling Cloud
> Endpoints from Clients
> "
> (linking "Calling Endpoints from an Android App" but there's also iOS
> 
> and JavaScript
> 
> client documentation). If you want to authenticate users through any other
> system on your client-side, you can pass their auth info along with the
> request and use a Custom Authenticator (see these two Stack Overflow
> questions: [1]
> 
> , [2]
> )
> to rebuild a User object on the server-side.
>
> I hope these documentation and links are helpful. Feel free to return to
> ask any questions you still have after reading!
>
> Cheers,
>
> Nick
> Cloud Platform Community Support
>
> On Thursday, June 2, 2016 at 8:52:55 AM UTC-4, Raunak Gupta wrote:
>>
>> I'm new to App Engine and Google's offering for developers. Creating
>> endpoints so far have been fairly straight forward. Having said that, I'm
>> kind of lost how to authenticate users (using username/password), and
>> passing those details in Endpoints. Googling yields multiple results
>> suggesting I should use Google Identity Toolkit, and upon opening Toolkit
>> docs, it suggests I should use Firebase. Half of the times the docs aren't
>> inline with the development console which is only adding to the confusion.
>> Anyone experienced here can point me to recent JAVA based tutorial would be
>> greatly appreciated.
>>
> --
> 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/2014672a-d1ff-4b2d-a3e4-fc1b01852718%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders 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/CA%2BS7ijbzTfmm2NnpVHXs4xUsbqGB7SH7zV5q5BctJymfu6JePA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Endpoint User Authentication

2016-06-08 Thread Rajesh Gupta
Please see
http://stackoverflow.com/questions/16288236/access-userservice-from-google-cloud-endpoint

Create a simple endpoints app and provide login with Google Acccounts
After the user logged in, then go to a page that use Javascript gapi to
make a authenticated endpoint call.
The User object on the server-side is null.



On Wed, Jun 8, 2016 at 9:57 PM, 'Nick (Cloud Platform Support)' via Google
App Engine  wrote:

> Hey Rajesh,
>
> Could you link some of those questions you've seen this on? I'm not sure
> I'm aware of any such limitation, and as far as I know, it's easiest to
> authenticate with Google Accounts, as opposed to other services, where
> you'd have to write (still not very complex) a bit of code for custom
> authentication.
>
> Also, feel free to share the code you've got right now, in the client and
> the endpoint, and maybe I can provide some recommendations.
>
> Cheers,
>
> Nick
> Cloud Platform Community Support
>
> On Wednesday, June 8, 2016 at 9:39:27 AM UTC-4, Rajesh Gupta wrote:
>>
>> I have seen some posts on the Stack Overflow that, Endpoints will not
>> work with Google Accounts Authentication. I have also tried and it does not
>> work.
>> This means, if you are using UserServiceFactory for authentication, and
>> then make endpoints call through a javascript client , then a User object
>> in the server-side is null.  You cannot recreate a valid User object.
>>
>>
>>
>> On Fri, Jun 3, 2016 at 4:02 AM, 'Nick (Cloud Platform Support)' via
>> Google App Engine  wrote:
>>
>>> Hey Raunak,
>>>
>>> The documentation on cloud.google.com is the best place to go, and
>>> Firebase is definitely not necessary. If you want to work with the default
>>> authentication options you can read the sections under "Calling Cloud
>>> Endpoints from Clients
>>> <https://cloud.google.com/appengine/docs/java/endpoints/calling-from-android>"
>>> (linking "Calling Endpoints from an Android App" but there's also iOS
>>> <https://cloud.google.com/appengine/docs/java/endpoints/calling-from-ios>
>>> and JavaScript
>>> <https://cloud.google.com/appengine/docs/java/endpoints/calling-from-javascript>
>>> client documentation). If you want to authenticate users through any other
>>> system on your client-side, you can pass their auth info along with the
>>> request and use a Custom Authenticator (see these two Stack Overflow
>>> questions: [1]
>>> <http://stackoverflow.com/questions/25365858/google-cloud-endpoints-and-users-authentication/25390994>
>>> , [2]
>>> <http://stackoverflow.com/questions/28445840/how-can-i-pass-custom-information-from-an-app-engine-authenticator-to-the-endpoi/33656908#33656908>)
>>> to rebuild a User object on the server-side.
>>>
>>> I hope these documentation and links are helpful. Feel free to return to
>>> ask any questions you still have after reading!
>>>
>>> Cheers,
>>>
>>> Nick
>>> Cloud Platform Community Support
>>>
>>> On Thursday, June 2, 2016 at 8:52:55 AM UTC-4, Raunak Gupta wrote:
>>>>
>>>> I'm new to App Engine and Google's offering for developers. Creating
>>>> endpoints so far have been fairly straight forward. Having said that, I'm
>>>> kind of lost how to authenticate users (using username/password), and
>>>> passing those details in Endpoints. Googling yields multiple results
>>>> suggesting I should use Google Identity Toolkit, and upon opening Toolkit
>>>> docs, it suggests I should use Firebase. Half of the times the docs aren't
>>>> inline with the development console which is only adding to the confusion.
>>>> Anyone experienced here can point me to recent JAVA based tutorial would be
>>>> greatly appreciated.
>>>>
>>> --
>>> 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/2014672a-d1ff-4b2d-a3e4-fc1b01852718%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-appengine/2014672a

Re: [google-appengine] Re: Deleting Old backups

2016-06-10 Thread Rajesh Gupta
Hi,
Any ideas on this.

On Tue, Jun 7, 2016 at 7:01 PM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> In the datastore admin console, there is a section 'Backups'
> In that section it does not display all the backups.  In my case, 100
> backups are displayed.
>
> The backups are stored in the cloudstorage. We have some very old backups
> that are stored in the blobstore as well.
> We have backups for last 2-3 years.
>
>
>
> On Mon, Jun 6, 2016 at 8:17 PM, 'Nicholas (Google Cloud Support)' via
> Google App Engine  wrote:
>
>> Thanks for sharing your questions here.  To be a little more specific, I
>> would need to confirm a little more information.
>>
>>- Where can you see that there are very old backups since they are
>>not listed in the Datastore Admin?
>>- Are these backups stored in a Cloud Storage bucket?
>>- How old are these backups?
>>
>> With the above information, I should be able to provide more tailored
>> advice.
>>
>> On Friday, June 3, 2016 at 8:51:44 AM UTC-4, Rajesh Gupta wrote:
>>>
>>> In the datastore admin console, the old backups cannot be seen.
>>> It should last few backups only.
>>>
>>> How to delete backup not shown in the datastore admin console
>>>
>>> --
>>> Rajesh
>>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>>> *www.GainERP.com <https://www.gainerp.com>*
>>> *Accounting/Inventory/Orders 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/a245f202-2a6c-4f4a-9a85-a959d1b695d3%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-appengine/a245f202-2a6c-4f4a-9a85-a959d1b695d3%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Regards,
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.GainERP.com <https://www.gainerp.com>*
> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile*
>
>


-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://www.gainerp.com>*
*Accounting/Inventory/Orders 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/CA%2BS7ijasLzv6iduwXb9FpHqoRVHTXYYWN3FObC299nP5bvkM2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Deleting Old backups

2016-06-13 Thread Rajesh Gupta
I did not understand.  How do I copy to a different cloud storage to
restore from?

How do I see the old backups, so that I can delete.


On Mon, Jun 13, 2016 at 12:57 AM, 'Adam (Cloud Platform Support)' via
Google App Engine  wrote:

> The Datastore Admin backup handler only lists a maximum of 100 results
> from the Cloud Storage bucket when it looks for backups. To see older
> backups, you can copy them into a different Cloud Storage bucket to restore
> from, or reduce the number of backups to less than 100.
>
> On Friday, June 10, 2016 at 10:09:40 PM UTC-4, Rajesh Gupta wrote:
>>
>> Hi,
>> Any ideas on this.
>>
>> On Tue, Jun 7, 2016 at 7:01 PM, Rajesh Gupta wrote:
>>
>>> In the datastore admin console, there is a section 'Backups'
>>> In that section it does not display all the backups.  In my case, 100
>>> backups are displayed.
>>>
>>> The backups are stored in the cloudstorage. We have some very old
>>> backups that are stored in the blobstore as well.
>>> We have backups for last 2-3 years.
>>>
>>>
>>>
>>> On Mon, Jun 6, 2016 at 8:17 PM, 'Nicholas (Google Cloud Support)' via
>>> Google App Engine  wrote:
>>>
>>>> Thanks for sharing your questions here.  To be a little more specific,
>>>> I would need to confirm a little more information.
>>>>
>>>>- Where can you see that there are very old backups since they are
>>>>not listed in the Datastore Admin?
>>>>- Are these backups stored in a Cloud Storage bucket?
>>>>- How old are these backups?
>>>>
>>>> With the above information, I should be able to provide more tailored
>>>> advice.
>>>>
>>>> On Friday, June 3, 2016 at 8:51:44 AM UTC-4, Rajesh Gupta wrote:
>>>>>
>>>>> In the datastore admin console, the old backups cannot be seen.
>>>>> It should last few backups only.
>>>>>
>>>>> How to delete backup not shown in the datastore admin console
>>>>>
>>>>> --
>>>>> Rajesh
>>>>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>>>>> *www.GainERP.com <https://www.gainerp.com>*
>>>>> *Accounting/Inventory/Orders 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/a245f202-2a6c-4f4a-9a85-a959d1b695d3%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/google-appengine/a245f202-2a6c-4f4a-9a85-a959d1b695d3%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Rajesh
>>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>>> *www.GainERP.com <https://www.gainerp.com>*
>>> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile*
>>>
>>>
>>
>>
>> --
>> Regards,
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>> *www.GainERP.com <https://www.gainerp.com>*
>> *Accounting/Inventory/Orders 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/9c6c4c58-d06f-402b-9816-f66c739a9388%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/9c6c4c58-d06f-402b-9816-f66c739a9388%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://www.gainerp.com>*
*Accounting/Inventory/Orders 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/CA%2BS7ijbJ61uz4e7%2B-xe%3DoXQ581-dZG0Yy9LeSpyHGFK5Xfb04g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Deleting Old backups

2016-06-15 Thread Rajesh Gupta
Any other way.  I have to delete 2-3 old backups which are backed up every
day/week.

On Wed, Jun 15, 2016 at 3:04 AM, 'Nicholas (Google Cloud Support)' via
Google App Engine  wrote:

> You can only see last 100 backups in the list.  The only way to see those
> beyond 100 is to delete some of the oldest ones you can see.  Then, you
> will start to see even older ones in the list.
>
> On Friday, June 3, 2016 at 8:51:44 AM UTC-4, Rajesh Gupta wrote:
>
>> In the datastore admin console, the old backups cannot be seen.
>> It should last few backups only.
>>
>> How to delete backup not shown in the datastore admin console
>>
>> --
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>> *www.GainERP.com <https://www.gainerp.com>*
>> *Accounting/Inventory/Orders 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/594a05b5-af02-45f5-ac8f-a3972dbdf15e%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/594a05b5-af02-45f5-ac8f-a3972dbdf15e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://www.gainerp.com>*
*Accounting/Inventory/Orders 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/CA%2BS7ijb_NtA%3DwV46ehGpyYe7oeWbQekqV%2BhEX4ft7M6omxBCTg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Deleting Old backups

2016-06-15 Thread Rajesh Gupta
Any other way.  I have to delete 2-3 years old backups which are backed up
every day/week.

On Thu, Jun 16, 2016 at 8:06 AM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> Any other way.  I have to delete 2-3 old backups which are backed up every
> day/week.
>
> On Wed, Jun 15, 2016 at 3:04 AM, 'Nicholas (Google Cloud Support)' via
> Google App Engine  wrote:
>
>> You can only see last 100 backups in the list.  The only way to see those
>> beyond 100 is to delete some of the oldest ones you can see.  Then, you
>> will start to see even older ones in the list.
>>
>> On Friday, June 3, 2016 at 8:51:44 AM UTC-4, Rajesh Gupta wrote:
>>
>>> In the datastore admin console, the old backups cannot be seen.
>>> It should last few backups only.
>>>
>>> How to delete backup not shown in the datastore admin console
>>>
>>> --
>>> Rajesh
>>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>>> *www.GainERP.com <https://www.gainerp.com>*
>>> *Accounting/Inventory/Orders 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/594a05b5-af02-45f5-ac8f-a3972dbdf15e%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-appengine/594a05b5-af02-45f5-ac8f-a3972dbdf15e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Regards,
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.GainERP.com <https://www.gainerp.com>*
> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile*
>
>


-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://www.gainerp.com>*
*Accounting/Inventory/Orders 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/CA%2BS7ijaVN%3Dv%3DwUoei5zoBbS9nGroO%2BnayAyq4yq2JjU0RCJU5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: GAE Latency & Instance issues

2016-07-15 Thread Rajesh Gupta
Hi,
Our team has the same issue, and it is still bothering us a lot.
Please see the issue.
https://code.google.com/p/googleappengine/issues/detail?id=12564

It was raised with the Google Appengine production team.

To support the Google team for the evidence, our team slimmed down our
project and submitted minimal code which can be verified by the appengine
team

Specifically see #59 comments.
https://code.google.com/p/googleappengine/issues/detail?id=12564#c59

"2) This happens in part because the the servlet container is threaded and
will attempt to service requests as soon as it is able. There can also be
some startup activity that is not handled by the warmup request and can
only occur within the first request (eg. classpath scanning). How much
depends on the libraries and frameworks you are using and how much you are
able to handle in your warmup request handler."





On Fri, Jul 1, 2016 at 12:58 PM, Thomas Taschauer  wrote:

> One thing I noticed is that the first request(s?) served by a fresh
> instance will always be really slow. Not that they stay in the request
> queue for a longer time (which is expected behaviour of course), but they
> have long "pauses" in the middle of the request as you mentioned before,
> usually up to 5 seconds in my case.
>
> What I'm going to test next is upgrading to F2 - hoping for smaller pauses
> due to a faster CPU - and reverting other scaling-options to default (used
> max_concurrent_requests and max_idle_instances before) hoping for the
> AppEngine scaler to figure it out himself. :)
>
> On Thursday, June 30, 2016 at 1:13:42 PM UTC+2, troberti wrote:
>>
>> Great to hear that it helps. Actually, if you are using F4s, I might try
>> a slightly higher max_concurrent_requests , say 4. Again, test and compare
>> to be sure.
>>
>> Finally, to reduce costs, I would recommend to set max_idle_instances to
>> 1. Keep min_idle_instances to what you need for your application. For us
>> this reduces cost significantly without any apparent drawbacks.
>>
>> On Thursday, June 30, 2016 at 11:44:34 AM UTC+2, Trevor wrote:
>>>
>>> Well, I have to say thank you very, very much. Thanks to your advice we
>>> have our lowest latency in 3 years! Sub 300ms average.  As expected though,
>>> we are now sitting on 21 billed f4 instances, which will potentially cost
>>> us in the order of 3x our current ($30-40 -> $100+), but we will tweak that
>>> from tomorrow onwards. Peak hour is about to hit so we are going to see if
>>> the system can keep sub-300ms at the current "automatic" setting for
>>> scaling. But yes, once again, thank you for solving in 5 minutes what I
>>> have been working on doing for 2 weeks (my tears are from joy and sadness
>>> all at once)
>>>
>>>
>>> 
>>>
>>>
>>> 
>>>
>>>
>>> On Thursday, June 30, 2016 at 6:03:23 PM UTC+9, troberti wrote:

 Right, you should definitely test and see what the results are. My
 first inclination was also to increase max_concurrent_requests, but because
 then all those requests have increased latency, the actual QPS per instance
 decreased! Lowering max_concurrent_requests decreased request latency, so
 each instance could process more requests/second.

 We use F1 instances, because we do not need the additional memory, and
 our requests perform mostly RPCs. In our testing, faster instance classes
 do process requests faster, but also cost significantly more.  F1s provide
 the best performance/cost ratio for us. This could be a Python thing, not
 sure. Again, you should really test and figure out what is the best for
 your application+runtime.

>>> --
> 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/90b5d4dc-98c1-44b1-bf6f-147302350e7e%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders on Google Cloud Platform and Mobile*

-- 
You received this message because you are subscribed to the Google Groups 
"Goo

[google-appengine] RemoteAPI - LoginException

2016-07-19 Thread Rajesh Gupta
I am using
RemoteApiInstaller installer = new RemoteApiInstaller();
RemoteApiOptions options =
new RemoteApiOptions().server(domainName, portNumber)
.credentials(userName, passwd);
installer.install(options);

It is throwing the follow exception
 com.google.appengine.tools.remoteapi.LoginException: Bad authentication
response: 404

-- 
Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders 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/CA%2BS7ijaG43QS2fPBbouPZ07ULRTsTDyRHQaHSLsUQs2GDgkg6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: RemoteAPI - LoginException

2016-07-19 Thread Rajesh Gupta
I tried the following also - using useApplicationDefaultCredentail.
RemoteApiOptions options =
new RemoteApiOptions().server(serverConfig.domainName,
serverConfig.portNumber).
useApplicationDefaultCredential();

installer.install() still throws error.


I am running a local server and trying to access remote datastore.


On Tue, Jul 19, 2016 at 1:24 PM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> I am using
> RemoteApiInstaller installer = new RemoteApiInstaller();
> RemoteApiOptions options =
> new RemoteApiOptions().server(domainName, portNumber)
> .credentials(userName, passwd);
> installer.install(options);
>
> It is throwing the follow exception
>  com.google.appengine.tools.remoteapi.LoginException: Bad authentication
> response: 404
>
> --
> Regards,
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.GainERP.com <https://www.gainerp.com>*
> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile*
>
>


-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://www.gainerp.com>*
*Accounting/Inventory/Orders 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/CA%2BS7ijb3MRF0vCu8SD3oGGeO7azcYs-DhHck0Up1eSDL_sYQxg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: RemoteAPI - LoginException

2016-07-20 Thread Rajesh Gupta
Hi,
It was working fine last 3-4 years.

Why SO?  This is not a code problem. Suddenly it stopped working.  It is
some configuration issue, after the google cloud moved completely into the
new datastore admin console.

Any configuration changes on the appid is required?

On Thu, Jul 21, 2016 at 3:48 AM, 'Nick (Cloud Platform Support)' via Google
App Engine  wrote:

> Hey Rajesh,
>
> As mentioned in previous threads, this forum should not be used for
> troubleshooting posts like this. You should either post an issue like this
> to the Public Issue Tracker if you are confident it's a platform issue (you
> have read the documentation and the system is not behaving as it should),
> or to Stack Overflow if it seems more like a possible confusion on your
> end.
>
> Nonetheless, I'll help you with some basic advice on this problem:
>
> It seems that you have changed the authentication part of the code as a
> result of 404 - this is unnecessary as it's *403 *which is the error
> response for auth issues. 404 means "Not Found", so it seems that you
> haven't deployed the remote API to the server you are trying to connect to.
> See this doc
> <https://cloud.google.com/appengine/docs/java/tools/remoteapi>, for
> example, for the java way to configure remote API on the server (you need a
> special remote api handler on /remote_api).
>
> Cheers,
>
> Nick
> Cloud Platform Community Support
>
>
> On Tuesday, July 19, 2016 at 7:30:20 AM UTC-4, Rajesh Gupta wrote:
>>
>> I tried the following also - using useApplicationDefaultCredentail.
>> RemoteApiOptions options =
>> new RemoteApiOptions().server(serverConfig.domainName,
>> serverConfig.portNumber).
>> useApplicationDefaultCredential();
>>
>> installer.install() still throws error.
>>
>>
>> I am running a local server and trying to access remote datastore.
>>
>>
>> On Tue, Jul 19, 2016 at 1:24 PM, Rajesh Gupta <
>> rajesh.gu...@veersoftsolutions.com> wrote:
>>
>>> I am using
>>> RemoteApiInstaller installer = new RemoteApiInstaller();
>>> RemoteApiOptions options =
>>> new RemoteApiOptions().server(domainName, portNumber)
>>> .credentials(userName, passwd);
>>> installer.install(options);
>>>
>>> It is throwing the follow exception
>>>  com.google.appengine.tools.remoteapi.LoginException: Bad authentication
>>> response: 404
>>>
>>> --
>>> Regards,
>>> Rajesh
>>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>>> *www.GainERP.com <https://www.gainerp.com>*
>>> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile*
>>>
>>>
>>
>>
>> --
>> Regards,
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>> *www.GainERP.com <https://www.gainerp.com>*
>> *Accounting/Inventory/Orders 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/b74faf87-0f62-45b2-8ce5-e206b0bd816a%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/b74faf87-0f62-45b2-8ce5-e206b0bd816a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://www.gainerp.com>*
*Accounting/Inventory/Orders 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/CA%2BS7ijbHh4JFp4eNtvGh09Aa87cE_Lxj-Xdaw6i47_-NxAU_pw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] RemoteAPI - LoginException

2016-07-27 Thread Rajesh Gupta
In the web.xml


   RemoteApi

 
com.google.apphosting.utils.remoteapi.RemoteApiServlet



   RemoteApi
   /remote_api



On Fri, Jul 22, 2016 at 11:14 AM, PK  wrote:

> In your app.yaml equivalent for Java, how do you turn on remote_api, can
> you please cut & paste the section?
>
> PK
> p...@gae123.com
>
>
>
>
> On Jul 19, 2016, at 12:54 AM, Rajesh Gupta <
> rajesh.gu...@veersoftsolutions.com> wrote:
>
> I am using
> RemoteApiInstaller installer = new RemoteApiInstaller();
> RemoteApiOptions options =
> new RemoteApiOptions().server(domainName, portNumber)
> .credentials(userName, passwd);
> installer.install(options);
>
> It is throwing the follow exception
>  com.google.appengine.tools.remoteapi.LoginException: Bad authentication
> response: 404
>
> --
> Regards,
> Rajesh
> *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
> *www.GainERP.com <https://www.gainerp.com/>*
> *Accounting/Inventory/Orders 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/CA%2BS7ijaG43QS2fPBbouPZ07ULRTsTDyRHQaHSLsUQs2GDgkg6g%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaG43QS2fPBbouPZ07ULRTsTDyRHQaHSLsUQs2GDgkg6g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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/3BBA3ED3-747F-4105-9ED5-B5C5DFC78433%40gae123.com
> <https://groups.google.com/d/msgid/google-appengine/3BBA3ED3-747F-4105-9ED5-B5C5DFC78433%40gae123.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://www.gainerp.com>*
*Accounting/Inventory/Orders 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/CA%2BS7ijZ1WPfQchx23OmD%2B_%2B4Be10Ak74351Gi5r2DMws4Bq8tA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] RemoteAPI - LoginException

2016-07-27 Thread Rajesh Gupta
Yes
  

Protected Area
/remote_api/*


admin




On Thu, Jul 28, 2016 at 11:59 AM, PK  wrote:

> Do you have any security constraint on /remote_api?
>
> PK
> p...@gae123.com
>
>
>
>
> On Jul 27, 2016, at 10:55 PM, Rajesh Gupta <
> rajesh.gu...@veersoftsolutions.com> wrote:
>
> In the web.xml
>
> 
>RemoteApi
>
>  
> com.google.apphosting.utils.remoteapi.RemoteApiServlet
> 
>
> 
>RemoteApi
>/remote_api
> 
>
>
> On Fri, Jul 22, 2016 at 11:14 AM, PK  wrote:
>
>> In your app.yaml equivalent for Java, how do you turn on remote_api, can
>> you please cut & paste the section?
>>
>> PK
>> p...@gae123.com
>>
>>
>>
>>
>> On Jul 19, 2016, at 12:54 AM, Rajesh Gupta <
>> rajesh.gu...@veersoftsolutions.com> wrote:
>>
>> I am using
>> RemoteApiInstaller installer = new RemoteApiInstaller();
>> RemoteApiOptions options =
>> new RemoteApiOptions().server(domainName, portNumber)
>> .credentials(userName, passwd);
>> installer.install(options);
>>
>> It is throwing the follow exception
>>  com.google.appengine.tools.remoteapi.LoginException: Bad authentication
>> response: 404
>>
>> --
>> Regards,
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
>> *www.GainERP.com <https://www.gainerp.com/>*
>> *Accounting/Inventory/Orders 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/CA%2BS7ijaG43QS2fPBbouPZ07ULRTsTDyRHQaHSLsUQs2GDgkg6g%40mail.gmail.com
>> <https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaG43QS2fPBbouPZ07ULRTsTDyRHQaHSLsUQs2GDgkg6g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> 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/3BBA3ED3-747F-4105-9ED5-B5C5DFC78433%40gae123.com
>> <https://groups.google.com/d/msgid/google-appengine/3BBA3ED3-747F-4105-9ED5-B5C5DFC78433%40gae123.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Regards,
> Rajesh
> *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
> *www.GainERP.com <https://www.gainerp.com/>*
> *Accounting/Inventory/Orders 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/CA%2BS7ijZ1WPfQchx23OmD%2B_%2B4Be10Ak74351Gi5r2DMws4Bq8tA%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijZ1WPfQchx23OmD%2B_%2B4Be10Ak74351Gi5r2DMws4Bq8tA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> 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.g

Re: [google-appengine] RemoteAPI - LoginException

2016-07-31 Thread Rajesh Gupta
I removed the security constraint from web.xml for the remoteapi.

The exception still remains.

On Fri, Jul 29, 2016 at 12:42 AM, 'Nick (Cloud Platform Support)' via
Google App Engine  wrote:

> Hey Rajesh,
>
> I'll second PK's advice, here - there should be no reason to add an
> additional security constraint to the remote API endpoint
> <https://cloud.google.com/appengine/docs/java/tools/remoteapi>, and
> that's likely the root of the problem.
>
> Cheers,
>
> Nick
> Cloud Platform Community Support
>
>
> On Thursday, July 28, 2016 at 9:33:56 AM UTC-4, PK wrote:
>>
>> Remove it and try again. This is most likely your problem.
>>
>> --Panos
>>
>> On Jul 27, 2016, at 11:50 PM, Rajesh Gupta <
>> rajesh.gu...@veersoftsolutions.com> wrote:
>>
>> Yes
>>   
>> 
>> Protected Area
>> /remote_api/*
>> 
>> 
>> admin
>> 
>> 
>>
>>
>> On Thu, Jul 28, 2016 at 11:59 AM, PK  wrote:
>>
>>> Do you have any security constraint on /remote_api?
>>>
>>> PK
>>> p...@gae123.com
>>>
>>>
>>>
>>>
>>> On Jul 27, 2016, at 10:55 PM, Rajesh Gupta <
>>> rajesh.gu...@veersoftsolutions.com> wrote:
>>>
>>> In the web.xml
>>>
>>> 
>>>RemoteApi
>>>
>>>  
>>> com.google.apphosting.utils.remoteapi.RemoteApiServlet
>>> 
>>>
>>> 
>>>RemoteApi
>>>/remote_api
>>> 
>>>
>>>
>>> On Fri, Jul 22, 2016 at 11:14 AM, PK  wrote:
>>>
>>>> In your app.yaml equivalent for Java, how do you turn on remote_api,
>>>> can you please cut & paste the section?
>>>>
>>>> PK
>>>> p...@gae123.com
>>>>
>>>>
>>>>
>>>>
>>>> On Jul 19, 2016, at 12:54 AM, Rajesh Gupta <
>>>> rajesh.gu...@veersoftsolutions.com> wrote:
>>>>
>>>> I am using
>>>> RemoteApiInstaller installer = new RemoteApiInstaller();
>>>> RemoteApiOptions options =
>>>> new RemoteApiOptions().server(domainName, portNumber)
>>>> .credentials(userName, passwd);
>>>> installer.install(options);
>>>>
>>>> It is throwing the follow exception
>>>>  com.google.appengine.tools.remoteapi.LoginException: Bad
>>>> authentication response: 404
>>>>
>>>> --
>>>> Regards,
>>>> Rajesh
>>>> *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
>>>> *www.GainERP.com <https://www.gainerp.com/>*
>>>> *Accounting/Inventory/Orders 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/CA%2BS7ijaG43QS2fPBbouPZ07ULRTsTDyRHQaHSLsUQs2GDgkg6g%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaG43QS2fPBbouPZ07ULRTsTDyRHQaHSLsUQs2GDgkg6g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> 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/3BBA3ED3-747F-4105-9ED5-B5C5DFC78433%40gae123.com
>>>> <https://groups.google.com/d/msgid/google-appengine/3BBA3ED3-747F-4105-9ED5-

Re: [google-appengine] Re: RemoteAPI - LoginException

2016-07-31 Thread Rajesh Gupta
Hello Nick,

Production issue created.

https://code.google.com/p/googleappengine/issues/detail?id=13156

As mentioned earlier, everything was working fine, until the new admin
console was released.

It happens with our other appids also.






On Fri, Jul 22, 2016 at 1:06 AM, 'Nick (Cloud Platform Support)' via Google
App Engine  wrote:

> Hey Rajesh,
>
> If you believe this is a platform issue rather than possibly caused by
> code or actions on your end, then you should post to the Public Issue
> Tracker <http://code.google.com/p/googleappengine/issues/list> (this has
> also been mentioned in several prior threads), and be sure to include
> enough information, such as a curl request to /remote_api on the relevant
> service/version, the history of deployment, full error messages, a copy of
> your app.yaml / appengine-web.xml file, etc. etc.
>
> This forum (Google Groups App Engine) is meant for general and high level
> discussion of the platform and services, questions about architecture and
> design patterns, comparison of different approaches to more high level
> problems, etc.
>
> Please make a post to the Public Issue Tracker if you believe you're
> seeing a platform issue. My instinct is that some kind of change to your
> app, a recent deployment, a change to the default serving version /
> service, etc., likely made the handler start returning 404. When you post
> the issue, be sure to post a link here so I can continue to assist in the
> proper forum - I'll be happy to.
>
> Sincerely,
>
> Nick
> Cloud Platform Community Support
>
> On Wednesday, July 20, 2016 at 11:23:32 PM UTC-4, Rajesh Gupta wrote:
>>
>> Hi,
>> It was working fine last 3-4 years.
>>
>> Why SO?  This is not a code problem. Suddenly it stopped working.  It is
>> some configuration issue, after the google cloud moved completely into the
>> new datastore admin console.
>>
>> Any configuration changes on the appid is required?
>>
>> On Thu, Jul 21, 2016 at 3:48 AM, 'Nick (Cloud Platform Support)' via
>> Google App Engine  wrote:
>>
>>> Hey Rajesh,
>>>
>>> As mentioned in previous threads, this forum should not be used for
>>> troubleshooting posts like this. You should either post an issue like this
>>> to the Public Issue Tracker if you are confident it's a platform issue (you
>>> have read the documentation and the system is not behaving as it should),
>>> or to Stack Overflow if it seems more like a possible confusion on your
>>> end.
>>>
>>> Nonetheless, I'll help you with some basic advice on this problem:
>>>
>>> It seems that you have changed the authentication part of the code as a
>>> result of 404 - this is unnecessary as it's *403 *which is the error
>>> response for auth issues. 404 means "Not Found", so it seems that you
>>> haven't deployed the remote API to the server you are trying to connect to.
>>> See this doc
>>> <https://cloud.google.com/appengine/docs/java/tools/remoteapi>, for
>>> example, for the java way to configure remote API on the server (you need a
>>> special remote api handler on /remote_api).
>>>
>>> Cheers,
>>>
>>> Nick
>>> Cloud Platform Community Support
>>>
>>>
>>> On Tuesday, July 19, 2016 at 7:30:20 AM UTC-4, Rajesh Gupta wrote:
>>>>
>>>> I tried the following also - using useApplicationDefaultCredentail.
>>>> RemoteApiOptions options =
>>>> new RemoteApiOptions().server(serverConfig.domainName,
>>>> serverConfig.portNumber).
>>>> useApplicationDefaultCredential();
>>>>
>>>> installer.install() still throws error.
>>>>
>>>>
>>>> I am running a local server and trying to access remote datastore.
>>>>
>>>>
>>>> On Tue, Jul 19, 2016 at 1:24 PM, Rajesh Gupta <
>>>> rajesh.gu...@veersoftsolutions.com> wrote:
>>>>
>>>>> I am using
>>>>> RemoteApiInstaller installer = new RemoteApiInstaller();
>>>>> RemoteApiOptions options =
>>>>> new RemoteApiOptions().server(domainName, portNumber)
>>>>> .credentials(userName, passwd);
>>>>> installer.install(options);
>>>>>
>>>>> It is throwing the follow exception
>>>>>  com.google.appengine.tools.remoteapi.LoginException: Bad
>>>>> authentication response: 404
>>>>>
>>>>&

Re: [google-appengine] Re: RemoteAPI - LoginException

2016-08-01 Thread Rajesh Gupta
Hello Nick,
I create a new project and tried.  It is the same exception.
Following code is not working

  RemoteApiInstaller installer = new RemoteApiInstaller();
RemoteApiOptions options =
new RemoteApiOptions().server(domainName, portNumber)
.credentials(userName, passwd);
installer.install(options);

On Mon, Aug 1, 2016 at 10:25 AM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> Hello Nick,
>
> Production issue created.
>
> https://code.google.com/p/googleappengine/issues/detail?id=13156
>
> As mentioned earlier, everything was working fine, until the new admin
> console was released.
>
> It happens with our other appids also.
>
>
>
>
>
>
> On Fri, Jul 22, 2016 at 1:06 AM, 'Nick (Cloud Platform Support)' via
> Google App Engine  wrote:
>
>> Hey Rajesh,
>>
>> If you believe this is a platform issue rather than possibly caused by
>> code or actions on your end, then you should post to the Public Issue
>> Tracker <http://code.google.com/p/googleappengine/issues/list> (this has
>> also been mentioned in several prior threads), and be sure to include
>> enough information, such as a curl request to /remote_api on the relevant
>> service/version, the history of deployment, full error messages, a copy of
>> your app.yaml / appengine-web.xml file, etc. etc.
>>
>> This forum (Google Groups App Engine) is meant for general and high level
>> discussion of the platform and services, questions about architecture and
>> design patterns, comparison of different approaches to more high level
>> problems, etc.
>>
>> Please make a post to the Public Issue Tracker if you believe you're
>> seeing a platform issue. My instinct is that some kind of change to your
>> app, a recent deployment, a change to the default serving version /
>> service, etc., likely made the handler start returning 404. When you post
>> the issue, be sure to post a link here so I can continue to assist in the
>> proper forum - I'll be happy to.
>>
>> Sincerely,
>>
>> Nick
>> Cloud Platform Community Support
>>
>> On Wednesday, July 20, 2016 at 11:23:32 PM UTC-4, Rajesh Gupta wrote:
>>>
>>> Hi,
>>> It was working fine last 3-4 years.
>>>
>>> Why SO?  This is not a code problem. Suddenly it stopped working.  It is
>>> some configuration issue, after the google cloud moved completely into the
>>> new datastore admin console.
>>>
>>> Any configuration changes on the appid is required?
>>>
>>> On Thu, Jul 21, 2016 at 3:48 AM, 'Nick (Cloud Platform Support)' via
>>> Google App Engine  wrote:
>>>
>>>> Hey Rajesh,
>>>>
>>>> As mentioned in previous threads, this forum should not be used for
>>>> troubleshooting posts like this. You should either post an issue like this
>>>> to the Public Issue Tracker if you are confident it's a platform issue (you
>>>> have read the documentation and the system is not behaving as it should),
>>>> or to Stack Overflow if it seems more like a possible confusion on your
>>>> end.
>>>>
>>>> Nonetheless, I'll help you with some basic advice on this problem:
>>>>
>>>> It seems that you have changed the authentication part of the code as a
>>>> result of 404 - this is unnecessary as it's *403 *which is the error
>>>> response for auth issues. 404 means "Not Found", so it seems that you
>>>> haven't deployed the remote API to the server you are trying to connect to.
>>>> See this doc
>>>> <https://cloud.google.com/appengine/docs/java/tools/remoteapi>, for
>>>> example, for the java way to configure remote API on the server (you need a
>>>> special remote api handler on /remote_api).
>>>>
>>>> Cheers,
>>>>
>>>> Nick
>>>> Cloud Platform Community Support
>>>>
>>>>
>>>> On Tuesday, July 19, 2016 at 7:30:20 AM UTC-4, Rajesh Gupta wrote:
>>>>>
>>>>> I tried the following also - using useApplicationDefaultCredentail.
>>>>> RemoteApiOptions options =
>>>>> new RemoteApiOptions().server(serverConfig.domainName,
>>>>> serverConfig.portNumber).
>>>>> useApplicationDefaultCredential();
>>>>>
>>>>> installer.install() still throws error.
>>>>>
>>>>>
>>>>> I am running a l

Re: [google-appengine] Re: RemoteAPI - LoginException

2016-08-03 Thread Rajesh Gupta
Hello Nick,
There is no enough documentation to get started with using a localserver ->
RemoteServer
It is suggested to use the following on the local server to access remote

RemoteApiOptions options = new RemoteApiOptions()
 .server("myappid.appspot.com", 443),
 .useApplicationDefaultCredential();

What is 'useApplicationDefaultCredential() on the local server.

What extra settings or login code is required on the local.  I run a local
server and login as t...@example.com.  Is it good enough?

There is some documentation on using the above in the standalone client.
Not sure, what is the procedure from a local server client.

Request the Google team to add more documentation and examples and help
developers when there are changes made to the platform like this.


On Mon, Aug 1, 2016 at 9:12 PM, 'Nick (Cloud Platform Support)' via Google
App Engine  wrote:

> Hey Rajesh,
>
> I've followed up in that thread. It appears that the method 
> .credentials(userName,
> passwd) is deprecated, so as the Public Issue Tracker thread reply
> suggests, you should use the recommended methods from the documentation
> <https://cloud.google.com/appengine/docs/java/tools/remoteapi/javadoc/com/google/appengine/tools/remoteapi/RemoteApiOptions>.
> Let me know how that works and I'll be happy to assist.
>
> Cheers,
>
> Nick
> Cloud Platform Community Support
>
> On Monday, August 1, 2016 at 3:11:54 AM UTC-4, Rajesh Gupta wrote:
>>
>> Hello Nick,
>> I create a new project and tried.  It is the same exception.
>> Following code is not working
>>
>>   RemoteApiInstaller installer = new RemoteApiInstaller();
>> RemoteApiOptions options =
>> new RemoteApiOptions().server(domainName, portNumber)
>> .credentials(userName, passwd);
>> installer.install(options);
>>
>> On Mon, Aug 1, 2016 at 10:25 AM, Rajesh Gupta <
>> rajesh.gu...@veersoftsolutions.com> wrote:
>>
>>> Hello Nick,
>>>
>>> Production issue created.
>>>
>>> https://code.google.com/p/googleappengine/issues/detail?id=13156
>>>
>>> As mentioned earlier, everything was working fine, until the new admin
>>> console was released.
>>>
>>> It happens with our other appids also.
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Fri, Jul 22, 2016 at 1:06 AM, 'Nick (Cloud Platform Support)' via
>>> Google App Engine  wrote:
>>>
>>>> Hey Rajesh,
>>>>
>>>> If you believe this is a platform issue rather than possibly caused by
>>>> code or actions on your end, then you should post to the Public Issue
>>>> Tracker <http://code.google.com/p/googleappengine/issues/list> (this
>>>> has also been mentioned in several prior threads), and be sure to include
>>>> enough information, such as a curl request to /remote_api on the relevant
>>>> service/version, the history of deployment, full error messages, a copy of
>>>> your app.yaml / appengine-web.xml file, etc. etc.
>>>>
>>>> This forum (Google Groups App Engine) is meant for general and high
>>>> level discussion of the platform and services, questions about architecture
>>>> and design patterns, comparison of different approaches to more high level
>>>> problems, etc.
>>>>
>>>> Please make a post to the Public Issue Tracker if you believe you're
>>>> seeing a platform issue. My instinct is that some kind of change to your
>>>> app, a recent deployment, a change to the default serving version /
>>>> service, etc., likely made the handler start returning 404. When you post
>>>> the issue, be sure to post a link here so I can continue to assist in the
>>>> proper forum - I'll be happy to.
>>>>
>>>> Sincerely,
>>>>
>>>> Nick
>>>> Cloud Platform Community Support
>>>>
>>>> On Wednesday, July 20, 2016 at 11:23:32 PM UTC-4, Rajesh Gupta wrote:
>>>>>
>>>>> Hi,
>>>>> It was working fine last 3-4 years.
>>>>>
>>>>> Why SO?  This is not a code problem. Suddenly it stopped working.  It
>>>>> is some configuration issue, after the google cloud moved completely into
>>>>> the new datastore admin console.
>>>>>
>>>>> Any configuration changes on the appid is required?
>>>>>
>>>>> On Thu, Jul 21, 2016 at 3:48 AM, 'Nick (Cloud Platform Support)' via
>>>

Re: [google-appengine] Re: RemoteAPI - LoginException

2016-08-10 Thread Rajesh Gupta
Hello Nick.
Followed the  link to setup the Application Default Credentials.

https://developers.google.com/identity/protocols/application-default-credentials

And finally, we run the local server using.

mvn appengine:devserver -Dappengine.address=0.0.0.0

Trying to acess the remote data using remote api.I get the same errors.

[INFO] WARNING: /admin/cpnamespace:
com.google.appengine.tools.remoteapi.Logi
Exception: Bad authentication response: 404
[INFO] Aug 10, 2016 8:51:56 AM
com.google.appengine.api.taskqueue.dev.UrlFetchJ
b execute
[INFO] INFO: Web hook at http://127.0.0.1:/admin/cpnamespace returned
sta
us code 500.  Rescheduling...
[INFO] Aug 10, 2016 8:51:56 AM
com.google.apphosting.utils.jetty.AppEngineAuthe
tication$AppEngineAuthenticator authenticate
[INFO] INFO: Returning NOBODY because of SkipAdminCheck.



On Tue, Aug 9, 2016 at 1:39 AM, 'Nick (Cloud Platform Support)' via Google
App Engine  wrote:

> Hey Rajesh,
>
> Following the "See Also" link in the documentation link provided before,
> you'll find a more general article on this topic. Searching the method via
> Google-search also brings up the article: Application Default Credentials
> <https://developers.google.com/identity/protocols/application-default-credentials>.
> This document explains all about how default credentials work.
>
> Sincerely,
>
> Nick
> Cloud Platform Community Support
>
>
> On Wednesday, August 3, 2016 at 4:47:04 AM UTC-4, Rajesh Gupta wrote:
>>
>> Hello Nick,
>> There is no enough documentation to get started with using a localserver
>> -> RemoteServer
>> It is suggested to use the following on the local server to access remote
>>
>> RemoteApiOptions options = new RemoteApiOptions()
>>  .server("myappid.appspot.com", 443),
>>  .useApplicationDefaultCredential();
>>
>> What is 'useApplicationDefaultCredential() on the local server.
>>
>> What extra settings or login code is required on the local.  I run a
>> local server and login as t...@example.com.  Is it good enough?
>>
>> There is some documentation on using the above in the standalone client.
>> Not sure, what is the procedure from a local server client.
>>
>> Request the Google team to add more documentation and examples and help
>> developers when there are changes made to the platform like this.
>>
>>
>> On Mon, Aug 1, 2016 at 9:12 PM, 'Nick (Cloud Platform Support)' via
>> Google App Engine  wrote:
>>
>>> Hey Rajesh,
>>>
>>> I've followed up in that thread. It appears that the method 
>>> .credentials(userName,
>>> passwd) is deprecated, so as the Public Issue Tracker thread reply
>>> suggests, you should use the recommended methods from the documentation
>>> <https://cloud.google.com/appengine/docs/java/tools/remoteapi/javadoc/com/google/appengine/tools/remoteapi/RemoteApiOptions>.
>>> Let me know how that works and I'll be happy to assist.
>>>
>>> Cheers,
>>>
>>> Nick
>>> Cloud Platform Community Support
>>>
>>> On Monday, August 1, 2016 at 3:11:54 AM UTC-4, Rajesh Gupta wrote:
>>>>
>>>> Hello Nick,
>>>> I create a new project and tried.  It is the same exception.
>>>> Following code is not working
>>>>
>>>>   RemoteApiInstaller installer = new RemoteApiInstaller();
>>>> RemoteApiOptions options =
>>>> new RemoteApiOptions().server(domainName, portNumber)
>>>> .credentials(userName, passwd);
>>>> installer.install(options);
>>>>
>>>> On Mon, Aug 1, 2016 at 10:25 AM, Rajesh Gupta <
>>>> rajesh.gu...@veersoftsolutions.com> wrote:
>>>>
>>>>> Hello Nick,
>>>>>
>>>>> Production issue created.
>>>>>
>>>>> https://code.google.com/p/googleappengine/issues/detail?id=13156
>>>>>
>>>>> As mentioned earlier, everything was working fine, until the new admin
>>>>> console was released.
>>>>>
>>>>> It happens with our other appids also.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Jul 22, 2016 at 1:06 AM, 'Nick (Cloud Platform Support)' via
>>>>> Google App Engine  wrote:
>>>>>
>>>>>> Hey Rajesh,
>>>>>>
>>>>>> If you believe this is a platform issue rather than possibly caused
>>>>>> by

Re: [google-appengine] Re: RemoteAPI - LoginException

2016-08-12 Thread Rajesh Gupta
Hello Nick,
I have already posted on the issue tracker.

There is not much code here to demo.  It is  about the steps and
configuration with the recent changes in the auth policy and service
accounts etc.

It seems to me that RemoteAPI is broken on Standard appengine.

I am using standard appengine.

I am trying to use remote api to connect to remote appspot.
   RemoteApiOptions options =
new RemoteApiOptions().server(serverConfig.domainName,
serverConfig.portNumber).
useApplicationDefaultCredential();

It does not work.

I have followed the steps to use the ApplicationDefaultCredential

Then I following the link
https://cloud.google.com/shell/docs/examples#running_and_deploying_a_java_app_engine_application

mvn appengine:devserver -Dappengine.address=0.0.0.0

It does not work.  It gives login exception.

Appreciate, if Google team writes more documentation or blog on connecting
a dev server to a remote appid .

Thanks.



On Fri, Aug 12, 2016 at 5:03 AM, 'Nick (Cloud Platform Support)' via Google
App Engine  wrote:

> Hey Rajesh,
>
> At this point, you should post an issue report to the Public Issue Tracker
> with reproduction code and an example of the full stack trace. We monitor
> the Issue Tracker regularly so it will be quickly picked-up. Let me know by
> posting the link here and I'll also take a look as soon as the issue report
> is created.
>
> Cheers,
>
> Nick
> Cloud Platform Community Support
>
> On Wednesday, August 10, 2016 at 5:00:57 AM UTC-4, Rajesh Gupta wrote:
>>
>> Hello Nick.
>> Followed the  link to setup the Application Default Credentials.
>>
>> https://developers.google.com/identity/protocols/application
>> -default-credentials
>>
>> And finally, we run the local server using.
>>
>> mvn appengine:devserver -Dappengine.address=0.0.0.0
>>
>> Trying to acess the remote data using remote api.I get the same
>> errors.
>>
>> [INFO] WARNING: /admin/cpnamespace: com.google.appengine.tools.rem
>> oteapi.Logi
>> Exception: Bad authentication response: 404
>> [INFO] Aug 10, 2016 8:51:56 AM com.google.appengine.api.taskq
>> ueue.dev.UrlFetchJ
>> b execute
>> [INFO] INFO: Web hook at http://127.0.0.1:/admin/cpnamespace
>> returned sta
>> us code 500.  Rescheduling...
>> [INFO] Aug 10, 2016 8:51:56 AM com.google.apphosting.utils.je
>> tty.AppEngineAuthe
>> tication$AppEngineAuthenticator authenticate
>> [INFO] INFO: Returning NOBODY because of SkipAdminCheck.
>>
>>
>>
>> On Tue, Aug 9, 2016 at 1:39 AM, 'Nick (Cloud Platform Support)' via
>> Google App Engine  wrote:
>>
>>> Hey Rajesh,
>>>
>>> Following the "See Also" link in the documentation link provided before,
>>> you'll find a more general article on this topic. Searching the method via
>>> Google-search also brings up the article: Application Default
>>> Credentials
>>> <https://developers.google.com/identity/protocols/application-default-credentials>.
>>> This document explains all about how default credentials work.
>>>
>>> Sincerely,
>>>
>>> Nick
>>> Cloud Platform Community Support
>>>
>>>
>>> On Wednesday, August 3, 2016 at 4:47:04 AM UTC-4, Rajesh Gupta wrote:
>>>>
>>>> Hello Nick,
>>>> There is no enough documentation to get started with using a
>>>> localserver -> RemoteServer
>>>> It is suggested to use the following on the local server to access
>>>> remote
>>>>
>>>> RemoteApiOptions options = new RemoteApiOptions()
>>>>  .server("myappid.appspot.com", 443),
>>>>  .useApplicationDefaultCredential();
>>>>
>>>> What is 'useApplicationDefaultCredential() on the local server.
>>>>
>>>> What extra settings or login code is required on the local.  I run a
>>>> local server and login as t...@example.com.  Is it good enough?
>>>>
>>>> There is some documentation on using the above in the standalone
>>>> client.  Not sure, what is the procedure from a local server client.
>>>>
>>>> Request the Google team to add more documentation and examples and help
>>>> developers when there are changes made to the platform like this.
>>>>
>>>>
>>>> On Mon, Aug 1, 2016 at 9:12 PM, 'Nick (Cloud Platform Support)' via
>>>> Google App Engine  wrote:
>>>>
>>>>> Hey Rajesh,
>>>>>
>>>>> I've followed u

Re: [google-appengine] Re: RemoteAPI - LoginException

2016-08-12 Thread Rajesh Gupta
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
52)
[INFO]  at
com.google.appengine.tools.development.JettyContainerService$ApiProxy
Handler.handle(JettyContainerService.java:511)
[INFO]  at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
52)
[INFO]  at org.mortbay.jetty.Server.handle(Server.java:326)
[INFO]  at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:54
2)
[INFO]  at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnectio
n.java:938)
[INFO]  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
[INFO]  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
[INFO]  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
[INFO]  at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:409)
[INFO]  at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j
ava:582)
[INFO] Aug 12, 2016 10:22:29 AM
com.veersoft.services.CopyNamespaceServiceImpl g
etMasterUserLoginList



On Fri, Aug 12, 2016 at 1:17 PM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> Hello Nick,
> I have already posted on the issue tracker.
>
> There is not much code here to demo.  It is  about the steps and
> configuration with the recent changes in the auth policy and service
> accounts etc.
>
> It seems to me that RemoteAPI is broken on Standard appengine.
>
> I am using standard appengine.
>
> I am trying to use remote api to connect to remote appspot.
>RemoteApiOptions options =
> new RemoteApiOptions().server(serverConfig.domainName,
> serverConfig.portNumber).
> useApplicationDefaultCredential();
>
> It does not work.
>
> I have followed the steps to use the ApplicationDefaultCredential
>
> Then I following the link https://cloud.google.com/
> shell/docs/examples#running_and_deploying_a_java_app_engine_application
>
> mvn appengine:devserver -Dappengine.address=0.0.0.0
>
> It does not work.  It gives login exception.
>
> Appreciate, if Google team writes more documentation or blog on connecting
> a dev server to a remote appid .
>
> Thanks.
>
>
>
> On Fri, Aug 12, 2016 at 5:03 AM, 'Nick (Cloud Platform Support)' via
> Google App Engine  wrote:
>
>> Hey Rajesh,
>>
>> At this point, you should post an issue report to the Public Issue
>> Tracker with reproduction code and an example of the full stack trace. We
>> monitor the Issue Tracker regularly so it will be quickly picked-up. Let me
>> know by posting the link here and I'll also take a look as soon as the
>> issue report is created.
>>
>> Cheers,
>>
>> Nick
>> Cloud Platform Community Support
>>
>> On Wednesday, August 10, 2016 at 5:00:57 AM UTC-4, Rajesh Gupta wrote:
>>>
>>> Hello Nick.
>>> Followed the  link to setup the Application Default Credentials.
>>>
>>> https://developers.google.com/identity/protocols/application
>>> -default-credentials
>>>
>>> And finally, we run the local server using.
>>>
>>> mvn appengine:devserver -Dappengine.address=0.0.0.0
>>>
>>> Trying to acess the remote data using remote api.I get the same
>>> errors.
>>>
>>> [INFO] WARNING: /admin/cpnamespace: com.google.appengine.tools.rem
>>> oteapi.Logi
>>> Exception: Bad authentication response: 404
>>> [INFO] Aug 10, 2016 8:51:56 AM com.google.appengine.api.taskq
>>> ueue.dev.UrlFetchJ
>>> b execute
>>> [INFO] INFO: Web hook at http://127.0.0.1:/admin/cpnamespace
>>> returned sta
>>> us code 500.  Rescheduling...
>>> [INFO] Aug 10, 2016 8:51:56 AM com.google.apphosting.utils.je
>>> tty.AppEngineAuthe
>>> tication$AppEngineAuthenticator authenticate
>>> [INFO] INFO: Returning NOBODY because of SkipAdminCheck.
>>>
>>>
>>>
>>> On Tue, Aug 9, 2016 at 1:39 AM, 'Nick (Cloud Platform Support)' via
>>> Google App Engine  wrote:
>>>
>>>> Hey Rajesh,
>>>>
>>>> Following the "See Also" link in the documentation link provided
>>>> before, you'll find a more general article on this topic. Searching the
>>>> method via Google-search also brings up the article: Application
>>>> Default Credentials
>>>> <https://developers.google.com/identity/protocols/application-default-credentials>.
>>>> This document explains all about how default credentials work.
>>>>
>>>> Sincerely,
>>>>
>>>> Nick
>>>> Cloud Platform Community Support
>>>>
&g

[google-appengine] Junit and datastore-indexes.xml

2016-08-16 Thread Rajesh Gupta
Hi,

I am running the junit tests.  Is there a way to specify the
datastore-indexes.xml file for the junit tests

What I meant, when the running the junit, the code should throw
DatastoreIndexNotFoundException if there is no index in the
datastore-indexes.xml.

What is happening for us is, we run the tests and the tests are green.  But
when the same code gets executed in the server, it throws
DatastoreIndexNotFoundException

-- 
Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders 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/CA%2BS7ijYBcyZ5FT6jR-UwUQyH2JPDVT_1kNs6h2Q%2BBfUfkvpmcQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] htaccess

2016-09-19 Thread Rajesh Gupta
Hello,
We are using java appengine.

We are doing the seo for our website.

The website is also setup using cloudflare for ssl purpose. http is
redirected to https using the cloudflare page rules.

Here is what the SEO specialist is expecting and asking us to configure the
htaccess file.

https://www.gainerp.com/index.html to https://www.gainerp.com
www.gainerp.com/index.html to https://www.gainerp.com

What is the equivalent of htaccess file for java appengine standard
environment.  How the above can be configured

-- 
Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders 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/CA%2BS7ijabm2th3%2BrxxbtcCoEQv22NTaUX-un7zLB7Hy_19QVnRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Question on Transactions

2016-10-12 Thread Rajesh Gupta
Hello All,

Is it ok to read the object outside of the transaction block, and then
modify and save the object in the transaction block

Or, should we always read and write the object with in the transaction
block for the transactions to work properly


  private void prepare(Key tk) { final Trivial trivNew =
ofy().transactionless().load().key(tk).now(); Key k =
ofy().transact(new Work>() { @Override public Key
run() { trivNew.setSomeString("hellofoo"); return
ofy().save().entity(trivNew).now(); } }); }
-- 
Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders 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/CA%2BS7ijZn9sZ2b-aRVv-izo2KmFuKBw0HSo1DP8dieoFExt9_Tg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: [objectify-appengine] Question on Transactions

2016-10-13 Thread Rajesh Gupta
Dear Nicholas,

Thank you.

The example code shows the illustration of loading the object outside the
transaction block.  However, sometimes, we send the object to client, and
client modifies the object and sends back to server.  Here, we have to
directly put the object and other processed objects in the transaction
block.

Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
*www.GainERP.com <https://www.gainerp.com/>*
*Accounting/Inventory/Orders on Google Cloud Platform and Mobile*


On Wed, Oct 12, 2016 at 4:30 PM, Nicholas Okunew  wrote:

> Objectify requires the Work executed for a transaction to be idempotent.
> When a stale write occurs, the run block is executed again.
>
> In your example, this would happen if there were two concurrent writes on
> the entity that 'tk' points at. If you load inside the transaction, then
> someString will be applied on the most recent write. By loading outside the
> transaction you will overwrite whatever the other concurrent write put in
> the datastore. This is almost always bad.
>
> In this example, you should definitely read inside the transaction.
>
> It can get a bit hairier when you have to write in batches because of XG
> limits and you need, for example, reference data. At that point you're
> making a bit of a tradeoff between correctness, complexity and performance.
>
>
>
> On 12 October 2016 at 20:48, Rajesh Gupta  veersoftsolutions.com> wrote:
>
>> Hello All,
>>
>> Is it ok to read the object outside of the transaction block, and then
>> modify and save the object in the transaction block
>>
>> Or, should we always read and write the object with in the transaction
>> block for the transactions to work properly
>>
>>
>>   private void prepare(Key tk) { final Trivial trivNew =
>> ofy().transactionless().load().key(tk).now(); Key k =
>> ofy().transact(new Work>() { @Override public Key
>> run() { trivNew.setSomeString("hellofoo"); return
>> ofy().save().entity(trivNew).now(); } }); }
>> --
>> Regards,
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>> *www.GainERP.com <https://www.gainerp.com>*
>> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile*
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "objectify-appengine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to objectify-appengine+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "objectify-appengine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to objectify-appengine+unsubscr...@googlegroups.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/CA%2BS7ijYn_BB2tV4cDuEVUXH3F5uRTOEVauCVaHTxZ_F24PkeLA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] sms gateway integration

2016-10-13 Thread Rajesh Gupta
Hello,
I want to integrate with sms gateway providers.  Is there any general way
to do it.

Normally, each sms gateway has the api and the key.
Our clients are using different sms gateways.  This means, I have to change
the code for each sms gateway.

What is the good way to integrate with all sms gateways.

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/CA%2BS7ijb5v%3DHhJfnYZfFpTeTBMjEp25-JPUn%2B4X%2Bu3Nf3wc6Tig%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Entitites in the transaction

2016-12-09 Thread Rajesh Gupta
Hi,

I am getting the error.
"operating on too many entity groups in a single transaction"

Is there a way to find the entities that are participating in the
transaction?  Any logs or any flag that can be enabled that tells about the
entities in the transaction?


-- 
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/CA%2BS7ijbPy2B9Dft-ge9qYtmOT7qm_taMhWv%3Duy-p1QZ60ixorA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Entitites in the transaction

2016-12-09 Thread Rajesh Gupta
I am noticing a weird behavior.
I am finding that there are only 13 entity groups (by doing logging in all
puts and deletes).  But the transaction is failing with the message
"operating on too many entity groups in a single transaction"

On Fri, Dec 9, 2016 at 2:11 PM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> Hi,
>
> I am getting the error.
> "operating on too many entity groups in a single transaction"
>
> Is there a way to find the entities that are participating in the
> transaction?  Any logs or any flag that can be enabled that tells about the
> entities in the transaction?
>
>
> --
> Regards,
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.GainERP.com <https://www.gainerp.com>*
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
> Mobile*
>
>


-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://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/CA%2BS7ijY8B5frYLb8dCj%3DRD6xEowdzZ1kHST4B1zAkYrY8nJATA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Entitites in the transaction

2016-12-09 Thread Rajesh Gupta
I put the logs in get's as well.  The code is doing the gets' for the same
entity groups that are used for the put's and delete's.  So, there are 13
entity groups.

Appengine team,
Any way to  find out the entities participating in the transaction??



On Sat, Dec 10, 2016 at 3:21 AM, 'Alex Martelli' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> Hmmm, just guessing: perhaps if you also log the `get`s (as well as the
> `put`s and `delete`s that you say you're already logging) you'll find that
> the total does exceed the 25-entity-groups limit in one transaction...?
>
> Alex
>
>
> On Fri, Dec 9, 2016 at 2:06 AM, Rajesh Gupta  veersoftsolutions.com> wrote:
>
>> I am noticing a weird behavior.
>> I am finding that there are only 13 entity groups (by doing logging in
>> all puts and deletes).  But the transaction is failing with the message
>> "operating on too many entity groups in a single transaction"
>>
>> On Fri, Dec 9, 2016 at 2:11 PM, Rajesh Gupta <
>> rajesh.gu...@veersoftsolutions.com> wrote:
>>
>>> Hi,
>>>
>>> I am getting the error.
>>> "operating on too many entity groups in a single transaction"
>>>
>>> Is there a way to find the entities that are participating in the
>>> transaction?  Any logs or any flag that can be enabled that tells about the
>>> entities in the transaction?
>>>
>>>
>>> --
>>> Regards,
>>> Rajesh
>>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>>> *www.GainERP.com <https://www.gainerp.com>*
>>> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
>>> Mobile*
>>>
>>>
>>
>>
>> --
>> Regards,
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>> *www.GainERP.com <https://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/ms
>> gid/google-appengine/CA%2BS7ijY8B5frYLb8dCj%3DRD6xEowdzZ1kHS
>> T4B1zAkYrY8nJATA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijY8B5frYLb8dCj%3DRD6xEowdzZ1kHST4B1zAkYrY8nJATA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> 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/CAE46Be_J1SqKT-V3ZX93y0OGCtkBNO%3DFWk%
> 3De5bG6ibAHdfV9MQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-appengine/CAE46Be_J1SqKT-V3ZX93y0OGCtkBNO%3DFWk%3De5bG6ibAHdfV9MQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://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/CA%2BS7ijaFK%3DFWoz1BiwdB2WMYQ-SL2ZfnP7e0owy2AxWJOP_X8A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Entitites in the transaction

2016-12-11 Thread Rajesh Gupta
Dear google groups admin,
why there is a spam for this email thread.?

On Sat, Dec 10, 2016 at 2:53 PM, creekmore.william via Google App Engine <
google-appengine@googlegroups.com> wrote:

>
> 
> On Sat, 12/10/16, watkinsrichard651 via Google App Engine <
> google-appengine@googlegroups.com> wrote:
>
>  Subject: Re: [google-appengine] Re: Entitites in the transaction
>  To: google-appengine@googlegroups.com
>  Date: Saturday, December 10, 2016, 11:00 AM
>
>
>  
>  On Sat, 12/10/16, castle.sandie via Google App Engine  googlegroups.com>
>  wrote:
>
>   Subject: Re: [google-appengine] Re: Entitites in the
>  transaction
>   To: google-appengine@googlegroups.com
>   Date: Saturday, December 10, 2016, 2:45 AM
>
>
>   
>   On Sat, 12/10/16, watkinsrichard651 via Google App Engine
>   
>   wrote:
>
>Subject: Re: [google-appengine] Re: Entitites in the
>   transaction
>To: google-appengine@googlegroups.com
>Date: Saturday, December 10, 2016, 1:50 AM
>
>
>
>On Fri, 12/9/16, 'Alex Martelli' via Google App
>  Engine
>
>wrote:
>
> Subject: Re: [google-appengine] Re: Entitites in the
>transaction
> To: google-appengine@googlegroups.com
> Date: Friday, December 9, 2016, 11:51 PM
>
> Hmmm, just
> guessing: perhaps if you also log the `get`s (as well
>   as
>the
> `put`s and `delete`s that you say you're already
> logging) you'll find that the total does exceed the
> 25-entity-groups limit in one transaction...?
> Alex
>
> On Fri, Dec 9, 2016 at 2:06
> AM, Rajesh Gupta 
> wrote:
> I am noticing a weird behavior.I am finding
> that there are only 13 entity groups (by doing
>   logging in
>     all puts and deletes).  But the transaction is
>   failing
>with
> the message"operating on too many entity
> groups in a single transaction"
>
> On Fri, Dec 9, 2016 at 2:11
> PM, Rajesh Gupta  veersoftsolutions.com> wrote:
> Hi,
> I am getting the
> error."operating on too many entity groups
> in a single transaction"
>
> Is there a way to find the
> entities that are participating in the transaction?
>   Any
> logs or any flag that can be enabled that tells about
>   the
> entities in the transaction?
>
> --
>
>   Regards,Rajeshwww.VeersoftSolutions.comwww.GainERP.comAccounting/
> Inventory/Orders/Sa
>les/Purchase
> on Google Cloud Platform and Mobile
>
>
>
>
>
> --
>
>   Regards,Rajeshwww.VeersoftSolutions.comwww.GainERP.comAccounting/
> 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+unsubscribe@
> 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/CA% 2BS7ijY8B5frYLb8dCj%
> 3DRD6xEowdzZ1kHST4B1zAkYrY8nJA TA%40mail.gmail.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+unsubscribe@
> 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/CAE46Be_J1SqKT-
> V3ZX93y0OGCtkBNO%3DFWk%3De5bG6ibAHdfV9MQ%40mail.gmail.com.
>
> For more options, visit
>https://groups.google.com/d/optout.
> roclamatia de la Pades  Tismana  23 ianuarie
>1821  adresata locuitorilor Tarii Romanesti veri de
>  ce
>neam veti fi  justifica ridicarea la lupta prin
>  dreptul
>de rezistenta la opres

Re: [google-appengine] Re: Entitites in the transaction

2016-12-14 Thread Rajesh Gupta
Dear Appengine team,
Any way to  find out the entities participating in the transaction??

I have put logs, and as per my logs analysis, there are only 13 entity
groups, that are used in the transaction.

However the transaction is not successful


On Sat, Dec 10, 2016 at 11:08 AM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> I put the logs in get's as well.  The code is doing the gets' for the same
> entity groups that are used for the put's and delete's.  So, there are 13
> entity groups.
>
> Appengine team,
> Any way to  find out the entities participating in the transaction??
>
>
>
> On Sat, Dec 10, 2016 at 3:21 AM, 'Alex Martelli' via Google App Engine <
> google-appengine@googlegroups.com> wrote:
>
>> Hmmm, just guessing: perhaps if you also log the `get`s (as well as the
>> `put`s and `delete`s that you say you're already logging) you'll find that
>> the total does exceed the 25-entity-groups limit in one transaction...?
>>
>> Alex
>>
>>
>> On Fri, Dec 9, 2016 at 2:06 AM, Rajesh Gupta <
>> rajesh.gu...@veersoftsolutions.com> wrote:
>>
>>> I am noticing a weird behavior.
>>> I am finding that there are only 13 entity groups (by doing logging in
>>> all puts and deletes).  But the transaction is failing with the message
>>> "operating on too many entity groups in a single transaction"
>>>
>>> On Fri, Dec 9, 2016 at 2:11 PM, Rajesh Gupta <
>>> rajesh.gu...@veersoftsolutions.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am getting the error.
>>>> "operating on too many entity groups in a single transaction"
>>>>
>>>> Is there a way to find the entities that are participating in the
>>>> transaction?  Any logs or any flag that can be enabled that tells about the
>>>> entities in the transaction?
>>>>
>>>>
>>>> --
>>>> Regards,
>>>> Rajesh
>>>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>>>> *www.GainERP.com <https://www.gainerp.com>*
>>>> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform
>>>> and Mobile*
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Rajesh
>>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>>> *www.GainERP.com <https://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/ms
>>> gid/google-appengine/CA%2BS7ijY8B5frYLb8dCj%3DRD6xEowdzZ1kHS
>>> T4B1zAkYrY8nJATA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijY8B5frYLb8dCj%3DRD6xEowdzZ1kHST4B1zAkYrY8nJATA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> 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/ms
>> gid/google-appengine/CAE46Be_J1SqKT-V3ZX93y0OGCtkBNO%3DFWk%
>> 3De5bG6ibAHdfV9MQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/google-appengine/CAE46Be_J1SqKT-V3ZX93y0OGCtkBNO%3DFWk%3De5bG6ibAHdfV9MQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Regards,
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.GainERP.com <https://www.gainerp.com>*
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
> Mobile*
>
>


-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://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/CA%2BS7ijakCBa9B-FKq5jbVzeWpQd1r-ES13Z0NqoOp4xQWOfaQw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Entities participating in the transaction

2016-12-14 Thread Rajesh Gupta
I had posted this issue in another thread, but that thread had spamming,
and so, I am starting a new email.  Sorry about this.

I am getting the error.
"operating on too many entity groups in a single transaction"

Is there a way to find the entities that are participating in the
transaction?  Any logs or any flag that can be enabled that tells about the
entities in the transaction?

I have put logs in gets/puts/delete in that business logic code.  I can see
that there are only 13 entity groups, per my logs.

How do I find out, which entities are participating in the given
transaction.

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


[google-appengine] 4 Instance spinning in 4 secs

2016-12-25 Thread Rajesh Gupta
Hello
Following is the traffic to our website.

You can see suddenly, there are new four instances ('i' in the orange color
denotes log.warning).  I do log.warning in my context listener.  Between
23:32 & 23:36, ie 4 secs, there are new four instances.  The traffic could
have well served with the normal instance.  Each of the instance spinning
and serving is taking approx 22 sec.

This is a very bad experience to our users.

Please suggest the recommended correct settings for low traffic website, so
that instance spinning is not taking place.


23:54:14.017GET200203 B132 msGooglebot 2/robots.txt
23:54:12.571GET200203 B1.2 sGooglebot 2/robots.txt
23:36:08.111POST20031.12 KB23.3 sChrome 55
/_ah/spi/com.veersoft.services.api.MastersApiV3.listProducts
23:35:51.633POST200291 B22.6 sChrome 55
/_ah/spi/com.veersoft.services.api.ReportAPI.viewLedgerTransaction
23:34:09.281POST20051.89 KB19.1 sChrome 55
/_ah/spi/com.veersoft.services.api.ReportAPI.viewLedgerTransaction
23:33:10.557POST2003.49 KB1 sChrome 55
/_ah/spi/com.veersoft.services.api.ReportAPI.viewLedgerTransaction
23:33:06.428POST2001.46 KB246 msChrome 55
/_ah/spi/com.veersoft.services.api.MastersApiV3.listBankCashAccounts
23:32:40.392POST20031.12 KB463 msChrome 55
/_ah/spi/com.veersoft.services.api.MastersApiV3.listProducts
23:32:11.464POST2008.87 KB26.5 sChrome 55
/_ah/spi/com.veersoft.services.api.MastersApiV3.viewCustomerTransaction
23:31:56.158POST200644 B594 msChrome 55
/_ah/spi/com.veersoft.services.api.MastersApiV3.viewCustomerTransaction
23:31:09.541POST2008.87 KB707 msChrome 55
/_ah/spi/com.veersoft.services.api.MastersApiV3.viewCustomerTransaction
23:30:34.928POST2007.83 KB807 msChrome 55
/_ah/spi/com.veersoft.services.api.MastersApiV3.viewCustomerTransaction
23:30:11.573POST20027.9 KB672 msChrome 55
/_ah/spi/com.veersoft.services.api.MastersApiV3.listCustomer
23:29:55.646POST2005.01 KB692 msChrome 55
/_ah/spi/com.veersoft.services.api.MastersApiV3.viewCustomerTransaction
23:29:18.924POST20027.9 KB928 msChrome 55
/_ah/spi/com.veersoft.services.api.MastersApiV3.listCustomer


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


[google-appengine] Re: 4 Instance spinning in 4 secs

2016-12-25 Thread Rajesh Gupta
Sorry, in 4 minutes (not 4 sec) there are 4 new instances.  You can see
that betwee 23:32 & 23:36.

There are only 6-7 requests during that time.

On Mon, Dec 26, 2016 at 7:57 AM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> Hello
> Following is the traffic to our website.
>
> You can see suddenly, there are new four instances ('i' in the orange
> color denotes log.warning).  I do log.warning in my context listener.
> Between 23:32 & 23:36, ie 4 secs, there are new four instances.  The
> traffic could have well served with the normal instance.  Each of the
> instance spinning and serving is taking approx 22 sec.
>
> This is a very bad experience to our users.
>
> Please suggest the recommended correct settings for low traffic website,
> so that instance spinning is not taking place.
>
>
> 23:54:14.017GET200203 B132 msGooglebot 2/robots.txt
> 23:54:12.571GET200203 B1.2 sGooglebot 2/robots.txt
> 23:36:08.111POST20031.12 KB23.3 sChrome 55/_ah/spi/com.veersoft.
> services.api.MastersApiV3.listProducts
> 23:35:51.633POST200291 B22.6 sChrome 55/_ah/spi/com.veersoft.
> services.api.ReportAPI.viewLedgerTransaction
> 23:34:09.281POST20051.89 KB19.1 sChrome 55/_ah/spi/com.veersoft.
> services.api.ReportAPI.viewLedgerTransaction
> 23:33:10.557POST2003.49 KB1 sChrome 55/_ah/spi/com.veersoft.
> services.api.ReportAPI.viewLedgerTransaction
> 23:33:06.428POST2001.46 KB246 msChrome 55/_ah/spi/com.veersoft.
> services.api.MastersApiV3.listBankCashAccounts
> 23:32:40.392POST20031.12 KB463 msChrome 55/_ah/spi/com.veersoft.
> services.api.MastersApiV3.listProducts
> 23:32:11.464POST2008.87 KB26.5 sChrome 55/_ah/spi/com.veersoft.
> services.api.MastersApiV3.viewCustomerTransaction
> 23:31:56.158POST200644 B594 msChrome 55/_ah/spi/com.veersoft.
> services.api.MastersApiV3.viewCustomerTransaction
> 23:31:09.541POST2008.87 KB707 msChrome 55/_ah/spi/com.veersoft.
> services.api.MastersApiV3.viewCustomerTransaction
> 23:30:34.928POST2007.83 KB807 msChrome 55/_ah/spi/com.veersoft.
> services.api.MastersApiV3.viewCustomerTransaction
> 23:30:11.573POST20027.9 KB672 msChrome 55/_ah/spi/com.veersoft.
> services.api.MastersApiV3.listCustomer
> 23:29:55.646POST2005.01 KB692 msChrome 55/_ah/spi/com.veersoft.
> services.api.MastersApiV3.viewCustomerTransaction
> 23:29:18.924POST20027.9 KB928 msChrome 55/_ah/spi/com.veersoft.
> services.api.MastersApiV3.listCustomer
>
>
> --
> Regards,
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.GainERP.com <https://www.gainerp.com>*
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
> Mobile*
>
>


-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://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/CA%2BS7ijaU6YAcag1GvTx-WJEjiY7uFc-Ui7NC8XXvWR3nX-cq8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] In queries and cursors limitation

2017-01-17 Thread Rajesh Gupta
I have the following

Public class Invoice {
  @Id Long id
   Key partyKey;
   Status status
}

enum Status {
  PAID, PARTIAL_PAID, PENDING, DRAFT
}

I want to find all invoices with Status = PAID, PARTIAL_PAID, so I do the
IN query

ofy.query(Invoice.class).filter("status in", [PAID,
PARTIAL_PAID]).limit(100).list()

However, then, if I want the next 100, the cursor will not work because of
IN query

What are the alternate solutions or schemas'.

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


Re: [google-appengine] Re: In queries and cursors limitation

2017-01-19 Thread Rajesh Gupta
The suggestion looks good.  thanks.


On Thu, Jan 19, 2017 at 1:00 AM, Jason Collins 
wrote:

> Add a new field called, e.g, queryableStatus that is a list of strings.
> Then pre-compute your query logic so that you only need an equality filter.
>
> E.g, when saving the entity (warning: pseudocode ahead):
>
>   if status in ['PAID', 'PARTIALLY_PAID']:
> invoice.queryableStatus.append('PAID_OR_PARTIALLY_PAID')
>   # you can have all sorts of logic combinations and tags appended, if you
> need them
>   invoice.save()
>
>
> Then. when you query, you can use an equality:
>
>   ofy.query(Invoice.class).filter("status =", ['PAID_OR_PARTIALLY_PAID']).
> limit(100).list()
>
>
> This will let the cursor work as expected.
>
>
> Of course, you'll have to one-time update all your existing invoices. And
> you'll need to one-time update all your existing invoices whenever your
> QueryableStatus logic changes.
>
>
>
> On Tuesday, 17 January 2017 20:38:53 UTC-8, Rajesh Gupta wrote:
>>
>> I have the following
>>
>> Public class Invoice {
>>   @Id Long id
>>Key partyKey;
>>Status status
>> }
>>
>> enum Status {
>>   PAID, PARTIAL_PAID, PENDING, DRAFT
>> }
>>
>> I want to find all invoices with Status = PAID, PARTIAL_PAID, so I do the
>> IN query
>>
>> ofy.query(Invoice.class).filter("status in", [PAID,
>> PARTIAL_PAID]).limit(100).list()
>>
>> However, then, if I want the next 100, the cursor will not work because
>> of IN query
>>
>> What are the alternate solutions or schemas'.
>>
>> --
>> Regards,
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>> *www.GainERP.com <https://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/c194cda0-2fdb-4f2e-8b11-
> 1b641cd7de82%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/c194cda0-2fdb-4f2e-8b11-1b641cd7de82%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://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/CA%2BS7ijY4Fx-BOYQz5N9MiY1C-Ccximggs%2B%2BE8cb9v2oszsQnbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Doing Totals/aggregates

2017-01-26 Thread Rajesh Gupta
Hi,

I have the following Entities (Shown in objectify style)
I want to do several reports for this data with different invoice date
ranges.
 - Sales by customer
 - Product Qty sold by product
 - Product value by product

The reports can be filtered with any Date range like 'Last Month', 'Last
Qtr', 'Year to date' or any custom date range.

The no of invoices fetched can be from 100-1, depending on the date
range.

What is the good way to do such aggregate reports.?

So far, we have used looping with hashmaps.  But this style of reports will
increase and the data will also increase.  I am looking for more efficient
data structures or schemas.

@Entity
class SalesInvoice {
  @Id Long id;
  Key customerKey;

  List lineItems

  double total;
  Key salesPersonKey;
  Date invoiceDate;
}

@Embed
class LineItem {
  Key productKey;
  double qty;
  double price;
  double tax;
  double totalPrice
}

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


[google-appengine] Re: [objectify-appengine] Doing Totals/aggregates

2017-01-26 Thread Rajesh Gupta
Hello,

No, we cannot do bigquery replication, as invoices may get deleted and
updated.

We do these reports in a task, and tasks write to memcache the report data.

Any json technologies here?.  Can the invoice list be written using jackson
as json, and use any json query technologies.

On Thu, Jan 26, 2017 at 2:51 PM, Nicholas Okunew  wrote:

> 1. You need to remove all doubles and use bigdecimal or joda money. If you
> don't know why, google it.
>
> 2. If you want to do adhoc reporting, consider replicating to bigquery and
> running from there. If you don't want to do that, queries in batches on
> backends is the way to go, but this kind of reporting is the datastores
> weakspot.
>
> On Thursday, 26 January 2017, Rajesh Gupta  veersoftsolutions.com> wrote:
>
>> Hi,
>>
>> I have the following Entities (Shown in objectify style)
>> I want to do several reports for this data with different invoice date
>> ranges.
>>  - Sales by customer
>>  - Product Qty sold by product
>>  - Product value by product
>>
>> The reports can be filtered with any Date range like 'Last Month', 'Last
>> Qtr', 'Year to date' or any custom date range.
>>
>> The no of invoices fetched can be from 100-1, depending on the date
>> range.
>>
>> What is the good way to do such aggregate reports.?
>>
>> So far, we have used looping with hashmaps.  But this style of reports
>> will increase and the data will also increase.  I am looking for more
>> efficient data structures or schemas.
>>
>> @Entity
>> class SalesInvoice {
>>   @Id Long id;
>>   Key customerKey;
>>
>>   List lineItems
>>
>>   double total;
>>   Key salesPersonKey;
>>   Date invoiceDate;
>> }
>>
>> @Embed
>> class LineItem {
>>   Key productKey;
>>   double qty;
>>   double price;
>>   double tax;
>>   double totalPrice
>> }
>>
>> --
>> Regards,
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>> *www.GainERP.com <https://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
>> "objectify-appengine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to objectify-appengine+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "objectify-appengine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to objectify-appengine+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://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/CA%2BS7ijbTURTnR_%2B3-B5shT_ZtAvNgb14e_LOUof_AYbcZTKsoQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Authenticating Users on App Engine Using Firebase

2017-02-05 Thread Rajesh Gupta
https://cloud.google.com/appengine/docs/python/authenticating-users-firebase-appengine

The above tutorial is for python.  Where can I find the example using Java
appengine.

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


Re: [google-appengine] Re: 4 Instance spinning in 4 secs

2017-02-06 Thread Rajesh Gupta
Hello Nick,

Is there a way to get the txt of the log files.  I don't see any options to
export the logs for the given time to a txt file.

I cannot pass on the text logs to the group, as url's contain some
information.  I will open a production case.

Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
*www.GainERP.com <https://www.gainerp.com/>*
*Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
Mobile*




On Thu, Dec 29, 2016 at 5:12 AM, 'Nick (Cloud Platform Support)' via Google
App Engine  wrote:

> Hey Rajesh,
>
> The scaling behaviour on your app is highly dependent on the contents of
> your app.yaml / appengine-web.xml file. Could you post that?
>
> Also, it would be good to get a larger time-window selection of logs in
> text format (rather than screenshot) along with a screenshot of the
> instance numbers graph covering the same time period. This would be very
> helpful in reasoning about what is happening here.
>
> If you have any further questions, feel free to send them along with your
> reply and I'll be glad to assist in answering them.
>
> Cheers,
>
> Nick
> Cloud Platform Community Support
>
>
> On Sunday, December 25, 2016 at 9:56:07 PM UTC-5, Rajesh Gupta wrote:
>
>> Sorry, in 4 minutes (not 4 sec) there are 4 new instances.  You can see
>> that betwee 23:32 & 23:36.
>>
>> There are only 6-7 requests during that time.
>>
>> On Mon, Dec 26, 2016 at 7:57 AM, Rajesh Gupta <
>> rajesh.gu...@veersoftsolutions.com> wrote:
>>
>>> Hello
>>> Following is the traffic to our website.
>>>
>>> You can see suddenly, there are new four instances ('i' in the orange
>>> color denotes log.warning).  I do log.warning in my context listener.
>>> Between 23:32 & 23:36, ie 4 secs, there are new four instances.  The
>>> traffic could have well served with the normal instance.  Each of the
>>> instance spinning and serving is taking approx 22 sec.
>>>
>>> This is a very bad experience to our users.
>>>
>>> Please suggest the recommended correct settings for low traffic website,
>>> so that instance spinning is not taking place.
>>>
>>>
>>> 23:54:14.017GET200203 B132 msGooglebot 2/robots.txt
>>> 23:54:12.571GET200203 B1.2 sGooglebot 2/robots.txt
>>> 23:36:08.111POST20031.12 KB23.3 sChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.MastersApiV3.listProducts
>>> 23:35:51.633POST200291 B22.6 sChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.ReportAPI.viewLedgerTransaction
>>> 23:34:09.281POST20051.89 KB19.1 sChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.ReportAPI.viewLedgerTransaction
>>> 23:33:10.557POST2003.49 KB1 sChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.ReportAPI.viewLedgerTransaction
>>> 23:33:06.428POST2001.46 KB246 msChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.MastersApiV3.listBankCashAccounts
>>> 23:32:40.392POST20031.12 KB463 msChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.MastersApiV3.listProducts
>>> 23:32:11.464POST2008.87 KB26.5 sChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.MastersApiV3.viewCustomerTransaction
>>> 23:31:56.158POST200644 B594 msChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.MastersApiV3.viewCustomerTransaction
>>> 23:31:09.541POST2008.87 KB707 msChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.MastersApiV3.viewCustomerTransaction
>>> 23:30:34.928POST2007.83 KB807 msChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.MastersApiV3.viewCustomerTransaction
>>> 23:30:11.573POST20027.9 KB672 msChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.MastersApiV3.listCustomer
>>> 23:29:55.646POST2005.01 KB692 msChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.MastersApiV3.viewCustomerTransaction
>>> 23:29:18.924POST20027.9 KB928 msChrome 55/_ah/spi/com.veersoft.servic
>>> es.api.MastersApiV3.listCustomer
>>>
>>>
>>> --
>>> Regards,
>>> Rajesh
>>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>>> *www.GainERP.com <https://www.gainerp.com>*
>>> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
>>> Mobile*
>>>
>>>
>>
>>
>> --
>> Regards,
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>> *www.GainERP.com <https://www.gainerp.com>*
>> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
>> Mobile*
>>
>> --
>

Re: [google-appengine] Re: Doing Totals/aggregates

2017-02-08 Thread Rajesh Gupta
All of the above solutions involve more expertise and time, which is not
suitable for small teams. Ofcourse, they achieve good results for large
data and big companies.  Small companies will loose the benefit of using
the appengine paas with such wide solutions.
It is beneficial to provide some aggregation layer on top of datastore with
built in fast google technologies.
Interested developers will choose to use it.

Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
Mobile*

On Sat, Jan 28, 2017 at 12:48 AM, Jim  wrote:

> Another option is to use map-reduce against your datastore tables for
> aggregation of truly 'big' data sets.  It's nowhere near as flexible as
> some of the other options mentioned here, but if your requirements are
> fairly static it works great and will allow you to keep your data in one
> place.
>
>
>
> On Thursday, January 26, 2017 at 2:52:06 PM UTC-6, George (Cloud Platform
> Support) wrote:
>>
>> How large can your sales invoice data get in the end? The solutions
>> recommended above may work well for relatively small volumes. If you need
>> to process terabytes of data in the end, Cloud Bigtable
>>  might prove speedier
>> and cost less overall.
>>
> --
> 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/9fe3d5f5-1995-461b-85cf-
> 1006877f3dad%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/CA%2BS7ijY6wF3n61%2BXuEPdjptrnY8e1zLO3u0YtroHao1o8D_ayQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Doing Totals/aggregates

2017-02-10 Thread Rajesh Gupta
We are using namespaces to provide ERP SaaS solutions..  We want to do fast
aggregations for reports within the namespace.  Each KIND can have
5000-1 rows within the given time range.

Combining Datastore with BigQuery is not cheap solution for small teams and
for small data. Now, small teams have to worry about two data storage
technologies. What about the transactions?  Now, a transaction should
extend to the BigQuery as well, when the data is updated in the datastore.
We have to worry about the schema changes that will happen in the datastore
and should be replicated to the BigQuery.
Suddenly now the appengine solution has become too complex with too many
technologies for writing simple apps. It defeats the purpose of choosing
appengine paas.

It will be beneficial to provide an aggregation layer on top of Datastore.
Google team can incorporate mapreduce as an optional layer for aggregations
and make it transparent to the developers and give a easy api to use.

Just my 2 cents.

Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
*www.GainERP.com <https://www.gainerp.com/>*
*Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
Mobile*


On Wed, Feb 8, 2017 at 8:06 PM, 'Nicholas (Google Cloud Support)' via
Google App Engine  wrote:

> Datastore is not designed for large scale data aggregation.  Its emphasize
> is on fast and horizontally scalable reads.  Though it *can* be used to
> query over large datasets, it is nowhere near optimized in the same way
> that SQL or SQL-like technologies are.  For full dataset joins and
> aggregation, BigQuery really shines.  The other options mentioned above
> Postgres and MapReduce would also be appropriate depending on your data.  I
> would strongly suggest using BigQuery as it comes with a Datastore
> loading solution
> <https://cloud.google.com/bigquery/loading-data-cloud-datastore> and is
> designed for precisely what you describe.  In addition, reading all
> entities in order to aggregate some data from them will be far more costly
> with Datastore than the equivalent job in BigQuery.
>
> In your earlier comments, you mention that you cannot use BigQuery due to
> an update and delete requirement.  Data can be updated in BigQuery
> <https://cloud.google.com/bigquery/docs/updating-data>.  Do such update
> capabilities meet the requirements you mentioned above?  If not, what is
> ability do you think is missing from these update and delete features?
>
> Lastly, in your example case, you mentioned that a given query could pull
> anywhere from 10 to 10,000 entities.  How many entities are there in
> total?  Knowing the total count of entities through which your query must
> search is crucial to understanding the likely costs of queries in time and
> quota usage.  How many total entities do you expect to have in a given
> dataset within the next 6-12 months based on recent month's growth?  The
> answer to this should help you decide whether to invest time into
> replicating data into a aggregation tool like BigQuery and building useful
> queries for reporting.
>
> On Wednesday, February 8, 2017 at 4:46:28 AM UTC-5, Rajesh Gupta wrote:
>>
>> All of the above solutions involve more expertise and time, which is not
>> suitable for small teams. Ofcourse, they achieve good results for large
>> data and big companies.  Small companies will loose the benefit of using
>> the appengine paas with such wide solutions.
>> It is beneficial to provide some aggregation layer on top of datastore
>> with built in fast google technologies.
>> Interested developers will choose to use it.
>>
>> Regards,
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
>> *www.GainERP.com <https://www.gainerp.com/>*
>> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
>> Mobile*
>>
>> On Sat, Jan 28, 2017 at 12:48 AM, Jim  wrote:
>>
>>> Another option is to use map-reduce against your datastore tables for
>>> aggregation of truly 'big' data sets.  It's nowhere near as flexible as
>>> some of the other options mentioned here, but if your requirements are
>>> fairly static it works great and will allow you to keep your data in one
>>> place.
>>>
>>>
>>>
>>> On Thursday, January 26, 2017 at 2:52:06 PM UTC-6, George (Cloud
>>> Platform Support) wrote:
>>>>
>>>> How large can your sales invoice data get in the end? The solutions
>>>> recommended above may work well for relatively small volumes. If you need
>>>> to process terabytes of data in the end, Cloud Bigtable
>>>> <https://cloud.google.com/

[google-appengine] Sudden Ancestor Queries Issue

2017-02-10 Thread Rajesh Gupta
Hi,
Suddenly since 12 hrs, our software is throwing intermittent errors when
ancestor queries are done for some data and namespaces.
We are also finding out for more details and will share as we find.

There are no changes in that part of the code, which is executing fine for
long  time.

Anyone having similar issues please share.

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/CA%2BS7ijYZ83XEJJ5J7oQDB%3D0wkXxD2ztrUY2-f8GJiDMZWB43yA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Google Cloud Platform wants to hear from you

2015-04-25 Thread rajesh . gupta
My company have been on appengine over 4-5 years now. We use namespaces a 
lot, for organising the users data.
Better namespaces support in all tools and utilities
After the backup, able to selectively restore the namespace data, to 
another appid
Easy Export of namespace data to Google spreadsheet
Datastore viewer (both new and old) needs lot of improvement.  It is 
difficult to navigate the data and correct the data.  For example, the list 
property data cannot be edited in the datastore viewer

Currently, mapreduce is only the framework for processing/migrating the 
data.  This opensource project should have more documentation and examples. 
 Again, there is lack of namespaces examples and lack of documentation on 
the namespaces.  

Rajesh
www.AccountingGuru.net
Accounting/Inventory/Billing on Google Cloud Platform.


On Friday, April 24, 2015 at 3:39:29 AM UTC+5:30, Aleem Mawani wrote:
>
> @chris, thanks for asking,
>
> 1) Sorry I might have had some confusion here, I thought traffic 
> splitting/traffic migration didn't work for managed VM's but it in fact it 
> doesn't work for any non-default module. We haven't yet tried to put our 
> default module on managed vms because of stability concerns (may be 
> outdated) and the api's listed below)
>
> 2) Re: APIs, we can't yet do the following in Managed VM's:
>
> - channel api: we use this to send realtime notifications to web/mobile 
> clients
> - logging api: we use this to export our logs to BQ
>
> 3) The other things preventing us from moving default module over to 
> managed vms: 
>
> - cloud console dashboard doesn't show a lot of the aggregate metrics for 
> a managed vm module, most importantly instance count over time.
> - cloud monitoring can't monitor managed vm instance count
> - seemed that instances would go into unhealthy state and not recover or 
> get killed (this could be outdated)
>
>
> At the current moment there seems to be no major concerns with managed 
> VM's (except for the things you're working on like startup time and deploy 
> time and dev experience) but there are dozens of tiny gotchas which 
> individually don't seem like much but together are a big enough deal that 
> we don't serve front end traffic over it.
>
> For background processing the value is so high that we've moved all of our 
> backend modules to managed vms (unless they need any of the above API's).
>
> On Thursday, April 23, 2015 at 2:24:59 PM UTC-7, Chris Ramsdale wrote:
>>
>> yes, the goal is to get App Engine Managed VMs (v2) to a state where they 
>> are ideal for frontend serving.  couple of questions for you:
>>
>> (1)  is traffic splitting and deploy-to-a-default-module not working for 
>> you?
>> (2)  re: APIs, which ones would you like to see enabled?  you mentioned 
>> logging (and the goal is to move App Engine Logging API over to Google 
>> Cloud Logging all-up), but what else are you looking for?
>>
>> -- Chris
>>
>> On Thu, Apr 23, 2015 at 11:47 AM, Aleem Mawani  wrote:
>>
>>> Chris - with the improvements you're suggesting to Managed VMs (20 sec 
>>> deploys, <1 sec instance startup time) - will it be recommended to use 
>>> Managed VMs to serve frontend traffic? Right now they seem to be more 
>>> targetted to backend processing because of the slow scaling.
>>>
>>> If this is true, and you are targeting it to serve front end traffic, 
>>> does that mean we'll be able to deploy Managed VMs to our default modules, 
>>> perform traffic splitting, access the logging api's and realtime api's, 
>>> etc? These are the things that have been traditionally missing from managed 
>>> vms.
>>>
>>> On Wednesday, April 22, 2015 at 10:33:46 AM UTC-7, Chris Ramsdale wrote:



 On Wed, Apr 22, 2015 at 2:21 AM, troberti  wrote:

> What a flurry of activity. :) Great to see.
>
> I have been using GCP( App Engine + BigQuery) in total for over 5 
> years, so not new, but I have seen plenty of new users make mistakes so 
> let 
> me chime in a bit:
>
> On App Engine (and GCP) there are a lot of ways to approach a problem, 
> with the consequence that is  very easy to choose the wrong solution. 
> There 
> is actually a rather steep learning curve to just know what is available.
>
> This is a problem, because the differences between various solutions 
> can result in an order of magnitude difference in 
> costs/latency/complexity 
> etc. I stopped counting the amount of times I have seen models with every 
> property indexed, resulting in huge datastore costs. Or where someone 
> tries 
> to put tons of data in the Datastore while BigQuery would be a much 
> better 
> fit for the problem. Every time this happens, the new user ends up 
> disappointed. So guiding new users in the right direction when starting 
> out 
> on GCP seems very important.
>
> I agree with a lot in Karl's post, and especially the Roadmap. It 
> doesn't need to be abou

[google-appengine] Logs Viewer - Export - Stuck

2015-05-04 Thread Rajesh Gupta
Hi
I am clicking on the Exports tab in the Logs Viewer.  It is stuck, the
loading '...' icon does not go away.

Rajesh.
www.VeersoftSolutions.com
www.AccountingGuru.net.
*Accounting/Inventory/Orders on Google Cloud Platform.*

-- 
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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaRAQC4m3ZYG0NOXesZZExEBGT8M3xGpZaP7SXtyHUXhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] App Engine + Maven + Hot swap of war

2015-05-04 Thread Rajesh Gupta
My company is familiar with javascript tools, and hence, trying to explore
grunt task here, to copy the modified jsp/html file to the target folder.

On Fri, May 1, 2015 at 10:42 AM, Vinny P  wrote:

> On Tue, Apr 28, 2015 at 4:07 AM, Carl Emmoth 
>  wrote:
>
>> so is it possible to run maven devserver (mvn appengine:devserver) and
>> have live hot swap for any changes in war dir?
>> Like, if I change index.html with new text and refresh in browser, can it
>> update?
>> It seems like fullScanSeconds only updates Java classes.
>>
>
>
> Do you mean updates to static files? There are workarounds described in
> this link:
>
> http://stackoverflow.com/questions/21345177/is-there-any-way-to-trigger-the-maven-appengine-devserver-to-auto-refresh-static
>
>
>
>
> -
> -Vinny P
> Technology & Media Consultant
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>
>
> --
> 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 http://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/CALSvALD%3DEJ%3DY9Qnq-4rpX0dsd11Q0j8Ho0OUzA%3D2kz_o5RL2Ew%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Rajesh
*www.VeersoftSolutions.com *
*www.AccountingGuru.net *
*Accounting/Inventory/Orders 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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaQUrbkeJecsZP%3Dv3OSBuUbc51%3Dys33KMyEXsBb3%2BZ84w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Oracle Database in an App Engine Application

2015-05-08 Thread Rajesh Gupta
You can use the Managed VM's.  Here you could install oracle.  Then you can
use the cloud end points api.  In the api, connect to the oracle database,
and return the data.
https://github.com/GoogleCloudPlatform/appengine-java-vm-guestbook-extras

Rajesh
www.AccountingGuru.net
www.VeersoftSolutions.com

On Fri, May 8, 2015 at 3:11 PM, Sonal Gupta 
wrote:

> Hi,
>
> I have my data in a oracle database, i need to write cloud endpoints which
> get the  data from the oracle database and  return the result.
>
> Please let me know how to do this.
>
> Thanks
>
>  --
> 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 http://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/d5554065-45a1-4aed-8df6-98a5621f4a02%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Rajesh
*www.VeersoftSolutions.com *
*www.AccountingGuru.net *
*Accounting/Inventory/Orders 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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijZJ_s2Rx2an-PwNT2e7%3D9mQVxw5R%3D9PcYKRp0iGXf98zA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: appstats analysis - Same request - Too much difference in serving time.

2015-08-04 Thread Rajesh Gupta
Hi,
I have posted this post, with attachments twice.  But it did not make into
the group.  Any limitation on posting with attachments.  Any settings to be
enabled.
I have problem with serving the same request with big difference in the
datastore and memcache timings.  Please see the below email.

On Sat, Aug 1, 2015 at 10:12 AM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> resending... as it did not post earlier.
>
>
> Attached are the two screen shots showing the appstats
> - same request
> - same appengine instance
> - same user
>
> The first request took 2914 ms, and the second request takes only 1032ms
> As you can see in the attached images,
>
> 3rd line datastore_v3.RunQuery, difference of 9ms
> 5th line memcache.get, difference of 73ms
> 6th line memcache.get, differnce 73ms
>
> Through out the request, there is lot of time difference in the datastore
> and memcache calls, between the two requests.
>
> What can it done to make consistent.
>
> --
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.AccountingGuru.net <http://www.AccountingGuru.net>*
> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile*
>
>
>
>
> --
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.AccountingGuru.net <http://www.AccountingGuru.net>*
> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile*
>
>


-- 
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.AccountingGuru.net <http://www.AccountingGuru.net>*
*Accounting/Inventory/Orders 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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijYGLJvcPK8Cfi7Vmv%2B%3Dekx5BqyVxPeMdKt-o9K9Hdc1vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: appstats analysis - Same request - Too much difference in serving time

2015-08-09 Thread Rajesh Gupta
Dear Nick
I have noticed that this latency difference happens for a request with a
new instance.  The same will have considerable less latency for the second
time for the same instance.   Since, with java appengine, the instances are
always spinning (this is a different issue and discussed in several
threads), the customers are complaining about this slowness.

I will also consider redoing some code and do some batch calls as suggested
by you.

But,I have made this observation many times and easily I can produce the
stats.  Why for a new instance the latencies are huge.?


Rajesh
*www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
*www.AccountingGuru.net <http://www.accountingguru.net/>*
*Accounting/Inventory/Orders on Google Cloud Platform and Mobile*


On Fri, Aug 7, 2015 at 4:07 AM, Nick (Cloud Platform Support) <
pay...@google.com> wrote:

> Hi Rajesh,
>
> Results like these are generally to be expected (at least in terms of the
> variance of latencies).
>
> The trade-off you make with Cloud services is that while you get the
> scalability and pwoer of a data-center-wide RAM cache or schemaless
> Datastore, you also get the variability of such data structures (and in the
> case of Memcache, the volatility of a distributed RAM data structure where
> the resources are shared within the data center).
>
> Without seeing your code, nobody can offer you a solution. There are many
> factors which could be optimized in theory. It looks, for one thing, that
> you're making a lot of calls. Have you considered somehow batching or
> grouping these queries into single operations?
>
> Best wishes,
>
> Nick
>
> On Monday, August 3, 2015 at 10:17:00 PM UTC-4, Rajesh Gupta wrote:
>>
>> Attached are the two screen shots showing the appstats
>> - same request
>> - same appengine instance
>> - same user
>>
>> The first request took 2914 ms, and the second request takes only 1032ms
>> As you can see in the attached images,
>>
>> 3rd line datastore_v3.RunQuery, difference of 9ms
>> 5th line memcache.get, difference of 73ms
>> 6th line memcache.get, differnce 73ms
>>
>> Through out the request, there is lot of time difference in the datastore
>> and memcache calls, between the two requests.
>>
>> What can it done to make consistent.
>>
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
>> *www.AccountingGuru.net <http://www.accountingguru.net/>*
>> *Accounting/Inventory/Orders 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 http://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/465eb0a9-46b3-4718-ad88-816ac4574246%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/465eb0a9-46b3-4718-ad88-816ac4574246%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijbGZaqiYHjLs0NFJJfsZyH%2B%3DcC32QH90WLiNbP7ZVQtfA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: appstats analysis - Same request - Too much difference in serving time

2015-08-09 Thread Rajesh Gupta
Dear Nick
I have noticed that this latency difference happens for a request with a 
new instance.  The same request will have considerable less latency for the 
second time for the same instance.  

I will also consider redoing some code and do some batch calls as suggested 
by you.

But,I have made this observation many times and easily I can produce the 
stats.  Why for a new instance and for the first request, the latencies are 
large.?   

On Friday, August 7, 2015 at 4:07:31 AM UTC+5:30, Nick (Cloud Platform 
Support) wrote:
>
> Hi Rajesh,
>
> Results like these are generally to be expected (at least in terms of the 
> variance of latencies). 
>
> The trade-off you make with Cloud services is that while you get the 
> scalability and pwoer of a data-center-wide RAM cache or schemaless 
> Datastore, you also get the variability of such data structures (and in the 
> case of Memcache, the volatility of a distributed RAM data structure where 
> the resources are shared within the data center). 
>
> Without seeing your code, nobody can offer you a solution. There are many 
> factors which could be optimized in theory. It looks, for one thing, that 
> you're making a lot of calls. Have you considered somehow batching or 
> grouping these queries into single operations?
>
> Best wishes,
>
> Nick
>
> On Monday, August 3, 2015 at 10:17:00 PM UTC-4, Rajesh Gupta wrote:
>>
>> Attached are the two screen shots showing the appstats
>> - same request
>> - same appengine instance
>> - same user
>>
>> The first request took 2914 ms, and the second request takes only 1032ms
>> As you can see in the attached images, 
>>
>> 3rd line datastore_v3.RunQuery, difference of 9ms 
>> 5th line memcache.get, difference of 73ms
>> 6th line memcache.get, differnce 73ms
>>
>> Through out the request, there is lot of time difference in the datastore 
>> and memcache calls, between the two requests.
>>
>> What can it done to make consistent.
>>
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
>> *www.AccountingGuru.net <http://www.accountingguru.net/>*
>> *Accounting/Inventory/Orders 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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/865617b6-2115-4141-a379-6ce16d0ec1a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: appstats analysis - Same request - Too much difference in serving time

2015-08-10 Thread Rajesh Gupta
Thanks Jeff and Nick.

The entities are register in the ServletContextListener, and hence the
first request and second request are the same.


On Tue, Aug 11, 2015 at 6:40 AM, Jeff Schnitzer  wrote:

> This is not quite accurate. Objectify's session cache spans only a single
> request; there is no instance cache shared across requests (other than
> memcache).
>
> However, if that first request includes the one-time entity class
> registration that Objectify requires, that could easily explain extra time
> spent.
>
> Jeff
>
> On Mon, Aug 10, 2015 at 4:39 PM, Nick (Cloud Platform Support) <
> pay...@google.com> wrote:
>
>> Hi Rajesh,
>>
>> The first request vs. second request differences can be explained by
>> taking a look at the functioning of Objectify, which it appears you're
>> using.
>>
>> In Objectify, the library maintains a small in-memory cache which allows
>> it to serve requests and update entities with less latency. This might be
>> what you're seeing depending on the time-frame between first and second
>> requests, and the data being different or similar between the requests. You
>> can read about Objectify caching here
>> <https://github.com/objectify/objectify/wiki/Caching>.
>>
>> I hope this proves to be a useful resource for you. Let me know if you
>> have any more questions after this and I'll be glad to assist.
>>
>> Best wishes,
>>
>> Nick
>>
>> On Monday, August 10, 2015 at 12:25:54 AM UTC-4, Rajesh Gupta wrote:
>>>
>>> Dear Nick
>>> I have noticed that this latency difference happens for a request with a
>>> new instance.  The same request will have considerable less latency for the
>>> second time for the same instance.
>>>
>>> I will also consider redoing some code and do some batch calls as
>>> suggested by you.
>>>
>>> But,I have made this observation many times and easily I can produce the
>>> stats.  Why for a new instance and for the first request, the latencies are
>>> large.?
>>>
>>> On Friday, August 7, 2015 at 4:07:31 AM UTC+5:30, Nick (Cloud Platform
>>> Support) wrote:
>>>>
>>>> Hi Rajesh,
>>>>
>>>> Results like these are generally to be expected (at least in terms of
>>>> the variance of latencies).
>>>>
>>>> The trade-off you make with Cloud services is that while you get the
>>>> scalability and pwoer of a data-center-wide RAM cache or schemaless
>>>> Datastore, you also get the variability of such data structures (and in the
>>>> case of Memcache, the volatility of a distributed RAM data structure where
>>>> the resources are shared within the data center).
>>>>
>>>> Without seeing your code, nobody can offer you a solution. There are
>>>> many factors which could be optimized in theory. It looks, for one thing,
>>>> that you're making a lot of calls. Have you considered somehow batching or
>>>> grouping these queries into single operations?
>>>>
>>>> Best wishes,
>>>>
>>>> Nick
>>>>
>>>> On Monday, August 3, 2015 at 10:17:00 PM UTC-4, Rajesh Gupta wrote:
>>>>>
>>>>> Attached are the two screen shots showing the appstats
>>>>> - same request
>>>>> - same appengine instance
>>>>> - same user
>>>>>
>>>>> The first request took 2914 ms, and the second request takes only
>>>>> 1032ms
>>>>> As you can see in the attached images,
>>>>>
>>>>> 3rd line datastore_v3.RunQuery, difference of 9ms
>>>>> 5th line memcache.get, difference of 73ms
>>>>> 6th line memcache.get, differnce 73ms
>>>>>
>>>>> Through out the request, there is lot of time difference in the
>>>>> datastore and memcache calls, between the two requests.
>>>>>
>>>>> What can it done to make consistent.
>>>>>
>>>>> Rajesh
>>>>> *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
>>>>> *www.AccountingGuru.net <http://www.accountingguru.net/>*
>>>>> *Accounting/Inventory/Orders 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
&

[google-appengine] instances are spinning - how to specify fixed instances.

2015-08-14 Thread Rajesh Gupta
Hi,
We are in the process of looking at our latency issues

In this context, it is becoming very difficult, because the instances are
spinning and getting killed.
So, we don't have the logs of the which instance are serving the request,
because the instances are shutdown immediately, and if we go into the
instances screen, the new instances are showing, and the old instances are
not shown, and hence the 'view logs' link is not available for the killed
instances.

Is there any way to say that do not spin any instances at all, other than
the fixed set of instances.

-- 
Rajesh
*www.VeersoftSolutions.com *
*www.AccountingGuru.net *
*Accounting/Inventory/Orders 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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijYPU7Qu1eA7hoj9kzC8TCR3P4jLLr89uvnezKEndweC6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: instances are spinning - how to specify fixed instances.

2015-08-14 Thread Rajesh Gupta
I have the following in the appengine-web.xml

   F1

   2
   2
   10s
   10s


Attached is the screenshot, and it shows 3 instances.  I have not issued
any traffic, and yet shows 3 instances, instead of 2 instances.


On Fri, Aug 14, 2015 at 3:30 PM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> Hi,
> We are in the process of looking at our latency issues
>
> In this context, it is becoming very difficult, because the instances are
> spinning and getting killed.
> So, we don't have the logs of the which instance are serving the request,
> because the instances are shutdown immediately, and if we go into the
> instances screen, the new instances are showing, and the old instances are
> not shown, and hence the 'view logs' link is not available for the killed
> instances.
>
> Is there any way to say that do not spin any instances at all, other than
> the fixed set of instances.
>
> --
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.AccountingGuru.net <http://www.AccountingGuru.net>*
> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile*
>
>


-- 
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.AccountingGuru.net <http://www.AccountingGuru.net>*
*Accounting/Inventory/Orders 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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijYOUAXxON5dZ0Gdd6oY%2BgjXRG5QcOV7SupMyv4tPccrgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: appstats analysis - Same request - Too much difference in serving time

2015-11-24 Thread Rajesh Gupta
Hello Nick,
It is difficult to cut out the app and post the code on the issue tracker.

I can put lot of logs in the code.  I will give the details of the app-id,
and will show you the logs.  You can also see the appstats for the same
requests.  The datastore get() and query() take longer time.

If the request is served with the fresh instance, it takes longer.

It can also be tried, by shutting all the instances, and issuing the same
request.  It takes longer.

Rajesh
*www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
*www.AccountingGuru.net <http://www.accountingguru.net/>*
*Accounting/Inventory/Orders on Google Cloud Platform and Mobile*



On Fri, Aug 14, 2015 at 5:00 AM, Nick (Cloud Platform Support) <
pay...@google.com> wrote:

> Hi Rajesh,
>
> Do you think it might be possible for you to duplicate your app, cut out
> unnecessary functionality, and post this to a public issue tracker issue
> <http://code.google.com/p/google-appengine/issues/list> from which we
> could take a deeper look at this and possibly determine why it's behaving
> in that manner? This would be up to you if you chose to do so, but realize
> that our troubleshooting abilities are limited when handled in the format
> of a Groups thread.
>
> Best wishes,
>
> Nick
>
>
> On Monday, August 10, 2015 at 10:59:12 PM UTC-4, Rajesh Gupta wrote:
>>
>> Thanks Jeff and Nick.
>>
>> The entities are register in the ServletContextListener, and hence the
>> first request and second request are the same.
>>
>>
>> On Tue, Aug 11, 2015 at 6:40 AM, Jeff Schnitzer 
>> wrote:
>>
>>> This is not quite accurate. Objectify's session cache spans only a
>>> single request; there is no instance cache shared across requests (other
>>> than memcache).
>>>
>>> However, if that first request includes the one-time entity class
>>> registration that Objectify requires, that could easily explain extra time
>>> spent.
>>>
>>> Jeff
>>>
>>> On Mon, Aug 10, 2015 at 4:39 PM, Nick (Cloud Platform Support) <
>>> pay...@google.com> wrote:
>>>
>>>> Hi Rajesh,
>>>>
>>>> The first request vs. second request differences can be explained by
>>>> taking a look at the functioning of Objectify, which it appears you're
>>>> using.
>>>>
>>>> In Objectify, the library maintains a small in-memory cache which
>>>> allows it to serve requests and update entities with less latency. This
>>>> might be what you're seeing depending on the time-frame between first and
>>>> second requests, and the data being different or similar between the
>>>> requests. You can read about Objectify caching here
>>>> <https://github.com/objectify/objectify/wiki/Caching>.
>>>>
>>>> I hope this proves to be a useful resource for you. Let me know if you
>>>> have any more questions after this and I'll be glad to assist.
>>>>
>>>> Best wishes,
>>>>
>>>> Nick
>>>>
>>>> On Monday, August 10, 2015 at 12:25:54 AM UTC-4, Rajesh Gupta wrote:
>>>>>
>>>>> Dear Nick
>>>>> I have noticed that this latency difference happens for a request with
>>>>> a new instance.  The same request will have considerable less latency for
>>>>> the second time for the same instance.
>>>>>
>>>>> I will also consider redoing some code and do some batch calls as
>>>>> suggested by you.
>>>>>
>>>>> But,I have made this observation many times and easily I can produce
>>>>> the stats.  Why for a new instance and for the first request, the 
>>>>> latencies
>>>>> are large.?
>>>>>
>>>>> On Friday, August 7, 2015 at 4:07:31 AM UTC+5:30, Nick (Cloud Platform
>>>>> Support) wrote:
>>>>>>
>>>>>> Hi Rajesh,
>>>>>>
>>>>>> Results like these are generally to be expected (at least in terms of
>>>>>> the variance of latencies).
>>>>>>
>>>>>> The trade-off you make with Cloud services is that while you get the
>>>>>> scalability and pwoer of a data-center-wide RAM cache or schemaless
>>>>>> Datastore, you also get the variability of such data structures (and in 
>>>>>> the
>>>>>> case of Memcache, the volatility of a distributed RAM data structure 
>>>>>> where
>&g

[google-appengine] data change for large number of namespaces

2015-11-24 Thread Rajesh Gupta
Anyone using namespaces for real projects?

Cloud Dataflow was my latest attempt to do the data changes for entities in
large number of namespaces.  The dataflow pipelines also does not help here

Anyone has any framework developed to do migration/process data for large
number of namespaces.
-- 
Rajesh
*www.VeersoftSolutions.com *
*www.AccountingGuru.net *
*Accounting/Inventory/Orders 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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijbb938rMqeD99c5bjvAgobJCdcHBpmjgkb5tBZ%2B6t4kxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: data change for large number of namespaces

2015-11-27 Thread Rajesh Gupta
Hello Nick,
Our data is organized by a tenant/company.  Each tenant/company's data is
in a separate namespace.
So, we have many namespaces.

The web app is continuously evolving, and hence we have to do many times
schema migration of the datastore entities.

Following Objectify link, tells more details on the kind of migrations we
do.
https://github.com/objectify/objectify/wiki/SchemaMigration

Dataflow pipelines are created by specifying one namespace for a  pipeline.
The namespace issue is here
https://github.com/GoogleCloudPlatform/DataflowJavaSDK/issues/83



On Fri, Nov 27, 2015 at 12:19 AM, Nick (Cloud Platform Support) <
pay...@google.com> wrote:

> Hey Rajesh,
>
> It seems that your question is a bit vague here. What kind of migration or
> data transformation are you looking to perform, how are you using
> namespaces, how would you like to use Dataflow, etc.?
>
>
> On Wednesday, November 25, 2015 at 1:35:51 AM UTC-5, Rajesh Gupta wrote:
>>
>> Anyone using namespaces for real projects?
>>
>> Cloud Dataflow was my latest attempt to do the data changes for entities
>> in large number of namespaces.  The dataflow pipelines also does not help
>> here
>>
>> Anyone has any framework developed to do migration/process data for large
>> number of namespaces.
>> --
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>> *www.AccountingGuru.net <http://www.AccountingGuru.net>*
>> *Accounting/Inventory/Orders 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 http://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/078f3c3d-b119-4f92-aa8b-15733afc8093%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/078f3c3d-b119-4f92-aa8b-15733afc8093%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.AccountingGuru.net <http://www.AccountingGuru.net>*
*Accounting/Inventory/Orders 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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijY0jg7SAHkVea%3DDazTe8_4cSGBH8Z68QCr_LSSfp0dTbg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Issue: New Datastore console

2015-12-08 Thread Rajesh Gupta
In the new Datastore console, Go to the Entities screen.
Start typing the namespace.  It does not suggest the namespaces.

-- 
Rajesh
*www.VeersoftSolutions.com *
*www.AccountingGuru.net *
*Accounting/Inventory/Orders 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 http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BS7ija6C4sNc4sFg66e3pGxGd2%3Dcjx7YVLfd_%3Ddo0YER%2BYJQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-02-28 Thread Rajesh Gupta
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/CA%2BS7ijbPBd2wY2QGHFpJmH%3DcnHU0ADVJyQAb6_4OtnPU7KyrXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-03-01 Thread Rajesh Gupta
How can I get more info on the case no 11020875.  What is the website url
to see support cases.

Version: Cloud Endpoints 1.0

Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
*www.GainERP.com <https://www.gainerp.com/>*
*Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
Mobile*

On Wed, Mar 1, 2017 at 2:15 PM, 'Nicola Spreafico' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> 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 <http://www.VeersoftSolutions.com>*
>> *www.GainERP.com <https://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
> <https://groups.google.com/d/msgid/google-appengine/3688a2e3-d2a3-4e2b-8b66-b8ee84e68249%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://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/CA%2BS7ijaPe2SexDCxroaOH_vWjJbFZVsZTAZ83iA15WXoLOL9bA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: State of Java 8 on App Engine (not the flexible env)

2017-03-02 Thread Rajesh Gupta
Our company is now looking java appengine endpoints frameworks (endpoints
version 2.0), after working with endpoints 1.0 for long time

In the quickstart
https://cloud.google.com/endpoints/docs/frameworks/java/quickstart-frameworks-java
The documentation is mentioning about java 8 download.

What does this mean for standard appengine ?  Does it support java 8?

Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
Mobile*


On Wed, Mar 1, 2017 at 6:46 PM, Joshua Fox  wrote:

> What's up with Java 8  support on Standard Environment? I ask not just in
> the usual sense of "hurry up" but in the sense of "this is strange--why is
> this happening?." Java 8 is over 3 years old and Java  7 (from Oracle) has
> been unsupported for
> two years!
>
> Is Google  continuing to give full support for GAE  Standard Environment?
>
>
>
>
> On Thu, Dec 15, 2016 at 2:31 AM, Wayne Doherty 
> wrote:
>
>> Has there been any analysis regards performance differences between the
>> upcoming Java 8 servlets on GAE standard, and running integrated web
>> servers on GAE flexible?
>>
>> Cheers
>>
>> On Friday, August 26, 2016 at 3:22:45 AM UTC+10, Amir Rouzrokh wrote:
>>>
>>> Hi guys, Product Manager on Java team here.
>>>
>>> We are working on bringing you Java 8 on GAE standard. We want to make
>>> sure we have the best experience for our users, so please stay tuned. I
>>> will be posting more updates as we have more to share.
>>>
>>> Thanks
>>>
>>>
>>> On Wednesday, August 24, 2016 at 2:04:00 PM UTC-4, ra wrote:

 Hi,


 I am just wondering what the state of affairs is with Java 8 on the
 App Engine (not the flexible env).
 Java 8 was released almost 3 years ago and Java 9 is just around the
 corner.

 We increasingly got problems staying up to date as more and more
 libraries are moving towards Java 8. In addition - this makes it
 really hard to sell the platform to customers as it only supports Java
 7.

 I know there is this policy "It's finished when it's finished - and we
 don't talk about release dates". Yet - we just wanted to make clear
 that there are some people out that'd really appreciate that the App
 Engine supports Java 8.


 Thanks,


 Raphael

>>> --
>> 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/ms
>> gid/google-appengine/52618c90-f3dc-47e4-992a-47386952e4f7%
>> 40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> *JOSHUA FOX*
> Principal Software Architect | Freightos
>
>
> ☏* (Israel): *+972-545691165 | ☏* (US)*:  +1-3123400953* | Skype*:
> joshuafox.freightos
> Smoother shipping with the world's online freight marketplace.
> Online Marketplace
> 
>  / In the News
> 
>  / Freightos Blog
> 
>
> --
> 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/CAD%3DB7cN3J2zzzPJrVgS%3DFuO-
> JCVhNUVvC7MNQhYGrKrb4WLLow%40mail.gmail.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...@googl

[google-appengine] Composite index - ZigZag Merge

2017-03-06 Thread Rajesh Gupta
Hi,
I have the following ofy class

class Job {
  @Id
   Long id;
  @Index
  String tenantId;
  @Index
  long partyOrgId;
  @Index
  long seqId
}

ofy.query.filter("tenantId", tenantId).filter("partyOrgId",
partyOrgId).sort("-seqId").first().now();

The above query throws an composite needed index exception error







I was thinking, that the query should work with the help of the zigzag
merge join without the need for the composite index.

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


Re: [google-appengine] Parameterized type com.googlecode.objectify.Key not supported.

2017-03-15 Thread Rajesh Gupta
Trying to do further investigation on the same issue.

I typed http://localhost:/_ah/api in the browser

I got the following

ErrorFailed to retrieve API configs with status: 400

What can be wrong going here?

Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
Mobile*

On Wed, Mar 15, 2017 at 10:47 AM, Yashavanta S B <
yashava...@veersoftsolutions.com> wrote:

> I am using Google App Engine 1.9.42, Eclipse, Objectify 4.0rc2. My Class
> is as follows:
>
>
> @Entity
> public class LeadActivity {
> @Id
> private Long id;
> private String subject;
>
> Key jobKey;
>
> //getters & setters
> }
>
>
> When I try calling the google endpoint for this class thru Eclipse, I get
> the following error: *java.lang.IllegalArgumentException: Parameterized
> type com.googlecode.objectify.Key not supported.*
>
>
> Any ideas what I am doing wrong?
>
>
> After this i completely removed above API method and try to call other API
> methods which does not have Key  field type.
>
> But i still get the same messaage  *java.lang.IllegalArgumentException:
> Parameterized type com.googlecode.objectify.Key not supported.*
>
>
> [INFO] Mar 14, 2017 4:34:29 PM com.google.api.server.spi.SystemService 
> invokeServiceMethod
> [INFO] SEVERE: exception occurred while calling backend method
> [INFO] java.lang.IllegalArgumentException: Parameterized type 
> com.googlecode.objectify.Key not supported.
> [INFO]  at 
> com.google.api.server.spi.config.jsonwriter.JsonConfigWriter.addTypeToSchema(JsonConfigWriter.java:549)
> [INFO]  at 
> com.google.api.server.spi.config.jsonwriter.JsonConfigWriter.addTypeToNode(JsonConfigWriter.java:671)
>  more messages
> [INFO]  at 
> com.google.api.server.spi.SystemService.getApiConfigs(SystemService.java:411)
> [INFO]  at 
> com.google.api.server.spi.BackendService.getApiConfigs(BackendService.java:98)
> [INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [INFO]  at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>  more messages
> [INFO] Mar 14, 2017 4:34:29 PM com.google.apphosting.utils.jetty.JettyLogger 
> warn
> [INFO] WARNING: /_ah/api/vsloginendpoint/v2/vsLoginIonic2: 
> java.io.IOException: Failed to retieve API configs with status: 400
>
>
> Is the API cached? If so, how do i clean the cache?
>
> What is "Failed to retrieve API configs with status" means?
>
>
> --
> 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/0d6004b3-91a6-44ff-b035-
> 7450fcd89c39%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



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


Re: [google-appengine] Parameterized type com.googlecode.objectify.Key not supported.

2017-03-15 Thread Rajesh Gupta
We are using ofy Key, so transformers class is also added to the @Api
annotation to take care of the ofy key class. Please see the following.

@Api(name = "jobscustomreportsendpoint", version = "v2",
description = "An API to perform jobs custom reports", transformers = {
KeyTransformer.class })

Still we get the same error.


On Wed, Mar 15, 2017 at 3:51 PM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> Trying to do further investigation on the same issue.
>
> I typed http://localhost:/_ah/api in the browser
>
> I got the following
>
> ErrorFailed to retrieve API configs with status: 400
>
> What can be wrong going here?
>
> Regards,
> Rajesh
> *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
> *www.GainERP.com <https://www.gainerp.com/>*
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
> Mobile*
>
> On Wed, Mar 15, 2017 at 10:47 AM, Yashavanta S B <
> yashava...@veersoftsolutions.com> wrote:
>
>> I am using Google App Engine 1.9.42, Eclipse, Objectify 4.0rc2. My Class
>> is as follows:
>>
>>
>> @Entity
>> public class LeadActivity {
>> @Id
>> private Long id;
>> private String subject;
>>
>> Key jobKey;
>>
>> //getters & setters
>> }
>>
>>
>> When I try calling the google endpoint for this class thru Eclipse, I get
>> the following error: *java.lang.IllegalArgumentException: Parameterized
>> type com.googlecode.objectify.Key not supported.*
>>
>>
>> Any ideas what I am doing wrong?
>>
>>
>> After this i completely removed above API method and try to call other
>> API methods which does not have Key  field type.
>>
>> But i still get the same messaage  *java.lang.IllegalArgumentException:
>> Parameterized type com.googlecode.objectify.Key not supported.*
>>
>>
>> [INFO] Mar 14, 2017 4:34:29 PM com.google.api.server.spi.SystemService 
>> invokeServiceMethod
>> [INFO] SEVERE: exception occurred while calling backend method
>> [INFO] java.lang.IllegalArgumentException: Parameterized type 
>> com.googlecode.objectify.Key not supported.
>> [INFO]  at 
>> com.google.api.server.spi.config.jsonwriter.JsonConfigWriter.addTypeToSchema(JsonConfigWriter.java:549)
>> [INFO]  at 
>> com.google.api.server.spi.config.jsonwriter.JsonConfigWriter.addTypeToNode(JsonConfigWriter.java:671)
>>  more messages
>> [INFO]  at 
>> com.google.api.server.spi.SystemService.getApiConfigs(SystemService.java:411)
>> [INFO]  at 
>> com.google.api.server.spi.BackendService.getApiConfigs(BackendService.java:98)
>> [INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> [INFO]  at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>  more messages
>> [INFO] Mar 14, 2017 4:34:29 PM com.google.apphosting.utils.jetty.JettyLogger 
>> warn
>> [INFO] WARNING: /_ah/api/vsloginendpoint/v2/vsLoginIonic2: 
>> java.io.IOException: Failed to retieve API configs with status: 400
>>
>>
>> Is the API cached? If so, how do i clean the cache?
>>
>> What is "Failed to retrieve API configs with status" means?
>>
>>
>> --
>> 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/ms
>> gid/google-appengine/0d6004b3-91a6-44ff-b035-7450fcd89c39%
>> 40googlegroups.com
>> <https://groups.google.com/d/msgid/google-appengine/0d6004b3-91a6-44ff-b035-7450fcd89c39%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Regards,
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.GainERP.com <https://www.gainerp.com>*
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
> Mobile*
>
>


-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://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/CA%2BS7ijbZ3%3DWPAr%2BoZ0aM3heDqOw%2BWBPAhSXxSid%3DHFPEwEsw7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Parameterized type com.googlecode.objectify.Key not supported.

2017-03-15 Thread Rajesh Gupta
Hello all,
In the above mentioned LeadActivity class, we were
using  @ApiResourceProperty(ignored = AnnotationBoolean.TRUE) for some
fields.

For, some fields we were dependent on  the transformer class in the @Api
annotation

Endpoints was not liking it.   We cleaned up the LeadActivity class, and
now we are using only the Transformers in the @Api annotation.

Everything is fine.

Thanks.

On Wed, Mar 15, 2017 at 4:30 PM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> We are using ofy Key, so transformers class is also added to the @Api
> annotation to take care of the ofy key class. Please see the following.
>
> @Api(name = "jobscustomreportsendpoint", version = "v2",
> description = "An API to perform jobs custom reports", transformers =
> { KeyTransformer.class })
>
> Still we get the same error.
>
>
> On Wed, Mar 15, 2017 at 3:51 PM, Rajesh Gupta  veersoftsolutions.com> wrote:
>
>> Trying to do further investigation on the same issue.
>>
>> I typed http://localhost:/_ah/api in the browser
>>
>> I got the following
>>
>> ErrorFailed to retrieve API configs with status: 400
>>
>> What can be wrong going here?
>>
>> Regards,
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
>> *www.GainERP.com <https://www.gainerp.com/>*
>> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
>> Mobile*
>>
>> On Wed, Mar 15, 2017 at 10:47 AM, Yashavanta S B <
>> yashava...@veersoftsolutions.com> wrote:
>>
>>> I am using Google App Engine 1.9.42, Eclipse, Objectify 4.0rc2. My Class
>>> is as follows:
>>>
>>>
>>> @Entity
>>> public class LeadActivity {
>>> @Id
>>> private Long id;
>>> private String subject;
>>>
>>> Key jobKey;
>>>
>>> //getters & setters
>>> }
>>>
>>>
>>> When I try calling the google endpoint for this class thru Eclipse, I
>>> get the following error: *java.lang.IllegalArgumentException:
>>> Parameterized type com.googlecode.objectify.Key not supported.*
>>>
>>>
>>> Any ideas what I am doing wrong?
>>>
>>>
>>> After this i completely removed above API method and try to call other
>>> API methods which does not have Key  field type.
>>>
>>> But i still get the same messaage  *java.lang.IllegalArgumentException:
>>> Parameterized type com.googlecode.objectify.Key not supported.*
>>>
>>>
>>> [INFO] Mar 14, 2017 4:34:29 PM com.google.api.server.spi.SystemService 
>>> invokeServiceMethod
>>> [INFO] SEVERE: exception occurred while calling backend method
>>> [INFO] java.lang.IllegalArgumentException: Parameterized type 
>>> com.googlecode.objectify.Key not supported.
>>> [INFO]  at 
>>> com.google.api.server.spi.config.jsonwriter.JsonConfigWriter.addTypeToSchema(JsonConfigWriter.java:549)
>>> [INFO]  at 
>>> com.google.api.server.spi.config.jsonwriter.JsonConfigWriter.addTypeToNode(JsonConfigWriter.java:671)
>>>  more messages
>>> [INFO]  at 
>>> com.google.api.server.spi.SystemService.getApiConfigs(SystemService.java:411)
>>> [INFO]  at 
>>> com.google.api.server.spi.BackendService.getApiConfigs(BackendService.java:98)
>>> [INFO]  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> [INFO]  at 
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>>  more messages
>>> [INFO] Mar 14, 2017 4:34:29 PM 
>>> com.google.apphosting.utils.jetty.JettyLogger warn
>>> [INFO] WARNING: /_ah/api/vsloginendpoint/v2/vsLoginIonic2: 
>>> java.io.IOException: Failed to retieve API configs with status: 400
>>>
>>>
>>> Is the API cached? If so, how do i clean the cache?
>>>
>>> What is "Failed to retrieve API configs with status" means?
>>>
>>>
>>> --
>>> 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/ms
>>> gid/google-appengine/0d6004b3-91a6-44ff-b035

[google-appengine] Huge Variation in datastore_v3.Get() time

2017-03-22 Thread Rajesh Gupta
Hello,
I am analyzing the trace of the request.  Please find attached.

The datastore_v3.Get() api call duration varies from 11ms to 131ms.

If there are more datastore_v3.Get(), then the response time is highly
unpredictable.

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/CA%2BS7ijaD-HfM5FZbVWDvc76J%3DmAcpiyXszEsFyzp1HBtap%2Bz9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Log Viewer - Logs are displayed after 1-2 minutes

2017-03-29 Thread Rajesh Gupta
Hello,
The logs in the LogViewer are not displayed immediately when you refresh
the logs.
It takes 1-2 minutes for the logs to be displayed in the Log Viewer.

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/CA%2BS7ijbODLjOq4fjoOA7V8ni-M9ae84inL%3D87t8e7i0D6iAy%2Bg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Flexible & Standard Appengine - Java

2017-04-23 Thread Rajesh Gupta
We are on java standard appengine for 5+ years.

Just want to know, what is not available in Flexible env that is available
in the Standard?

What are the showstoppers to move to a flexible appengine env from a
Standard appengine.

-- 
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/CA%2BS7ijY2C%2BD-_9TNRdPn-zO69qHnnhdRqx02E5fq6GNx_k%3DsyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] unnecessary instance spinning causes latency issues

2017-05-17 Thread Rajesh Gupta
We are using Java appengine standard.

The appid is our test server with 1 min instance running always on F1

Even if there is no traffic, the instances are spinning.  This is not
good.  Why should there be so many instance restarts.

Low traffic website are facing the following latency because of constant
instance spinning
Lets say, the instance is started with the /_ah/warmup and the instance is
ready to serve.  Now a new request arrives and the newly created instance
serves the request.  The first request here always takes a longer time,
because of java loaders loading the classes and other things.  Had this
request been served by a old instance, the serving will be faster.

Please see the following instance spinning with no requests at all.   Don't
kill the instances, and try to serve the request always with a older
instance.

[image: Inline image 2]

-- 
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/CA%2BS7ijZ-f9yPKX7mqF7cEeDoT8%3DexhidE-YH49jpTRLM7P0Psg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: curl - Java Standard Appengine Latency analysis

2017-05-24 Thread Rajesh Gupta
We have experimented with the helloworld endpoints example.  The results
are consistently the same as given earlier

A issue is filed on the issue tracker.  Please note the no.
https://issuetracker.google.com/issues/62043057

Anyone facing the latency issues with the endpoints framework?

Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.veersoftsolutions.com/>*
*www.GainERP.com <https://www.gainerp.com/>*
*Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
Mobile*


On Tue, May 23, 2017 at 8:27 PM, 'Nicholas (Google Cloud Support)' via
Google App Engine  wrote:

> Hey Rajesh,
>
> There are many contributors to latency depending on the variables that we
> observe.  *time_starttransfer* <https://curl.haxx.se/docs/manpage.html#-w>
> for instance, is defined as:
>
>> The time, in seconds, it took from the start until the first byte was
>> just about to be transferred. This includes *time_pretransfer* and also
>> the time the server needed to calculate the result.
>
>
> It thus includes all the time up until the when your endpoint service
> sends its response.  Assuming your curl *time_starttransfer* examples
> correlate to the endpoint log entries, it would seem the majority of the
> time is spent sending and routing the request in this case from the GCE
> instance to the endpoint handler.  While there may be many steps and
> intermediate devices between the each instance, several seconds is
> generally a somewhat high latency.
>
> There aren't any issues presently <https://status.cloud.google.com/> with
> Compute Engine networking or Endpoints.  If you believe this to be an issue
> with the platform, I would recommend filing a public issue on Issue
> Tracker <https://issuetracker.google.com/issues/new> as this forum is
> generally reserved for sharing best practices and design concepts.  When
> reporting an issue, be sure to include a minimal reproduction that can
> reliably demonstrate the latency you describe along with a time frame for
> when you've been able to reproduce these results.
>
>
> On Tuesday, May 23, 2017 at 3:07:16 AM UTC-4, Rajesh Gupta wrote:
>>
>> Hello Team,
>>
>> Java Appengine zone: *asia-southeast1-a*
>>
>> I have Java standard appengine app running  with a simple endpoints api.
>>
>> Also, I have compute engine instance ubuntu created in the same time
>> zone: *asia-southeast1-a.  *By doing this, I was expecting that curl
>> client should get a very quick response with out much latency, as the curl
>> client and server are both running in the same Google data center in the
>> same zone.
>>
>> I run the curl for testing the endpoints api.  Many times, I get a very
>> huge latency.
>>
>> Curl timings: Why the 'time_starttransfer' is so high and varying.
>>
>> rajesh_gupta@instance-3:~$ curl -w "@curl-format.txt" -o NUL -s --data
>> "emailId=vsxyz...@veersoftsolutions.com&password=123456&count=2"
>> https://field-works1.appspot.com/_ah/api/vsloginendpoint/v2/vsLoginIonic2time_namelookup:
>> 0.004 time_connect: 0.009 time_appconnect: 0.110 time_pretransfer: 0.110
>> time_redirect: 0.000 time_starttransfer: 1.059 -- time_total:
>> 1.060rajesh_gupta@instance-3:~$ curl -w "@curl-format.txt" -o NUL -s
>> --data "emailId=vsxyz...@veersoftsolutions.com&password=123456&count=2"
>> https://field-works1.appspot.com/_ah/api/vsloginendpoint/v2/vsLoginIonic2time_namelookup:
>> 0.004 time_connect: 0.005 time_appconnect: 0.109 time_pretransfer: 0.109
>> time_redirect: 0.000 time_starttransfer: 14.565 -- time_total:
>> 14.565rajesh_gupta@instance-3:~$ curl -w "@curl-format.txt" -o NUL -s
>> --data "emailId=vsxyz...@veersoftsolutions.com&password=123456&count=2"
>> https://field-works1.appspot.com/_ah/api/vsloginendpoint/v2/vsLoginIonic2time_namelookup:
>> 0.004 time_connect: 0.005 time_appconnect: 0.102 time_pretransfer: 0.102
>> time_redirect: 0.000 time_starttransfer: 4.132 -- time_total:
>> 4.132rajesh_gupta@instance-3:~$ curl -w "@curl-format.txt" -o NUL -s
>> --data "emailId=vsxyz...@veersoftsolutions.com&password=123456&count=2"
>> https://field-works1.appspot.com/_ah/api/vsloginendpoint/v2/vsLoginIonic2time_namelookup:
>> 0.004 time_connect: 0.005 time_appconnect: 0.106 time_pretransfer: 0.106
>> time_redirect: 0.000 time_starttransfer: 3.930 -- time_total:
>> 3.930
>>
>> Sample Appengine Logs:
>>
>> [image: Inline image 1]
>>
>> Regards,
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.

[google-appengine] Google cloud shell

2017-06-14 Thread Rajesh Gupta
Hello,
The google cloud shell provision f1-micro compute engine.

I am building mvn project, and it is very slow for gwt compilation

Is there a way to get a more power machine for the google cloud shell.

Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.FieldGain.com *
*Field Servicing SaaS on Google Cloud Platform and Mobile*
*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/CA%2BS7ijYEvKsENoPJHA8jGXCnvYBuuyWv-KpeZ-whpNAiSrDuqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Alternate to mapreduce

2017-07-21 Thread Rajesh Gupta
Is there any alternate to mapreduce framework.  Mapreduce is not supported
well for namespaces and its api is not simple and it is not documented well.

Cloud dataflow lies outside the appengine expertise.  We cannot use
objectify in dataflow.

Does Google console datastore UI team has any plans to facilitate making
batch data changes using UI

Regards,
Rajesh
*www.GainERP.com *
*Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
Mobile*
*www.FieldGain.com *
*Field Service Software*

-- 
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/CA%2BS7ijZ6iMhCeAgWGzDZ9%2ByZwJ2ep379dt5F4kqU4FPbiADi%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Appengine Location

2017-09-19 Thread Rajesh Gupta
What is a good appengine location to choose, if you are serving primarily
the India customers.

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


Re: [google-appengine] Re: Why is GAE not popular?

2017-11-01 Thread Rajesh Gupta
I really like it a lot.  Especially for small teams, you don't have to
worry about dev-ops.  Our company is running the SaaS service for 5+ years
with out dev-ops.

With all the improvement over the years, and the java8 available, it is
really a platform to go with.
I highly recommend.  Just use the good features like
taskqueues, autoscaling -  it is worth a lot.

All projects will have bad code and memory leaks - appengine can start new
instances and continue to serve other requests, while one of the instances
dies because of memory issues.

Some negatives
- Datastore is different, needs lot of learning and different thinking.
- No good migration tools for datastore - to alter  or delete columns data
in bulk  (I don't like mapreduce).  Hope Google team will give better api
and come up with a UI to alter bulk data
- don't like the endpoints framework
- Needs lot of documentation

Its my choice for SaaS.!!

Regards,
Rajesh
*www.GainERP.com *
*Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
Mobile*


On Wed, Nov 1, 2017 at 10:16 AM, Vitaly Bogomolov 
wrote:

> Hi, Torsten,
>
> My 5 cents.
>
> GAE allows measure "quality of code" in money. If the code is "bad", you
> need a lot of GAE resources -> lot of money for serving your app.
>
> This thing for some reason not liked by most developers.
>
> :)
>
> WBR, Vitaly.
>
> --
> 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/b347a0bf-4026-4dbc-9de6-
> 698416c7acfe%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/CA%2BS7ijaBY3X%2BPsdwHumJgnwn%2B-_%2BgNqVEXyXS%2BuMxGbxmdJAEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Move my appid to SouthAsia region

2017-11-07 Thread Rajesh Gupta
Hi,
Is there way to move my appid from US regsion to SouthAsia (Mumbai) region.

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


[google-appengine] cloud shell

2018-02-23 Thread Rajesh Gupta
I am using Cloud shell.

It keeps saying
'Establishing connection to your Google Cloud Shell... '

I launch the code editor. It says
'loading resources..'  and it takes long time or hangs.


-- 
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/CA%2BS7ijaNedJ_qyw73m4gJ%3DyeegZU5-S5x_jCjNTaAR_t%2B7Mg_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: cloud shell

2018-02-23 Thread Rajesh Gupta
I did the following
- used a different browser
- tried in incognito mode

It is not consistent.  It connects sometimes.  Sometime, codeeditor does
not launch


On Sat, Feb 24, 2018 at 12:47 PM, Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> I am using Cloud shell.
>
> It keeps saying
> 'Establishing connection to your Google Cloud Shell... '
>
> I launch the code editor. It says
> 'loading resources..'  and it takes long time or hangs.
>
>
> --
> Regards,
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.GainERP.com <https://www.gainerp.com>*
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
> Mobile*
>
>


-- 
Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://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/CA%2BS7ijazwYNaM4i1oK_%2BOBz2JjCTNVtzX_FtiyZBkCfC6rpOZA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] java8 parallel streams

2018-03-14 Thread Rajesh Gupta
Hi,

Writing code in parallel streams:  Will it benefit on java appengine
runtime.  Because, parallel streams talk about taking advantage of
available cores.

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


[google-appengine] sending email at a later date

2018-05-03 Thread Rajesh Gupta
HI,

We are in erp & field service management SAAS

We use java on appengine.

We need email reminders that needs to be sent our later dates.

For example, for the invoice due date, a reminder has to be sent 1 day early

In field service SAAS, we need to send reminders as SMS 30 min, prior the
appointment given to the customer.

What cloud components can be used here  or what should be the design for
performing the events at later date&time..


-- 
Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*ERP & Field Service Management on Google Cloud*

-- 
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/CA%2BS7ijaO89nD4P%3DeAWQSv0iHLYRei2zDj4dXUeGjwD0KHT%3DBzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Transaction across Java appengine datastore and cloud sql

2018-05-13 Thread Rajesh Gupta
Hi,
We are running out of indexes on appengine datastore.  We have 10-20
remaining.
No time for doing refactoring and to regain the indexes.

One thought is to use Cloud sql or Cloud spanner for further development.
There are other reasons also to look for alternatives to datastore.
(finding talent, restrictions of datastore on aggregates queries, no easy
way to do migrations or schema changes)

Is there a way to do a transaction across datastore and cloud sql or cloud
spanner

What are the recommended methods to further expand dev.

Rajesh
*www.GainERP.com *
*ERP & Field Service on Google Cloud*

-- 
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/CA%2BS7ijY-XO6R_zqeOf9kqfMi%2BF6Np1eOLmBtLx-Sg7ZCqTmoRg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] zigzag merge

2018-06-21 Thread Rajesh Gupta
I have 12-15 composite indexes for few KINDS. They got added 4-5 years
ago.
I am looking to regain indexes

Is there a way to reduce the indexes.  I am seeing if zigzag has any tool
or utility to help find out the redundant indexes.

-- 
Regards,
Rajesh
*www.GainERP.com *
*Accounting/Inventory/Orders/Sales/Purchase/FieldService 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/CA%2BS7ija%2Bt3M-JK9-9vp9-Ty6gQG_SciOn7GV32LzL%2B3dq9g%2Bcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: zigzag merge

2018-06-26 Thread Rajesh Gupta
I am not sure whether some indexes are needed,  because, I don't know, when
that index is used in the application in which path and options and in
which corner case.
Hence, trying to find any zigzag utility to find that out any equivalent
index, so that I am safe, when that corner case gets executed.

On Mon, Jun 25, 2018 at 1:11 AM, 'George (Cloud Platform Support)' via
Google App Engine  wrote:

> When you are sure that old indexes are no longer needed, you can delete
> them from Cloud Datastore using the datastore cleanup-indexes
> 
> command. This command deletes all indexes for the production Cloud
> Datastore instance that are not mentioned in the local version of
> index.yaml. For more detail, you may read the "Deleting unused indexes"
> sub-chapter
> 
> of the "Index Configuration" online document.
>
> --
> 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/b0be29f5-e0e5-442f-a4bf-
> 3416ec23c1e3%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
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/CA%2BS7ijawXuKEEpVrH-z09OKHfoNMUF0N3Qw5tCz%3DriPsnZGLyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: zigzag merge

2018-07-02 Thread Rajesh Gupta
+1

It would be nice, if the production system keeps this statistics.  It would
be give more confidence to remove this, as we know it is not used over
time.

Currently, queries are written few years ago, and refactored by different
people over the the years.  There may be a forgetting factor to delete the
indexes.

Additionally, the queries, would have been dynamically built using
reflection and metadata.

It is hard to guess and delete the index,with various options and settings
existing the software.

Best is, if Google gives an indication on when the index was used and the
query used for the index.



On Thu, Jun 28, 2018 at 5:48 PM, Kaan Soral  wrote:

> It would be indeed nice, if the production system kept metrics for index
> usage, that way, it would be obvious which indexes are needed or not
>
> --
> 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/3931eabd-023b-4650-a5d6-
> f8473ae26ffd%40googlegroups.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



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


[google-appengine] Firestore in datastore mode

2018-09-04 Thread Rajesh Gupta
Hello,

Question on the 3rd generation of datastore ie, Firestore in datastore
mode:  Does it remove the limitation of 200 index limit?

-- 
Regards,
Rajesh
*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/CA%2BS7ijbXvh9xmUTXSxP0GKDdyLS1w6rYPjoOq%2B29B%2Bkr5LQEvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Firestore in datastore mode

2018-09-05 Thread Rajesh Gupta
It was discussed in the issue tracker, that alternates were being
researched on this.

https://issuetracker.google.com/issues/35894207

Any updates that can shared on this.

On Tue, Sep 4, 2018 at 9:30 PM, 'David (Google Cloud Support)' via Google
App Engine  wrote:

> Hello Rajesh,
>
> As stated in Cloud Firestore in Datastore mode
> <https://cloud.google.com/datastore/docs/firestore-or-datastore#cloud_firestore_in_datastore_mode>,
> the Cloud Firestore in Datastore mode uses Cloud Datastore indexes instead
> of Cloud Firestore indexes, therefore, the limitations are the same
> excepting for these 3 which are listed in the previous link:
>
> -Eventual consistency, all Cloud Datastore queries become strongly
> consistent.
>
> -Transactions are no longer limited to 25 entity groups.
>
> -Writes to an entity group are no longer limited to 1 per second.
> Please review production limits for the Cloud Datastore
> <https://cloud.google.com/datastore/docs/concepts/limits>, the maximum
> number of composite indexes for a project is still 200.
>
>
> On Tuesday, September 4, 2018 at 8:40:40 AM UTC-4, Rajesh Gupta wrote:
>>
>> Hello,
>>
>> Question on the 3rd generation of datastore ie, Firestore in datastore
>> mode:  Does it remove the limitation of 200 index limit?
>>
>> --
>> Regards,
>> Rajesh
>> *www.GainERP.com <https://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/59c13025-7d6e-43e8-a967-
> 9bc991954993%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/59c13025-7d6e-43e8-a967-9bc991954993%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

Regards,
Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://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/CA%2BS7ijb3ej8EgcbXDZ6f7aQc2GAbCS0QpyQVViRmRHfx%2BUus_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Datastore & Firestore Transaction

2018-10-11 Thread Rajesh Gupta
I am looking to make entry in both datastore and firestore.

Is there a transaction planned between the following
Firestore in Datastore mode & Firestore in Native mode.

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


[google-appengine] Re: Datastore & Firestore Transaction

2018-10-11 Thread Rajesh Gupta
We are more & more thinking on how to take the benefit of firestore in
existing appengine applications.

Existing appengine applications can greatly benefit with some kind of
guaranteed cross database transactions


On Fri, Oct 12, 2018 at 9:25 AM Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> I am looking to make entry in both datastore and firestore.
>
> Is there a transaction planned between the following
> Firestore in Datastore mode & Firestore in Native mode.
>
> Rajesh
> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
> *www.GainERP.com <https://www.gainerp.com>*
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
> Mobile*
>
>

Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://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/CA%2BS7ijZKgFU-2vPxRnnPVwwVcSsxLH-eE2hMJmbpaFUpv_Fm%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 native benefits in some form to
existing apps.
Example.
Transaction between datastore & firestore (in another projectid).  This
will help in transitioning the records to firestore native mode as they are
created and give the benefit of firestore native to users(specifically
offline).


On Sat, Oct 13, 2018 at 3:41 AM 'Amit (Google Cloud Support)' via Google
App Engine  wrote:

> 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 the benefit of Cloud
> Firestore  in existing App Engine applications, you could try using Could
> Firestore in Datastore mode. This will allow you to use strongly consistent
> storage layer of firestore as well as Cloud Datastore API support.
> Additionally App Engine client library integration supported in all runtime
> while you are in Cloud Firestore in Datastore mode. Cloud Firestore in
> Native mode do not support Python 2.7 and PHP 5.5 runtimes in the App
> Engine standard environment. However if you need real time updates and
> offline data persistence, you need to use Could Firestore in Native mode
> only. This document
> <https://cloud.google.com/datastore/docs/firestore-or-datastore#which_database_is_right_for_your_project>
> might help you for more information to choose the right one.
>
> On Thursday, October 11, 2018 at 11:56:29 PM UTC-4, Rajesh Gupta wrote:
>>
>> I am looking to make entry in both datastore and firestore.
>>
>> Is there a transaction planned between the following
>> Firestore in Datastore mode & Firestore in Native mode.
>>
>> Rajesh
>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
>> *www.GainERP.com <https://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/bd423a81-3188-4fc6-af6b-10f0bbda9c3a%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/bd423a81-3188-4fc6-af6b-10f0bbda9c3a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


Rajesh
*www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>*
*www.GainERP.com <https://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/CA%2BS7ijY2pOxodqGOus84T%3DUKBOBku04bDwiT6CTKtG5WX-nq_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

2018-10-16 Thread Rajesh Gupta
Users who are looking to architect existing datastore app and still want to
benefit from the firestore native mode, please star this issue.
I am requesting some kind of cross database transaction or something that
existing apps can write to both datastore as well as firestore native more
reliable.

https://issuetracker.google.com/issues/117639593



On Tue, Oct 16, 2018 at 9:02 PM samiislam via Google App Engine <
google-appengine@googlegroups.com> wrote:

> Hi Rajesh,
>
> I can understand that you have a concern moving forward with Firestore as
> you have been using App Engine with Datastore for such a long time. I am
> providing you a link to the documentation which addresses the process of 
> automatic
> upgrade of Cloud Datastore to Cloud Firestore
> . If you
> have an application that uses Cloud Datastore, you will not need to update
> your application code. We will notify you about the schedule of your
> application;s upgrade to Datastore mode. Please note that you can not
> manually upgrade an existing Cloud Datastore Database to Cloud Firestore in
> Datastore mode.
>
> You can definitely check out the following articles addressing the best
> practices
> 
> of Firestore and how it integrates with the realtime database. Also, I am
> providing you the quickstart link
>  which gives you
> an introduction on how Firestore works and how you can deploy applications
> on Firestore. Note that using Firestore in Native mode will require you to
> create a new project for it, but you can interact with it from your
> existing project should you wish to.
>
> For additional requests, such as a cross-database transaction feature, you
> can always go to our Public Issue Tracker page
>  where you can request any
> features or products that you feel will make it easy for you to develop
> applications to your needs and specifications.
>
> --
> 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/a701786d-d382-4e89-aad2-c9ec06b5c22a%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
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/CA%2BS7ijZu5u3KKa%2BrT_HEQ46kMX7uR95VJEyBsSRC%2B%3DSa%2Biq90g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Datastore export permission only

2018-12-12 Thread Rajesh Gupta
Hello,
I am setting up a new user in the IAM.
I want only the datastore.databases.export  permission.

I don't want the  ROLE datastore.importExportAdmin

Rajesh
*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/CA%2BS7ijZv99FXiH%2Bv5c_L7r%3DZSnjgNbGAweafVWHpYh-UE7tSSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Datastore export permission only

2018-12-14 Thread Rajesh Gupta
any idea on how to setup a user with only datastore.databased.export
permission?

On Wed, Dec 12, 2018 at 7:40 PM Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> Hello,
> I am setting up a new user in the IAM.
> I want only the datastore.databases.export  permission.
>
> I don't want the  ROLE datastore.importExportAdmin
>
> Rajesh
> *www.GainERP.com <https://www.gainerp.com>*
> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
> Mobile*
>
>
>
Rajesh
*www.GainERP.com <https://www.gainerp.com>*
*Field Service Software 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/CA%2BS7ijbKqhnjy_HZcMR7dbNtouoQx5mmTEcTdakOLCqyjHy94g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Datastore export permission only

2018-12-17 Thread Rajesh Gupta
It is risky to give  the comple datastore.importExportAdmin for upcoming or
new engineers.  Even experienced engineer can make a mistake importing
instead of exporting.
When is the permission “datastore.databases.export” supported for the
custom roles.

Rajesh
*www.GainERP.com <https://www.gainerp.com/>*
*Field Service Software on Google Cloud Platform and Mobile*


On Sat, Dec 15, 2018 at 6:22 AM 'Mohammad I (Cloud Platform Support)' via
Google App Engine  wrote:

> Hello Rajesh,
>
> Thank you for the message. Usually by creating a custom role
> <https://cloud.google.com/iam/docs/creating-custom-roles#creating_a_custom_role>
> certain permission can be assigned to users. You can get more details about
> IAM custom role here
> <https://cloud.google.com/iam/docs/understanding-custom-roles>.
> Unfortunately at this moment “datastore.databases.export” is not supported
> for custom roles. You can find detailed list of all permissions and support
> levels here
> <https://cloud.google.com/iam/docs/custom-roles-permissions-support#list_of_all_permissions_and_support_levels>.
>
>
> On Friday, December 14, 2018 at 5:46:19 AM UTC-5, Rajesh Gupta wrote:
>>
>> any idea on how to setup a user with only datastore.databased.export
>> permission?
>>
>> On Wed, Dec 12, 2018 at 7:40 PM Rajesh Gupta <
>> raj..@veersoftsolutions.com >
>> wrote:
>>
>>> Hello,
>>> I am setting up a new user in the IAM.
>>> I want only the datastore.databases.export  permission.
>>>
>>> I don't want the  ROLE datastore.importExportAdmin
>>>
>>> Rajesh
>>> *www.GainERP.com <https://www.gainerp.com>*
>>> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
>>> Mobile*
>>>
>>>
>>>
>> Rajesh
>> *www.GainERP.com <https://www.gainerp.com>*
>> *Field Service Software 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/2ecc601c-d61e-4d1f-b564-c089776a8f26%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/2ecc601c-d61e-4d1f-b564-c089776a8f26%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CA%2BS7ijb-fuZP6022wtWFKMEvVeVKvSzU%3D%3Dhe1SGFUU6BPaQAbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Datastore export permission only

2018-12-19 Thread Rajesh Gupta
Appreciate your reply.  Hope to see the feature soon.

On Wed, Dec 19, 2018 at 12:48 AM 'Dan McGrath' via Google App Engine <
google-appengine@googlegroups.com> wrote:

> Thanks for the feedback Rajesh. I'm the product manager for Cloud
> Datastore, and want to note we agree with you. We're working through some
> implementation details for custom roles at the moment, and unfortunately
> don't have dates to share. It's definitely in our plans to make this
> available though.
>
> Regards,
> Dan
>
> On Monday, December 17, 2018 at 10:18:43 PM UTC-7, Rajesh Gupta wrote:
>>
>> It is risky to give  the comple datastore.importExportAdmin for upcoming
>> or new engineers.  Even experienced engineer can make a mistake importing
>> instead of exporting.
>> When is the permission “datastore.databases.export” supported for the
>> custom roles.
>>
>> Rajesh
>> *www.GainERP.com <https://www.gainerp.com/>*
>> *Field Service Software on Google Cloud Platform and Mobile*
>>
>>
>> On Sat, Dec 15, 2018 at 6:22 AM 'Mohammad I (Cloud Platform Support)' via
>> Google App Engine  wrote:
>>
>>> Hello Rajesh,
>>>
>>> Thank you for the message. Usually by creating a custom role
>>> <https://cloud.google.com/iam/docs/creating-custom-roles#creating_a_custom_role>
>>> certain permission can be assigned to users. You can get more details about
>>> IAM custom role here
>>> <https://cloud.google.com/iam/docs/understanding-custom-roles>.
>>> Unfortunately at this moment “datastore.databases.export” is not supported
>>> for custom roles. You can find detailed list of all permissions and support
>>> levels here
>>> <https://cloud.google.com/iam/docs/custom-roles-permissions-support#list_of_all_permissions_and_support_levels>.
>>>
>>>
>>> On Friday, December 14, 2018 at 5:46:19 AM UTC-5, Rajesh Gupta wrote:
>>>>
>>>> any idea on how to setup a user with only datastore.databased.export
>>>> permission?
>>>>
>>>> On Wed, Dec 12, 2018 at 7:40 PM Rajesh Gupta <
>>>> raj@veersoftsolutions.com> wrote:
>>>>
>>>>> Hello,
>>>>> I am setting up a new user in the IAM.
>>>>> I want only the datastore.databases.export  permission.
>>>>>
>>>>> I don't want the  ROLE datastore.importExportAdmin
>>>>>
>>>>> Rajesh
>>>>> *www.GainERP.com <https://www.gainerp.com>*
>>>>> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform
>>>>> and Mobile*
>>>>>
>>>>>
>>>>>
>>>> Rajesh
>>>> *www.GainERP.com <https://www.gainerp.com>*
>>>> *Field Service Software 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-appengi...@googlegroups.com.
>>> To post to this group, send email to google-a...@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/2ecc601c-d61e-4d1f-b564-c089776a8f26%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-appengine/2ecc601c-d61e-4d1f-b564-c089776a8f26%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> 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/749caae6-f0ae-4645-86a4-0e03857e30ed%40googlegroups.com
> <https://groups.google.com/d/msgid/google-appengine/749caae6-f0ae-4645-86a4-0e03857e30ed%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Rajesh
*www.GainERP.com <https://www.gainerp.com/>*
*Field Service Software 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/CA%2BS7ijYfNei6UT7SsG2E1DS%3DeZcA5sxJB_MY723rR%2B%3DK%2Bt-S1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] cloud shell - boost mode

2018-12-19 Thread Rajesh Gupta
Is there a way to change the instance of the cloud shell in boost mode from
*n1-standard-1 VM instance*  to a higher instance.

Rajesh
*www.GainERP.com *
*Inventory/Field Service Software 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/CA%2BS7ijZUk6SW4%3DtLqV_pEYtv1gmSXWyyCfzoOmjXKrHC8JsCTw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: cloud shell - boost mode

2018-12-20 Thread Rajesh Gupta
Hello George,
I want a powerful instance in the Google Cloud shell.  In burst mode it is
n1-standard instance.
I want to use this for building and deployment of the app to Google
appengine.

My app build time is approx about 12-15 min on my local machine with 12 GB
ram and i5 7gen, ssd.
The same build takes about 30 min on the n1-standard instance cloud shell.

Currently, my build is about building GWT module (about 20-25), and it
takes time to build each GWT module.

I want the cloud shell to take away my build work from my local machines.
Hence, I am looking for a better instance than n1-standard.

Hope I have shared enough information.

On Fri, Dec 21, 2018 at 6:42 AM 'George (Cloud Platform Support)' via
Google App Engine  wrote:

> Hello Rajesh,
>
> When you start Cloud Shell, it provisions a g1-small Google Compute Engine
> virtual machine running a Debian-based Linux operating system. There is no
> clearly-defined procedure to change this default behavior. You seem to need
> a higher instance. What is your exact need? How do you plan to use the
> higher instance? More detail is needed, than provided above, and a
> well-formulated and complete use case helps a lot in getting your issue, or
> feature request processed quickly and efficiently.
>
> This upgrade might in fact not be needed, as the g1-small instance
> offers bursting capabilities that allow instances to use additional
> physical CPU for short periods of time. Bursting happens automatically when
> your instance requires more physical CPU than originally allocated. This
> feature might address your needs.
>
> --
> 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/6be6962a-b364-4dda-a1bb-50a8f6d89a87%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Rajesh
*www.GainERP.com *
*Field Service Software 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/CA%2BS7ijY%3DUM41%2BEXPu0VozbwvvX8%2B_1dkG8xR4dcTs30ppVt08Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Datastore export permission only

2019-01-29 Thread Rajesh Gupta
Hi Dan McGrath,
When will this feature be released?

Rajesh
*www.GainERP.com <https://www.gainerp.com/>*
*Field Service Software on Google Cloud Platform and Mobile*

On Thu, Dec 20, 2018 at 12:01 PM Rajesh Gupta <
rajesh.gu...@veersoftsolutions.com> wrote:

> Appreciate your reply.  Hope to see the feature soon.
>
> On Wed, Dec 19, 2018 at 12:48 AM 'Dan McGrath' via Google App Engine <
> google-appengine@googlegroups.com> wrote:
>
>> Thanks for the feedback Rajesh. I'm the product manager for Cloud
>> Datastore, and want to note we agree with you. We're working through some
>> implementation details for custom roles at the moment, and unfortunately
>> don't have dates to share. It's definitely in our plans to make this
>> available though.
>>
>> Regards,
>> Dan
>>
>> On Monday, December 17, 2018 at 10:18:43 PM UTC-7, Rajesh Gupta wrote:
>>>
>>> It is risky to give  the comple datastore.importExportAdmin for
>>> upcoming or new engineers.  Even experienced engineer can make a mistake
>>> importing instead of exporting.
>>> When is the permission “datastore.databases.export” supported for the
>>> custom roles.
>>>
>>> Rajesh
>>> *www.GainERP.com <https://www.gainerp.com/>*
>>> *Field Service Software on Google Cloud Platform and Mobile*
>>>
>>>
>>> On Sat, Dec 15, 2018 at 6:22 AM 'Mohammad I (Cloud Platform Support)'
>>> via Google App Engine  wrote:
>>>
>>>> Hello Rajesh,
>>>>
>>>> Thank you for the message. Usually by creating a custom role
>>>> <https://cloud.google.com/iam/docs/creating-custom-roles#creating_a_custom_role>
>>>> certain permission can be assigned to users. You can get more details about
>>>> IAM custom role here
>>>> <https://cloud.google.com/iam/docs/understanding-custom-roles>.
>>>> Unfortunately at this moment “datastore.databases.export” is not supported
>>>> for custom roles. You can find detailed list of all permissions and support
>>>> levels here
>>>> <https://cloud.google.com/iam/docs/custom-roles-permissions-support#list_of_all_permissions_and_support_levels>.
>>>>
>>>>
>>>> On Friday, December 14, 2018 at 5:46:19 AM UTC-5, Rajesh Gupta wrote:
>>>>>
>>>>> any idea on how to setup a user with only datastore.databased.export
>>>>> permission?
>>>>>
>>>>> On Wed, Dec 12, 2018 at 7:40 PM Rajesh Gupta <
>>>>> raj@veersoftsolutions.com> wrote:
>>>>>
>>>>>> Hello,
>>>>>> I am setting up a new user in the IAM.
>>>>>> I want only the datastore.databases.export  permission.
>>>>>>
>>>>>> I don't want the  ROLE datastore.importExportAdmin
>>>>>>
>>>>>> Rajesh
>>>>>> *www.GainERP.com <https://www.gainerp.com>*
>>>>>> *Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform
>>>>>> and Mobile*
>>>>>>
>>>>>>
>>>>>>
>>>>> Rajesh
>>>>> *www.GainERP.com <https://www.gainerp.com>*
>>>>> *Field Service Software 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-appengi...@googlegroups.com.
>>>> To post to this group, send email to google-a...@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/2ecc601c-d61e-4d1f-b564-c089776a8f26%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/google-appengine/2ecc601c-d61e-4d1f-b564-c089776a8f26%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> 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.

  1   2   >