Class io.micronaut.discovery.consul.ConsulMockConfigurationClientPropertiesSpec

1

tests

0

failures

0

ignored

0.043s

duration

100%

successful

Tests

Test Duration Result
test discovery property sources from Consul with Properties file handling 0.043s passed

Standard output

00:18:55.769 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:55.771 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:55.879 [Test worker] DEBUG i.m.h.server.netty.NettyHttpServer - Binding server to port: 47001
00:18:55.885 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:55.887 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:55.935 [nioEventLoopGroup-35-2] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:55.936 [nioEventLoopGroup-35-2] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(47001)
00:18:55.937 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Content-Type: application/json
00:18:55.937 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Accept: application/json
00:18:55.937 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:55.937 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:55.940 [nioEventLoopGroup-34-2] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:47001 Received Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:55.940 [nioEventLoopGroup-34-2] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route GET - /v1/kv/%2Fconfig%2Fapplication
00:18:55.940 [nioEventLoopGroup-34-2] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matched route GET - /v1/kv/%2Fconfig%2Fapplication to controller class io.micronaut.discovery.consul.MockConsulServer
00:18:55.948 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:55.948 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:55.948 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - content-type: application/json
00:18:55.948 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - content-length: 2
00:18:55.948 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:55.948 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:55.948 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:55.949 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - []
00:18:55.949 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:55.951 [Test worker] INFO  i.m.d.c.c.DistributedPropertySourceLocator - Resolved 0 configuration sources from client: compositeConfigurationClient(consul)
00:18:55.993 [Test worker] DEBUG i.m.h.server.netty.NettyHttpServer - Binding server to port: 9974
00:18:55.999 [nioEventLoopGroup-35-4] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: PUT /v1/kv/%2Fconfig%2Fapplication
00:18:55.999 [nioEventLoopGroup-35-4] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(47001)
00:18:56.000 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - Content-Type: text/plain
00:18:56.000 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - Accept: text/plain
00:18:56.000 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:56.000 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:56.000 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - content-length: 63
00:18:56.000 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:56.000 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.001 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - 
datasource.url=mysql://blah
datasource.driver=java.SomeDriver

00:18:56.001 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.002 [nioEventLoopGroup-34-3] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:47001 Received Request: PUT /v1/kv/%2Fconfig%2Fapplication
00:18:56.002 [nioEventLoopGroup-34-3] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route PUT - /v1/kv/%2Fconfig%2Fapplication
00:18:56.003 [nioEventLoopGroup-34-3] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matched route PUT - /v1/kv/%2Fconfig%2Fapplication to controller class io.micronaut.discovery.consul.MockConsulServer
00:18:56.006 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: PUT /v1/kv/%2Fconfig%2Fapplication
00:18:56.006 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:56.006 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - content-type: text/plain
00:18:56.006 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - content-length: 4
00:18:56.006 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:56.006 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:56.006 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.006 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - true
00:18:56.006 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.008 [nioEventLoopGroup-35-2] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: PUT /v1/kv/%2Fconfig%2Fapplication%2Ctest
00:18:56.008 [nioEventLoopGroup-35-2] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(47001)
00:18:56.008 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Content-Type: text/plain
00:18:56.008 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Accept: text/plain
00:18:56.008 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:56.008 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:56.008 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - content-length: 9
00:18:56.008 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:56.008 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.008 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - 
foo=bar

00:18:56.008 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.011 [nioEventLoopGroup-34-4] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:47001 Received Request: PUT /v1/kv/%2Fconfig%2Fapplication%2Ctest
00:18:56.012 [nioEventLoopGroup-34-4] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route PUT - /v1/kv/%2Fconfig%2Fapplication%2Ctest
00:18:56.012 [nioEventLoopGroup-34-4] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matched route PUT - /v1/kv/%2Fconfig%2Fapplication%2Ctest to controller class io.micronaut.discovery.consul.MockConsulServer
00:18:56.014 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: PUT /v1/kv/%2Fconfig%2Fapplication%2Ctest
00:18:56.014 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:56.014 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - content-type: text/plain
00:18:56.014 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - content-length: 4
00:18:56.014 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:56.014 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:56.014 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.014 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - true
00:18:56.014 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.016 [nioEventLoopGroup-35-4] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: PUT /v1/kv/%2Fconfig%2Fapplication%2Cother
00:18:56.016 [nioEventLoopGroup-35-4] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(47001)
00:18:56.016 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - Content-Type: text/plain
00:18:56.016 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - Accept: text/plain
00:18:56.016 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:56.016 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:56.016 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - content-length: 10
00:18:56.016 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:56.016 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.016 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - 
foo=baz 

00:18:56.016 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.024 [nioEventLoopGroup-34-5] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:47001 Received Request: PUT /v1/kv/%2Fconfig%2Fapplication%2Cother
00:18:56.025 [nioEventLoopGroup-34-5] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route PUT - /v1/kv/%2Fconfig%2Fapplication%2Cother
00:18:56.025 [nioEventLoopGroup-34-5] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matched route PUT - /v1/kv/%2Fconfig%2Fapplication%2Cother to controller class io.micronaut.discovery.consul.MockConsulServer
00:18:56.029 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: PUT /v1/kv/%2Fconfig%2Fapplication%2Cother
00:18:56.029 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:56.029 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - content-type: text/plain
00:18:56.029 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - content-length: 4
00:18:56.029 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:56.029 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:56.029 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.029 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - true
00:18:56.029 [nioEventLoopGroup-35-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.032 [nioEventLoopGroup-35-2] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:56.032 [nioEventLoopGroup-35-2] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(47001)
00:18:56.032 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Content-Type: application/json
00:18:56.032 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Accept: application/json
00:18:56.032 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:56.032 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:56.033 [nioEventLoopGroup-34-2] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:47001 Received Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:56.033 [nioEventLoopGroup-34-2] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route GET - /v1/kv/%2Fconfig%2Fapplication
00:18:56.033 [nioEventLoopGroup-34-2] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matched route GET - /v1/kv/%2Fconfig%2Fapplication to controller class io.micronaut.discovery.consul.MockConsulServer
00:18:56.036 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:56.036 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:56.036 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - content-type: application/json
00:18:56.036 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - content-length: 244
00:18:56.036 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:56.036 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:56.036 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:56.036 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - [{"Key":"config/application","Value":"CmRhdGFzb3VyY2UudXJsPW15c3FsOi8vYmxhaApkYXRhc291cmNlLmRyaXZlcj1qYXZhLlNvbWVEcml2ZXIK"},{"Key":"config/application,test","Value":"CmZvbz1iYXIK"},{"Key":"config/application,other","Value":"CmZvbz1iYXogCg=="}]
00:18:56.036 [nioEventLoopGroup-35-2] TRACE i.m.http.client.DefaultHttpClient - ----