Skip to content

Commit

Permalink
Merge pull request #98 from billfitzgerald0120/ae_reason_to_string
Browse files Browse the repository at this point in the history
Changed ${/#ae_reason} to a string value in on_error methods.
  • Loading branch information
mkanoor authored May 4, 2017
2 parents 19769b9 + 595a237 commit b92d4a4
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ object:
condition:
on_entry: update_serviceprovision_status(status => 'Launching Job')
on_exit: update_serviceprovision_status(status => 'Launching Job')
on_error: update_serviceprovision_status(status => '${/#ae_reason}')
on_error: update_serviceprovision_status(status => 'Error Launching Job')
max_retries: '100'
max_time:
- field:
Expand All @@ -168,7 +168,7 @@ object:
condition:
on_entry:
on_exit: update_serviceprovision_status(status => 'Launching Job')
on_error: update_serviceprovision_status(status => '${/#ae_reason}')
on_error: update_serviceprovision_status(status => 'Error Launching Job')
max_retries: '100'
max_time:
- field:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ object:
condition:
on_entry: update_serviceprovision_status(status => 'Creating Stack')
on_exit: update_serviceprovision_status(status => 'Creating Stack')
on_error: update_serviceprovision_status(status => '${/#ae_reason}')
on_error: update_serviceprovision_status(status => 'Error Creating Stack')
max_retries: '100'
max_time:
- field:
Expand All @@ -168,7 +168,7 @@ object:
condition:
on_entry:
on_exit: update_serviceprovision_status(status => 'Creating Stack')
on_error: update_serviceprovision_status(status => '${/#ae_reason}')
on_error: update_serviceprovision_status(status => 'Error Creating Stack')
max_retries: '100'
max_time:
- field:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ object:
condition:
on_entry: update_servicereconfigure_status(status => 'Updating Stack')
on_exit: update_servicereconfigure_status(status => 'Updating Stack')
on_error: update_servicereconfigure_status(status => '${/#ae_reason}')
on_error: update_servicereconfigure_status(status => 'Error Updating Stack')
max_retries: '100'
max_time:
- field:
Expand All @@ -148,7 +148,7 @@ object:
condition:
on_entry:
on_exit: update_servicereconfigure_status(status => 'Updating Stack')
on_error: update_servicereconfigure_status(status => '${/#ae_reason}')
on_error: update_servicereconfigure_status(status => 'Error Updating Stack')
max_retries: '100'
max_time:
- field:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ object:
condition:
on_entry:
on_exit: update_provision_status(status => 'Creating VM')
on_error: update_provision_status(status => '${/#ae_reason}')
on_error: update_provision_status(status => 'Error Creating VM')
max_retries: '100'
max_time:
- field:
Expand Down Expand Up @@ -296,7 +296,7 @@ object:
name: Finished
display_name:
datatype: string
priority: 16
priority: 15
owner:
default_value: "/System/CommonMethods/StateMachineMethods/vm_provision_finished"
substitute: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ object:
condition:
on_entry: update_serviceprovision_status(status => 'Launching Job')
on_exit: update_serviceprovision_status(status => 'Launching Job')
on_error: update_serviceprovision_status(status => '${/#ae_reason}')
on_error: update_serviceprovision_status(status => 'Error Launching Job')
max_retries: '100'
max_time:
- field:
Expand All @@ -168,7 +168,7 @@ object:
condition:
on_entry:
on_exit: update_serviceprovision_status(status => 'Launching Job')
on_error: update_serviceprovision_status(status => '${/#ae_reason}')
on_error: update_serviceprovision_status(status => 'Error Launching Job')
max_retries: '100'
max_time:
- field:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ object:
condition:
on_entry: update_provision_status(status => 'Provision System')
on_exit: update_provision_status(status => 'Provision System')
on_error: update_provision_status(status => '${/#ae_reason}')
on_error: update_provision_status(status => 'Error Provisioning System')
max_retries: '100'
max_time:
- field:
Expand All @@ -148,7 +148,7 @@ object:
condition:
on_entry:
on_exit: update_provision_status(status => 'Provision System')
on_error: update_provision_status(status => '${/#ae_reason}')
on_error: update_provision_status(status => 'Error Provisioning System')
max_retries: '100'
max_time:
- field:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ object:
condition:
on_entry:
on_exit: update_provision_status(status => 'Provisioning Host')
on_error: update_provision_status(status => '${/#ae_reason}')
on_error: update_provision_status(status => 'Error Provisioning Host')
max_retries: '100'
max_time:
- field:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ object:
condition:
on_entry:
on_exit: update_migration_status(status => 'Migrating VM')
on_error: update_migration_status(status => '${/#ae_reason}')
on_error: update_migration_status(status => 'Error Migrating VM')
max_retries: '100'
max_time:
- field:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ object:
condition:
on_entry:
on_exit: update_provision_status(status => 'Creating Template')
on_error: update_provision_status(status => '${/#ae_reason}')
on_error: update_provision_status(status => 'Error Creating Template')
max_retries: '100'
max_time:
- field:
Expand Down Expand Up @@ -196,7 +196,7 @@ object:
name: Finished
display_name:
datatype: string
priority: 16
priority: 10
owner:
default_value: "/System/CommonMethods/StateMachineMethods/vm_provision_finished"
substitute: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ object:
condition:
on_entry:
on_exit: update_provision_status(status => 'Creating VM')
on_error: update_provision_status(status => '${/#ae_reason}')
on_error: update_provision_status(status => 'Error Creating VM')
max_retries: '100'
max_time:
- field:
Expand Down Expand Up @@ -296,7 +296,7 @@ object:
name: Finished
display_name:
datatype: string
priority: 16
priority: 15
owner:
default_value: "/System/CommonMethods/StateMachineMethods/vm_provision_finished"
substitute: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ object:
value: METHOD::execute
on_entry: update_status(status => 'Starting execute')
on_exit: update_status(status => 'Ending execute')
on_error: update_status(status => '${/#ae_reason}')
on_error: update_status(status => 'Error Processing execute')
- check_completed:
value: METHOD::check_completed
on_exit: update_status(status => 'Processed check_completed')
Expand All @@ -31,7 +31,7 @@ object:
value: METHOD::refresh
on_entry: update_status(status => 'Processing refresh')
on_exit: update_status(status => 'Processed refresh')
on_error: update_status(status => '${/#ae_reason}')
on_error: update_status(status => 'Error Processing refresh')
- check_refreshed:
value: METHOD::check_refreshed
on_exit: update_status(status => 'Processed check_refreshed')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ object:
value: METHOD::execute
on_entry: update_status(status => 'Starting execute')
on_exit: update_status(status => 'Ending execute')
on_error: update_status(status => '${/#ae_reason}')
on_error: update_status(status => 'Error Processing execute')
- check_completed:
value: METHOD::check_completed
on_exit: update_status(status => 'Processed check_completed')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ object:
value: METHOD::execute
on_entry: update_status(status => 'Starting execute')
on_exit: update_status(status => 'Ending execute')
on_error: update_status(status => '${/#ae_reason}')
on_error: update_status(status => 'Error Processing execute')
- check_completed:
value: METHOD::check_completed
on_exit: update_status(status => 'Processed check_completed')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ object:
value: METHOD::execute
on_entry: update_status(status => 'Starting execute')
on_exit: update_status(status => 'Ending execute')
on_error: update_status(status => '${/#ae_reason}')
on_error: update_status(status => 'Error Processing execute')
- check_completed:
value: METHOD::check_completed
on_exit: update_status(status => 'Processed check_completed')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ object:
condition:
on_entry:
on_exit: update_serviceprovision_status(status => 'Creating Service')
on_error: update_serviceprovision_status(status => '${/#ae_reason}')
on_error: update_serviceprovision_status(status => 'Error Creating Service')
max_retries: '100'
max_time:
- field:
Expand Down

0 comments on commit b92d4a4

Please sign in to comment.