We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@ConditionalOnProperty(name = { GovernanceConfig.CONFIG_LIVE_ENABLED, GovernanceConfig.CONFIG_LANE_ENABLED, GovernanceConfig.CONFIG_FLOW_CONTROL_ENABLED }, matchIfMissing = true, relation = ConditionalRelation.OR) public class HandlerAdapterDefinition extends PluginDefinitionAdapter { }
replace this with
@ConditionalOnAnyGovernEnabled public class HandlerAdapterDefinition extends PluginDefinitionAdapter { }
@ConditionalOnProperty(name = { GovernanceConfig.CONFIG_LIVE_ENABLED, GovernanceConfig.CONFIG_LANE_ENABLED, GovernanceConfig.CONFIG_FLOW_CONTROL_ENABLED }, matchIfMissing = true, relation = ConditionalRelation.OR) public @interface ConditionalOnAnyGovernEnabled { }
and
@ConditionalOnProperties(value = { @ConditionalOnProperty(name = { GovernanceConfig.CONFIG_LIVE_ENABLED, GovernanceConfig.CONFIG_LANE_ENABLED }, matchIfMissing = true, relation = ConditionalRelation.OR), @ConditionalOnProperty(name = GovernanceConfig.CONFIG_FLOW_CONTROL_ENABLED, value = "false"), @ConditionalOnProperty(name = GovernanceConfig.CONFIG_LIVE_DUBBO_ENABLED, matchIfMissing = true) }, relation = ConditionalRelation.AND) @ConditionalOnClass(LoadBalanceDefinition.TYPE_ABSTRACT_CLUSTER) @ConditionalOnClass(ClassLoaderFilterDefinition.TYPE_PROTOCOL_FILTER_WRAPPER) public class LoadBalanceDefinition extends PluginDefinitionAdapter { }
@ConditionalOnProperty(name = { GovernanceConfig.CONFIG_LIVE_ENABLED, GovernanceConfig.CONFIG_LANE_ENABLED }, matchIfMissing = true, relation = ConditionalRelation.OR) @ConditionalOnProperty(name = GovernanceConfig.CONFIG_FLOW_CONTROL_ENABLED, value = "false") public @interface ConditionOnOnlyRouteEnabled { }
@ConditionalOnProperty(name = GovernanceConfig.CONFIG_LIVE_DUBBO_ENABLED, matchIfMissing = true) @ConditionalOnClass(LoadBalanceDefinition.TYPE_ABSTRACT_CLUSTER) public @interface ConditionOnDubbo27Enabled { }
@ConditionOnOnlyRouteEnabled @ConditionOnDubbo27Enabled @ConditionalOnClass(ClassLoaderFilterDefinition.TYPE_PROTOCOL_FILTER_WRAPPER) public class LoadBalanceDefinition extends PluginDefinitionAdapter { }
The text was updated successfully, but these errors were encountered:
DeepMindDevPro
No branches or pull requests
replace this with
and
replace this with
The text was updated successfully, but these errors were encountered: