[server] [func.xray] - 完成xray 的对象存储,任务分发全流程 - 1

This commit is contained in:
zeaslity
2023-02-15 15:53:59 +08:00
parent be7f1a9108
commit 864d290fe7
13 changed files with 528 additions and 73 deletions

View File

@@ -11,6 +11,8 @@ public interface CoreExecutionService {
String SendCommandToAgent(String agentTopicName, List<String> commandList);
/**
* 调用 单行命令脚本的 最底层函数
*
* @param agentTopicName agent唯一表示名
* @param type 任务执行类型
* @param commandList 任务列表内容
@@ -21,10 +23,20 @@ public interface CoreExecutionService {
String SendCommandToAgent(String agentTopicName, String type, List<String> commandList, List<List<String>> commandListComplete);
/**
*
* 调用 完整脚本的 最底层函数
*
* @param agentTopicName
* @param type
* @param commandList
* @param commandListComplete
* @param futureKey
* @return resultKey 本次操作在Redis中记录的结果Key
*/
String SendCommandToAgent(String agentTopicName, String type, List<String> commandList, List<List<String>> commandListComplete, String futureKey);
List<String> SendCommandToAgent(List<String> agentTopicNameList, String type, List<String> command);
/**

View File

@@ -1,7 +0,0 @@
package io.wdd.rpc.openfeign;
import org.springframework.cloud.openfeign.FeignClient;
@FeignClient(url = "")
public interface AgentOperationFeign {
}