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/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 2df92c375 URIRegisterDTO add eventType (#4748)
2df92c375 is described below

commit 2df92c375bb668d59874717d325cd76901c7bffc
Author: tiandy tian <[email protected]>
AuthorDate: Wed Jun 21 18:21:46 2023 +0800

    URIRegisterDTO add eventType (#4748)
    
    * URIRegisterDTO add eventType
    
    * remove @EnableClientRegister
    
    * remove sth
    
    ---------
    
    Co-authored-by: tian-pengfei <[email protected]>
    Co-authored-by: moremind <[email protected]>
---
 .../shenyu/client/core/register/ClientInfoRefreshedEventListener.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/register/ClientInfoRefreshedEventListener.java
 
b/shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/register/ClientInfoRefreshedEventListener.java
index ed8f27e24..b7fc5a961 100644
--- 
a/shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/register/ClientInfoRefreshedEventListener.java
+++ 
b/shenyu-client/shenyu-client-core/src/main/java/org/apache/shenyu/client/core/register/ClientInfoRefreshedEventListener.java
@@ -20,6 +20,7 @@ package org.apache.shenyu.client.core.register;
 import 
org.apache.shenyu.client.core.disruptor.ShenyuClientRegisterEventPublisher;
 import org.apache.shenyu.common.enums.RpcTypeEnum;
 import org.apache.shenyu.register.common.dto.URIRegisterDTO;
+import org.apache.shenyu.register.common.enums.EventType;
 import org.springframework.context.ApplicationListener;
 import org.springframework.context.event.ContextRefreshedEvent;
 
@@ -62,6 +63,7 @@ public final class ClientInfoRefreshedEventListener 
implements ApplicationListen
                 .rpcType(rpcTypeEnum.getName())
                 .host(host)
                 .port(port)
+                .eventType(EventType.REGISTER)
                 .build();
 
         publisher.publishEvent(uriRegisterDTO);

Reply via email to