shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

[Task] shenyu-client-load

Open chariles opened this issue 2 years ago • 5 comments

Description

can client's bean load on demand? for emample,use bean on ConditionalOnProperty,which can switch by config.

@ConditionalOnProperty(prefix = "example.service", value = "enabled", havingValue = "true")   ServiceA buildServiceA(){         return new ServiceA();     }

Task List

No response

chariles avatar Mar 11 '22 02:03 chariles

Don't add dependency if you don't want to upload api by shenyu client.

KevinClair avatar Mar 11 '22 02:03 KevinClair

Don't add dependency if you don't want to upload api by shenyu client.

But this is not flexible enough, and the code needs to be modified. If the configuration is passed on k8s, there is no need to modify the code, which is necessary

chariles avatar Mar 11 '22 03:03 chariles

which shenyu client?

yu199195 avatar Mar 11 '22 03:03 yu199195

which shenyu client?

springmvc client

chariles avatar Mar 11 '22 03:03 chariles

If you do not use the plugin, you can sub ahadmin to close.

midnight2104 avatar Mar 14 '22 13:03 midnight2104