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 #45] Implement methods from storage-plugin.admin(rocketmq) #66

Merged
merged 14 commits into from
Mar 29, 2024

Conversation

scwlkq
Copy link
Contributor

@scwlkq scwlkq commented Mar 17, 2024

Fixes #45
做的改变:

  1. 将console的test、rocketmq、letture-core、nacos的依赖移动到common
  2. 将SDKManager搬到core里,和饶同学商量过
  3. common模块创建properties.RocketmqProperties,Service模块创建dto.TopicProperties
  4. 实现RocketmqTopicCore(用RemotingClient SDK)

Copy link
Member

@Pil0tXia Pil0tXia left a comment

Choose a reason for hiding this comment

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

common模块创建properties.RocketmqProperties,Service模块创建dto.TopicProperties

Why put one in common and another in service?

将console的test、rocketmq、letture-core、nacos的依赖移动到common

The function package of console will be moved to core, the SDK artifact of rocketmq, redis and nacos will still be used by console?

@scwlkq
Copy link
Contributor Author

scwlkq commented Mar 22, 2024

common模块创建properties.RocketmqProperties,Service模块创建dto.TopicProperties

Why put one in common and another in service?

将console的test、rocketmq、letture-core、nacos的依赖移动到common

The function package of console will be moved to core, the SDK artifact of rocketmq, redis and nacos will still be used by console?

  1. rocketmqproperties属于中间件配置,如果是要从cosole读取然后发给core的话,两个模块都要用到,我就放在common了。topicProperties属于DTO

  2. the SDK artifact of rocketmq, redis and nacos放在common里,这下coreconsole不都能访问到了嘛

Copy link
Member

@Pil0tXia Pil0tXia left a comment

Choose a reason for hiding this comment

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

Please don't force-push a PR that is being reviewed. This will disrupt the timeline of your commit.

@Pil0tXia
Copy link
Member

rocketmqproperties属于中间件配置,如果是要从cosole读取然后发给core的话,两个模块都要用到,我就放在common了。topicProperties属于DTO

No, RocketmqProperties is not part of the middleware configuration, it is used for passing parameters between console and core just like TopicProperties.

If you need to refactor RocketmqConfig, you should create another new class.

the SDK artifact of rocketmq, redis and nacos放在common里,这下core和console不都能访问到了嘛

These SDKs should be placed in the core module after the console module's usage of these SDKs has been migrated to the core module. Could you please leave a TODO comment explaining the situation?

@scwlkq
Copy link
Contributor Author

scwlkq commented Mar 22, 2024

Please don't force-push a PR that is being reviewed. This will disrupt the timeline of your commit.

好的 ,我在合并dev分支的时候用了rebase,然后将别人的pr合并到我这个pr里了,下次用merge就没问题了

Copy link
Member

@Pil0tXia Pil0tXia left a comment

Choose a reason for hiding this comment

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

plz check ci

eventmesh-dashboard-console/pom.xml Outdated Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
@scwlkq scwlkq requested a review from Pil0tXia March 23, 2024 02:24
@Pil0tXia Pil0tXia merged commit 576bf8b into apache:dev Mar 29, 2024
2 checks passed
Lambert-Rao pushed a commit to Lambert-Rao/eventmesh-dashboard that referenced this pull request Mar 29, 2024
…q) (apache#66)

* modify RocketmqTopicCore, using SDKManager

* fix style

* delete some variable in RocketmqProperties and TopicProperties & remote additional endPoint name

* remove junit dependency back to console module

* remove unnecessary brackets & revert em-dashboard-pom.xml & move RocketmqProperties to core.dto

* add todo

* move todo to common sdk dependencies & fix style

* add test and junit dependencies in core pom.xml

* revert the indentation in pom.xml & move test related dependencies to bottom in core-pom.xml

* revert indentation in pom.xml

* revert indentation in pom.xml

* remove unnecessary params

* remove params

* remove empty line
Pil0tXia pushed a commit that referenced this pull request Mar 29, 2024
* add remoting service and move models into common module

* chore: fix mistakes and several rename

* [ISSUE #45] Implement methods from storage-plugin.admin(rocketmq) (#66)

* modify RocketmqTopicCore, using SDKManager

* fix style

* delete some variable in RocketmqProperties and TopicProperties & remote additional endPoint name

* remove junit dependency back to console module

* remove unnecessary brackets & revert em-dashboard-pom.xml & move RocketmqProperties to core.dto

* add todo

* move todo to common sdk dependencies & fix style

* add test and junit dependencies in core pom.xml

* revert the indentation in pom.xml & move test related dependencies to bottom in core-pom.xml

* revert indentation in pom.xml

* revert indentation in pom.xml

* remove unnecessary params

* remove params

* remove empty line

* chore: fix typos

---------

Co-authored-by: scwlkq <89067331+scwlkq@users.noreply.github.com>
SLSJL pushed a commit to SLSJL/eventmesh-dashboard that referenced this pull request Mar 31, 2024
…to dev

* 'dev' of https://github.com/SLSJL/eventmesh-dashboard:
  [ISSUE apache#73] Add remoting service (apache#74)
  [ISSUE apache#45] Implement methods from storage-plugin.admin(rocketmq) (apache#66)
  [ISSUE apache#71] Reduce log file size and Streamline debug output (apache#72)
  [ISSUE apache#69] Integrate database credentials in auto-deploy (apache#70)
  [ISSUE apache#67] Fix HealthCheckResultMapper which leads to application error
  [ISSUE apache#64] Support automated deployment and Fix runtime packaging errors (apache#65)
  [ISSUE apache#60] add SDK manager (apache#62)
  [ISSUE apache#57] Modify the field, synchronize the modification, and add the mapper method (apache#58)
  [ISSUE apache#29] Set up EventMesh Dashboard Front-end (apache#56)
  [ISSUE apache#49] RocketMQ and Nacos health check (apache#53)
  [ISSUE apache#51] Config Mgmt basic function and config,runtime,store,cluster SQL (apache#52)

# Conflicts:
#	eventmesh-dashboard-view/public/index.html
#	eventmesh-dashboard-view/src/App.tsx
#	eventmesh-dashboard-view/src/index.tsx
#	eventmesh-dashboard-view/src/routes/RootLayout.tsx
#	eventmesh-dashboard-view/src/routes/navigation/Navigation.tsx
#	eventmesh-dashboard-view/src/routes/navigation/NavigationItem.tsx
#	eventmesh-dashboard-view/src/routes/topic/Topic.tsx
#	eventmesh-dashboard-view/src/routes/topic/stats/AbnormalTopicCount.tsx
#	eventmesh-dashboard-view/src/routes/topic/stats/Stats.tsx
#	eventmesh-dashboard-view/src/routes/topic/stats/StatsChart.tsx
#	eventmesh-dashboard-view/src/routes/topic/stats/TopicCount.tsx
#	eventmesh-dashboard-view/src/routes/topic/topic-list/TopicList.tsx
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