Skip to content

Commit

Permalink
Merge branch 'master' into discovery_namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Aias00 authored Sep 19, 2024
2 parents b27e47e + ef5af25 commit 0ac083d
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 0ac083d

Please sign in to comment.