Class MigrationServiceGrpc.MigrationServiceImplBase (0.13.0)

public abstract static class MigrationServiceGrpc.MigrationServiceImplBase implements BindableService

Service to handle EDW migrations.

Inheritance

java.lang.Object > MigrationServiceGrpc.MigrationServiceImplBase

Implements

io.grpc.BindableService

Constructors

MigrationServiceImplBase()

public MigrationServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createMigrationWorkflow(CreateMigrationWorkflowRequest request, StreamObserver<MigrationWorkflow> responseObserver)

public void createMigrationWorkflow(CreateMigrationWorkflowRequest request, StreamObserver<MigrationWorkflow> responseObserver)

Creates a migration workflow.

Parameters
NameDescription
requestCreateMigrationWorkflowRequest
responseObserverio.grpc.stub.StreamObserver<MigrationWorkflow>

deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request, StreamObserver<Empty> responseObserver)

public void deleteMigrationWorkflow(DeleteMigrationWorkflowRequest request, StreamObserver<Empty> responseObserver)

Deletes a migration workflow by name.

Parameters
NameDescription
requestDeleteMigrationWorkflowRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getMigrationSubtask(GetMigrationSubtaskRequest request, StreamObserver<MigrationSubtask> responseObserver)

public void getMigrationSubtask(GetMigrationSubtaskRequest request, StreamObserver<MigrationSubtask> responseObserver)

Gets a previously created migration subtask.

Parameters
NameDescription
requestGetMigrationSubtaskRequest
responseObserverio.grpc.stub.StreamObserver<MigrationSubtask>

getMigrationWorkflow(GetMigrationWorkflowRequest request, StreamObserver<MigrationWorkflow> responseObserver)

public void getMigrationWorkflow(GetMigrationWorkflowRequest request, StreamObserver<MigrationWorkflow> responseObserver)

Gets a previously created migration workflow.

Parameters
NameDescription
requestGetMigrationWorkflowRequest
responseObserverio.grpc.stub.StreamObserver<MigrationWorkflow>

listMigrationSubtasks(ListMigrationSubtasksRequest request, StreamObserver<ListMigrationSubtasksResponse> responseObserver)

public void listMigrationSubtasks(ListMigrationSubtasksRequest request, StreamObserver<ListMigrationSubtasksResponse> responseObserver)

Lists previously created migration subtasks.

Parameters
NameDescription
requestListMigrationSubtasksRequest
responseObserverio.grpc.stub.StreamObserver<ListMigrationSubtasksResponse>

listMigrationWorkflows(ListMigrationWorkflowsRequest request, StreamObserver<ListMigrationWorkflowsResponse> responseObserver)

public void listMigrationWorkflows(ListMigrationWorkflowsRequest request, StreamObserver<ListMigrationWorkflowsResponse> responseObserver)

Lists previously created migration workflow.

Parameters
NameDescription
requestListMigrationWorkflowsRequest
responseObserverio.grpc.stub.StreamObserver<ListMigrationWorkflowsResponse>

startMigrationWorkflow(StartMigrationWorkflowRequest request, StreamObserver<Empty> responseObserver)

public void startMigrationWorkflow(StartMigrationWorkflowRequest request, StreamObserver<Empty> responseObserver)

Starts a previously created migration workflow. I.e., the state transitions from DRAFT to RUNNING. This is a no-op if the state is already RUNNING. An error will be signaled if the state is anything other than DRAFT or RUNNING.

Parameters
NameDescription
requestStartMigrationWorkflowRequest
responseObserverio.grpc.stub.StreamObserver<Empty>