diff --git a/cli/src/test/resources/application.yml b/cli/src/test/resources/application.yml index 2f773311a19..323a4a5101e 100644 --- a/cli/src/test/resources/application.yml +++ b/cli/src/test/resources/application.yml @@ -7,6 +7,10 @@ kestra: type: memory queue: type: memory + storage: + type: local + local: + base-path: /tmp/unittest plugins: path: /tmp/plugins repositories: diff --git a/repository-memory/src/main/java/io/kestra/repository/memory/MemoryFlowTopologyRepository.java b/repository-memory/src/main/java/io/kestra/repository/memory/MemoryFlowTopologyRepository.java new file mode 100644 index 00000000000..8c34f8dd88d --- /dev/null +++ b/repository-memory/src/main/java/io/kestra/repository/memory/MemoryFlowTopologyRepository.java @@ -0,0 +1,22 @@ +package io.kestra.repository.memory; + +import io.kestra.core.models.topologies.FlowTopology; +import io.kestra.core.repositories.FlowTopologyRepositoryInterface; +import jakarta.inject.Singleton; + +import java.util.List; + +@Singleton +@MemoryRepositoryEnabled +public class MemoryFlowTopologyRepository implements FlowTopologyRepositoryInterface { + + @Override + public List findByFlow(String namespace, String flowId, Boolean destinationOnly) { + throw new UnsupportedOperationException(); + } + + @Override + public FlowTopology save(FlowTopology flowTopology) { + throw new UnsupportedOperationException(); + } +}