Sha256: 79ae1217e00a646ef6ade0870de4e8a1352cff763eec76a3241d2aeb6db8d77a

Contents?: true

Size: 541 Bytes

Versions: 34

Compression:

Stored size: 541 Bytes

Contents

# seeds UI notification blueprints that are supported by Disocvery.
[
  {
    group: _('New hosts'),
    name: 'new_discovered_host',
    message: _('One or more hosts have been discovered'),
    level: 'info',
    actions:
    {
      links:
      [
        path_method: :discovered_hosts_path,
        title: _('Details'),
      ],
    },
  },
  {
    group: _('Hosts'),
    name: 'failed_discovery',
    message: _('Error message goes here'),
    level: 'error',
  },
].each { |blueprint| UINotifications::Seed.new(blueprint).configure }

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
foreman_discovery-25.0.0 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-24.0.2 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-23.0.2 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-24.0.1 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-24.0.0 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-23.0.1 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-23.0.0 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-22.0.4 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-21.0.5 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-22.0.2 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-21.0.4 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-21.0.3 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-21.0.2 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-19.0.5 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-19.0.4 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-21.0.1 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-19.0.3 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-21.0.0 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-19.0.2 db/seeds.d/80_discovery_ui_notification.rb
foreman_discovery-20.0.1 db/seeds.d/80_discovery_ui_notification.rb