The runs' log (MishkaCmsMigration.MigrationLog) as a source of the core's activity log, so a
run's steps show where the CMS shows what happened, each in the sentence the bell says
(MishkaCmsMigration.Resources.Notifiers.Steps.sentence/2).
- The Migration page's Logs, next to the runs table's count, is the core's own feed
(
MishkaCmsCoreWeb.Live.Admin.Components.ActivityFeed) over this source alone (MishkaCmsCore.Activity.Behaviours.Source): the latest entries when it opens, read as the admin, and each new one as its broadcast arrives. A master reads every site's, a site admin their own site's. - The core's full activity log, which the feed's "View all logs" opens, merges the same entries
as one more branch of its query (
MishkaCmsCore.Activity.Behaviours.UnionSource), registered onactivity:sources, filed underMishkaCmsMigration.MigrationRun, so whoever may read the runs (admin:dashboard:migration) sees them there.
An entry's badge says how the step went: connected, started, finished, failed or cancelled. A failed step is an error, a cancelled one a warning, and the rest information.
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for MishkaInstaller.Event.Hook.enable/0.
One log entry, a MishkaCmsMigration.MigrationLog or a map with its fields, as an entry of the
core's activity log (MishkaCmsCore.Activity.Behaviours.Source.entry/0).
Callback implementation for MishkaInstaller.Event.Hook.get/0.
Optional. See MishkaInstaller.Event.Hook.health_check/0. Override to report health.
Optional. See MishkaInstaller.Event.Hook.on_dependency_error/1. Override to react.
Callback implementation for MishkaInstaller.Event.Hook.register/0.
Callback implementation for MishkaInstaller.Event.Hook.restart/0.
Callback implementation for MishkaInstaller.Event.Hook.start/0.
Callback implementation for MishkaInstaller.Event.Hook.stop/0.
Callback implementation for MishkaInstaller.Event.Hook.unregister/0.
Types
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec config() :: keyword()
@spec enable() :: okey_return() | error_return()
Callback implementation for MishkaInstaller.Event.Hook.enable/0.
@spec entry(map()) :: MishkaCmsCore.Activity.Behaviours.Source.entry()
One log entry, a MishkaCmsMigration.MigrationLog or a map with its fields, as an entry of the
core's activity log (MishkaCmsCore.Activity.Behaviours.Source.entry/0).
@spec get() :: keyword()
Callback implementation for MishkaInstaller.Event.Hook.get/0.
Optional. See MishkaInstaller.Event.Hook.health_check/0. Override to report health.
Optional. See MishkaInstaller.Event.Hook.on_dependency_error/1. Override to react.
@spec register() :: okey_return() | error_return()
Callback implementation for MishkaInstaller.Event.Hook.register/0.
@spec restart() :: okey_return() | error_return()
Callback implementation for MishkaInstaller.Event.Hook.restart/0.
@spec start() :: okey_return() | error_return()
Callback implementation for MishkaInstaller.Event.Hook.start/0.
@spec stop() :: okey_return() | error_return()
Callback implementation for MishkaInstaller.Event.Hook.stop/0.
@spec unregister() :: okey_return() | error_return()
Callback implementation for MishkaInstaller.Event.Hook.unregister/0.