Skip to content

Conversation

liubao68
Copy link
Contributor

@liubao68 liubao68 commented Jul 5, 2017

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 84.868% when pulling cb8bfbd on liubao68:hello into 13b8af8 on ServiceComb:master.


@BeforeClass
public static void initConfig() throws Exception {
ConfigUtil.installDynamicConfig();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you clean up archaius after use? or other places using it may fail

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

isolationListFilter.setMicroserviceName(invocation.getMicroserviceName());
isolationListFilter.setMicroserviceName(microserviceName);
isolationListFilter.setLoadBalancerStats(lb.getLoadBalancerStats());
lb.putFilter(filterName, isolationListFilter);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一个lb只能接受一个isolationListFilter吧, 但是从上面的setIsolcationFilter的调用接口来看,是可以设置多个microservicename的。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一个miscroservername对应一个LB实例,每个LB实例都可以设置isolationListFilter

@liubao68 liubao68 closed this Jul 5, 2017
@liubao68 liubao68 deleted the hello branch July 5, 2017 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants