# Feed metadata
roles: "change_managers operators"
feed_title: "VMware VMs"
feed_description: "VMware Virtual machines added"
feed_link: "/alert/rss?feed=vmware_vms"

# Item metadata
item_title: |-
    <script>
        if rec.host != nil
          "#{rec.name} on Host #{rec.host.name}"
        elsif ! rec.repositories.empty?
          "#{rec.name} in Repository #{rec.repositories[0].name}"
        elsif rec.storage != nil
          "#{rec.name} at #{rec.storage.name}"
        else
          "#{rec.name} - location unknown"
        end
    </script>
item_description: "#{rec.name} is a #{rec.vendor_display} VM located at \\\"#{rec.location}\\\""
item_link: "/vm/show/#{rec.id}"
item_class: Vm

# Search criteria
#   search_method: find, nil or a custom method name
#   Custom method is called the following way:
#     <item_class>.method(<search_method>).<name>, <options>)
#   A nil value or a value of "find" use the default class find method
search_method:
search_conditions: "vendor = 'vmware'"
limit_to_time:
limit_to_count:
orderby: "created_on DESC"

# Included tables and columns for query performance
include:
  :host: {}
  :storage: {}
  :repositories: {}

# tags_include: any or all
tag_ns:
tags_include:
tags:

# Feed metadata
roles: "change_managers operators"
feed_title: "VMware VMs"
feed_description: "VMware Virtual machines added"
feed_link: "/alert/rss?feed=vmware_vms"

# Item metadata
item_title: |-
    <script>
        if rec.host != nil
          "#{rec.name} on Host #{rec.host.name}"
        elsif rec.storage != nil
          "#{rec.name} at #{rec.storage.name}"
        else
          "#{rec.name} - location unknown"
        end
    </script>
item_description: "#{rec.name} is a #{rec.vendor_display} VM located at \\\"#{rec.location}\\\""
item_link: "/vm/show/#{rec.id}"
item_class: Vm

# Search criteria
#   search_method: find, nil or a custom method name
#   Custom method is called the following way:
#     <item_class>.method(<search_method>).<name>, <options>)
#   A nil value or a value of "find" use the default class find method
search_method:
search_conditions: "vendor = 'vmware'"
limit_to_time:
limit_to_count:
orderby: "created_on DESC"

# Included tables and columns for query performance
include:
  :host: {}
  :storage: {}
  :repositories: {}

# tags_include: any or all
tag_ns:
tags_include:
tags:

Fix error when clicking on VMware VMs rss link
Fix error when clicking on VMware VMs rss link

https://bugzilla.redhat.com/show_bug.cgi?id=1357523
