Re: [Dev] [MB]Schedule time interval for deleting expired messages

2016-09-04 Thread Sajini De Silva
Its hard to say what should be the exact correct time interval. IIt depends
on the messaging rate actually. I think one DB call per 10 seconds seems
oky. Are there any issues with this value?


On Mon, Sep 5, 2016 at 11:16 AM, Sirojan Tharmakulasingam 
wrote:

> Hi all,
>
> At the MB message delivery path, we capture the expired messages and batch
> it for a batch delete from the database rather than issue a delete DB call
> for each expired messages.
>
> what is the suitable time interval for batching the expired messages for
> the DB batch delete?
>
> The current suggestion is 10sec. Your suggestions please...
>
> Regards,
> --
> Sirojan Tharmakulasingam
> Software Engineer, WSO2 Inc. http://wso2.com
> Email: siro...@wso2.com
> Mobile: +94779797913
>



-- 
Sajini De SIlva
Senior Software Engineer; WSO2 Inc.; http://wso2.com ,
Email: saj...@wso2.com
Blog: http://sajinid.blogspot.com/
Git hub profile: https://github.com/sajinidesilva

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


[Dev] [MB]Schedule time interval for deleting expired messages

2016-09-04 Thread Sirojan Tharmakulasingam
Hi all,

At the MB message delivery path, we capture the expired messages and batch
it for a batch delete from the database rather than issue a delete DB call
for each expired messages.

what is the suitable time interval for batching the expired messages for
the DB batch delete?

The current suggestion is 10sec. Your suggestions please...

Regards,
-- 
Sirojan Tharmakulasingam
Software Engineer, WSO2 Inc. http://wso2.com
Email: siro...@wso2.com
Mobile: +94779797913
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DS] Please review and merge this PR

2016-09-04 Thread Ramindu De Silva
Hi Tharik,

