修改Dockerfile文件
parent
a6e187dc91
commit
53006fd930
|
@ -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;
|
||||
|
||||
/**
|
||||
* @ Tool:IntelliJ IDEA
|
||||
* @ Author:CHX
|
||||
* @ Date:2024-08-21-10:50
|
||||
* @ Version:1.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;
|
||||
//
|
||||
///**
|
||||
// * @ Tool:IntelliJ IDEA
|
||||
// * @ Author:CHX
|
||||
// * @ Date:2024-08-21-10:50
|
||||
// * @ Version:1.0
|
||||
// * @ Description:数据源远程调用
|
||||
// * @author Lenovo
|
||||
// */
|
||||
//@FeignClient(contextId = "RemoteDataSourceService",value = ServiceNameConstants.SOURCE_SERVICE,fallbackFactory = RemoteDataSourceFactory.class, path = "/dataSource")
|
||||
//public interface RemoteDataSourceService {
|
||||
//
|
||||
//}
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
package com.muyu.source.remote.factory;
|
||||
|
||||
import com.muyu.source.remote.RemoteDataSourceService;
|
||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||
|
||||
/**
|
||||
* @ Tool:IntelliJ IDEA
|
||||
* @ Author:CHX
|
||||
* @ Date:2024-08-21-10:54
|
||||
* @ Version:1.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;
|
||||
//
|
||||
///**
|
||||
// * @ Tool:IntelliJ IDEA
|
||||
// * @ Author:CHX
|
||||
// * @ Date:2024-08-21-10:54
|
||||
// * @ Version:1.0
|
||||
// * @ Description:
|
||||
// * @author Lenovo
|
||||
// */
|
||||
//public class RemoteDataSourceFactory implements FallbackFactory<RemoteDataSourceService> {
|
||||
// @Override
|
||||
// public RemoteDataSourceService create(Throwable cause) {
|
||||
// return null;
|
||||
// }
|
||||
//}
|
||||
|
|
|
@ -1 +1 @@
|
|||
com.muyu.source.remote.factory.RemoteDataSourceFactory
|
||||
#com.muyu.source.remote.factory.RemoteDataSourceFactory
|
||||
|
|
Loading…
Reference in New Issue