Differences in generated endpoint Java client libraries (1.9.48 -> 1.9.50)

51 views
Skip to first unread message

Marc-Andre Bruneau

unread,
Mar 29, 2017, 12:38:25 PM3/29/17
to Google App Engine
Hi,

I just upgraded my project to Java SDK 1.9.50 and when generating the endpoint java client libraries, using the below command, the resulting interface is different from before (when using 1.9.48):

Command:
  • mvn compile appengine:endpoints_get_clients_lib
Resulting issues in 1.9.50
  • Doubles are now Number (Type mismatch: cannot convert from Number to double)
  • The parameter order of some function has been switched 
    • The method getServiceConfiguration(String, Integer) in the type Foo.Bar is not applicable for the arguments (int, String)
    • Sometimes, 2 strings got swapped, so my session string is now something else
Upgrading to 1.9.50 is therefore very dangerous to introduce hard to predict bugs.

My questions:
  • Are these changes expected?
  • Is there anything else that changed?
  • Where can I find documentation about this?
Thanks

Jordan (Cloud Platform Support)

unread,
Mar 30, 2017, 4:47:02 PM3/30/17
to Google App Engine
Google Groups is meant for general product discussions and not for technical support. 

I recommend you report this issue in the Google Issue Tracker. Just be sure to add more information like the actual error stack traces and your code samples that reproduces the issue. 

Note that the 1.9.50 plugin is running version 2.0.3 of endpoints and the latest is 2.0.5, so downloading the latest endpoints framework may fix the issue. Also, directly building the client libraries locally with 'get-client-lib' instead of with Maven via the App Engine plugin may solve the issue. 

Reply all
Reply to author
Forward
0 new messages