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

[ISSUE #21] Implement Connection related code #22

Merged
merged 9 commits into from
Jan 29, 2024

Conversation

Lambert-Rao
Copy link
Contributor

fixes #21

ADD:
connection related code:
Connection/Client/Connector: Mapper,Entity
Connection: ConnectionService,ConnectionDataService
others:
eventmesh-dashboard.sql
test resources

MODIFY:
pom file: remove dependency of junit, spring-boot-starter-test contains it.
pom file: let service module depend on core module.

ADD:
connection related code:
Connection/Client/Connector: Mapper,Entity
Connection: ConnectionService,ConnectionDataService
others:
eventmesh-dashboard.sql
test resources

MODIFY:
pom file: remove dependency of junit, spring-boot-starter-test contains it.
pom file: let service module depend on core module.
@Pil0tXia Pil0tXia reopened this Jan 26, 2024
@Pil0tXia Pil0tXia changed the base branch from main to dev January 26, 2024 10:12
@Pil0tXia Pil0tXia changed the title [Issue #21] Implement Connection related code [ISSUE #21] Implement Connection related code Jan 26, 2024
Pil0tXia and others added 4 commits January 26, 2024 20:28
…che#24)

* integrate checkstyle

* fix import order & remove excessive try-catch
…che#24)

* integrate checkstyle

* fix import order & remove excessive try-catch
fixed according to PR#22 conversation
Database schema definition modified
# Conflicts:
#	eventmesh-dashboard-common/src/main/java/org/apache/eventmesh/dashboard/common/Main.java
#	eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/EventMeshDashboardApplication.java
Comment on lines 34 to 36
@Schema(description = "Dimension of Health Check;0:Unknown, 1:Cluster, 2:Runtime, 3:Topic, 4:Group", defaultValue = "0", allowableValues = {"0",
"1", "2", "3", "4"})
private Integer dimension;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Dimension" is an abstract word. How about "serviceType"?

It will be better to use Enum as class type here. The same as the ConnectorEntity.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think ServiceType means?
How about just call it checkType?

@Pil0tXia Pil0tXia merged commit f7f3a60 into apache:dev Jan 29, 2024
2 checks passed
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.

[Feature] Implement Connection related code
2 participants