Commit 426041b9 authored by Aalekh Jain's avatar Aalekh Jain
Browse files

Default interface implementation for other CSPs

parent 2d4b6f1d
package org.opengroup.osdu.workflow.aws.repository;
import org.opengroup.osdu.workflow.model.WorkflowMetadata;
import org.opengroup.osdu.workflow.provider.interfaces.IWorkflowSystemMetadataRepository;
import java.util.List;
public class AwsWorkflowSystemMetadataRepository implements IWorkflowSystemMetadataRepository {
/**
* Returns workflow metadata based on workflowName
*
* @param workflowName Name of the workflow for which metadata should be retrieved.
* @return Workflow metadata
*/
@Override
public WorkflowMetadata getSystemWorkflow(String workflowName) {
return null;
}
/**
* Creates workflow metadata record in persistence store.
*
* @param workflowMetadata Workflow metadata object to save in persistence store.
* @return Workflow metadata
*/
@Override
public WorkflowMetadata createSystemWorkflow(WorkflowMetadata workflowMetadata) {
return null;
}
/**
* Deletes workflow metadata based on workflowName
*
* @param workflowName Name of the workflow for which metadata should be deleted.
*/
@Override
public void deleteSystemWorkflow(String workflowName) {
}
/**
* Get all system workflows metadata based on prefix
*
* @param prefix Name of the system workflow for which metadata should be deleted.
*/
@Override
public List<WorkflowMetadata> getAllSystemWorkflow(String prefix) {
return null;
}
}
package org.opengroup.osdu.workflow.provider.gcp.repository;
import org.opengroup.osdu.workflow.model.WorkflowMetadata;
import org.opengroup.osdu.workflow.provider.interfaces.IWorkflowSystemMetadataRepository;
import java.util.List;
public class GcpWorkflowSystemMetadataRepository implements IWorkflowSystemMetadataRepository {
/**
* Returns workflow metadata based on workflowName
*
* @param workflowName Name of the workflow for which metadata should be retrieved.
* @return Workflow metadata
*/
@Override
public WorkflowMetadata getSystemWorkflow(String workflowName) {
return null;
}
/**
* Creates workflow metadata record in persistence store.
*
* @param workflowMetadata Workflow metadata object to save in persistence store.
* @return Workflow metadata
*/
@Override
public WorkflowMetadata createSystemWorkflow(WorkflowMetadata workflowMetadata) {
return null;
}
/**
* Deletes workflow metadata based on workflowName
*
* @param workflowName Name of the workflow for which metadata should be deleted.
*/
@Override
public void deleteSystemWorkflow(String workflowName) {
}
/**
* Get all system workflows metadata based on prefix
*
* @param prefix Name of the system workflow for which metadata should be deleted.
*/
@Override
public List<WorkflowMetadata> getAllSystemWorkflow(String prefix) {
return null;
}
}
package org.opengroup.osdu.workflow.provider.ibm.repository;
import org.opengroup.osdu.workflow.model.WorkflowMetadata;
import org.opengroup.osdu.workflow.provider.interfaces.IWorkflowSystemMetadataRepository;
import java.util.List;
public class WorkflowSystemMetadataRepository implements IWorkflowSystemMetadataRepository {
/**
* Returns workflow metadata based on workflowName
*
* @param workflowName Name of the workflow for which metadata should be retrieved.
* @return Workflow metadata
*/
@Override
public WorkflowMetadata getSystemWorkflow(String workflowName) {
return null;
}
/**
* Creates workflow metadata record in persistence store.
*
* @param workflowMetadata Workflow metadata object to save in persistence store.
* @return Workflow metadata
*/
@Override
public WorkflowMetadata createSystemWorkflow(WorkflowMetadata workflowMetadata) {
return null;
}
/**
* Deletes workflow metadata based on workflowName
*
* @param workflowName Name of the workflow for which metadata should be deleted.
*/
@Override
public void deleteSystemWorkflow(String workflowName) {
}
/**
* Get all system workflows metadata based on prefix
*
* @param prefix Name of the system workflow for which metadata should be deleted.
*/
@Override
public List<WorkflowMetadata> getAllSystemWorkflow(String prefix) {
return null;
}
}
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