Skip to content

Commit d1523f5

Browse files
inklesspenJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Create better service name template in app.yaml (#1132)
Endpoints Frameworks apps on GAE standard must use the appspot.com domain name; users will have to change the line anyway, but this way fewer changes are required.
1 parent 4de1ac3 commit d1523f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

appengine/standard/endpoints-frameworks-v2/echo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The command returns several lines of information, including a line similar to th
2424

2525
Service Configuration [2016-08-01r0] uploaded for service "echo-api.endpoints.[YOUR-PROJECT-ID].cloud.goog"
2626

27-
Open the `app.yaml` file and in the `env_variables` section, replace [YOUR-PROJECT-ID] in `echo-api.endpoints.[YOUR-PROJECT-ID].cloud.goog` with your project ID. This is your Endpoints service name. Then replace `2016-08-01r0` with your uploaded service management configuration.
27+
Open the `app.yaml` file and in the `env_variables` section, replace [YOUR-PROJECT-ID] in `[YOUR-PROJECT-ID].appspot.com` with your project ID. This is your Endpoints service name. Then replace `2016-08-01r0` with your uploaded service management configuration.
2828

2929
Then, deploy the sample using `gcloud`:
3030

appengine/standard/endpoints-frameworks-v2/echo/app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ libraries:
2828
env_variables:
2929
# The following values are to be replaced by information from the output of
3030
# 'gcloud service-management deploy swagger.json' command.
31-
ENDPOINTS_SERVICE_NAME: YOUR-PROJECT-ID.appspot.com
31+
ENDPOINTS_SERVICE_NAME: [YOUR-PROJECT-ID].appspot.com
3232
ENDPOINTS_SERVICE_VERSION: 2016-08-01r0

0 commit comments

Comments
 (0)