From c16c6aa4d739122c18fab1950ef6f1f7ddb4059c Mon Sep 17 00:00:00 2001 From: Frank Natividad Date: Tue, 22 Aug 2017 12:27:38 -0700 Subject: [PATCH] Updating service endpoint to project-id.appspot.com --- appengine-java8/endpoints-v2-backend/build.gradle | 2 +- appengine-java8/endpoints-v2-backend/pom.xml | 2 +- .../src/main/webapp/WEB-INF/appengine-web.xml | 2 +- .../endpoints-v2-backend/src/main/webapp/WEB-INF/web.xml | 2 +- appengine/endpoints-frameworks-v2/backend/build.gradle | 2 +- appengine/endpoints-frameworks-v2/backend/pom.xml | 2 +- .../backend/src/main/webapp/WEB-INF/appengine-web.xml | 2 +- .../backend/src/main/webapp/WEB-INF/web.xml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/appengine-java8/endpoints-v2-backend/build.gradle b/appengine-java8/endpoints-v2-backend/build.gradle index 275b0454ae2..2e169b5cb8e 100644 --- a/appengine-java8/endpoints-v2-backend/build.gradle +++ b/appengine-java8/endpoints-v2-backend/build.gradle @@ -51,7 +51,7 @@ dependencies { endpointsServer { // Endpoints Framework Plugin server-side configuration - hostname = "echo-api.endpoints.${projectId}.cloud.goog" + hostname = "${projectId}.appspot.com" } sourceCompatibility = 1.8 diff --git a/appengine-java8/endpoints-v2-backend/pom.xml b/appengine-java8/endpoints-v2-backend/pom.xml index cfd44a5ca1c..501c1427802 100644 --- a/appengine-java8/endpoints-v2-backend/pom.xml +++ b/appengine-java8/endpoints-v2-backend/pom.xml @@ -81,7 +81,7 @@ com.google.api.server.spi.tools.EndpointsTool get-swagger-doc - --hostname=echo-api.endpoints.${endpoints.project.id}.cloud.goog + --hostname=${endpoints.project.id}.appspot.com --war=target/echo-1.0-SNAPSHOT com.example.echo.Echo diff --git a/appengine-java8/endpoints-v2-backend/src/main/webapp/WEB-INF/appengine-web.xml b/appengine-java8/endpoints-v2-backend/src/main/webapp/WEB-INF/appengine-web.xml index 65f1329add0..320f4fa09af 100644 --- a/appengine-java8/endpoints-v2-backend/src/main/webapp/WEB-INF/appengine-web.xml +++ b/appengine-java8/endpoints-v2-backend/src/main/webapp/WEB-INF/appengine-web.xml @@ -27,6 +27,6 @@ - + diff --git a/appengine-java8/endpoints-v2-backend/src/main/webapp/WEB-INF/web.xml b/appengine-java8/endpoints-v2-backend/src/main/webapp/WEB-INF/web.xml index 78661fb5d0a..7270ad54bf6 100644 --- a/appengine-java8/endpoints-v2-backend/src/main/webapp/WEB-INF/web.xml +++ b/appengine-java8/endpoints-v2-backend/src/main/webapp/WEB-INF/web.xml @@ -53,7 +53,7 @@ endpoints.serviceName - echo-api.endpoints.${endpoints.project.id}.cloud.goog + ${endpoints.project.id}.appspot.com diff --git a/appengine/endpoints-frameworks-v2/backend/build.gradle b/appengine/endpoints-frameworks-v2/backend/build.gradle index e09ba4c3851..a5e8422b486 100644 --- a/appengine/endpoints-frameworks-v2/backend/build.gradle +++ b/appengine/endpoints-frameworks-v2/backend/build.gradle @@ -51,7 +51,7 @@ dependencies { endpointsServer { // Endpoints Framework Plugin server-side configuration - hostname = "echo-api.endpoints.${projectId}.cloud.goog" + hostname = "${projectId}.appspot.com" } sourceCompatibility = 1.7 // App Engine Standard uses Java 7 diff --git a/appengine/endpoints-frameworks-v2/backend/pom.xml b/appengine/endpoints-frameworks-v2/backend/pom.xml index 200bf2eec21..9465073f73c 100644 --- a/appengine/endpoints-frameworks-v2/backend/pom.xml +++ b/appengine/endpoints-frameworks-v2/backend/pom.xml @@ -79,7 +79,7 @@ com.google.api.server.spi.tools.EndpointsTool get-swagger-doc - --hostname=echo-api.endpoints.${endpoints.project.id}.cloud.goog + --hostname=${endpoints.project.id}.appspot.com --war=target/echo-1.0-SNAPSHOT com.example.echo.Echo diff --git a/appengine/endpoints-frameworks-v2/backend/src/main/webapp/WEB-INF/appengine-web.xml b/appengine/endpoints-frameworks-v2/backend/src/main/webapp/WEB-INF/appengine-web.xml index 15dfe35ee60..5a482456b7a 100644 --- a/appengine/endpoints-frameworks-v2/backend/src/main/webapp/WEB-INF/appengine-web.xml +++ b/appengine/endpoints-frameworks-v2/backend/src/main/webapp/WEB-INF/appengine-web.xml @@ -28,6 +28,6 @@ - + diff --git a/appengine/endpoints-frameworks-v2/backend/src/main/webapp/WEB-INF/web.xml b/appengine/endpoints-frameworks-v2/backend/src/main/webapp/WEB-INF/web.xml index f8d1d03f98a..3535fc6b421 100644 --- a/appengine/endpoints-frameworks-v2/backend/src/main/webapp/WEB-INF/web.xml +++ b/appengine/endpoints-frameworks-v2/backend/src/main/webapp/WEB-INF/web.xml @@ -49,7 +49,7 @@ endpoints.serviceName - echo-api.endpoints.${endpoints.project.id}.cloud.goog + ${endpoints.project.id}.appspot.com