Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JHipster Control Center #12090

Closed
3 of 5 tasks
avdev4j opened this issue Jul 17, 2020 · 11 comments
Closed
3 of 5 tasks

JHipster Control Center #12090

avdev4j opened this issue Jul 17, 2020 · 11 comments

Comments

@avdev4j
Copy link
Contributor

avdev4j commented Jul 17, 2020

Overview of the feature request

A few weeks ago, @PierreBesson has written an RFC to provide companion sidecar to manage JHipster apps (#10913). This RFC is available here : https://github.com/jhipster/generator-jhipster/blob/master/rfcs/2-jhipster-rfc-jhipster-control-center.md

We decide to focus this feature on the V7. This is a different way to imagine how we can manage and control JHipster applications, monoliths or microservices.

This is how JHipster Control Center (aka JHCC) is born.

Who are you JHCC?

JHipster Control Center is a JHipster separated application that will allow you to manage and control your microservice or monolith applications from a single place.

Spring Cloud is used to reach your applications, 4 modes are supported:

  • Eureka server
  • Consul Server
  • Kubernetes
  • A static range URI

You can log to JHCC through:

  • JWT
  • Oauth2

You can test your API through a unified Swagger-UI.

The management UI is developed with Vue front-end framework.

How to use JHCC

We plan to provide JHCC through a Docker image or a jar file. JHipster applications will contains all the necessary Docker-compose configuration file to start JHCC out of the box.
JHCC is made to help developers during both development and production phases, that's why we want JHCC to be easy as possible to be ran.

What are the consequences to generated JHipster applications?

JHipster would no longer generate these features since they will be dedicated to JHCC:

  • Open-api documentation
  • Logs, Metrics, Configuration, properties and Health admin pages

These mean less generated code, to simplify the maintenance and avoid duplicate UI through 3 different frameworks.
Also, we want to, by this way, reduce the front-end compilation time.

JHipster Registry will be deprecated for V7+.

Conclusion

The application is still under development and @nassimerrahoui and @adilabed are the main contributors since this is their traineeship subject. We are glad to know they are outperforming our expectations for this feature.
But, as usual, there is a lot of work to remain and we really need the community help to fully integrate this application into the V7.

Feel free to contribute and give us feedbacks.

PS: A list of what we will have to do on main generator

Do you want to use the JHipster Registry to configure, monitor and scale your application?

cc @jhipster/developers

@atomfrede
Copy link
Member

Really great work from what I have seen already! 👍 One thing I am not sure how we plan to handle this following: In e.g. micronaut blueprint we have modified the metrics page because the response format is a little different. Is there a solution for that already or any idea how to handle such things within the JHCC?

@avdev4j
Copy link
Contributor Author

avdev4j commented Jul 17, 2020

I don't think so @atomfrede but indeed why not to include this in the current JHCC? Or better, find a way to personalize JHCC without forking the project. I know this is what @PierreBesson target for future releases.

@PierreBesson
Copy link
Contributor

@atomfrede I would say it's OK if not all actuator endpoints are available in all backends (some people might disable specific endpoints on purpose as described in the docs). I was thinking that the JHCC should use the /management listing endpoint to know which endpoint is available. The idea has never been to be spring boot specific. JHCC was conceived to be the common interface between jhipster applications using all kinds of front-end and backend technologies.

@atomfrede
Copy link
Member

Sounds good. Looking forward for whats coming here!

@avdev4j avdev4j added this to In progress in v7 Jul 17, 2020
@pascalgrimaud
Copy link
Member

We need to review this question too: ? Do you want to use the JHipster Registry to configure, monitor and scale your application?

As by default, we'll have a new jhipster-control-center.yml file, in src/main/docker/ folder

@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity.
Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted.
We are accepting PRs 😃.
Comment or this will be closed in 7 days

@avdev4j avdev4j self-assigned this Oct 13, 2020
v7 automation moved this from In progress to Done Oct 21, 2020
@avdev4j avdev4j reopened this Oct 21, 2020
v7 automation moved this from Done to To Do Oct 21, 2020
@pascalgrimaud pascalgrimaud moved this from To Do to In progress in v7 Oct 24, 2020
@github-actions github-actions bot closed this as completed Nov 4, 2020
v7 automation moved this from In progress to Done Nov 4, 2020
@avdev4j avdev4j reopened this Nov 4, 2020
v7 automation moved this from Done to To Do Nov 4, 2020
@pascalgrimaud pascalgrimaud moved this from To Do to In progress in v7 Nov 6, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Dec 7, 2020

This issue is stale because it has been open 30 days with no activity.
Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted.
We are accepting PRs 😃.
Comment or this will be closed in 7 days

@PierreBesson
Copy link
Contributor

JHCC docker-compose and Kubernetes sub-gen support remain to be done. I guess "Don't always generate admin ui (Angular/React/Vue)" is developed and merge. Ping @avdev4j

@avdev4j
Copy link
Contributor Author

avdev4j commented Dec 7, 2020

Exactly :) I check the box.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2021

This issue is stale because it has been open 30 days with no activity.
Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted.
We are accepting PRs 😃.
Comment or this will be closed in 7 days

@pascalgrimaud
Copy link
Member

Work done here: https://github.com/jhipster/jhipster-control-center
Now we can open the tickets in this repo instead of the main generator-jhipster.

v7 automation moved this from In progress to Done Jan 7, 2021
@pascalgrimaud pascalgrimaud added this to the 7.0.0-beta.1 milestone Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v7
  
Done
Development

No branches or pull requests

4 participants