updata dubbo versions of all components to 2.7.1
parent
0477035fbd
commit
0e6565b461
@ -1,20 +1,15 @@
|
|||||||
package org.springframework.cloud.alibaba.cloud.examples;
|
package org.springframework.cloud.alibaba.cloud.examples;
|
||||||
|
|
||||||
import com.alibaba.dubbo.config.annotation.Service;
|
import org.apache.dubbo.config.annotation.Service;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author fangjian
|
* @author fangjian
|
||||||
*/
|
*/
|
||||||
@Service(
|
@Service(version = "${foo.service.version}", application = "${dubbo.application.id}", protocol = "${dubbo.protocol.id}", registry = "${dubbo.registry.id}")
|
||||||
version = "${foo.service.version}",
|
|
||||||
application = "${dubbo.application.id}",
|
|
||||||
protocol = "${dubbo.protocol.id}",
|
|
||||||
registry = "${dubbo.registry.id}"
|
|
||||||
)
|
|
||||||
public class FooServiceImpl implements FooService {
|
public class FooServiceImpl implements FooService {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String hello(String name) {
|
public String hello(String name) {
|
||||||
return "hello, " + name;
|
return "hello, " + name;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue