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 #4763] Do some code optimization.[EventMeshCommon] #4764

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

scwlkq
Copy link
Contributor

@scwlkq scwlkq commented Feb 1, 2024

Fixes #4763

Motivation

move EventMeshCommon class to Common module.

Modifications

Documentation

  • Does this pull request introduce a new feature? (no)

Copy link

codecov bot commented Feb 2, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 16.37%. Comparing base (648f3e9) to head (d751223).
Report is 170 commits behind head on master.

Files Patch % Lines
...ache/eventmesh/client/tcp/common/MessageUtils.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             master    #4764       +/-   ##
=============================================
+ Coverage          0   16.37%   +16.37%     
- Complexity        0     1734     +1734     
=============================================
  Files             0      856      +856     
  Lines             0    31266    +31266     
  Branches          0     2700     +2700     
=============================================
+ Hits              0     5121     +5121     
- Misses            0    25665    +25665     
- Partials          0      480      +480     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@scwlkq scwlkq changed the title [#ISSUE 4763] Do some code optimization.[EventMeshCommon] [ISSUE #4763] Do some code optimization.[EventMeshCommon] Feb 3, 2024
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.

Not all members in the EventMeshCommon class are shared across the entire project. Some members are used in the client.tcp package, while others are used in both the sdk module and the client package.

Therefore, it is not a good idea to directly move the EventMeshCommon class, which originally belongs to the client.tcp package, to the common module. It requires a more detailed and clear separation to unify all related usages.

…_patch_4763

* 'fix_patch_4763' of github.com:scwlkq/eventmesh:
  move EventMeshCommon class to common module
@scwlkq scwlkq closed this Feb 15, 2024
@scwlkq scwlkq deleted the fix_patch_4763 branch February 15, 2024 16:28
@Pil0tXia
Copy link
Member

Is there any obstacles in this PR?

@scwlkq scwlkq restored the fix_patch_4763 branch February 21, 2024 11:40
@scwlkq scwlkq reopened this Feb 21, 2024
@scwlkq
Copy link
Contributor Author

scwlkq commented Feb 21, 2024

Is there any obstacles in this PR?

Closed because I thought the issue was meaningless hahaha.

@scwlkq scwlkq requested a review from Pil0tXia March 25, 2024 14:01
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.

EventMeshCommon class is designed to store constants of EventMesh SDK. It should be kept in org.apache.eventmesh.client package although it is referenced by other protocols.

Copy link
Contributor

It has been 60 days since the last activity on this pull request. I am reaching out here to gently remind you that the Apache EventMesh community values every pull request, and please feel free to get in touch with the reviewers at any time. They are available to assist you in advancing the progress of your pull request and offering the latest feedback.

If you encounter any challenges during development, seeking support within the community is encouraged. We sincerely appreciate your contributions to Apache EventMesh.

@github-actions github-actions bot added Stale and removed Stale labels Jun 10, 2024
@Pil0tXia Pil0tXia added the waiting for contributor PR is awaiting the contributor's response to the review for further evaluation. label Jun 12, 2024
Copy link
Contributor

It has been 60 days since the last activity on this pull request. I am reaching out here to gently remind you that the Apache EventMesh community values every pull request, and please feel free to get in touch with the reviewers at any time. They are available to assist you in advancing the progress of your pull request and offering the latest feedback.

If you encounter any challenges during development, seeking support within the community is encouraged. We sincerely appreciate your contributions to Apache EventMesh.

@github-actions github-actions bot added the Stale label Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale waiting for contributor PR is awaiting the contributor's response to the review for further evaluation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Do some code optimization.[EventMeshCommon]
2 participants