Sha256: c9d7f377706238732389794e1083738568674ff3fd7d35e25e0c9efd6b41427d

Contents?: true

Size: 1.92 KB

Versions: 20

Compression:

Stored size: 1.92 KB

Contents

##
## Subscriptions to ActiveSupport::Notifications instrumentation events
##

# Fixity Checks
ActiveSupport::Notifications.subscribe(Ddr::Notifications::FIXITY_CHECK, Ddr::Events::FixityCheckEvent)

# Virus Checks
ActiveSupport::Notifications.subscribe(Ddr::Notifications::VIRUS_CHECK, Ddr::Events::VirusCheckEvent)

# Ingestion/Creation
ActiveSupport::Notifications.subscribe(Ddr::Notifications::CREATION, Ddr::Events::CreationEvent)
ActiveSupport::Notifications.subscribe(Ddr::Models::Base::INGEST, Ddr::Events::IngestionEvent)
ActiveSupport::Notifications.subscribe(Ddr::Models::Base::INGEST, Ddr::Derivatives::UpdateDerivatives)

# Update
ActiveSupport::Notifications.subscribe(Ddr::Notifications::UPDATE, Ddr::Events::UpdateEvent)
ActiveSupport::Notifications.subscribe(Ddr::Models::Base::UPDATE, Ddr::Events::UpdateEvent)
ActiveSupport::Notifications.subscribe(Ddr::Models::Base::UPDATE, Ddr::Models::PermanentId)
ActiveSupport::Notifications.subscribe(Ddr::Models::Base::UPDATE, Ddr::Derivatives::UpdateDerivatives)

# Delete
ActiveSupport::Notifications.subscribe(Ddr::Notifications::DELETION, Ddr::Events::DeletionEvent)
ActiveSupport::Notifications.subscribe(Ddr::Models::Base::DELETE, Ddr::Models::PermanentId)
ActiveSupport::Notifications.subscribe(Ddr::Models::Base::DELETE, Ddr::Events::DeletionEvent)
ActiveSupport::Notifications.subscribe(Ddr::Models::Base::DELETE, Ddr::Datastreams::DeleteExternalFiles)

# Deaccession
ActiveSupport::Notifications.subscribe(Ddr::Models::Base::DEACCESSION, Ddr::Models::PermanentId)
ActiveSupport::Notifications.subscribe(Ddr::Models::Base::DEACCESSION, Ddr::Events::DeaccessionEvent)
ActiveSupport::Notifications.subscribe(Ddr::Models::Base::DEACCESSION, Ddr::Datastreams::DeleteExternalFiles)

# Files
ActiveSupport::Notifications.subscribe(Ddr::Datastreams::DELETE, Ddr::Derivatives::UpdateDerivatives)
ActiveSupport::Notifications.subscribe(Ddr::Datastreams::DELETE, Ddr::Datastreams::DeleteExternalFiles)

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
ddr-models-2.11.0 config/initializers/subscriptions.rb
ddr-models-2.10.2 config/initializers/subscriptions.rb
ddr-models-2.10.1 config/initializers/subscriptions.rb
ddr-models-2.10.0 config/initializers/subscriptions.rb
ddr-models-2.10.0.rc2 config/initializers/subscriptions.rb
ddr-models-2.10.0.rc1 config/initializers/subscriptions.rb
ddr-models-2.9.2 config/initializers/subscriptions.rb
ddr-models-2.9.1 config/initializers/subscriptions.rb
ddr-models-2.9.0 config/initializers/subscriptions.rb
ddr-models-2.9.0.rc1 config/initializers/subscriptions.rb
ddr-models-2.8.0 config/initializers/subscriptions.rb
ddr-models-2.8.0.rc1 config/initializers/subscriptions.rb
ddr-models-2.7.6 config/initializers/subscriptions.rb
ddr-models-2.7.5 config/initializers/subscriptions.rb
ddr-models-2.7.4 config/initializers/subscriptions.rb
ddr-models-2.7.3 config/initializers/subscriptions.rb
ddr-models-2.7.2 config/initializers/subscriptions.rb
ddr-models-2.7.1 config/initializers/subscriptions.rb
ddr-models-2.7.0 config/initializers/subscriptions.rb
ddr-models-2.7.0.rc1 config/initializers/subscriptions.rb