修改Dockerfile文件

master
冷调 2024-08-21 16:36:04 +08:00
parent a6e187dc91
commit 53006fd930
3 changed files with 38 additions and 38 deletions

View File

@ -1,18 +1,18 @@
package com.muyu.source.remote;
import com.muyu.source.remote.factory.RemoteDataSourceFactory;
import org.springframework.cloud.openfeign.FeignClient;
import com.muyu.common.core.constant.ServiceNameConstants;
/**
* @ ToolIntelliJ IDEA
* @ AuthorCHX
* @ Date2024-08-21-10:50
* @ Version1.0
* @ Description
* @author Lenovo
*/
@FeignClient(contextId = "RemoteDataSourceService",value = ServiceNameConstants.SOURCE_SERVICE,fallbackFactory = RemoteDataSourceFactory.class, path = "/dataSource")
public interface RemoteDataSourceService {
}
//package com.muyu.source.remote;
//
//import com.muyu.source.remote.factory.RemoteDataSourceFactory;
//import org.springframework.cloud.openfeign.FeignClient;
//import com.muyu.common.core.constant.ServiceNameConstants;
//
///**
// * @ ToolIntelliJ IDEA
// * @ AuthorCHX
// * @ Date2024-08-21-10:50
// * @ Version1.0
// * @ Description数据源远程调用
// * @author Lenovo
// */
//@FeignClient(contextId = "RemoteDataSourceService",value = ServiceNameConstants.SOURCE_SERVICE,fallbackFactory = RemoteDataSourceFactory.class, path = "/dataSource")
//public interface RemoteDataSourceService {
//
//}

View File

@ -1,19 +1,19 @@
package com.muyu.source.remote.factory;
import com.muyu.source.remote.RemoteDataSourceService;
import org.springframework.cloud.openfeign.FallbackFactory;
/**
* @ ToolIntelliJ IDEA
* @ AuthorCHX
* @ Date2024-08-21-10:54
* @ Version1.0
* @ Description
* @author Lenovo
*/
public class RemoteDataSourceFactory implements FallbackFactory<RemoteDataSourceService> {
@Override
public RemoteDataSourceService create(Throwable cause) {
return null;
}
}
//package com.muyu.source.remote.factory;
//
//import com.muyu.source.remote.RemoteDataSourceService;
//import org.springframework.cloud.openfeign.FallbackFactory;
//
///**
// * @ ToolIntelliJ IDEA
// * @ AuthorCHX
// * @ Date2024-08-21-10:54
// * @ Version1.0
// * @ Description
// * @author Lenovo
// */
//public class RemoteDataSourceFactory implements FallbackFactory<RemoteDataSourceService> {
// @Override
// public RemoteDataSourceService create(Throwable cause) {
// return null;
// }
//}

View File

@ -1 +1 @@
com.muyu.source.remote.factory.RemoteDataSourceFactory
#com.muyu.source.remote.factory.RemoteDataSourceFactory