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

(Very early part) Feat: Add Solon Admin #138

Merged
merged 11 commits into from
May 11, 2023
Merged

(Very early part) Feat: Add Solon Admin #138

merged 11 commits into from
May 11, 2023

Conversation

shaokeyibb
Copy link
Contributor

Commit as a project of OSPP 2023(ID: 23f4f0086, 为 Solon 框架增加配套的轻量级监控工具), see #96 or summer-ospp.ac.cn for more details.

It's WIP now, don't merge it until it marked ready for review!

What's been added?

This PR added a lightweight, frontend and backend separated monitor tools named Solon Admin, including in _solon_tools module, provided 3 modules named solon-admin-client, solon-admin-server, solon-admin-server-ui. it's quite like the spring-boot-admin project.

The solon-admin-server-ui module is a Maven project contains a Vite project, build as a submodule of solon-admin-server, provided frontend web page of server instance.

How to use it?

  1. Add the solon-admin-server and solon-admin-client separately to your Maven/Gradle projects, the solon-admin-server-ui module has been packaged into solon-admin-server module.
  2. Put @EnableAdminServer annotation to the main class of your server instance.
  3. Put @EnableAdminClient annotation to the main class of your every client instances.
  4. Launch the instances.
  5. Go to the server address(default to localhost:8080) for your monitor.

How to configure it?

WIP...

Signed-off-by: HikariLan <shaokeyibb@126.com>
Signed-off-by: HikariLan <shaokeyibb@126.com>
Signed-off-by: HikariLan <shaokeyibb@126.com>
Signed-off-by: HikariLan <shaokeyibb@126.com>
Signed-off-by: HikariLan <shaokeyibb@126.com>
- return stream directly instead of lines
- redirect /index.html to /

Signed-off-by: HikariLan <shaokeyibb@126.com>
Signed-off-by: HikariLan <shaokeyibb@126.com>
Signed-off-by: HikariLan <shaokeyibb@126.com>
Signed-off-by: HikariLan <shaokeyibb@126.com>
…ad style

Signed-off-by: HikariLan <shaokeyibb@126.com>
Signed-off-by: HikariLan <shaokeyibb@126.com>
@noear
Copy link
Member

noear commented May 11, 2023

都是中国人,能不能整个中文:)

@noear noear marked this pull request as ready for review May 11, 2023 05:18
@noear noear merged commit c7dfd26 into opensolon:dev May 11, 2023
@shaokeyibb shaokeyibb changed the title Feat: Add Solon Admin (Very early part) Feat: Add Solon Admin May 11, 2023
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.

2 participants