Even when using the pull mode[1], it gets the provider data from [2]. And
it gives the data according to the conf. But in our scenario, the conf (the
query) is getting changes dynamically. And also, in the initial pull mode
contains data (which is not filtered since it doesnt take the lucine query
we define in to consider.

[1] https://github.com/wso2/carbon-dashboards/blob/2.0.x/
apps/portal/templates/gadgets/gadget-generation-templates/
js/gadget-core.js.hbs#L72
[2]
https://github.com/wso2/carbon-dashboards/blob/2.0.x/apps/portal/templates/gadgets/gadget-generation-templates/js/gadget-core.js.hbs#L55

Best Regards,

On Fri, Sep 2, 2016 at 1:24 PM, Tharik Kanaka  wrote:

> Hi Suho and Ramindu,
>
> Above fix is no needed as "else" block will be executed for realtime
> providers (push mode)  [1].  There we call "draw" method of the chart which
> draw the chart even without the data. Then only we register call back to
> push. In that call back we don't redraw the chart we just update previously
> drawn chart. If call draw() on callbacks there will be a chart refreshing
> in the UI as it redraws.
>
> Here he new provider is going to access DAS tables using query params
> which is a pull mode operation [2]. There basically we draw the chart with
> pulled data and then set interval to call draw method periodically. If its
> a such operation in that particular provider getMode should be "PULL" as in
> the batch provider [3] Also please refer the branch 2.0.x of
> carbon-dashboard which is used cep and das packs instead of master
> branch.
>
>
> [1] https://github.com/wso2/carbon-dashboards/blob/2.0.x/
> apps/portal/templates/gadgets/gadget-generation-templates/
> js/gadget-core.js.hbs#L77
>
> [2] https://github.com/wso2/carbon-dashboards/blob/2.0.x/
> apps/portal/templates/gadgets/gadget-generation-templates/
> js/gadget-core.js.hbs#L72
>
> [3] https://github.com/wso2/carbon-analytics-common/blob/
> master/features/analytics-gadget-templates/org.wso2.
> carbon.analytics.gadget.batch.provider.template.feature/src/
> main/providers/batch/api.js#L126
>
> Regards,
>
> On Fri, Sep 2, 2016 at 12:16 PM, Sriskandarajah Suhothayan 
> wrote:
>
>> @Tharick how its working in Real-time provider without this fix?
>>
>> Regards
>> Suho
>>
>> On Fri, Sep 2, 2016 at 11:02 AM, Ramindu De Silva 
>> wrote:
>>
>>> Hi DS team,
>>>
>>> Could you please review and merger PR[1].
>>> This was due to the new provider implemented to access DAS tables using
>>> query params in the dashboard.
>>> Since the "registerCallBackForPush" method calls for the "update" method
>>> in the gadget, the gadget's view is not getting created using the schema
>>> since there's no data . So I had to add extra parameter in-order to make
>>> the gadget work.
>>>
>>> 1. https://github.com/wso2/carbon-dashboards/pull/368
>>>
>>> Best Regards,
>>>
>>> --
>>> *Ramindu De Silva*
>>> Software Engineer
>>> WSO2 Inc.: http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: ramin...@wso2.com 
>>> mob: +94 772339350
>>> mob: +94 719678895
>>>
>>
>>
>>
>> --
>>
>> *S. Suhothayan*
>> Associate Director / Architect & Team Lead of WSO2 Complex Event
>> Processor
>> *WSO2 Inc. *http://wso2.com
>> * *
>> lean . enterprise . middleware
>>
>>
>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>> http://suhothayan.blogspot.com/ twitter:
>> http://twitter.com/suhothayan  | linked-in:
>> http://lk.linkedin.com/in/suhothayan *
>>
>
>
>
> --
>
> *Tharik Kanaka*
>
> WSO2, Inc | lean . enterprise . middleware
>
> Email: tha...@wso2.com | Web: www.wso2.com
>



-- 
*Ramindu De Silva*
Software Engineer
WSO2 Inc.: http://wso2.com
lean.enterprise.middleware

email: ramin...@wso2.com 
mob: +94 772339350
mob: +94 719678895
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mushthaq Rumy

2016-09-04 Thread Madawa Soysa
Congrats Rumy!!!

On Mon, Sep 5, 2016 at 10:23 AM, Sameera Gunarathne 
wrote:

> Congrats Rumy!!!
>
> On Mon, Sep 5, 2016 at 10:16 AM, Malintha Fernando 
> wrote:
>
>> Congrats Rumy! :)
>>
>> On Mon, Sep 5, 2016 at 9:20 AM, Grainier Perera 
>> wrote:
>>
>>> Congratulations Rumy!!!
>>>
>>> On Fri, Sep 2, 2016 at 11:50 AM, Chandana Napagoda 
>>> wrote:
>>>
 Hi all,

 It is my pleasure to welcome Mushthaq Rumy as a WSO2 Committer. Rumy
 has made some great contributions to WSO2 Governance Registry and WSO2
 Enterprise Store products during the last few months and in recognition of
 his commitment and contributions, he has been voted as a Committer for 
 WSO2.

 Rumy, welcome aboard and keep up the good work.

 Best Regards,
 Chandana

 --
 *Chandana Napagoda*
 Associate Technical Lead
 WSO2 Inc. - http://wso2.org

 *Email  :  chand...@wso2.com **Mobile :
 +94718169299 <%2B94718169299>*

 *Blog  :http://cnapagoda.blogspot.com
  | http://chandana.napagoda.com
 *


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


>>>
>>>
>>> --
>>> Grainier Perera
>>> Software Engineer
>>> Mobile : +94716122384
>>> WSO2 Inc. | http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Malintha Fernando
>> Software Engineer
>> WSO2 Inc. | http://wso2.com
>> Mobile : +94 718874922
>> Blog : http://blog.malintha.org
>>
>> Lean . Enterprise . Middleware
>>
>>
>>
>>
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sameera Gunarathne
> Software Engineer, WSO2 Inc. http://wso2.com
> 
> Email: samee...@wso2.com
> Mobile: +94714155561
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Madawa Soysa / Software Engineer
mada...@wso2.com / +94714616050

*WSO2 Inc.*
lean.enterprise.middleware

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


