Skip to content

Commit

Permalink
Merge branch 'master' into feat_sync_namespace_change
Browse files Browse the repository at this point in the history
  • Loading branch information
Aias00 authored Sep 19, 2024
2 parents 016db76 + ef5af25 commit c0ba599
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@

<bean id="springMvcClientEventListener"
class="org.apache.shenyu.client.springmvc.init.SpringMvcClientEventListener">
<constructor-arg ref="clientPropertiesConfig"/>
<constructor-arg ref="shenyuClientConfig"/>
<constructor-arg ref="clientRegisterRepository"/>
<constructor-arg ref="env"/>
</bean>

<!-- config ShenyuRegisterCenterConfig according to your registerType -->
Expand All @@ -38,6 +39,16 @@
</property>
</bean>

<bean id="env" class="org.springframework.core.env.StandardEnvironment" />

<bean id="shenyuClientConfig" class="org.apache.shenyu.register.common.config.ShenyuClientConfig">
<property name="client">
<map>
<entry key="http" value-ref="clientPropertiesConfig"/>
</map>
</property>
</bean>

<!-- ClientPropertiesConfig -->
<bean id="clientPropertiesConfig"
class="org.apache.shenyu.register.common.config.ShenyuClientConfig.ClientPropertiesConfig">
Expand Down

0 comments on commit c0ba599

Please sign in to comment.