|
|
|
@ -43,9 +43,9 @@ public class LauncherServiceImpl implements LauncherService {
|
|
|
|
|
// seata注册
|
|
|
|
|
PropsUtil.setProperty(props, "seata.tx-service-group", LauncherConstant.seataServiceGroup(appName)); |
|
|
|
|
PropsUtil.setProperty(props, "seata.registry.type", LauncherConstant.NACOS_MODE); |
|
|
|
|
PropsUtil.setProperty(props, "seata.registry.type.nacos.server-addr", LauncherConstant.nacosAddr(profile)); |
|
|
|
|
PropsUtil.setProperty(props, "seata.registry.nacos.server-addr", LauncherConstant.nacosAddr(profile)); |
|
|
|
|
PropsUtil.setProperty(props, "seata.config.type", LauncherConstant.NACOS_MODE); |
|
|
|
|
PropsUtil.setProperty(props, "seata.config.type.nacos.server-addr", LauncherConstant.nacosAddr(profile)); |
|
|
|
|
PropsUtil.setProperty(props, "seata.config.nacos.server-addr", LauncherConstant.nacosAddr(profile)); |
|
|
|
|
// dubbo注册
|
|
|
|
|
PropsUtil.setProperty(props, "dubbo.application.name", appName); |
|
|
|
|
PropsUtil.setProperty(props, "dubbo.application.qos.enable", "false"); |
|
|
|
|