Standard "Send an email" action
We need to have a standard Mistral action accessible in DSL for sending an email address. The suggested way of accessing it is "std:email" where "std" is the namespace for standard built-in actions that don't require an explicit declaration in DSL.
If a task is associated with this action then it should have the following parameters:
* "to" - a list of email addresses as a comma-separated list
* "subject" - email message subject
* "body" - email message body
The DSL snippet:
Workflow:
tasks:
sendCreateV
action: std:email
parameters:
to: <email address hidden>, <email address hidden>
subject: Workflow error
body: Failed to create a VM in execution {$.execution.id}
on-finish: end
Blueprint information
- Status:
- Complete
- Approver:
- Renat Akhmerov
- Priority:
- High
- Drafter:
- Renat Akhmerov
- Direction:
- Approved
- Assignee:
- Dmitri Zimine
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Dmitri Zimine
- Completed by
- Renat Akhmerov
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Send email action, first draft
Work Items
Work items:
Working send-email action: DONE
Add unit tests with mock: DONE
Add action to action_types and action_factory: DONE
Action settings in CONFIG: POSTPONED
Add to sample workflow in mirantis-extra: DONE
Add parameter validation: TODO
Break Actions to different files - move to extensibile actions blueprint: POSTPONED