--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/da39cf07-5166-4bc6-84a6-52ee273b6022%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks for writing!At a high-level, most of the Endpoints functionality works by having the proxy (ESP) in front of your API's implementation, passing just enough information to Google to do API key checks + report metrics that show up in the "Endpoints" > "Services" UI.However, due to how App Engine Standard works, ESP can't run in front of your API's implementation in that environment. So in that case, we have the Endpoints Frameworks library to do a few things for your app, including:* Providing functionality to easily generate an OpenAPI spec representing your API (which, once you deploy with `gcloud`, enables GCP to know enough about the surface of your API)* Doing auth checks + reporting metrics to GCP, similar to what ESP would do otherwise.+Daniel Tang, is there an easy way to confirm whether an app has correctly enabled the management functionality of the frameworks?
On Sun, Aug 5, 2018 at 9:54 AM <dan.stone@stonebridgeprojects.com> wrote:
I am trying to create a RESTish API in Java that will run on App Engine Standard. I am using Endpoints Framework and I have a sample POST method up and running both locally and on App Engine. Now I want to add user authentication. I thought I could do that with Endpoints Management using OpenAPI, but I am confused by the documentation.--I am relying primarily on this page for instructions for integrating API Managent:As a first step toward using Endpoint Management authentication I have generated the OpenAPI.json file using the Maven plugin and deployed it. I see my API calls being logged and I see my OpenAPI configuration in the GCP Endpints Services Deployment , but I don't see any API calls in the Endpoints Services graphs. I am thinking maybe that is because I don't have an ESP because I am running on App Engine standard, an idea I got from this page:I don't understand how these pieces:App Engine StandardCloud EndpointsEndpoints FrameworkOpen APIAPI ManagementExtensible Service Proxyfit together, although I think I am already using all of them except perhaps ESP.I would be grateful for a quick explanation, along the lines of: This is the old name for this is obsolete, this can be used with this, but if you use this you cannot use this.Thanks.-Dan
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/da39cf07-5166-4bc6-84a6-52ee273b6022%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/cdff93ac-15f9-45b9-8ed5-16d302c45305%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/da39cf07-5166-4bc6-84a6-52ee273b6022%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/da39cf07-5166-4bc6-84a6-52ee273b6022%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/cdff93ac-15f9-45b9-8ed5-16d302c45305%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/0dabef34-d69b-4f7d-ab01-1e63f7c5ba91%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/da39cf07-5166-4bc6-84a6-52ee273b6022%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/cdff93ac-15f9-45b9-8ed5-16d302c45305%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/0dabef34-d69b-4f7d-ab01-1e63f7c5ba91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/da39cf07-5166-4bc6-84a6-52ee273b6022%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/cdff93ac-15f9-45b9-8ed5-16d302c45305%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/0dabef34-d69b-4f7d-ab01-1e63f7c5ba91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/94fc404e-e6a3-442b-b559-95ba2d46c0d1%40googlegroups.com.
W POST 503 280 B 81 ms curl/7.47.0 /_ah/api/skeletonapi/v1/sayHi/derf?id=3 POST 503 280 B 81 ms curl/7.47.0 5b7ce89e00ff063fae1e60231e0001687e7472796461746173746f72652d3230383131340001323031383038323274303533353336000100 86.136.239.240 - - [22/Aug/2018:05:37:50 +0100] "POST /_ah/api/skeletonapi/v1/sayHi/derf?id=3 HTTP/1.1" 503 280 - "curl/7.47.0" "trydatastore-208114.appspot.com" ms=NaN cpu_ms=86 cpm_usd=3.1292e-8 loading_request=0 instance=00c61b117c933c3776b3bd9fc4976e46f46c2d6e51bfa84977bb3986c4ea5884ab3d0fc5 app_engine_release=1.9.54 trace_id=a7746df5cd51c49cff7df1cf166461772018-08-22 05:37:50.487 BSTcom.google.api.server.spi.handlers.EndpointsMethodHandler$RestHandler handle: exception occurred while invoking backend method (EndpointsMethodHandler.java:124) java.lang.IllegalStateException: method_info is not set in the request at com.google.api.server.spi.auth.EspAuthenticator.authenticate(EspAuthenticator.java:67) at com.google.api.server.spi.request.Auth.authenticate(Auth.java:101) at com.google.api.server.spi.request.ServletRequestParamReader.getUser(ServletRequestParamReader.java:214) at com.google.api.server.spi.request.ServletRequestParamReader.deserializeParams(ServletRequestParamReader.java:142) at com.google.api.server.spi.request.RestServletRequestParamReader.read(RestServletRequestParamReader.java:135) at com.google.api.server.spi.SystemService.invokeServiceMethod(SystemService.java:349) at com.google.api.server.spi.handlers.EndpointsMethodHandler$RestHandler.handle(EndpointsMethodHandler.java:119) at com.google.api.server.spi.handlers.EndpointsMethodHandler$RestHandler.handle(EndpointsMethodHandler.java:102) at com.google.api.server.spi.dispatcher.PathDispatcher.dispatch(PathDispatcher.java:50) at com.google.api.server.spi.EndpointsServlet.service(EndpointsServlet.java:72) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772) at com.google.apphosting.utils.servlet.JdbcMySqlConnectionCleanupFilter.doFilter(JdbcMySqlConnectionCleanupFilter.java:60) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at com.google.apphosting.runtime.jetty9.ParseBlobUploadHandler.handle(ParseBlobUploadHandler.java:120) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1182) at com.google.apphosting.runtime.jetty9.AppEngineWebAppContext.doHandle(AppEngineWebAppContext.java:171) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at com.google.apphosting.runtime.jetty9.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:297) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) at org.eclipse.jetty.server.Server.handle(Server.java:534) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) at com.google.apphosting.runtime.jetty9.RpcConnection.handle(RpcConnection.java:202) at com.google.apphosting.runtime.jetty9.RpcConnector.serviceRequest(RpcConnector.java:81) at com.google.apphosting.runtime.jetty9.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:123) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.dispatchServletRequest(JavaRuntime.java:693) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.dispatchRequest(JavaRuntime.java:655) at com.google.apphosting.runtime.JavaRuntime$RequestRunnable.run(JavaRuntime.java:625) at com.google.apphosting.runtime.JavaRuntime$NullSandboxRequestRunnable.run(JavaRuntime.java:819) at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:274) at java.lang.Thread.run(Thread.java:745)
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/da39cf07-5166-4bc6-84a6-52ee273b6022%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/cdff93ac-15f9-45b9-8ed5-16d302c45305%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-endpoints/0dabef34-d69b-4f7d-ab01-1e63f7c5ba91%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
--
You received this message because you are subscribed to the Google Groups "Google Cloud Endpoints" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-endpoints+unsub...@googlegroups.com.