You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by zh...@apache.org on 2022/06/05 12:01:04 UTC

[incubator-shenyu] branch master updated: issue #3486 shenyu-client and SofaService buildMetaData path question (#3487)

This is an automated email from the ASF dual-hosted git repository.

zhangzicheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 0246d8685 issue #3486 shenyu-client and SofaService buildMetaData path question (#3487)
0246d8685 is described below

commit 0246d8685d5f701ed0ca3c1f6b494df4b7c23cc7
Author: chuang <49...@users.noreply.github.com>
AuthorDate: Sun Jun 5 20:00:57 2022 +0800

    issue #3486 shenyu-client and SofaService buildMetaData path question (#3487)
    
    * #3486 SofaService buildMetaData path question
---
 .../org/apache/shenyu/client/sofa/SofaServiceBeanPostProcessor.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shenyu-client/shenyu-client-sofa/src/main/java/org/apache/shenyu/client/sofa/SofaServiceBeanPostProcessor.java b/shenyu-client/shenyu-client-sofa/src/main/java/org/apache/shenyu/client/sofa/SofaServiceBeanPostProcessor.java
index f55226524..5ea11eb71 100644
--- a/shenyu-client/shenyu-client-sofa/src/main/java/org/apache/shenyu/client/sofa/SofaServiceBeanPostProcessor.java
+++ b/shenyu-client/shenyu-client-sofa/src/main/java/org/apache/shenyu/client/sofa/SofaServiceBeanPostProcessor.java
@@ -116,7 +116,7 @@ public class SofaServiceBeanPostProcessor implements BeanPostProcessor {
             Method[] declaredMethods = ReflectionUtils.getDeclaredMethods(clazz);
             for (Method declaredMethod : declaredMethods) {
                 if (Objects.nonNull(beanSofaClient)) {
-                    publisher.publishEvent(buildMetaDataDTO(serviceBean, beanSofaClient, declaredMethod, superPath));
+                    publisher.publishEvent(buildMetaDataDTO(serviceBean, beanSofaClient, declaredMethod, ""));
                 }
             }
             return;