Commit c76701c0 authored by Aalekh Jain's avatar Aalekh Jain
Browse files

Updated IWorkflowSystemMetadataRepository implementation for AWS, GCP and IBM

parent 0ef8c197
...@@ -2,9 +2,13 @@ package org.opengroup.osdu.workflow.aws.repository; ...@@ -2,9 +2,13 @@ package org.opengroup.osdu.workflow.aws.repository;
import org.opengroup.osdu.workflow.model.WorkflowMetadata; import org.opengroup.osdu.workflow.model.WorkflowMetadata;
import org.opengroup.osdu.workflow.provider.interfaces.IWorkflowSystemMetadataRepository; import org.opengroup.osdu.workflow.provider.interfaces.IWorkflowSystemMetadataRepository;
import org.springframework.stereotype.Repository;
import org.springframework.web.context.annotation.RequestScope;
import java.util.List; import java.util.List;
@Repository
@RequestScope
public class AwsWorkflowSystemMetadataRepository implements IWorkflowSystemMetadataRepository { public class AwsWorkflowSystemMetadataRepository implements IWorkflowSystemMetadataRepository {
/** /**
* Returns workflow metadata based on workflowName * Returns workflow metadata based on workflowName
...@@ -34,9 +38,7 @@ public class AwsWorkflowSystemMetadataRepository implements IWorkflowSystemMetad ...@@ -34,9 +38,7 @@ public class AwsWorkflowSystemMetadataRepository implements IWorkflowSystemMetad
* @param workflowName Name of the workflow for which metadata should be deleted. * @param workflowName Name of the workflow for which metadata should be deleted.
*/ */
@Override @Override
public void deleteSystemWorkflow(String workflowName) { public void deleteSystemWorkflow(String workflowName) { }
}
/** /**
* Get all system workflows metadata based on prefix * Get all system workflows metadata based on prefix
......
package org.opengroup.osdu.workflow.provider.gcp.repository; package org.opengroup.osdu.workflow.provider.gcp.repository;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.opengroup.osdu.workflow.model.WorkflowMetadata; import org.opengroup.osdu.workflow.model.WorkflowMetadata;
import org.opengroup.osdu.workflow.provider.interfaces.IWorkflowSystemMetadataRepository; import org.opengroup.osdu.workflow.provider.interfaces.IWorkflowSystemMetadataRepository;
import org.springframework.stereotype.Service;
import java.util.List; import java.util.List;
@Service
@Slf4j
@RequiredArgsConstructor
public class GcpWorkflowSystemMetadataRepository implements IWorkflowSystemMetadataRepository { public class GcpWorkflowSystemMetadataRepository implements IWorkflowSystemMetadataRepository {
/** /**
* Returns workflow metadata based on workflowName * Returns workflow metadata based on workflowName
...@@ -34,9 +40,7 @@ public class GcpWorkflowSystemMetadataRepository implements IWorkflowSystemMetad ...@@ -34,9 +40,7 @@ public class GcpWorkflowSystemMetadataRepository implements IWorkflowSystemMetad
* @param workflowName Name of the workflow for which metadata should be deleted. * @param workflowName Name of the workflow for which metadata should be deleted.
*/ */
@Override @Override
public void deleteSystemWorkflow(String workflowName) { public void deleteSystemWorkflow(String workflowName) { }
}
/** /**
* Get all system workflows metadata based on prefix * Get all system workflows metadata based on prefix
......
package org.opengroup.osdu.workflow.provider.ibm.repository; package org.opengroup.osdu.workflow.provider.ibm.repository;
import lombok.extern.slf4j.Slf4j;
import org.opengroup.osdu.workflow.model.WorkflowMetadata; import org.opengroup.osdu.workflow.model.WorkflowMetadata;
import org.opengroup.osdu.workflow.provider.interfaces.IWorkflowSystemMetadataRepository; import org.opengroup.osdu.workflow.provider.interfaces.IWorkflowSystemMetadataRepository;
import org.springframework.stereotype.Component;
import java.util.List; import java.util.List;
@Component
@Slf4j
public class WorkflowSystemMetadataRepository implements IWorkflowSystemMetadataRepository { public class WorkflowSystemMetadataRepository implements IWorkflowSystemMetadataRepository {
/** /**
* Returns workflow metadata based on workflowName * Returns workflow metadata based on workflowName
...@@ -34,9 +38,7 @@ public class WorkflowSystemMetadataRepository implements IWorkflowSystemMetadata ...@@ -34,9 +38,7 @@ public class WorkflowSystemMetadataRepository implements IWorkflowSystemMetadata
* @param workflowName Name of the workflow for which metadata should be deleted. * @param workflowName Name of the workflow for which metadata should be deleted.
*/ */
@Override @Override
public void deleteSystemWorkflow(String workflowName) { public void deleteSystemWorkflow(String workflowName) { }
}
/** /**
* Get all system workflows metadata based on prefix * Get all system workflows metadata based on prefix
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment