Re: [google-appengine] Handling API versioning issue

2017-08-02 Thread 'Eric So' via Google App Engine
Thanks. Take a look at it now.

Eric So

> On Aug 2, 2017, at 10:47 AM, 'George (Cloud Platform Support)' via Google App 
> Engine  wrote:
> 
> Hi Eric, 
> 
> For related versioning information you may consider checking the "Cloud 
> Endpoints API versioning features" sub-chapter of the "API life cycle 
> management" page 
> . 
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "Google App Engine" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/google-appengine/wcnWOjK-k2Q/unsubscribe 
> .
> To unsubscribe from this group and all its topics, 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/a1e34d0b-809c-4b53-b241-0dd12c058489%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/802F9DF3-9D11-43CB-BEA5-851AD2F172F8%40google.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Handling API versioning issue

2017-08-01 Thread 'Eric So' via Google App Engine
Sorry that this reply thread does not show up in my inbox. I will open a 
bug / issue to track this. 

And I found out from one developer that the application needs to setup 
different classes for different versions. We need to deploy the whole 
application with different versions in one jar or war to support multiple 
versions in one endpoint.

Eric So

On Friday, July 28, 2017 at 10:32:56 AM UTC-7, George (Cloud Platform 
Support) wrote:
>
> Hi Eric, 
>
> If you deploy the new API version to the same application version 1, 
> you'll find it under the same 1-dot-xxx address: the one you mention. 
>
> In such cases, it is more effective to open a bug / issue in the public 
> tracker . The tracker is 
> dedicated to such issue, whereas a group such as this one is meant for 
> general discussions and exchange of opinions. 
>

-- 
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/3f30b516-da04-467e-a6b9-1ec506a6ce63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Handling API versioning issue

2017-07-27 Thread 'Eric So' via Google App Engine
Hi All,

I just followed the instruction from our external documentation page, 
https://cloud.google.com/endpoints/docs/frameworks/java/handling-api-versioning.

I have an API application deployed with application version = 1 with api 
version v1.0 two months ago. Today, I am trying to deploy a new API version 
v1.2 or v1.3 to the same application version. I assume the following 
endpoints should work:

1) https://1-dot-x.appspot.com/_ah/api/user/v1.0
2) https://1-dot-x.appspot.com/_ah/api/user/v1.2 or 
https://1-dot-x.appspot.com/_ah/api/user/v1.0

However, when I opened the https://1-dot-x.appspot.com/_ah/api/explorer 
in the browser, I could only find the older version we had. But not the new 
one. I tried to curl or ping the url with the new API version. It returns 
404 NOT FOUND.

I want to ask if it is possible to redeploy Java App to the same app 
version. Also, do we need to keep multiple version of source code in the 
same repo and re-deploy everything again?

Regards,
Eric So

-- 
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/06e0d214-5c81-41a8-ab22-e0b0bf7228f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.