Skip to content

Commit

Permalink
Merge pull request #159 from Ladas/new_refresh_handler_method
Browse files Browse the repository at this point in the history
New refresh method callable from the automate
  • Loading branch information
gmcculloug authored Aug 4, 2017
2 parents 101e8d0 + f483bb5 commit 47cf919
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
object_type: method
version: 1.0
object:
attributes:
name: refresh
display_name:
description:
scope: instance
language: ruby
location: builtin
inputs:
- field:
aetype:
name: target
display_name:
datatype: string
priority: 1
owner:
default_value:
substitute: true
message: create
visibility:
collect:
scope:
description:
condition:
on_entry:
on_exit:
on_error:
max_retries:
max_time:
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
object_type: method
version: 1.0
object:
attributes:
name: refresh_sync
display_name:
description:
scope: instance
language: ruby
location: builtin
inputs:
- field:
aetype:
name: target
display_name:
datatype: string
priority: 1
owner:
default_value:
substitute: true
message: create
visibility:
collect:
scope:
description:
condition:
on_entry:
on_exit:
on_error:
max_retries:
max_time:
12 changes: 12 additions & 0 deletions content/automate/ManageIQ/System/event_handlers.class/refresh.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: refresh
inherits:
description:
fields:
- meth1:
value: refresh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
object_type: instance
version: 1.0
object:
attributes:
display_name:
name: refresh_sync
inherits:
description:
fields:
- meth1:
value: refresh_sync

0 comments on commit 47cf919

Please sign in to comment.