[google-appengine] [app-engine] multiple app.yaml files

2018-04-10 Thread Raunak Gupta
I've multiple services running for the same app under the name "dev", "stage" and "default" (which is prod). The deployment is done using the standard `gcloud app deploy app.yaml`. It is frustrating having to update app.yaml with service name before each deployment. I tried overcoming this

[google-appengine] [CloudEndpoints Java] Reading RAW HTTP Body

2017-10-23 Thread Raunak Gupta
Is there a way to read RAW HTTP data in cloud endpoints (java)? My understanding is that, the frameworks pre-reads the input thus why, when I try to call request.getReader(), the framework throws an error. Anyone has found a way around this? -- You received this message because you are

[google-appengine] GCP Cloud Storage - Signed URL - No 'Access-Control-Allow-Origin' header is present on the requested resource

2017-10-17 Thread Raunak Gupta
I create a signed URL on my server on app engine and return the URL to the front-end webapp. The webapp then makes a HTTP Options (succceeds) followed by a PUT which fails with the error: Failed to load

[google-appengine] Re: [cloud-endpoint] [java] deployment and security

2017-07-28 Thread Raunak Gupta
environment. > > I hope this helps. Let me know if I can clarify anything for you. > > On Friday, July 28, 2017 at 12:39:06 PM UTC-4, Raunak Gupta wrote: >> >> **Hoping to get some insights from the community. ** >> >> With a Google Endpoint version 2 app (Java 8) deplo

[google-appengine] [cloud-endpoint] [java] deployment and security

2017-07-28 Thread Raunak Gupta
**Hoping to get some insights from the community. ** With a Google Endpoint version 2 app (Java 8) deployed on GAE, the project becomes available under the url .appspot.com. I had few questions around deployment and security: 1. The URL .appspot.com is accessible by everyone by

[google-appengine] [google-endpoint] [java] return null instance variables

2017-07-27 Thread Raunak Gupta
I've a Java POJO which looks like this: class User { public String name; public String location; public String userType; public User(...) { ... } public String getName() { return name; } ... } With CloudEndpoints, if all 3 instance variable are initialised (with

[google-appengine] [java] Google Cloud Endpoint Image Upload

2017-07-25 Thread Raunak Gupta
Trying to get some advise from the community. I have a Cloud Endpoint app, through which I want to save images to Cloud Storage. Having Googled my options, there seems to be multiple ways and libraries of achieving this: com.google.apis google-api-services-storage v1-rev68-1.21.0 AND

[google-appengine] Re: [google-endpoint-v2] rename entity prior to serialization

2017-07-12 Thread Raunak Gupta
ava/javadoc/com/google/api/server/spi/config/ApiResourceProperty> > . > > On Monday, July 3, 2017 at 3:03:42 PM UTC-7, Raunak Gupta wrote: >> >> How can you rename an entity before returning the response. I tried using >> @Jsonproperty("label") on the getter metho

[google-appengine] Re: [google-endpoint-v2] rename entity prior to serialization

2017-07-11 Thread Raunak Gupta
I could by creating another POJO, but this seems like a bad approach given one would end up creating 100s of duplicating POJOs. Do you know what Java library Cloud endpoints uses under the hood to convert POJO to Json? On Friday, 7 July 2017 16:57:25 UTC-4, George (Cloud Platform Support)

[google-appengine] Re: [google-endpoint-v2] rename entity prior to serialization

2017-07-06 Thread Raunak Gupta
As an example, if I have a Java POJO like this class Car { private String model; private String transmissionType; private int year; ... } and my endpoint returns Car, then the response would look something like this { "model": "Porshe 911", "transmissionType": "Petrol",

[google-appengine] [google-endpoint-v2] rename entity prior to serialization

2017-07-03 Thread Raunak Gupta
How can you rename an entity before returning the response. I tried using @Jsonproperty("label") on the getter method, but didn't yield any result. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop

[google-appengine] Endpoint User Authentication

2016-06-02 Thread Raunak Gupta
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

[google-appengine] Re: Java Search API on DataStore

2016-06-01 Thread Raunak Gupta
I was mainly looking to provide AutoComplete functionality, but it seems to me I might be better off using Algolia or ElasticSearch instead. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop

[google-appengine] Java Search API on DataStore

2016-05-30 Thread Raunak Gupta
I'm slightly confused - can the Java Search API (for full text search) be used on Google Cloud DataStore, do so I need to use a different storage option? If I can, do I use the Objectify library, or is there a different library I should use? - Raunak -- You received this message because you