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 #4598] Improve eventmesh-connector-lark #4599

Merged
merged 14 commits into from
Dec 10, 2023

Conversation

hhuang1231
Copy link
Contributor

Fixes #4598 .

Motivation

Improve eventmesh-connector-feishu.

Modifications

See #4598 for details.

Output

image

Documentation

  • Does this pull request introduce a new feature? (yes / no)
  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
  • If a feature is not applicable for documentation, explain why?
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Copy link

codecov bot commented Dec 4, 2023

Codecov Report

Attention: 92 lines in your changes are missing coverage. Please review.

Comparison is base (ee9ee4c) 16.93% compared to head (fadb477) 17.26%.

Files Patch % Lines
...ventmesh/connector/lark/sink/ImServiceHandler.java 66.27% 50 Missing and 7 partials ⚠️
...nnector/lark/sink/connector/LarkSinkConnector.java 52.17% 19 Missing and 3 partials ⚠️
...onnector/lark/sink/config/SinkConnectorConfig.java 68.42% 4 Missing and 2 partials ⚠️
...tmesh/connector/lark/server/LarkConnectServer.java 0.00% 5 Missing ⚠️
...connector/lark/config/LarkConnectServerConfig.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4599      +/-   ##
============================================
+ Coverage     16.93%   17.26%   +0.32%     
- Complexity     1708     1741      +33     
============================================
  Files           790      793       +3     
  Lines         29526    29725     +199     
  Branches       2550     2567      +17     
============================================
+ Hits           5001     5132     +131     
- Misses        24061    24118      +57     
- Partials        464      475      +11     

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

@xwm1992
Copy link
Contributor

xwm1992 commented Dec 4, 2023

I have question about why you change the module name from Feishu to lark ?

@hhuang1231
Copy link
Contributor Author

hhuang1231 commented Dec 4, 2023

I have question about why you change the module name from Feishu to lark ?

@xwm1992 I found that the dingding module was changed to dingtalk.So I think it is necessary to change Feishu to lark.

@xwm1992
Copy link
Contributor

xwm1992 commented Dec 4, 2023

I have question about why you change the module name from Feishu to lark ?

@xwm1992 I found that the dingding module was changed to dingtalk.So I think it is necessary to change Feishu to lark.

DingDing was changed to DingTalk because the English name of the product itself is called DingTalk, and Feishu was changed to lark. I don’t know if it’s still a same product or an overseas version of Feishu. @hhuang1231

@hhuang1231
Copy link
Contributor Author

DingDing was changed to DingTalk because the English name of the product itself is called DingTalk, and Feishu was changed to lark. I don’t know if it’s still a same product or an overseas version of Feishu

@xwm1992 If the overseas Lark account I registered is correct, then the incident can be successfully sinked after testing.

@Pil0tXia
Copy link
Member

Pil0tXia commented Dec 4, 2023

@hhuang1231

The Feishu document said that "Feishu and Lark are independent products operated by different entities under ByteDance company. Feishu accounts can only be used in the Feishu client, and the Feishu client only supports the use of Feishu accounts."

If you want to be compatible with both products, you may need to pay attention to the interoperability of the data.

@hhuang1231
Copy link
Contributor Author

@Pil0tXia Yes, I registered accounts for lark and feishu, and after testing, they can sink events.

@pandaapo pandaapo added this to the 1.10 milestone Dec 5, 2023
@hhuang1231
Copy link
Contributor Author

@pandaapo PLAT, thank you!

Copy link
Member

@pandaapo pandaapo left a comment

Choose a reason for hiding this comment

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

Please resolve the conflict. @hhuang1231

# Conflicts:
#	eventmesh-examples/src/main/resources/application.properties
@xwm1992 xwm1992 merged commit 1e533d1 into apache:master Dec 10, 2023
13 checks passed
@hhuang1231 hhuang1231 deleted the #4522-feishu-connector branch December 11, 2023 09:26
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.

[Enhancement] Improve eventmesh-connector-lark
4 participants