Skip to content

Commit

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

Please sign in to comment.