|
|
|
@ -39,6 +39,13 @@ public class LauncherServiceImpl implements LauncherService {
|
|
|
|
|
// 通用注册
|
|
|
|
|
PropsUtil.setProperty(props, "spring.cloud.nacos.discovery.server-addr", LauncherConstant.nacosAddr(profile)); |
|
|
|
|
PropsUtil.setProperty(props, "spring.cloud.nacos.config.server-addr", LauncherConstant.nacosAddr(profile)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PropsUtil.setProperty(props, "spring.cloud.nacos.discovery.username","nacos"); |
|
|
|
|
PropsUtil.setProperty(props, "spring.cloud.nacos.discovery.password","Nacos123123"); |
|
|
|
|
PropsUtil.setProperty(props, "spring.cloud.nacos.config.username","nacos"); |
|
|
|
|
PropsUtil.setProperty(props, "spring.cloud.nacos.config.password","Nacos123123"); |
|
|
|
|
|
|
|
|
|
PropsUtil.setProperty(props, "spring.cloud.sentinel.transport.dashboard", LauncherConstant.sentinelAddr(profile)); |
|
|
|
|
|
|
|
|
|
// dubbo注册
|
|
|
|
|