Hi, I am building an application that acts as: - a file server for the frontend files using IndexPageBundle/AssetsBundle (on the application connector) - a REST server used by the frontend using Jersey (on the application connector) - a file server for some backend resources that are not on the same network than the frontend clients
The two first point are very common, my problem is the last point: I was hoping I could easily add a ServerConnector to the Jetty server used by dropwizard, listening on an ip/port set in my configuration, and bound to an handler/servlet that would serve my files only on this connector. But it doesn't seem so easy actually, mainly because dropwizard uses a RoutingHandler that maps the connectors to their handlers, and once configured by dropwizard for the application and admin connectors, no additional connector/handler can be added to it. I see two other way of doing what I want: - exploit the admin connector for this need even though it's not really the best because they serve different purpose - spinup a new http server completely separate from the rest (but then it's not so good on performances I guess) Is there people with elegant idea to solve this situation? Would it make sense maybe to create an issue to modify dropwizard so that it can support this kind of use case? Thanks for any help or idea :) Victor -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