Re: [Dev] WSO2 Committers += Mushthaq Rumy

2016-09-04 Thread Sameera Gunarathne
Congrats Rumy!!!

On Mon, Sep 5, 2016 at 10:16 AM, Malintha Fernando 
wrote:

> Congrats Rumy! :)
>
> On Mon, Sep 5, 2016 at 9:20 AM, Grainier Perera  wrote:
>
>> Congratulations Rumy!!!
>>
>> On Fri, Sep 2, 2016 at 11:50 AM, Chandana Napagoda 
>> wrote:
>>
>>> Hi all,
>>>
>>> It is my pleasure to welcome Mushthaq Rumy as a WSO2 Committer. Rumy has
>>> made some great contributions to WSO2 Governance Registry and WSO2
>>> Enterprise Store products during the last few months and in recognition of
>>> his commitment and contributions, he has been voted as a Committer for WSO2.
>>>
>>> Rumy, welcome aboard and keep up the good work.
>>>
>>> Best Regards,
>>> Chandana
>>>
>>> --
>>> *Chandana Napagoda*
>>> Associate Technical Lead
>>> WSO2 Inc. - http://wso2.org
>>>
>>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>>> <%2B94718169299>*
>>>
>>> *Blog  :http://cnapagoda.blogspot.com
>>>  | http://chandana.napagoda.com
>>> *
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Grainier Perera
>> Software Engineer
>> Mobile : +94716122384
>> WSO2 Inc. | http://wso2.com
>> lean.enterprise.middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Malintha Fernando
> Software Engineer
> WSO2 Inc. | http://wso2.com
> Mobile : +94 718874922
> Blog : http://blog.malintha.org
>
> Lean . Enterprise . Middleware
>
>
>
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Sameera Gunarathne
Software Engineer, WSO2 Inc. http://wso2.com

Email: samee...@wso2.com
Mobile: +94714155561
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] OSGI Service to provision users and roles based on the SAML response.

2016-09-04 Thread Dimuthu Leelarathne
Hi Ishara,

On Fri, Sep 2, 2016 at 11:19 AM, Ishara Cooray  wrote:

> Hi All,
>
> I thought of introducing a new Authenticator config to
> repository/conf/security/authenticators.xml
> And it will use only below properties to do the $Subject.
>
> 
> 9
> 
> http
> ://wso2.org/claims/role
> ,
> true
> PRIMARY
> 
> 
>
> Any objections?
>

I think the existing SAMLSSOAuthenticator should allow JIT provisioning
when we switch on a configuration. If we keep adding more and more
Authenticators for small functionalities it will be cluttered collection in
the end. The same happened to Carbon components. We have so many components
and can't make the head or tail out of it.

thanks,
Dimuthu


> Thanks & Regards,
> Ishara Cooray
> Senior Software Engineer
> Mobile : +9477 262 9512
> WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> On Wed, Aug 31, 2016 at 1:43 PM, Ishara Cooray  wrote:
>
>> + Prabath, Johann
>>
>> Thanks & Regards,
>> Ishara Cooray
>> Senior Software Engineer
>> Mobile : +9477 262 9512
>> WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> On Wed, Aug 31, 2016 at 1:27 PM, Pamod Sylvester  wrote:
>>
>>> Would it make sense to have it under "user-mgt.xml" ?
>>>
>>> On Wed, Aug 31, 2016 at 1:00 PM, Ishara Cooray  wrote:
>>>
 Hi,
 I am working on the $Subject.

 *Motivation:*
 I have a use case where i want to authorize users who are logged into
 API publisher/ store but APIM does not have the access to underline user
 store.

 *Plan:*
 The plan is to write an osgi service that should do the Just In Time
 provisioning before the permission check to authorize the user. And it will
 get the roles from the SAML response and do the provisioning.

 But we will have to do the same role/permission mapping manually for
 now.

 If we write a generic service  we can plug it into any wso2 product
 that need JIT provision initiated by the Service provider.
 However we need to maintain few configurations here.

