Google App Engine Configuring Endpoints Api
Solution 1:
Have you tried generating and uploading the OpenAPI configuration for the service? See the sections named "Generating the OpenAPI configuration file" and "Deploying the OpenAPI configuration file" in the python library documentation.
Note that in step 2 of the generation process, you may need to prepend python
to the command (e.g python lib/endpoints/endpointscfg.py get_swagger_spec ...
), since the PyPi package doesn't preserve executable file permissions right now.
Solution 2:
To get rid of the "FrontendsNotSupported" you need to use a "B*" instance class.
The error "Exception: Fetching service config failed" should be gone if you follow the steps in https://cloud.google.com/endpoints/docs/frameworks/python/quickstart-frameworks-python. As already pointed out by Brad, the section "OpenAPI configuration" and the resulting environment variables are required to make the service configuration work.
Post a Comment for "Google App Engine Configuring Endpoints Api"