Migration of JHipster Registry (JHipster v7)

170 views
Skip to first unread message

Julien Sadaoui

unread,
Jun 27, 2021, 1:12:07 PM6/27/21
to JHipster dev team
Hello everyone,

I was trying to migrate the JHipster Registry with JHipster v7 and I can't migrate the registry on the reactive stack, the webflux module of Spring.

The JHipster Registry is composed of a Eureka Server, that provides as a discovery server for application. It is also an administration server, with dashboards to monitor and manage applications. The Registry is an application type gateway because it manages applications using Netflix Zuul.

JHipster v7 uses Spring Cloud Gateway instead of Netflix Zuul as gateway component. Spring Cloud Gateway is based on the reactive stack and we must migrate the registry on the Webflux module. However, Eureka Server requires a Servlet container :( Both Eureka server and Spring Cloud Gateway can't work together ! Spring Cloud no longer supports Netflix Zuul.

I suggest removing the administrative server in the Registry. This functionality is proposed by the JHipster Control Center. The JHipster Registry will keep two main purposes:
  • It is a Eureka server, that provides as a discovery server for applications.
  • It is a Spring Cloud Config server, that provide runtime configuration to all applications.

What do you think ?

Regards,
Julien.

Pierre Besson

unread,
Jun 27, 2021, 1:27:32 PM6/27/21
to Julien Sadaoui, JHipster dev team
Hello Julien,

+1 for this plan. I fully agree with your analysis.
Removing Zuul and the management pages sounds like the best solution to preserve our setup of the Eureka and SC config server for those who depend on that option. The administration server part being now fully managed by the control-center. I believe all administration UI pages will need to be removed from the front-end but that just makes it easier to maintain. Let's also remove all thing superfluous from the code base.
Don't hesitate to create an issue and I'm sure the team leads will add at a 500$ bounty for this.

Best regards,
Pierre




--
You received this message because you are subscribed to the Google Groups "JHipster dev team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jhipster-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jhipster-dev/CADVNkO0fLSH-xkXHHwPFA1nZLGezptRSoUf%2B4%3DpO3C%3D0cyoDZg%40mail.gmail.com.

Julien Dubois

unread,
Jun 28, 2021, 2:37:17 AM6/28/21
to Pierre Besson, JHipster dev team, Julien Sadaoui
Yes, fully agree on this!

--
Julien Dubois

Twitter: @juliendubois

Pascal GRIMAUD

unread,
Jun 28, 2021, 2:47:09 AM6/28/21
to Julien Sadaoui, JHipster dev team
Agree for keeping Eureka Server + Spring Cloud Config Server
The admin pages can be removed

Pascal


Le dim. 27 juin 2021 à 19:12, Julien Sadaoui <julien....@gmail.com> a écrit :
--

Julien Sadaoui

unread,
Jul 1, 2021, 1:44:16 AM7/1/21
to JHipster dev team
Thanks for your feedback.
--
Julien SADAOUI
Tél. : +33 (0) 6 61 15 98 99
julien....@laposte.net
julien....@gmail.com


N'imprimez ce mail que si vous en avez l'utilité.
Reply all
Reply to author
Forward
0 new messages