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) #55

Closed
wants to merge 28 commits into from

Conversation

scwlkq
Copy link
Contributor

@scwlkq scwlkq commented Mar 9, 2024

Fixs #45

eventmesh-dashboard-common/pom.xml Outdated Show resolved Hide resolved
Comment on lines 48 to 58
public List<TopicProperties> getTopics() {
List<TopicConfig> topicConfigList =
RocketmqUtils.getTopics(rocketmqProperties.getNamesrvAddr(), rocketmqProperties.getRequestTimeoutMillis());
List<TopicProperties> topicPropertiesList = new ArrayList<>();
for (TopicConfig topicConfig : topicConfigList) {
TopicProperties topicProperties = new TopicProperties();
topicProperties.setRocketmqTopicConfig(topicConfig);
topicPropertiesList.add(topicProperties);
}
return topicPropertiesList;
}
Copy link
Member

Choose a reason for hiding this comment

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

You implemented these three methods twice. If your implementation in the common module is generalizable between core and console, it's a good idea to standardize the usage in core and console, or leave to-do comments.

Copy link
Member

Choose a reason for hiding this comment

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

it's a good idea to standardize the usage in core and console, or leave to-do comments.

I haven't seen any change related to this.

Copy link
Member

@Pil0tXia Pil0tXia Mar 13, 2024

Choose a reason for hiding this comment

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

Kindly remind that I haven't seen any change related to this review comment.

SLSJL and others added 4 commits March 10, 2024 14:08
* added view code

* added navigation interaction

* added empty pages

* add topic statistics ui

* complete topic page style

---------

Co-authored-by: SUN <350916525@qq.com>
@scwlkq scwlkq requested a review from Pil0tXia March 12, 2024 12:37
@Pil0tXia
Copy link
Member

Pil0tXia commented Mar 12, 2024

May you please not submit the front-end code as well? It looks like a mess.

image

Copy link
Contributor Author

@scwlkq scwlkq left a comment

Choose a reason for hiding this comment

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

1

@scwlkq
Copy link
Contributor Author

scwlkq commented Mar 13, 2024

May you please not submit the front-end code as well? It looks like a mess.

image

ok 以后会注意的

Comment on lines 30 to 32

private TopicConfig rocketmqTopicConfig;
private static final String SEPARATOR = " ";

Copy link
Member

Choose a reason for hiding this comment

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

What is the SEPARATOR used for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

抄的RocketmqSDK里的 TopicConfig类 我看是连续传多个topic之间用SEPARATOR隔开

Copy link
Member

Choose a reason for hiding this comment

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

Why SEPARATOR should be placed in a dto?

Comment on lines +45 to +51
private int perm;

private TopicFilterType topicFilterType;

private int topicSysFlag;

private boolean order;
Copy link
Member

Choose a reason for hiding this comment

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

Is it necessary to add these fields in a dto?

scwlkq and others added 8 commits March 14, 2024 15:08
… add the mapper method (apache#58)

* refactor: add dependency of console module and move controllers into console module.

* fix: add logback config, fix application-dev.yml and move `</dependencyManagement>` to root `pom.xml` as pointed out in PR#19.

* FirstCommit

* remerge

* first improve

* second improve

* third improve

* fourth improve

* fourth improve

* fourth improve

* Update and rename EventmeshConsoleApplication.java to EventMeshDashboardApplication.java

* rename this starter class file to EventMeshDashboardApplication

* rename this starter class file to EventMeshDashboardApplication

* change some resource file

* improve name

* improve name

* Modify the fields of the synchronized log table

* improve name

* improve name

* config basic function and config ,runtime,store,cluster sql

* try to resolve build error

* Some changes in the specification

* something rename

* one sql update

* tag something to do

* The distinction between state and status is_delete fields is unified, and selectAll() and batchInsert() are added to all instance tables for subsequent data synchronization. Modification of some fields.

* Delete eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/entity/meta/ClusterEntity1.java

delete something no use

* Delete eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/entity/meta/RuntimeEntity1.java

delete something no use

* improve something checkstyle error

* try to solve something sql test error

* try to resolve something test error

* try to resolve something test error

* something is_delete(error) change to status (apache#3)

Co-authored-by: 周倬贤 <14100340+zhou-zhuoxian@user.noreply.gitee.com>

---------

Co-authored-by: lambert@arch <lambertrao@outlook.com>
Co-authored-by: 周倬贤 <14100340+zhou-zhuoxian@user.noreply.gitee.com>
* feat: add SDK manager

* fix: SDKManagerTest

* fix: use SimpleEntry to replace Pair

* style: better name for SDK codes

* style

* style

* style: just rename SDK

* fix: checkstyle
…ing errors (apache#65)

* add back missing build label

* Fix module name

* add test scope

* exclude log4j-to-slf4j

* exclude log4j-slf4j-impl

* add auto deploy script

* add license

* refine the script
@scwlkq scwlkq closed this Mar 17, 2024
@scwlkq scwlkq deleted the emd-45 branch March 17, 2024 13:27
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.

5 participants