Skip to content

Instantly share code, notes, and snippets.

@kijanowski
Last active October 15, 2019 08:00
Show Gist options
  • Save kijanowski/aeca5819fecff4bc2d68fd4a0287e408 to your computer and use it in GitHub Desktop.
Save kijanowski/aeca5819fecff4bc2d68fd4a0287e408 to your computer and use it in GitHub Desktop.
$ ./gradlew clean build
...
$ java -jar build/libs/graphql-springboot-scope-0.0.1-SNAPSHOT.jar --spring.profiles.active=request
:: Spring Boot :: (v2.1.8.RELEASE)
2019-09-29 20:11:24.119 INFO 38190 --- [ main] graphqlscope.graphql.GraphqlApplication : Starting GraphqlApplication on winter with PID 38190
2019-09-29 20:11:24.122 INFO 38190 --- [ main] graphqlscope.graphql.GraphqlApplication : The following profiles are active: request
2019-09-29 20:11:25.288 INFO 38190 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8081 (http)
2019-09-29 20:11:25.331 INFO 38190 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2019-09-29 20:11:25.332 INFO 38190 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.24]
2019-09-29 20:11:25.444 INFO 38190 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2019-09-29 20:11:25.444 INFO 38190 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1272 ms
2019-09-29 20:11:25.934 INFO 38190 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2019-09-29 20:11:26.172 INFO 38190 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8081 (http) with context path ''
2019-09-29 20:11:26.177 INFO 38190 --- [ main] graphqlscope.graphql.GraphqlApplication : Started GraphqlApplication in 2.725 seconds (JVM running for 3.184)
2019-09-29 20:11:38.726 INFO 38190 --- [nio-8081-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2019-09-29 20:11:38.726 INFO 38190 --- [nio-8081-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2019-09-29 20:11:38.734 INFO 38190 --- [nio-8081-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 8 ms
-----------------> query for all animals
{
animals {
name
color
countryIds
countries {
name
}
}
}
-----------------
2019-09-29 20:11:38.898 INFO 38190 --- [nio-8081-exec-1] g.graphql.GraphQLDataFetchers : Returning 2 animals.
2019-09-29 20:11:38.918 INFO 38190 --- [onPool-worker-3] g.graphql.GraphQLDataFetchers : Returning 3 countries.
-----------------> query again for all animals
2019-09-29 20:11:40.141 INFO 38190 --- [nio-8081-exec-2] g.graphql.GraphQLDataFetchers : Returning 2 animals.
2019-09-29 20:11:40.143 INFO 38190 --- [onPool-worker-3] g.graphql.GraphQLDataFetchers : Returning 3 countries.
-----------------> query again for all animals
2019-09-29 20:11:43.020 INFO 38190 --- [nio-8081-exec-4] g.graphql.GraphQLDataFetchers : Returning 2 animals.
2019-09-29 20:11:43.021 INFO 38190 --- [onPool-worker-3] g.graphql.GraphQLDataFetchers : Returning 3 countries.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment