From 0fbd6bc761b4b024c02a0d74370e3922ad9a1036 Mon Sep 17 00:00:00 2001 From: Owais Kazi Date: Fri, 22 Sep 2023 13:46:57 -0700 Subject: [PATCH] Initial UploadModel integration Signed-off-by: Owais Kazi --- .../workflow/UploadModel/UploadModelStep.java | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/main/java/org/opensearch/flowframework/workflow/UploadModel/UploadModelStep.java diff --git a/src/main/java/org/opensearch/flowframework/workflow/UploadModel/UploadModelStep.java b/src/main/java/org/opensearch/flowframework/workflow/UploadModel/UploadModelStep.java new file mode 100644 index 000000000..7d27cf8b3 --- /dev/null +++ b/src/main/java/org/opensearch/flowframework/workflow/UploadModel/UploadModelStep.java @@ -0,0 +1,22 @@ +package org.opensearch.flowframework.workflow.UploadModel; + +import org.opensearch.flowframework.workflow.WorkflowData; +import org.opensearch.flowframework.workflow.WorkflowStep; + +import java.util.List; +import java.util.concurrent.CompletableFuture; + +public class UploadModelStep implements WorkflowStep { + + private final String NAME = "upload_model_step"; + + @Override + public CompletableFuture execute(List data) { + return null; + } + + @Override + public String getName() { + return NAME; + } +}