Skip to content

Commit

Permalink
Polish apache#4905 : Add test cases for ExtensionLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
mercyblitz committed Sep 2, 2019
1 parent 383c559 commit 628e0fc
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void main(String[] args) {
.application("zookeeper-dubbo-provider")
.registry(builder -> builder.address("zookeeper://127.0.0.1:2181?registry-type=service"))
.protocol("dubbo", builder -> builder.port(-1).name("dubbo"))
.protocol("rest", builder -> builder.port(8082).name("rest"))
.protocol("rest", builder -> builder.port(8081).name("rest"))
.service("echo", builder -> builder.interfaceClass(EchoService.class).ref(new EchoServiceImpl()).protocolIds("dubbo"))
.service("user", builder -> builder.interfaceClass(UserService.class).ref(new UserServiceImpl()).protocolIds("rest"))
.start()
Expand Down
Loading

0 comments on commit 628e0fc

Please sign in to comment.