Enhancing endpoints in Cloud Endpoints Frameworks 2.0 for App Engine

北慕城南 提交于 2019-12-06 15:09:55

The problem is that the new gradle plugin doesn't have the task appengineEnhance which is required to enhance your classes for jpa/jdo.

There's a workaround for this here https://stackoverflow.com/a/29279504/3190492

It's also worth nothing that the enhancer {...} section in the appengine block won't be required and that configuration should be done in the script in the link above.

I got this response directly from Google Cloud Support:

There are some features and tools that are excluded and currently unavailable with the latest version of Endpoints v2. If your application requires any of the below mentioned, you are not recommended to migrate.

  • JSON-RPC protocol, which is required for legacy iOS clients
  • Automatic ETags
  • Automatic Kind fields
  • IDE integration
  • fields partial responses

Meanwhile, below are the tools that are currently not supported in v2.0:

  • Android Studio support for Cloud Endpoints 1.0
  • Android Studio code validation and quick fixes for Cloud Endpoints 1.0

So, with regards to the 'enhancer' method, have you checked if this is included on the aforementioned features? If so, the only way for you to do is check for an equivalent function or downgrade again to v1.0.

This is not the answer I hoped for, but at least till they officially support these features, we should not migrate to Endpoints Framework v2.0.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!