1. isServiceProvierInitiatedJITProvisioningEnabled
2. User store to be provisioned
3. Implementation class (extension point)

 What could be the best place to maintain this configuration if the
 component is written as a generic component to any wso2 product?


 Thanks & Regards,
 Ishara Cooray
 Senior Software Engineer
 Mobile : +9477 262 9512
 WSO2, Inc. | http://wso2.com/
 Lean . Enterprise . Middleware

 ___
 Architecture mailing list
 architect...@wso2.org
 https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture


>>>
>>>
>>> --
>>> *Pamod Sylvester *
>>>
>>> *WSO2 Inc.; http://wso2.com *
>>> cell: +94 77 7779495
>>>
>>> ___
>>> Architecture mailing list
>>> architect...@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Dimuthu Leelarathne
Director, Solutions Architecture

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com
Mobile: +94773661935
Blog: http://muthulee.blogspot.com

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


Re: [Dev] WSO2 Committers += Mushthaq Rumy

2016-09-04 Thread Malintha Fernando
Congrats Rumy! :)

On Mon, Sep 5, 2016 at 9:20 AM, Grainier Perera  wrote:

> Congratulations Rumy!!!
>
> On Fri, Sep 2, 2016 at 11:50 AM, Chandana Napagoda 
> wrote:
>
>> Hi all,
>>
>> It is my pleasure to welcome Mushthaq Rumy as a WSO2 Committer. Rumy has
>> made some great contributions to WSO2 Governance Registry and WSO2
>> Enterprise Store products during the last few months and in recognition of
>> his commitment and contributions, he has been voted as a Committer for WSO2.
>>
>> Rumy, welcome aboard and keep up the good work.
>>
>> Best Regards,
>> Chandana
>>
>> --
>> *Chandana Napagoda*
>> Associate Technical Lead
>> WSO2 Inc. - http://wso2.org
>>
>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>> <%2B94718169299>*
>>
>> *Blog  :http://cnapagoda.blogspot.com 
>> | http://chandana.napagoda.com *
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Grainier Perera
> Software Engineer
> Mobile : +94716122384
> WSO2 Inc. | http://wso2.com
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Malintha Fernando
Software Engineer
WSO2 Inc. | http://wso2.com
Mobile : +94 718874922
Blog : http://blog.malintha.org

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


Re: [Dev] WSO2 Committers += Mushthaq Rumy

2016-09-04 Thread Grainier Perera
Congratulations Rumy!!!

On Fri, Sep 2, 2016 at 11:50 AM, Chandana Napagoda 
wrote:

> Hi all,
>
> It is my pleasure to welcome Mushthaq Rumy as a WSO2 Committer. Rumy has
> made some great contributions to WSO2 Governance Registry and WSO2
> Enterprise Store products during the last few months and in recognition of
> his commitment and contributions, he has been voted as a Committer for WSO2.
>
> Rumy, welcome aboard and keep up the good work.
>
> Best Regards,
> Chandana
>
> --
> *Chandana Napagoda*
> Associate Technical Lead
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile : +94718169299
> <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com 
> | http://chandana.napagoda.com *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Grainier Perera
Software Engineer
Mobile : +94716122384
WSO2 Inc. | http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Elilmatha Sivanesan

2016-09-04 Thread Hariprasath Thanarajah
Congratz Elilmatha...

On Saturday, September 3, 2016, Kesavan Yogarajah  wrote:

> Congratulations Elilmatha !!!
>
> Kesavan Yogarajah
> Software Engineer
> Mobile :+94 (0) 779 758021
> kesav...@wso2.com 
> WSO2, Inc.
> lean . enterprise . middleware
>
> On Sat, Sep 3, 2016 at 3:55 AM, Malaka Silva  > wrote:
>
>> Hi Devs,
>>
>> Its my pleasure to welcome Elilmatha Sivanesan as a WSO2 Committer.
>>
>> She has been working with the WSO2 Platform Extensions Team for a while
>> and has contributed to  ESB and IS product extensions,
>>
>> Elilmatha, welcome aboard and keep up the good work.
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Technical Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> https://wso2.com/signature
>> http://www.wso2.com/about/team/malaka-silva/
>> 
>> https://store.wso2.com/store/
>>
>> Don't make Trees rare, we should keep them with care
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org 
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>

