Skip to content

Ease of adding routes to Vert.x router#17

Closed
jordillachmrf wants to merge 11 commits into
prebid:masterfrom
Marfeel:Ease-adding-routes-to-vertx
Closed

Ease of adding routes to Vert.x router#17
jordillachmrf wants to merge 11 commits into
prebid:masterfrom
Marfeel:Ease-adding-routes-to-vertx

Conversation

@jordillachmrf

@jordillachmrf jordillachmrf commented Apr 15, 2018

Copy link
Copy Markdown
Contributor

We would like to add some custom routes to the Vertx router, but its prototype bean scope results in a new instance per injection point, so there is no way to modify the one injected in PrebidVerticle.

It would be handy if WebConfiguration could receive an optional Consumer that would allow us to add these new routes.

Sorry, could you just take into account changes related to e8e3563, if those changes are fine I would create a new clean PR

@schernysh

Copy link
Copy Markdown
Contributor

Thanks for the PR.

Regarding this one the same question arises: what is the motivation for this change?

If it's just about defining an extension point then as I understand one way or another you will have to maintain the fork of the prebid-server with additional functionality implemented so it should not be a problem to alter routes definition with anything you want there. Another thing to consider is whether these extra endpoints belong to prebid-server (architecture-wise) and if yes maybe it is a good idea to add them to the open-source version.

@albertmolinermrf albertmolinermrf deleted the Ease-adding-routes-to-vertx branch April 24, 2019 14:42
schernysh pushed a commit that referenced this pull request Nov 25, 2019
ishihanvcs pushed a commit to ishihanvcs/prebid-server-java that referenced this pull request Apr 10, 2023
Metrics and app

Approved-by: Mohammad Nurul Islam Shihan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants