You've already forked FrameTour-BE
feat(integration): 添加渲染工作器服务集成
- 新增 RenderWorkerConfigV2Client 和 RenderWorkerV2Client 接口 - 实现 RenderWorkerConfigIntegrationService 和 RenderWorkerIntegrationService 服务类 - 添加相关 DTO 类和 BatchConfigBuilder 工具类 - 在 IntegrationProperties 中增加 render 相关配置 - 更新 CommonResponse 类,增加 success 字段 - 新增 RenderWorkerIntegrationConfig 配置类
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package com.ycwl.basic.integration.render.config;
|
||||
|
||||
import com.ycwl.basic.integration.common.config.IntegrationProperties;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.cloud.openfeign.EnableFeignClients;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* 渲染工作器集成配置
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnProperty(prefix = "integration.render", name = "enabled", havingValue = "true", matchIfMissing = true)
|
||||
@EnableFeignClients(basePackages = "com.ycwl.basic.integration.render.client")
|
||||
@RequiredArgsConstructor
|
||||
public class RenderWorkerIntegrationConfig {
|
||||
|
||||
private final IntegrationProperties integrationProperties;
|
||||
}
|
||||
Reference in New Issue
Block a user