Feature/connection-pool-monitor frontend #7692
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ⅰ. Describe what this PR did
This PR adds a standalone frontend module for Connection Pool Monitoring (CPM) located under
console/src/main/resources/static/cpm
.Main Features
This module is self-contained and does not modify the existing
console-fe
.Currently, data are based on mockData.ts, and backend API integration will be implemented once
ConnectionPoolController
endpoints are finalized.This PR is temporarily a draft for mentor review and will later be rebased onto
2.x
for the official merge.Ⅱ. Does this pull request fix one issue?
No specific issue is fixed.
This is part of the GSoC 2025 project: Connection Pool Monitoring and Configuration Framework (Seata AT/XA modes).
Ⅲ. Why are there no test cases (unit/integration)?
This PR only adds frontend static resources (React + TypeScript).
It does not include Java modules or backend logic that require test coverage.
Frontend UI tests and API integration tests will be added in a follow-up PR once backend endpoints are finalized.
Ⅳ. How to verify it
A) Use Backend API (recommended once endpoints are available)
console/src/main/resources/static/cpm/src/services/api.ts
, set:B) Use Mock Data (for local demo)
src/services/api.ts
, set:Mock data will populate the metrics, tables, and charts for UI review.
Ⅴ. Special notes for reviewers
.ts
,.tsx
,.css
,.html
, and.md
files.Headers are omitted for
manifest.json
,package.json
,package-lock.json
, and image assets./static/cpm
.console-fe
.