Hi All,

According to the requirement in [1], I am working on implementing the
$subject.

*Requirement*

The requirement is to send an e-mail notification to users with a specified
role once the lifecycle state of an asset changes. The roles to be notified
needs to be configured for each state transition. A sample use case of the
requirement is as follows.

In Connector Store, once a connector is newly added by a developer, it can
be promoted to 'In-Review' state. Then all the users with the role
'reviewer' need to be notified. Once the connector is reviewed and
transferred to 'Published' state, the developer needs to be notified.

*Approach*

As per the discussions I had with Ruchira and SameeraM,

   - the roles to be notified in each state transition could be defined in
   the lifecycle configuration.
   - An executor in ES which will be triggered on lifecycle state change
   can be improved to handle email sending.
   - implement this feature based on eventing feature in registry

*Issues*

We require to send a customized message in the email depending on the state
transition, asset type etc. Currently, the message body can not be
customized in registry.

What could be the best approach in implementing the above feature?

[1] https://wso2.org/jira/browse/STORE-457

Thank you,
Sameera



-- 



*Thanks & Regards,Sameera Jayaratna Software Engineer; **WSO2 Inc. *

*lean . enterprise . middleware |  http://wso2.com <http://wso2.com> *
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to