-- 


*Thank you and Regards,**Hariprasath Thanarajah*
Associate Software Engineer | WSO2
E: haripras...@wso2.com
M: +94752806528, 0777216903
Blog: hariwso2.blogspot.com

Skype : hariss636
LinkedIn : https://www.linkedin.com/in/hariprasath-thanarajah-5234b660

WSO2, Inc.
lean . enterprise . middleware

https://wso2.com/signature
http://wso2.com/about/team/hariprashath-thanarajah/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mushthaq Rumy

2016-09-04 Thread Lahiru J Ekanayake
Congratulations Rumy !!

On Fri, Sep 2, 2016 at 9:33 PM, Mushthaq Rumy  wrote:

> Thanks everyone :)
>
> Thanks & Regards,
> Mushthaq
>
> On Fri, Sep 2, 2016 at 9:02 PM, Rasika Perera  wrote:
>
>> Congratulations Rumy 
>>
>> On Fri, Sep 2, 2016 at 11:50 AM, Chandana Napagoda 
>> wrote:
>>
>>> Hi all,
>>>
>>> It is my pleasure to welcome Mushthaq Rumy as a WSO2 Committer. Rumy has
>>> made some great contributions to WSO2 Governance Registry and WSO2
>>> Enterprise Store products during the last few months and in recognition of
>>> his commitment and contributions, he has been voted as a Committer for WSO2.
>>>
>>> Rumy, welcome aboard and keep up the good work.
>>>
>>> Best Regards,
>>> Chandana
>>>
>>> --
>>> *Chandana Napagoda*
>>> Associate Technical Lead
>>> WSO2 Inc. - http://wso2.org
>>>
>>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>>> <%2B94718169299>*
>>>
>>> *Blog  :http://cnapagoda.blogspot.com
>>>  | http://chandana.napagoda.com
>>> *
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> With Regards,
>>
>> *Rasika Perera*
>> Software Engineer
>> LinkedIn: http://lk.linkedin.com/in/rasika90
>>
>> [image: wso2-signature-general.png] 
>>
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> Mushthaq Rumy
> *Software Engineer*
> Mobile : +94 (0) 779 492140 <%2B94%20%280%29%20773%20451194>
> Email : musht...@wso2.com
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 



*Lahiru J Ekanayake**Software Engineer*
Mobile : +9471 8812629 / +94778509547
Email : lahi...@wso2.com
WSO2, Inc.; http://wso2.com/
lean . enterprise . middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV][IS] WAR file is too large in IS 5.2.0 pack

2016-09-04 Thread Malaka Silva
Hi Harsha,

This is already resolved in latest release, that was updated last Friday.

Please get the latest.

[1] https://wso2.org/jira/browse/ISCONNECT-23

On Mon, Sep 5, 2016 at 12:08 AM, Harsha Thirimanna  wrote:

> Hi All,
>
> We have to concern $subject for *smsotpauthenticationendpoint.war.* The
> size is more than 70MB.
>
> Can you please look in to this and remove the unwanted jars that are
> packed with war file, because some of  dependencies will provide by the
> run-time in IS.
>
> thanks
>
> *Harsha Thirimanna*
> Associate Tech Lead | WSO2
>
> Email: hars...@wso2.com
> Mob: +94715186770
> Blog: http://harshathirimanna.blogspot.com/
> Twitter: http://twitter.com/harshathirimann
> Linked-In: linked-in: http://www.linkedin.com/pub/
> harsha-thirimanna/10/ab8/122
> 
>



-- 

Best Regards,

Malaka Silva
Senior Technical Lead
M: +94 777 219 791
Tel : 94 11 214 5345
Fax :94 11 2145300
Skype : malaka.sampath.silva
LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
Blog : http://mrmalakasilva.blogspot.com/

