+1 to Sagara's point of view.

It would be ideal if we can have one generic feature across the platform in
sending rich-human-undersdanble messages such as E-mails and SMSs,
so that it would cater any product having associated requirements at a
higher level.

@Lahiru, AFAIR, most recent EMM 2.2.0 and upcoming IoT releases have an
in-built email sending feature at the product level itself to support
associated requirements with device management.
The decision to write an inbuilt email-sending feature with template
support (using Velocity template engine) was made because of the fact that
we never had one generic feature across the platform to achieve the same.

Hope we can avoid any such duplication of the same capability across
multiple products, once this feature is done.

Thanks,
Dilan.

*Dilan U. Ariyaratne*
Senior Software Engineer
WSO2 Inc. <http://wso2.com/>
Mobile: +94766405580 <%2B94766405580>
lean . enterprise . middleware


On Mon, Jan 23, 2017 at 8:57 AM, Sagara Gunathunga <[email protected]> wrote:

>
> Sending E-mails is a very generic feature thus we have to make sure
> whatever we do here can be reuse within the platform not just within IS.
> Shall we arrange a discussion with Azeez, Suho and API-M folks before we
> continue to discuss E-Mail specific Implementation details ?
>
> Also E-Mail is just one way of notification, we need some sort of a
> generic framework/abstraction to send any type of  notification such as
> SMS. Once we have such design we can implantation E-Mail support as one
> notification type. I guess we can reuse most of the code/design from C4
> based CEP module.
>
> Thanks !
>
> On Mon, Jan 23, 2017 at 8:29 AM, Johann Nallathamby <[email protected]>
> wrote:
>
>> Hi Isura,
>>
>> On Mon, Jan 23, 2017 at 8:21 AM, Isura Karunaratne <[email protected]>
>> wrote:
>>
>>> Hi Danushka/Kasun,
>>>
>>>
>>>
>>> On Mon, Jan 23, 2017 at 7:00 AM, Kasun Bandara <[email protected]>
>>> wrote:
>>>
>>>> Hi Lahiru,
>>>>
>>>> Is there any specific reason to populate the email configurations under
>>>> 'config' directory ? . IMO these email template configurations must reside
>>>> under 'Identity' directory structure.
>>>>
>>>
>>> Email templates are not identity specific data. IMO email configurations
>>> should be in the conf directory, but not in Identity directory.
>>>
>>
>> Why we have email templates under identity directory in 5.3.0 is because
>> we made a decision to contain all identity server features under one root
>> directory, hence /identity. Not based on whether they are really a identity
>> related feature or not. Same applies to event-mgt.properties file.
>> Otherwise there can be naming conflicts coming from other repos. I also
>> think all identity server features must go under one directory.
>>
>> Regards,
>> Johann.
>>
>>
>>> Thanks
>>> Isura.
>>>
>>>>
>>>> Thanks,
>>>> Kasun.
>>>>
>>>> Kasun Gayan Bandara
>>>> PhD Research Student
>>>> Machine Learning Group
>>>>
>>>> Faculty of Information Technology, Clayton
>>>> Monash University
>>>> 25 Exhibition Walk, Clayton Campus
>>>> Wellington Road
>>>> Clayton VIC 3800
>>>> Australia.
>>>>
>>>> E: [email protected]
>>>> M (+61) 43 491 6476
>>>>
>>>> <https://www.linkedin.com/in/bandarakasun>
>>>>
>>>>
>>>>
>>>> On Sun, Jan 22, 2017 at 10:10 PM, Lahiru Manohara <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> We are implementing email management component for IS 6.0.0. The
>>>>> following properties will be included in the email template.
>>>>>
>>>>> configuration:
>>>>>  -
>>>>>   subject:
>>>>>   body:
>>>>>   footer:
>>>>>   type:
>>>>>   display:
>>>>>   locale:
>>>>>   emailContentType:
>>>>>
>>>>> The following directory structure will be used to keep the template
>>>>> based on the locale.
>>>>>
>>>>> config/
>>>>> └── email/
>>>>>     ├── en_US
>>>>>     │    └── email-admin-config.yaml
>>>>>     └── en_GB
>>>>>         └── email-admin-config.yaml
>>>>>
>>>>> Appreciate your suggestions on above design.
>>>>>
>>>>> Best Regards,
>>>>> --
>>>>> *Lahiru Manohara*
>>>>> *Software Engineer*
>>>>> Mobile: +94716561576
>>>>> WSO2 Inc. | http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> _______________________________________________
>>>>> Architecture mailing list
>>>>> [email protected]
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Johann Dilantha Nallathamby*
>> Technical Lead & Product Lead of WSO2 Identity Server
>> Governance Technologies Team
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - *+94777776950*
>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> Sagara Gunathunga
>
> Associate Director / Architect; WSO2, Inc.;  http://wso2.com
> V.P Apache Web Services;    http://ws.apache.org/
> Linkedin; http://www.linkedin.com/in/ssagara
> Blog ;  http://ssagara.blogspot.com
>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to