简体   繁体   中英

Specifying an AppEngine service with Cloud Endpoints

I have launched my Endpoints service and deployed my app onto AppEngine. If I do not specify a service in my app.yaml file, the AppEngine uses the default service. I am able to make a request using Postman and get a successful response.

However, if I specify my own AppEngine service in my app.yaml file like below, I get a "Not found" error.

runtime: python27
threadsafe: true
api_version: 1
basic_scaling:
    max_instances: 2
service: mycustomservice

What am I missing? How can I get Endpoints/AppEngine to see the mycustomservice service?

In your Cloud Endpoints config "openapi-appengine.yaml" set "host" to the path of the non default appengine service you created

default: [PROJECT_ID].appspot.com

additional service [SERVICE]-dot-[PROJECT_ID].appspot.com

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM