Hi guys,
I am upgrading an application from Dropwizard 0.7.1 to 0.8.5 and came to a behavior change whereby Dropwizard 0.7.1 logs all paths including sub-resource in the console on startup and Dropwizard 0.8.5 does not log the sub-resource paths.
TL;DR
I have 3 endpoints and 2 of them are sub-resources. When using Dropwizard 0.7.1, when running the application the output prints the following
INFO [2020-04-06 18:20:27,364] io.dropwizard.jersey.DropwizardResourceConfig: The following paths were found for the configured resources:
GET /api/manager (test.dropwizard.resources.HelloResource)
GET /api/manager/greetings (test.dropwizard.resources.HelloSubResource)
GET /api/manager/greetings/{greetingId}/sub-greetings (test.dropwizard.resources.HelloSubResource)
Correctly listing all the endpoints/paths.
When upgrading to Dropwizard 0.8.5 the output looks as follow
INFO [2020-04-06 18:23:22,347] io.dropwizard.jersey.DropwizardResourceConfig: The following paths were found for the configured resources:
GET /api/manager (test.dropwizard.resources.HelloResource)
Only showing the endpoint/path where the class has `@Path` annotation on it, not printing the sub-resource paths just like 0.7.1.
Is this a known issue? Or I am missing some configuration?
Cheers,
Raf.