Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure order is qualified by table name for rss feeds #15112

Merged
merged 1 commit into from
May 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion product/alerts/rss/all_alert_event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ search_method:
search_conditions: "event_type = 'EVMAlertEvent'"
limit_to_time:
limit_to_count:
orderby: "timestamp DESC"
orderby:
:timestamp: :desc

# tags_include: any or all
tag_ns:
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/cluster_alert_event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ search_method:
search_conditions: "event_type = 'EVMAlertEvent' AND target_type = 'EmsCluster'"
limit_to_time:
limit_to_count:
orderby: "timestamp DESC"
orderby:
:timestamp: :desc

# tags_include: any or all
tag_ns:
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/dev_vms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ item_class: Vm
search_method:
limit_to_time:
limit_to_count:
orderby: "created_on DESC"
orderby:
:created_on: :desc

# Included tables and columns for query performance
include:
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/evmevents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ search_method:
search_conditions: "event_type = 'GeneralUserEvent' and message like '%EVM%'"
limit_to_time:
limit_to_count:
orderby: "created_on DESC"
orderby:
:created_on: :desc

# tags_include: any or all
tag_ns:
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/host_alert_event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ search_method:
search_conditions: "event_type = 'EVMAlertEvent' AND target_type = 'Host'"
limit_to_time:
limit_to_count:
orderby: "timestamp DESC"
orderby:
:timestamp: :desc

# tags_include: any or all
tag_ns:
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/lifecycle_events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ item_class: LifecycleEvent
search_method:
limit_to_time:
limit_to_count:
orderby: "created_on DESC"
orderby:
:created_on: :desc

# Included tables and columns for query performance
include:
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/microsoft_vms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ search_method:
search_conditions: "vendor = 'microsoft'"
limit_to_time:
limit_to_count:
orderby: "created_on DESC"
orderby:
:created_on: :desc

# Included tables and columns for query performance
include:
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/newest_hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ item_class: Host
search_method:
limit_to_time:
limit_to_count:
orderby: "created_on DESC"
orderby:
:created_on: :desc

# tags_include: any or all
tag_ns: "/managed/lifecycles"
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/newest_vms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ item_class: Vm
search_method:
limit_to_time:
limit_to_count:
orderby: "vms.created_on DESC"
orderby:
:created_on: :desc

# Included tables and columns for query performance
include:
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/polevents_vmconfiguration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ search_method:
search_conditions: "event_type = 'vm_create' OR event_type = 'vm_clone' OR event_type = 'vm_clone_start' OR event_type = 'vm_template' OR event_type = 'vm_reconfigure' OR event_type = 'request_vm_destroy'"
limit_to_time:
limit_to_count:
orderby: "timestamp DESC"
orderby:
:timestamp: :desc

# tags_include: any or all
tag_ns:
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/prod_hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ item_class: Host
search_method:
limit_to_time:
limit_to_count:
orderby: "created_on DESC"
orderby:
:created_on: :desc

# tags_include: any or all
tag_ns: "/managed/environment"
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/prod_vms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ item_class: Vm
search_method:
limit_to_time:
limit_to_count:
orderby: "created_on DESC"
orderby:
:created_on: :desc

# Included tables and columns for query performance
include:
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/test_vms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ item_class: Vm
search_method:
limit_to_time:
limit_to_count:
orderby: "created_on DESC"
orderby:
:created_on: :desc

# Included tables and columns for query performance
include:
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/vm_alert_event.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ search_method:
search_conditions: "event_type = 'EVMAlertEvent' AND target_type = 'VmOrTemplate'"
limit_to_time:
limit_to_count:
orderby: "timestamp DESC"
orderby:
:timestamp: :desc

# tags_include: any or all
tag_ns:
Expand Down
4 changes: 3 additions & 1 deletion product/alerts/rss/vmotionedvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ search_method:
search_conditions: "event_type = 'RelocateVM_Task_Complete'"
limit_to_time:
limit_to_count:
orderby: "created_on DESC"

# tags_include: any or all
tag_ns:
tags_include:
tags:
orderby:
:created_on: :desc

3 changes: 2 additions & 1 deletion product/alerts/rss/vmpowerevent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ search_method:
search_conditions: "event_type = 'VmPoweredOffEvent' OR event_type = 'VmPoweredOnEvent'"
limit_to_time:
limit_to_count:
orderby: "created_on DESC"
orderby:
:created_on :desc

# tags_include: any or all
tag_ns:
Expand Down
3 changes: 2 additions & 1 deletion product/alerts/rss/vmpoweroff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ search_method:
search_conditions: "event_type = 'VmPoweredOffEvent'"
limit_to_time:
limit_to_count:
orderby: "created_on DESC"
orderby:
:created_on :desc

# tags_include: any or all
tag_ns:
Expand Down
4 changes: 3 additions & 1 deletion product/alerts/rss/vmreconfigevent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ search_method:
search_conditions: "event_type = 'ReconfigVM_Task_Complete'"
limit_to_time:
limit_to_count:
orderby: "created_on DESC"

# tags_include: any or all
tag_ns:
tags_include:
tags:
orderby:
:created_on: :desc

3 changes: 2 additions & 1 deletion product/alerts/rss/vmware_vms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ search_method:
search_conditions: "vendor = 'vmware'"
limit_to_time:
limit_to_count:
orderby: "created_on DESC"
orderby:
:created_on: :desc

# Included tables and columns for query performance
include:
Expand Down