Deploy Google Endpoint in a custom Domain

放肆的年华 提交于 2019-11-30 21:52:18

If you're using App Engine's built-in support for custom domains as outlined here, it's not expected to work. You can follow this feature request to keep up-to-date on the feature's progress.

Now,Google CloudEndpoints 2.0 support it

Migrating to version 2.0:

  • Update your dependency to use the new artifact. In Maven, this looks something like below:

    com.google.endpoints endpoints-framework 2.0.0-beta.8

  • Remove the legacy dependency, which is the appengine-endpoints artifact.

  • Update the API entry point in your project web.xml file:

    • Rename all occurrences of SystemServiceServlet to EndpointsServlet.
    • Replace all occurences of the path /_ah/spi/* to the new required path /_ah/api/*

See:

https://cloud.google.com/appengine/docs/java/endpoints/migrating

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

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