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