File tree Expand file tree Collapse file tree 6 files changed +9
-12
lines changed
appengine/endpoints-frameworks-v2/backend
endpoints/getting-started Expand file tree Collapse file tree 6 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 8383 <mainClass >com.google.api.server.spi.tools.EndpointsTool</mainClass >
8484 <arguments >
8585 <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 >
8787 <argument >--war=target/echo-1.0-SNAPSHOT</argument >
8888 <argument >com.example.echo.Echo</argument >
8989 </arguments >
Original file line number Diff line number Diff line change 2828 </system-properties >
2929
3030 <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 " />
3232 </env-variables >
3333</appengine-web-app >
Original file line number Diff line number Diff line change 4949 </init-param >
5050 <init-param >
5151 <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 >
5353 </init-param >
5454 </filter >
5555
Original file line number Diff line number Diff line change 5252 <groupId >com.google.appengine</groupId >
5353 <artifactId >gcloud-maven-plugin</artifactId >
5454 <version >2.0.9.121.v20160815</version >
55- <configuration >
56- <gcloud_app_prefix >beta</gcloud_app_prefix >
57- </configuration >
5855 </plugin >
5956 <plugin >
6057 <groupId >com.google.cloud.tools</groupId >
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ handlers:
66 script : this field is required, but ignored
77 secure : always
88
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 44 description : " A simple Google Cloud Endpoints API example."
55 title : " Endpoints Example"
66 version : " 1.0.0"
7- host : " YOUR-PROJECT-ID.appspot.com "
7+ host : " echo-api.endpoints. YOUR-PROJECT-ID.cloud.goog "
88# [END swagger]
99basePath : " /"
1010consumes :
You can’t perform that action at this time.
0 commit comments