API implements the API required for the model migration master worker.

Hierarchy

  • default

Implements

Constructors

Properties

Methods

Constructors

Properties

NAME: string = "MigrationMinion"
VERSION: number = 1
_transport: Transport
NAME: string = "MigrationMinion"
VERSION: number = 1

Methods

  • Report allows a migration minion to submit whether it succeeded or failed for a specific migration phase.

    Parameters

    Returns Promise<any>

  • Watch starts watching for status updates for a migration attempt for the model. It will report when a migration starts and when its status changes (including when it finishes). An initial event will be fired if there has ever been a migration attempt for the model.

    The MigrationStatusWatcher facade must be used to receive events from the watcher.

    Parameters

    • params: any

    Returns Promise<NotifyWatchResult>

Generated using TypeDoc