WSO2, Inc.
lean . enterprise . middleware
https://wso2.com/signature
http://www.wso2.com/about/team/malaka-silva/

https://store.wso2.com/store/

Don't make Trees rare, we should keep them with care
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][IS] WAR file is too large in IS 5.2.0 pack

2016-09-04 Thread Harsha Thirimanna
Hi All,

We have to concern $subject for *smsotpauthenticationendpoint.war.* The
size is more than 70MB.

Can you please look in to this and remove the unwanted jars that are packed
with war file, because some of  dependencies will provide by the run-time
in IS.

thanks

*Harsha Thirimanna*
Associate Tech Lead | WSO2

Email: hars...@wso2.com
Mob: +94715186770
Blog: http://harshathirimanna.blogspot.com/
Twitter: http://twitter.com/harshathirimann
Linked-In: linked-in:
http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122

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


Re: [Dev] Maven profile for building distributions for Puppet Forge

2016-09-04 Thread Isuru Haththotuwa
Hi Sajith,

On Fri, Sep 2, 2016 at 7:41 AM, Sajith Kariyawasam  wrote:

> Hi Isuru,
>
> Yes you are correct, this profile needs puppet to be installed.
> Generating the distribution just as a tarball would not be enough, since
> the puppet build command generates the exact distribution compatible with
> puppet forge. However, the difference seems to be that, 'puppet module
> build' adds a new file, checksums.json, with checksums of all the files. We
> could use the assembly plugin and generate the checksums and packaged into
> the distribution, but I don't think that way is scalable because, if they
> do a change in the future to include some other files, we will have to
> change our pom files as well.
>
Agreed on using puppet module build for generating archives to be
distributed via puppet forge.

But for testing purposes of puppet modules, we do not need the meta
information required by puppet forge. Therefore, for development and
testing purposes, IMHO we should support creating a puppet module archive
even without installing puppet in a local machine. In a nutshell:

   1. distributing via puppet forge - use the mvn -P  to build the
   archive, with relevant meta information (puppet required)
   2. For testing/development purposes - build with mvn clean install to
   generate the archive (puppet not required)

WDYT?

>
> Thanks,
> Sajith
>
> On Fri, Sep 2, 2016 at 6:09 AM, Isuru Haththotuwa  wrote:
>
>> Hi Sajith,
>>
>> Please correct me if I'm wrong, AFAIU This profile requires puppet to be
>> installed to run the 'puppet module build' command. Can't we use mvn
>> assembly plugin to generate puppet module distribution?
>>
>>
>> On Thu, Sep 1, 2016 at 6:40 PM, Sajith Kariyawasam 
>> wrote:
>>
>>> Hi Devs,
>>>
>>> For a puppet module to be published into puppet forge [1], puppet module
>>> need to be built using 'puppet module build' command to create the
>>> distribution.
>>>
>>> I was looking for a 'maven-puppet' plugin to do the task, but couldn't
>>> find any suitable plugin, therefore I have introduced a Maven profile [2],
>>> which uses exec-plugin
>>> and executes the puppet command, and generate the distribution
>>> (wso2-wso2bps-3.5.1.tar.gz) if that profile has enabled.
>>>
>>> For eg, *"mvn clean install -P puppet-build "*
>>>
>>> Appreciate your thoughts on this !
>>>
>>> [1] https://forge.puppet.com/
>>> [2] https://github.com/wso2/puppet-bps/blob/master/pom.xml#L80-L110
>>>
>>>
>>> Thanks,
>>> Sajith
>>>
>>>
>>> --
>>> Sajith Kariyawasam
>>> *Committer and PMC member, Apache Stratos, *
>>> *WSO2 Inc.; http://wso2.com *
>>> *Mobile: 0772269575 <0772269575>*
>>>
>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> +94 716 358 048* *
>>
>>
>>
>
>
> --
> Sajith Kariyawasam
> *Associate Tech Lead*
> *WSO2 Inc.; http://wso2.com *
> *Committer and PMC member, Apache Stratos *
> *AMIE (SL)*
> *Mobile: 0772269575 <0772269575>*
>



-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev