Re: [Dev] Is there an already available Email Executor for Greg?

2013-10-08 Thread Shazni Nazeer
Hi Dulitha,

Currently we don't have an email executor for asset life cycle change. But
as far as I know there is way to invoke a particular service when a state
change occurs.

Shazni Nazeer
Senior Software Engineer

Mob: +94 715 440 607


On Tue, Oct 8, 2013 at 11:07 AM, Chan duli...@wso2mobile.com wrote:

 Hi Nuwan,
 The change LC state is triggered when ever a Life Cycle state is changed -
 we can't capture per life cycle state change. Let me revise the requirement
 - I want to fire off an email when an asset's life cycle state change to X
 state.

 Cheers


 On Tue, Oct 8, 2013 at 9:28 AM, Nuwan Silva nuw...@wso2.com wrote:

 Is this [1] what your looking for?

 *Change LC State* - Represents the event of changing a lifecycle state

 [1]
 http://docs.wso2.org/display/Governance460/Adding+a+Subscription#AddingaSubscription-AddSubscriptionOptions%C2%A0


 On Mon, Oct 7, 2013 at 10:40 PM, Chan duli...@wso2mobile.com wrote:

 $subject? The requirement is to fire off an email when a state
 transition happens in asset in the Enterprise-Store.

 Cheers!
 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2mobile.com*
 *  ~Mobile +94712112165*
 *  ~Website   dulithawijewantha.com
 *
 *  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
 *
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *
 *
 *Nuwan Silva
 *
 *Senior Software Engineer - QA*
 Mobile: +94779804543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com




 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2mobile.com*
 *  ~Mobile +94712112165*
 *  ~Website   dulithawijewantha.com
 *
 *  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
 *
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is there an already available Email Executor for Greg?

2013-10-08 Thread Isuruwan Herath
Hi Chan,

Yes, you can subscribe to Change LC status via email.

See doc :

   - *Change LC State* - Represents the event of changing a lifecycle state


Regs!
Isuruwan


On Tue, Oct 8, 2013 at 11:07 AM, Chan duli...@wso2mobile.com wrote:

 Hi Nuwan,
 The change LC state is triggered when ever a Life Cycle state is changed -
 we can't capture per life cycle state change. Let me revise the requirement
 - I want to fire off an email when an asset's life cycle state change to X
 state.

 Cheers


 On Tue, Oct 8, 2013 at 9:28 AM, Nuwan Silva nuw...@wso2.com wrote:

 Is this [1] what your looking for?

 *Change LC State* - Represents the event of changing a lifecycle state

 [1]
 http://docs.wso2.org/display/Governance460/Adding+a+Subscription#AddingaSubscription-AddSubscriptionOptions%C2%A0


 On Mon, Oct 7, 2013 at 10:40 PM, Chan duli...@wso2mobile.com wrote:

 $subject? The requirement is to fire off an email when a state
 transition happens in asset in the Enterprise-Store.

 Cheers!
 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2mobile.com*
 *  ~Mobile +94712112165*
 *  ~Website   dulithawijewantha.com
 *
 *  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
 *
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *
 *
 *Nuwan Silva
 *
 *Senior Software Engineer - QA*
 Mobile: +94779804543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com




 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2mobile.com*
 *  ~Mobile +94712112165*
 *  ~Website   dulithawijewantha.com
 *
 *  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
 *
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Isuruwan Herath
Technical Lead

Contact: +94 776 273 296
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is there an already available Email Executor for Greg?

2013-10-08 Thread Chan
We will have to write a custom executor to send an email- to trigger from
the lifecycle state change. Also we will have to send the dynamic email
parameters from promote method with a ThreadLocal. Also the promote method
is invoked via a jaggery code so we'll have to utilize the thread local in
jaggery. @Nuwan - is it possible to access ThreadLocal from jaggery?

Cheers


On Tue, Oct 8, 2013 at 11:35 AM, Shazni Nazeer sha...@wso2.com wrote:

 Hi Dulitha,

 Currently we don't have an email executor for asset life cycle change. But
 as far as I know there is way to invoke a particular service when a state
 change occurs.

 Shazni Nazeer
 Senior Software Engineer

 Mob: +94 715 440 607


 On Tue, Oct 8, 2013 at 11:07 AM, Chan duli...@wso2mobile.com wrote:

 Hi Nuwan,
 The change LC state is triggered when ever a Life Cycle state is changed
 - we can't capture per life cycle state change. Let me revise the
 requirement - I want to fire off an email when an asset's life cycle state
 change to X state.

 Cheers


 On Tue, Oct 8, 2013 at 9:28 AM, Nuwan Silva nuw...@wso2.com wrote:

 Is this [1] what your looking for?

 *Change LC State* - Represents the event of changing a lifecycle state

 [1]
 http://docs.wso2.org/display/Governance460/Adding+a+Subscription#AddingaSubscription-AddSubscriptionOptions%C2%A0


 On Mon, Oct 7, 2013 at 10:40 PM, Chan duli...@wso2mobile.com wrote:

 $subject? The requirement is to fire off an email when a state
 transition happens in asset in the Enterprise-Store.

 Cheers!
 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2mobile.com*
 *  ~Mobile +94712112165*
 *  ~Website   dulithawijewantha.com
 *
 *  ~Blog 
 blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
 *
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *
 *
 *Nuwan Silva
 *
 *Senior Software Engineer - QA*
 Mobile: +94779804543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com




 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2mobile.com*
 *  ~Mobile +94712112165*
 *  ~Website   dulithawijewantha.com
 *
 *  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
 *
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev





-- 
Chan (Dulitha Wijewantha)
Software Engineer - Mobile Development
WSO2Mobile
Lean.Enterprise.Mobileware
 * ~Email   duli...@wso2mobile.com*
*  ~Mobile +94712112165*
*  ~Website   dulithawijewantha.com
*
*  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
*
*  ~Twitter @dulitharw https://twitter.com/dulitharw*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Is there an already available Email Executor for Greg?

2013-10-07 Thread Chan
$subject? The requirement is to fire off an email when a state transition
happens in asset in the Enterprise-Store.

Cheers!
-- 
Chan (Dulitha Wijewantha)
Software Engineer - Mobile Development
WSO2Mobile
Lean.Enterprise.Mobileware
 * ~Email   duli...@wso2mobile.com*
*  ~Mobile +94712112165*
*  ~Website   dulithawijewantha.com
*
*  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
*
*  ~Twitter @dulitharw https://twitter.com/dulitharw*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is there an already available Email Executor for Greg?

2013-10-07 Thread Nuwan Silva
Is this [1] what your looking for?

*Change LC State* - Represents the event of changing a lifecycle state

[1]
http://docs.wso2.org/display/Governance460/Adding+a+Subscription#AddingaSubscription-AddSubscriptionOptions%C2%A0


On Mon, Oct 7, 2013 at 10:40 PM, Chan duli...@wso2mobile.com wrote:

 $subject? The requirement is to fire off an email when a state transition
 happens in asset in the Enterprise-Store.

 Cheers!
 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2mobile.com*
 *  ~Mobile +94712112165*
 *  ~Website   dulithawijewantha.com
 *
 *  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
 *
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*
*
*Nuwan Silva
*
*Senior Software Engineer - QA*
Mobile: +94779804543

WSO2 Inc.
lean . enterprise . middlewear.
http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Is there an already available Email Executor for Greg?

2013-10-07 Thread Chan
Hi Nuwan,
The change LC state is triggered when ever a Life Cycle state is changed -
we can't capture per life cycle state change. Let me revise the requirement
- I want to fire off an email when an asset's life cycle state change to X
state.

Cheers


On Tue, Oct 8, 2013 at 9:28 AM, Nuwan Silva nuw...@wso2.com wrote:

 Is this [1] what your looking for?

 *Change LC State* - Represents the event of changing a lifecycle state

 [1]
 http://docs.wso2.org/display/Governance460/Adding+a+Subscription#AddingaSubscription-AddSubscriptionOptions%C2%A0


 On Mon, Oct 7, 2013 at 10:40 PM, Chan duli...@wso2mobile.com wrote:

 $subject? The requirement is to fire off an email when a state transition
 happens in asset in the Enterprise-Store.

 Cheers!
 --
 Chan (Dulitha Wijewantha)
 Software Engineer - Mobile Development
 WSO2Mobile
 Lean.Enterprise.Mobileware
  * ~Email   duli...@wso2mobile.com*
 *  ~Mobile +94712112165*
 *  ~Website   dulithawijewantha.com
 *
 *  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
 *
 *  ~Twitter @dulitharw https://twitter.com/dulitharw*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *
 *
 *Nuwan Silva
 *
 *Senior Software Engineer - QA*
 Mobile: +94779804543

 WSO2 Inc.
 lean . enterprise . middlewear.
 http://www.wso2.com




-- 
Chan (Dulitha Wijewantha)
Software Engineer - Mobile Development
WSO2Mobile
Lean.Enterprise.Mobileware
 * ~Email   duli...@wso2mobile.com*
*  ~Mobile +94712112165*
*  ~Website   dulithawijewantha.com
*
*  ~Blog blog.dulithawijewantha.comhttp://dulichan.github.io/chan/
*
*  ~Twitter @dulitharw https://twitter.com/dulitharw*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev