Class io.micronaut.discovery.consul.ConsulMockConfigurationClientYamlSpec

2

tests

0

failures

0

ignored

0.555s

duration

100%

successful

Tests

Test Duration Result
test discovery property sources from Consul with YAML handling 0.511s passed
test discovery property sources from Consul with invalid YAML 0.044s passed

Standard output

00:18:36.828 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:36.846 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:38.721 [Test worker] DEBUG i.m.h.server.netty.NettyHttpServer - Binding server to port: 51948
00:18:38.790 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:38.794 [Test worker] INFO  i.m.context.env.DefaultEnvironment - Established active environments: [test, cloud, gcp]
00:18:39.608 [nioEventLoopGroup-3-2] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:39.610 [nioEventLoopGroup-3-2] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(51948)
00:18:39.621 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Content-Type: application/json
00:18:39.621 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Accept: application/json
00:18:39.621 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:39.621 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:39.651 [nioEventLoopGroup-1-2] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:51948 Received Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:39.657 [nioEventLoopGroup-1-2] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route GET - /v1/kv/%2Fconfig%2Fapplication
00:18:39.666 [nioEventLoopGroup-1-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:39.904 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:39.905 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:39.906 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - content-type: application/json
00:18:39.907 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - content-length: 2
00:18:39.907 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:39.908 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:39.908 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:39.911 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - []
00:18:39.911 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.009 [Test worker] INFO  i.m.d.c.c.DistributedPropertySourceLocator - Resolved 0 configuration sources from client: compositeConfigurationClient(consul)
00:18:40.098 [Test worker] DEBUG i.m.h.server.netty.NettyHttpServer - Binding server to port: 59429
00:18:40.259 [nioEventLoopGroup-3-4] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: PUT /v1/kv/%2Fconfig%2Fapplication
00:18:40.259 [nioEventLoopGroup-3-4] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(51948)
00:18:40.259 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Content-Type: text/plain
00:18:40.259 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Accept: text/plain
00:18:40.259 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:40.260 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:40.260 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - content-length: 67
00:18:40.260 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:40.260 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.260 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - 
datasource:
    url: "mysql://blah"
    driver: "java.SomeDriver"

00:18:40.260 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.270 [nioEventLoopGroup-1-3] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:51948 Received Request: PUT /v1/kv/%2Fconfig%2Fapplication
00:18:40.271 [nioEventLoopGroup-1-3] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route PUT - /v1/kv/%2Fconfig%2Fapplication
00:18:40.279 [nioEventLoopGroup-1-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:40.328 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: PUT /v1/kv/%2Fconfig%2Fapplication
00:18:40.328 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:40.329 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - content-type: text/plain
00:18:40.329 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - content-length: 4
00:18:40.329 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:40.329 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:40.329 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.329 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - true
00:18:40.329 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.333 [nioEventLoopGroup-3-2] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: PUT /v1/kv/%2Fconfig%2Fapplication%2Ctest
00:18:40.333 [nioEventLoopGroup-3-2] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(51948)
00:18:40.333 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Content-Type: text/plain
00:18:40.333 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Accept: text/plain
00:18:40.337 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:40.337 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:40.337 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - content-length: 10
00:18:40.338 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:40.338 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.338 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - 
foo: bar

00:18:40.338 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.349 [nioEventLoopGroup-1-4] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:51948 Received Request: PUT /v1/kv/%2Fconfig%2Fapplication%2Ctest
00:18:40.352 [nioEventLoopGroup-1-4] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route PUT - /v1/kv/%2Fconfig%2Fapplication%2Ctest
00:18:40.353 [nioEventLoopGroup-1-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:40.358 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: PUT /v1/kv/%2Fconfig%2Fapplication%2Ctest
00:18:40.358 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:40.359 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - content-type: text/plain
00:18:40.359 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - content-length: 4
00:18:40.359 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:40.359 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:40.359 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.359 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - true
00:18:40.359 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.365 [nioEventLoopGroup-3-4] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: PUT /v1/kv/%2Fconfig%2Fapplication%2Cother
00:18:40.365 [nioEventLoopGroup-3-4] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(51948)
00:18:40.366 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Content-Type: text/plain
00:18:40.366 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Accept: text/plain
00:18:40.366 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:40.366 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:40.366 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - content-length: 11
00:18:40.366 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:40.366 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.366 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - 
foo: baz 

00:18:40.366 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.379 [nioEventLoopGroup-1-5] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:51948 Received Request: PUT /v1/kv/%2Fconfig%2Fapplication%2Cother
00:18:40.379 [nioEventLoopGroup-1-5] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route PUT - /v1/kv/%2Fconfig%2Fapplication%2Cother
00:18:40.379 [nioEventLoopGroup-1-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:40.398 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: PUT /v1/kv/%2Fconfig%2Fapplication%2Cother
00:18:40.398 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:40.399 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - content-type: text/plain
00:18:40.399 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - content-length: 4
00:18:40.399 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:40.399 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:40.399 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.399 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - true
00:18:40.399 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.509 [nioEventLoopGroup-3-2] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:40.509 [nioEventLoopGroup-3-2] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(51948)
00:18:40.509 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Content-Type: application/json
00:18:40.509 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Accept: application/json
00:18:40.511 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:40.511 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:40.514 [nioEventLoopGroup-1-2] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:51948 Received Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:40.514 [nioEventLoopGroup-1-2] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route GET - /v1/kv/%2Fconfig%2Fapplication
00:18:40.514 [nioEventLoopGroup-1-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:40.553 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:40.553 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:40.553 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - content-type: application/json
00:18:40.553 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - content-length: 256
00:18:40.553 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:40.553 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:40.553 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.554 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - [{"Key":"config/application","Value":"CmRhdGFzb3VyY2U6CiAgICB1cmw6ICJteXNxbDovL2JsYWgiCiAgICBkcml2ZXI6ICJqYXZhLlNvbWVEcml2ZXIiCg=="},{"Key":"config/application,test","Value":"CmZvbzogYmFyCg=="},{"Key":"config/application,other","Value":"CmZvbzogYmF6IAo="}]
00:18:40.554 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.642 [nioEventLoopGroup-3-4] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: PUT /v1/kv/%2Fconfig%2Fapplication
00:18:40.643 [nioEventLoopGroup-3-4] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(51948)
00:18:40.643 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Content-Type: text/plain
00:18:40.643 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Accept: text/plain
00:18:40.643 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:40.643 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:40.643 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - content-length: 66
00:18:40.643 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:40.643 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.643 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - 
datasource:
    url: "mysql://blah
    driver: "java.SomeDriver"

00:18:40.645 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.654 [nioEventLoopGroup-1-3] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:51948 Received Request: PUT /v1/kv/%2Fconfig%2Fapplication
00:18:40.654 [nioEventLoopGroup-1-3] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route PUT - /v1/kv/%2Fconfig%2Fapplication
00:18:40.654 [nioEventLoopGroup-1-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:40.660 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: PUT /v1/kv/%2Fconfig%2Fapplication
00:18:40.660 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:40.660 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - content-type: text/plain
00:18:40.660 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - content-length: 4
00:18:40.660 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:40.660 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:40.660 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.660 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - true
00:18:40.660 [nioEventLoopGroup-3-4] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.666 [nioEventLoopGroup-3-2] DEBUG i.m.http.client.DefaultHttpClient - Sending HTTP Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:40.666 [nioEventLoopGroup-3-2] DEBUG i.m.http.client.DefaultHttpClient - Chosen Server: localhost(51948)
00:18:40.666 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Content-Type: application/json
00:18:40.666 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Accept: application/json
00:18:40.666 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - host: localhost
00:18:40.666 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:40.670 [nioEventLoopGroup-1-4] DEBUG i.m.h.server.netty.NettyHttpServer - Server localhost:51948 Received Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:40.670 [nioEventLoopGroup-1-4] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matching route GET - /v1/kv/%2Fconfig%2Fapplication
00:18:40.670 [nioEventLoopGroup-1-4] DEBUG i.m.h.s.netty.RoutingInBoundHandler - Matched route GET - /v1/kv/%2Fconfig%2Fapplication to controller class io.micronaut.discovery.consul.MockConsulServer
00:18:40.673 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - HTTP Client Response Received for Request: GET /v1/kv/%2Fconfig%2Fapplication?recurse=true
00:18:40.673 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Status Code: 200 OK
00:18:40.673 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - content-type: application/json
00:18:40.673 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - content-length: 129
00:18:40.673 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - connection: close
00:18:40.673 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - Body
00:18:40.673 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - ----
00:18:40.673 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - [{"Key":"config/application","Value":"CmRhdGFzb3VyY2U6CiAgICB1cmw6ICJteXNxbDovL2JsYWgKICAgIGRyaXZlcjogImphdmEuU29tZURyaXZlciIK"}]
00:18:40.673 [nioEventLoopGroup-3-2] TRACE i.m.http.client.DefaultHttpClient - ----