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 committed Sep 19, 2024
2 parents b2f084f + ef5af25 commit b5e1d4f
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 b5e1d4f

Please sign in to comment.