File tree 6 files changed +9
-12
lines changed
appengine/endpoints-frameworks-v2/backend
endpoints/getting-started
6 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 83
83
<mainClass >com.google.api.server.spi.tools.EndpointsTool</mainClass >
84
84
<arguments >
85
85
<argument >get-swagger-doc</argument >
86
- <argument >--hostname=${endpoints.project.id} .appspot.com </argument >
86
+ <argument >--hostname=echo-api.endpoints. ${endpoints.project.id} .cloud.goog </argument >
87
87
<argument >--war=target/echo-1.0-SNAPSHOT</argument >
88
88
<argument >com.example.echo.Echo</argument >
89
89
</arguments >
Original file line number Diff line number Diff line change 28
28
</system-properties >
29
29
30
30
<env-variables >
31
- <env-var name =" ENDPOINTS_SERVICE_NAME" value =" ${endpoints.project.id}.appspot.com " />
31
+ <env-var name =" ENDPOINTS_SERVICE_NAME" value =" echo-api.endpoints. ${endpoints.project.id}.cloud.goog " />
32
32
</env-variables >
33
33
</appengine-web-app >
Original file line number Diff line number Diff line change 49
49
</init-param >
50
50
<init-param >
51
51
<param-name >endpoints.serviceName</param-name >
52
- <param-value >${endpoints.project.id}.appspot.com </param-value >
52
+ <param-value >echo-api.endpoints. ${endpoints.project.id}.cloud.goog </param-value >
53
53
</init-param >
54
54
</filter >
55
55
Original file line number Diff line number Diff line change 52
52
<groupId >com.google.appengine</groupId >
53
53
<artifactId >gcloud-maven-plugin</artifactId >
54
54
<version >2.0.9.121.v20160815</version >
55
- <configuration >
56
- <gcloud_app_prefix >beta</gcloud_app_prefix >
57
- </configuration >
58
55
</plugin >
59
56
<plugin >
60
57
<groupId >com.google.cloud.tools</groupId >
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ handlers:
6
6
script : this field is required, but ignored
7
7
secure : always
8
8
9
- beta_settings :
10
- # Enable Google Cloud Endpoints API management.
11
- use_endpoints_api_management : true
12
- # Specify the Open API specification.
13
- endpoints_swagger_spec_file : openapi.yaml
9
+ endpoints_api_service :
10
+ # The following values are to be replaced by information from the output of
11
+ # 'gcloud service-management deploy openapi.yaml' command.
12
+ name : ENDPOINTS SERVICE-NAME
13
+ config_id : ENDPOINTS CONFIG-ID
Original file line number Diff line number Diff line change 4
4
description : " A simple Google Cloud Endpoints API example."
5
5
title : " Endpoints Example"
6
6
version : " 1.0.0"
7
- host : " YOUR-PROJECT-ID.appspot.com "
7
+ host : " echo-api.endpoints. YOUR-PROJECT-ID.cloud.goog "
8
8
# [END swagger]
9
9
basePath : " /"
10
10
consumes :
You can’t perform that action at this time.
0 commit comments