修改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; //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;
//
/** ///**
* @ ToolIntelliJ IDEA // * @ ToolIntelliJ IDEA
* @ AuthorCHX // * @ AuthorCHX
* @ Date2024-08-21-10:50 // * @ Date2024-08-21-10:50
* @ Version1.0 // * @ Version1.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 {
//
} //}

View File

@ -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;
//
/** ///**
* @ ToolIntelliJ IDEA // * @ ToolIntelliJ IDEA
* @ AuthorCHX // * @ AuthorCHX
* @ Date2024-08-21-10:54 // * @ Date2024-08-21-10:54
* @ Version1.0 // * @ Version1.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;
} // }
} //}

View File

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