Skip to content

Broadcast completed/failed tasks #10

@bohdan-shulha

Description

@bohdan-shulha

Once the task is complete, it is often required to update some properties in the database (e.g. set the docker_id of the entity) or send notifications somewhere.

Need to create a pair of events for each separate task type: ***CompletedEvent and ***FailedEvent.

As we already have the CreateNetworkTask(result) and InitSwarmTask(result), we'll get four events:

  • CreateNetworkCompletedEvent
  • CreateNetworkFailedEvent
  • InitSwarmCompletedEvent
  • InitSwarmFailedEvent

Metadata

Metadata

Assignees

No one assigned

    Labels

    featNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions