[Dev] [DEV] [AppFactory] Create Database in default mode implentation

2013-05-21 Thread Danushka Fernando
Hi,
There is a requirement in creating a database in default mode which means
when user creates a database with a certain name it should create a db user
and a role with the same name and those role and user should be attached to
the database.
First we tried to do without patching RSSAdmin service. Since we create
these databases in tenants we can't retrieve the actual username created
using the exposed data in RSSAdmin service. Because RSSAdmin service append
some string to the end of the username.
Now the plan is to patch RSSAdmin to add a new action to the service to do
the whole thing in the back-end and we will do one service call from the
jaggery side.

Thanks  Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gihan Anuruddha

2013-05-21 Thread Ananda Manoj Kumara
Congratz Gihan ..

Best Regards..


Manoj Kumara
Software Engineer
WSO2, Inc.; http://wso2.com

Twitter:  http://twitter.com/ManKuma
Mobile: +94713448188


On Tue, May 21, 2013 at 11:20 AM, Sinthuja Ragendran sinth...@wso2.comwrote:

 Congratz gihan!!!



 On Tue, May 21, 2013 at 11:15 AM, Shameera Rathnayaka 
 shame...@wso2.comwrote:

 Congratulation Gihan !!!


 On Tue, May 21, 2013 at 11:05 AM, Balakrishnan Gokulakrishnan 
 go...@wso2.com wrote:

 Congratulations Gihan!!

 On 21 May 2013 10:56, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan
 has made some great contributions to BAM during the last few months and in
 recognition of his commitment and contributions the All-MC has voted Gihan
 as a committer.

 Gihan, welcome aboard and keep up the good work.


 Thanks,
 KasunW.


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




 --
 *Balakrishnan Gokulakrishnan*
 Software Engineer,
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/gokulbs
 Mobile: +94775935789
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT 
 apache.orgshame...@apache.org
 *
 *phone:  +9471 922 1454*
 *
 *
 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R

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




 --
 *Sinthuja Rajendran*
 Software Engineer http://wso2.com/
 WSO2, Inc.:http://wso2.com

 Blog: http://sinthu-rajan.blogspot.com/
 Mobile: +94774273955



 ___
 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] WSO2 Committers += Gihan Anuruddha

2013-05-21 Thread Inosh Goonewardena
Congratz Gihan..


On Tue, May 21, 2013 at 11:49 AM, Ananda Manoj Kumara ma...@wso2.comwrote:

 Congratz Gihan ..

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Tue, May 21, 2013 at 11:20 AM, Sinthuja Ragendran sinth...@wso2.comwrote:

 Congratz gihan!!!



 On Tue, May 21, 2013 at 11:15 AM, Shameera Rathnayaka 
 shame...@wso2.comwrote:

 Congratulation Gihan !!!


 On Tue, May 21, 2013 at 11:05 AM, Balakrishnan Gokulakrishnan 
 go...@wso2.com wrote:

 Congratulations Gihan!!

 On 21 May 2013 10:56, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan
 has made some great contributions to BAM during the last few months and in
 recognition of his commitment and contributions the All-MC has voted Gihan
 as a committer.

 Gihan, welcome aboard and keep up the good work.


 Thanks,
 KasunW.


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




 --
 *Balakrishnan Gokulakrishnan*
 Software Engineer,
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/gokulbs
 Mobile: +94775935789
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT
 apache.org shame...@apache.org*
 *phone:  +9471 922 1454*
 *
 *
 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R

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




 --
 *Sinthuja Rajendran*
 Software Engineer http://wso2.com/
 WSO2, Inc.:http://wso2.com

 Blog: http://sinthu-rajan.blogspot.com/
 Mobile: +94774273955



 ___
 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




-- 
Regards,

Inosh Goonewardena
Associate Technical Lead- WSO2 Inc.
Mobile: +94779966317
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gihan Anuruddha

2013-05-21 Thread Sriskandarajah Suhothayan
Congratz !

Suho


On Tue, May 21, 2013 at 12:04 PM, Inosh Goonewardena in...@wso2.com wrote:

 Congratz Gihan..


 On Tue, May 21, 2013 at 11:49 AM, Ananda Manoj Kumara ma...@wso2.comwrote:

 Congratz Gihan ..

 Best Regards..


 Manoj Kumara
 Software Engineer
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/ManKuma
 Mobile: +94713448188


 On Tue, May 21, 2013 at 11:20 AM, Sinthuja Ragendran 
 sinth...@wso2.comwrote:

 Congratz gihan!!!



 On Tue, May 21, 2013 at 11:15 AM, Shameera Rathnayaka shame...@wso2.com
  wrote:

 Congratulation Gihan !!!


 On Tue, May 21, 2013 at 11:05 AM, Balakrishnan Gokulakrishnan 
 go...@wso2.com wrote:

 Congratulations Gihan!!

 On 21 May 2013 10:56, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan
 has made some great contributions to BAM during the last few months and 
 in
 recognition of his commitment and contributions the All-MC has voted 
 Gihan
 as a committer.

 Gihan, welcome aboard and keep up the good work.


 Thanks,
 KasunW.


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




 --
 *Balakrishnan Gokulakrishnan*
 Software Engineer,
 WSO2, Inc.; http://wso2.com

 Twitter:  http://twitter.com/gokulbs
 Mobile: +94775935789
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Software Engineer - WSO2 Inc.*
 *email: shameera AT wso2.com shame...@wso2.com , shameera AT
 apache.org shame...@apache.org*
 *phone:  +9471 922 1454*
 *
 *
 *Linked in : *http://lk.linkedin.com/pub/shameera-rathnayaka/1a/661/561
 *Twitter : *https://twitter.com/Shameera_R

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




 --
 *Sinthuja Rajendran*
 Software Engineer http://wso2.com/
 WSO2, Inc.:http://wso2.com

 Blog: http://sinthu-rajan.blogspot.com/
 Mobile: +94774273955



 ___
 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




 --
 Regards,

 Inosh Goonewardena
 Associate Technical Lead- WSO2 Inc.
 Mobile: +94779966317

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




-- 
*S. Suhothayan
*
Software Engineer,
Management Committee Member, Data Technologies Team,
 *WSO2 Inc. *http://wso2.com *
 http://wso2.com/*
lean . enterprise . middleware

*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
twitter: http://twitter.com/suhothayan | linked-in:
http://lk.linkedin.com/in/suhothayan*
*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gihan Anuruddha

2013-05-21 Thread Rumesh Bandara
Congrats Gihan... Granted commit rights


On Tue, May 21, 2013 at 10:56 AM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan has
 made some great contributions to BAM during the last few months and in
 recognition of his commitment and contributions the All-MC has voted Gihan
 as a committer.

 Gihan, welcome aboard and keep up the good work.


 Thanks,
 KasunW.


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




-- 
*Rumesh Bandara*
Systems Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 352 5930
blog: http://linuxanswer.org/
linkedin: *http://lk.linkedin.com/in/rumeshbandara*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gihan Anuruddha

2013-05-21 Thread Darshana Gunawardana
Congratulations Gihan..!!


On Tue, May 21, 2013 at 12:18 PM, Rumesh Bandara rum...@wso2.com wrote:

 Congrats Gihan... Granted commit rights


 On Tue, May 21, 2013 at 10:56 AM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan has
 made some great contributions to BAM during the last few months and in
 recognition of his commitment and contributions the All-MC has voted Gihan
 as a committer.

 Gihan, welcome aboard and keep up the good work.


 Thanks,
 KasunW.


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




 --
 *Rumesh Bandara*
 Systems Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 352 5930
 blog: http://linuxanswer.org/
 linkedin: *http://lk.linkedin.com/in/rumeshbandara*

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




-- 
Regards,

*
Darshana Gunawardana
*Software Engineer
WSO2 Inc.; http://wso2.com*
E-mail: darsh...@wso2.com
**Mobile: +94718566859
*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gihan Anuruddha

2013-05-21 Thread Lasantha Fernando
Congratz Gihan!... :-)

On 21 May 2013 12:36, Darshana Gunawardana darsh...@wso2.com wrote:

 Congratulations Gihan..!!


 On Tue, May 21, 2013 at 12:18 PM, Rumesh Bandara rum...@wso2.com wrote:

 Congrats Gihan... Granted commit rights


 On Tue, May 21, 2013 at 10:56 AM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan
 has made some great contributions to BAM during the last few months and in
 recognition of his commitment and contributions the All-MC has voted Gihan
 as a committer.

 Gihan, welcome aboard and keep up the good work.


 Thanks,
 KasunW.


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




 --
 *Rumesh Bandara*
 Systems Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 77 352 5930
 blog: http://linuxanswer.org/
 linkedin: *http://lk.linkedin.com/in/rumeshbandara*

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




 --
 Regards,

 *
 Darshana Gunawardana
 *Software Engineer
 WSO2 Inc.; http://wso2.com*
 E-mail: darsh...@wso2.com
 **Mobile: +94718566859
 *Lean . Enterprise . Middleware

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




-- 
*Lasantha Fernando*
Software Engineer - Data Technologies Team
WSO2 Inc. http://wso2.com

email: lasan...@wso2.com
mobile: (+94) 71 5247551
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gihan Anuruddha

2013-05-21 Thread Mohanadarshan Vivekanandalingam
Congrates Gihan... J

Regards,
Mohan

On Tue, May 21, 2013 at 10:56 AM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan has
 made some great contributions to BAM during the last few months and in
 recognition of his commitment and contributions the All-MC has voted Gihan
 as a committer.

 Gihan, welcome aboard and keep up the good work.


 Thanks,
 KasunW.


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




-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com *
*lean.enterprise.middleware.*
*
*
email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gihan Anuruddha

2013-05-21 Thread Maninda Edirisooriya
Congrats Gihan ..:-)

*
Maninda Edirisooriya*
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.

*Blog* : http://maninda.blogspot.com/
*Phone* : +94 777603226


On Tue, May 21, 2013 at 12:47 PM, Mohanadarshan Vivekanandalingam 
mo...@wso2.com wrote:

 Congrates Gihan... J

 Regards,
 Mohan

 On Tue, May 21, 2013 at 10:56 AM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan has
 made some great contributions to BAM during the last few months and in
 recognition of his commitment and contributions the All-MC has voted Gihan
 as a committer.

 Gihan, welcome aboard and keep up the good work.


 Thanks,
 KasunW.


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




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com *
 *lean.enterprise.middleware.*
 *
 *
 email: mo...@wso2.com
 phone:(+94) 771117673

 ___
 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] [DEV] [AppFactory] Create Database in default mode implentation

2013-05-21 Thread Prabath Abeysekera
Hi Dhanushka,

On Tue, May 21, 2013 at 11:45 AM, Danushka Fernando danush...@wso2.comwrote:

 Hi,
 There is a requirement in creating a database in default mode which means
 when user creates a database with a certain name it should create a db user
 and a role with the same name and those role and user should be attached to
 the database.
 First we tried to do without patching RSSAdmin service. Since we create
 these databases in tenants we can't retrieve the actual username created
 using the exposed data in RSSAdmin service. Because RSSAdmin service append
 some string to the end of the username.
 Now the plan is to patch RSSAdmin to add a new action to the service to do
 the whole thing in the back-end and we will do one service call from the
 jaggery side.


I assume what you refer to as adding a new action is, adding a new method
to the RSS Admin Service API to do all the tasks at once. IMO, having a
method to accept all the information on
Database/DatabaseUser/DatabasePrivileges and do all the things within the
scope of a single method does not look right to me. If your only problem is
to retrieve the generated string appended to a particular username, why it
isn't possible to simply add a util function somewhere in RSS client side
and infer the hash value calculated upon a particular tenant domain name to
form the fully qualified name given to a particular database user? Am I
missing something?



 Thanks  Regards
 Danushka Fernando
 Software Engineer
 WSO2 inc. http://wso2.com/
 Mobile : +94716332729

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



Regards,
Prabath
-- 
Prabath Abeysekara
Email: praba...@wso2.com harsha...@wso2.com
Mobile: +94774171471

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


Re: [Dev] WSO2 Committers += Gihan Anuruddha

2013-05-21 Thread Isuru Perera
Congratulations Gihan!


On Tue, May 21, 2013 at 10:56 AM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan has
 made some great contributions to BAM during the last few months and in
 recognition of his commitment and contributions the All-MC has voted Gihan
 as a committer.

 Gihan, welcome aboard and keep up the good work.


 Thanks,
 KasunW.


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




-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

Twitter: http://twitter.com/chrishantha | LinkedIn:
http://lk.linkedin.com/in/chrishantha/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gihan Anuruddha

2013-05-21 Thread Ishara Premadasa
Congratz Gihan!


On Tue, May 21, 2013 at 1:10 PM, Isuru Perera isu...@wso2.com wrote:

 Congratulations Gihan!


 On Tue, May 21, 2013 at 10:56 AM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan has
 made some great contributions to BAM during the last few months and in
 recognition of his commitment and contributions the All-MC has voted Gihan
 as a committer.

 Gihan, welcome aboard and keep up the good work.


 Thanks,
 KasunW.


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




 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/

 Lean . Enterprise . Middleware

 Twitter: http://twitter.com/chrishantha | LinkedIn:
 http://lk.linkedin.com/in/chrishantha/

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




-- 
Ishara Premasada
Software Engineer, Integrations TG
WSO2 Inc. http://wso2.com/
*Blog   :  http://isharapremadasa.blogspot.com/
Twitter   :  https://twitter.com/ishadil
Mobile   : +94 714445832*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gihan Anuruddha

2013-05-21 Thread Gihan Anuruddha
Thanks all :-)


On Tue, May 21, 2013 at 3:59 PM, Ishara Premadasa ish...@wso2.com wrote:

 Congratz Gihan!


 On Tue, May 21, 2013 at 1:10 PM, Isuru Perera isu...@wso2.com wrote:

 Congratulations Gihan!


 On Tue, May 21, 2013 at 10:56 AM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan
 has made some great contributions to BAM during the last few months and in
 recognition of his commitment and contributions the All-MC has voted Gihan
 as a committer.

 Gihan, welcome aboard and keep up the good work.


 Thanks,
 KasunW.


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




 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/

 Lean . Enterprise . Middleware

 Twitter: http://twitter.com/chrishantha | LinkedIn:
 http://lk.linkedin.com/in/chrishantha/

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




 --
 Ishara Premasada
 Software Engineer, Integrations TG
 WSO2 Inc. http://wso2.com/
 *Blog   :  http://isharapremadasa.blogspot.com/
 Twitter   :  https://twitter.com/ishadil
 Mobile   : +94 714445832*





-- 
---
W.G. Gihan Anuruddha
Senior Software Engineer | WSO2, Inc.
M: +94772272595
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gihan Anuruddha

2013-05-21 Thread Bhathiya Jayasekara
Congratulations Gihan... :)


On Tue, May 21, 2013 at 4:42 PM, Gihan Anuruddha gi...@wso2.com wrote:

 Thanks all :-)


 On Tue, May 21, 2013 at 3:59 PM, Ishara Premadasa ish...@wso2.com wrote:

 Congratz Gihan!


 On Tue, May 21, 2013 at 1:10 PM, Isuru Perera isu...@wso2.com wrote:

 Congratulations Gihan!


 On Tue, May 21, 2013 at 10:56 AM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 Its my pleasure to welcome Gihan Anuruddha as a WSO2 Committer. Gihan
 has made some great contributions to BAM during the last few months and in
 recognition of his commitment and contributions the All-MC has voted Gihan
 as a committer.

 Gihan, welcome aboard and keep up the good work.


 Thanks,
 KasunW.


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




 --
 Isuru Perera
 Senior Software Engineer | WSO2, Inc. | http://wso2.com/

 Lean . Enterprise . Middleware

 Twitter: http://twitter.com/chrishantha | LinkedIn:
 http://lk.linkedin.com/in/chrishantha/

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




 --
 Ishara Premasada
 Software Engineer, Integrations TG
 WSO2 Inc. http://wso2.com/
 *Blog   :  http://isharapremadasa.blogspot.com/
 Twitter   :  https://twitter.com/ishadil
 Mobile   : +94 714445832*





 --
 ---
 W.G. Gihan Anuruddha
 Senior Software Engineer | WSO2, Inc.
 M: +94772272595

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




-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com*
*
*
*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj*
*Twitter: https://twitter.com/bhathiyax*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Identifying the tenant domain when user tries to login using email in MT mode.

2013-05-21 Thread Afkham Azeez
This is not easy to do. Users with the same email can register themselves
as different tenants, so our model does not allow directly deriving the
tenant from the email address. At least it is not straightforward.

Azeez

On Mon, May 20, 2013 at 11:14 AM, Vijayaratha Vijayasingam
rat...@wso2.comwrote:

 Hi all;
 We have feature, which  enables user to login using his email. If that
 user is a tenant and if he tries to login using his email, how we identify
 the tenant domain?
 eg: user testUser has an email, testu...@yahoo.com, and he is a tenant
 with domain, foo.com.
 If he tries to login the system as;
 testu...@yahoo.com@foo.com

 How we identify the domain?

 Thanks


 --
 -Ratha
 mobile: (+94)755906608

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




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Code freeze for carbon 4.1.2

2013-05-21 Thread Kasun Weranga
Please refrain from committing fixes to carbon 4.1.2 branch. We are going
to build the new pack for the release.


Thanks,
KasunW.



On Mon, May 20, 2013 at 1:38 PM, Nandika Jayawardana nand...@wso2.comwrote:

 Should be fine. I committed some of the fixes to the bps
 components already.  I will put the other important fixes in before 21st 12
 noon. However, for BPS product release, we have more work to be done. Hence
 I think its better to release only bps components which are required for
 app factory with this release.

 Regards
 Nandika


 On Mon, May 20, 2013 at 12:55 PM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 We are planing to do the $subject at 12 noon in May 21st for the release.
 Please shout if you have any concerns.

 Thanks,
 KasunW

 --
 *Kasun Weranga*
 **
 Member, Management Committee - Data Technologies
 Software Engineer
 *WSO2, Inc.
 *lean.enterprise.middleware.
 mobile : +94 772314602
 http://sanjeewamalalgoda.blogspot.com/blog :
 http://kasunweranga.blogspot.com/




 --
 Nandika Jayawardana
 Senior Technical Lead
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware




-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
http://sanjeewamalalgoda.blogspot.com/blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Code freeze for carbon 4.1.2

2013-05-21 Thread Kasun Weranga
We are using following builder machine for building packs.
IP - 173.164.178.33 - Please don't use it for other builds.


On Tue, May 21, 2013 at 6:40 PM, Kasun Weranga kas...@wso2.com wrote:

 Please refrain from committing fixes to carbon 4.1.2 branch. We are going
 to build the new pack for the release.


 Thanks,
 KasunW.



 On Mon, May 20, 2013 at 1:38 PM, Nandika Jayawardana nand...@wso2.comwrote:

 Should be fine. I committed some of the fixes to the bps
 components already.  I will put the other important fixes in before 21st 12
 noon. However, for BPS product release, we have more work to be done. Hence
 I think its better to release only bps components which are required for
 app factory with this release.

 Regards
 Nandika


 On Mon, May 20, 2013 at 12:55 PM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 We are planing to do the $subject at 12 noon in May 21st for the
 release. Please shout if you have any concerns.

 Thanks,
 KasunW

 --
 *Kasun Weranga*
 **
 Member, Management Committee - Data Technologies
 Software Engineer
 *WSO2, Inc.
 *lean.enterprise.middleware.
 mobile : +94 772314602
 http://sanjeewamalalgoda.blogspot.com/blog :
 http://kasunweranga.blogspot.com/




 --
 Nandika Jayawardana
 Senior Technical Lead
 WSO2 Inc ; http://wso2.com
 lean.enterprise.middleware




 --
 *Kasun Weranga*
 **
 Member, Management Committee - Data Technologies
 Software Engineer
 *WSO2, Inc.
 *lean.enterprise.middleware.
 mobile : +94 772314602
 http://sanjeewamalalgoda.blogspot.com/blog :
 http://kasunweranga.blogspot.com/




-- 
*Kasun Weranga*
**
Member, Management Committee - Data Technologies
Software Engineer
*WSO2, Inc.
*lean.enterprise.middleware.
mobile : +94 772314602
http://sanjeewamalalgoda.blogspot.com/blog :
http://kasunweranga.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APPFAC]--Jmeter test scripts for Appfactory

2013-05-21 Thread Asanka Dissanayake
Hi All,
this is done and applied.
https://wso2.org/jira/browse/APPFAC-965

cheers!!


On Wed, May 15, 2013 at 9:27 AM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi Asanka,

 Lets make sure that  we take Application Type as a parameter. This allows
 us to run the above scenario for all app types, i.e. for webapps, jaxrs,
 jaxws, dss, bpel and etc 

 thanks,
 dimuthu


 On Tue, May 14, 2013 at 7:03 PM, Asanka Dissanayake asan...@wso2.comwrote:

 Hi All,
 following scenarios have been chosen to write jmeter scripts for the
 Appfactory.

 create application
 add dev ops
 build
 deploy
 launch in development
 promote to test
 launch test
 demote to dev
 promote to test
 launch test
 promote to staging
 launch staging
 promote to production
 launch production

 this requires following parameters.

 Application Type
 Application Name
 user name
 password etc...

 --

 *Asanka Dissanayake
 Software Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
 *
 email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com  mobile: +94
 71 8373821*

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




 --
 Dimuthu Leelarathne
 Architect  Chair of Solution Management Committee

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware




-- 

*Asanka Dissanayake
Software Engineer*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com*
*
email: asan...@wso2.com ruch...@wso2.com,   blog:
cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com  mobile: +94 71
8373821*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Stratos 2.0 Foundation - Beta 3 Released!

2013-05-21 Thread Isuru Haththotuwa
Release Note - WSO2 Stratos 2.0 Foundation - Beta 3


WSO2 Stratos2 team is pleased to announce the release of WSO2 Stratos 2.0
Beta 3.

WSO2 Stratos 2.0 Beta 3 comes with a very easy to configure demo setup that
can be run on Amazon EC2 and it can be found at [1]. Please refer to
the *Getting
Started* section of the *User Guide* for more information.

Please note that as of now this AMI [1] is only available in *Asia Pacific
(Singapore)* region. We are in the process of uploading the AMI into the
other regions.

Stratos 2.0 Command Line Interface (CLI) Tool can be downloaded from [2]
and Stratos 2.0 Documentation is available to be downloaded at [3].

WSO2 Stratos 2.0 is the next major version of WSO2 Stratos 1.x, the most
complete, enterprise-grade, open PaaS, with support for more core services
than any other available PaaS today.

Following are the Key features available in Stratos 2.0.

*Key Features *


   - Artifact Distribution Coordinator (ADC) with support for external Git
   and GitHub repositories.
   - Plug-able architecture support for adding new cartridges
   - Support for PHP and MySQL and WSO2 Carbon cartridges (AS, BPS etc)
   - Support for puppet based cartridge creation for WSO2 Carbon cartridges
   - Elastic Load Balancer (ELB) with Cartridge support
   - Multiple IaaS support (EC2, Openstack, vCloud) through jclouds APIs
   - Autoscaling into different IaaSes
   - S2 Cloud Controller
   - Git based deployment synchronizer
   - Interactive CLI Tool for tenants to manage subscriptions
   - UI for tenants to manage subscriptions
   - Custom domain mapping support
   - Documentation (User Guide, Architecture Guide)
   - Demo Ready Public Amazon EC2 Stratos 2.0 setup


The Beta release includes following improvements and bug fixes.
New Features

   - [SPI-111 https://wso2.org/jira/browse/SPI-111] - [CLI Tool]
   Remembering previous commands issued by User.
   - [SPI-218 https://wso2.org/jira/browse/SPI-218] - Add an option to
   manual pull the GIT repository

Improvements

   - [SPI-192 https://wso2.org/jira/browse/SPI-192] - Cartridge alias
   must be validated from the back-end service
   - [SPI-206 https://wso2.org/jira/browse/SPI-206] - For Multi-tenant
   WSO2 Carbon cartridges, we may have to allow the user to subscribe only once
   - [SPI-215 https://wso2.org/jira/browse/SPI-215] - Display minimum and
   maximum number of instances of the cartridge in GUI and CLI
   - [SPI-223 https://wso2.org/jira/browse/SPI-223] - Add cartridge alias
   in payload for logging in non carbon cartridges
   - [SPI-224 https://wso2.org/jira/browse/SPI-224] - Terminate the
   instances if they failed to join ELB, even after 'server_startup_delay' time
   - [SPI-234 https://wso2.org/jira/browse/SPI-234] - CLI Tool
   Improvements
   - [SPI-240 https://wso2.org/jira/browse/SPI-240] - CLI Tool should use
   a single '-' for short option names and '--' for longer option names
   - [SPI-241 https://wso2.org/jira/browse/SPI-241] - CLI Tool should use
   -u / --username and -p / --password approach and prompt for password if it
   isn't present. The characters at password prompt should be masked
   - [SPI-246 https://wso2.org/jira/browse/SPI-246] - Use a policy to
   define auto-scaling parameters
   - [SPI-248 https://wso2.org/jira/browse/SPI-248] - Use a datasource to
   access databases
   - [SPI-249 https://wso2.org/jira/browse/SPI-249] - Using prepared
   statements in SQL queries

Bug Fixes

   - [SPI-107 https://wso2.org/jira/browse/SPI-107] - When a new
   cartridge deployment fail, it should be gracefull handled
   - [SPI-146 https://wso2.org/jira/browse/SPI-146] - Subscription
   commands with No repository URLs should only be limit to DEMO setup
   - [SPI-188 https://wso2.org/jira/browse/SPI-188] - Warning in CC
   malformed image: null, but still the instance is getting started up
   - [SPI-198 https://wso2.org/jira/browse/SPI-198] - Non carbon
   cartridge logs should show the correct time in the log viewer
   - [SPI-208 https://wso2.org/jira/browse/SPI-208] - Stratos manager
   should be renamed with Stratos Controller in the layered architecture
   diagram
   - [SPI-210 https://wso2.org/jira/browse/SPI-210] - In Openstack setup
   AppServer left cluster infrequently
   - [SPI-216 https://wso2.org/jira/browse/SPI-216] - Issues in the Non
   Carbon Cartridge Init Script for Data Publisher
   - [SPI-217 https://wso2.org/jira/browse/SPI-217] - ServerKey is Set to
   Incorrect Value in Carbon.xml
   - [SPI-219 https://wso2.org/jira/browse/SPI-219] - Failed to retrieve
   pending instance count for domain error in ELB in S2 setup
   - [SPI-220 https://wso2.org/jira/browse/SPI-220] - Error: Failed to
   start an instance in ec2. Hence, will try to start in another IaaS if
   available.
   - [SPI-221 https://wso2.org/jira/browse/SPI-221] - Never ending
   joining messages printed in SC.
   - [SPI-222 https://wso2.org/jira/browse/SPI-222] - Issues with
   subscribing to AS multiple times per tenant.
  

Re: [Dev] Jaggery is not querying data properly from oracle-DBs.

2013-05-21 Thread Ayashkantha Ramasinghe
Hi Nuwan,

We want that fix to our new release. we are going to switch to jaggery
version 5. did you host that in maven repository?

thank you


On Tue, May 14, 2013 at 11:47 AM, Nuwan Bandara nu...@wso2.com wrote:

 yap, fixed it

 Regards,
 /Nuwan


 On Tue, May 14, 2013 at 11:46 AM, Sumedha Rubasinghe sume...@wso2.comwrote:

 Nuwan,
 I think the problem is
 org.jaggeryjs.hostobjects.db.DatabaseHostObject.getValue(DatabaseHostObject.java:607).
 You should not try to read if the value is null. But rather set one back
 to response being returned.


 On Tue, May 14, 2013 at 10:47 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi,

 We might have to debug the DB Api and look into it. what is you query ?

 Regards,
 /Nuwan


 On Tue, May 14, 2013 at 10:22 AM, Ayashkantha Ramasinghe 
 ayashkan...@wso2.com wrote:

 Hi,

 On Mon, May 13, 2013 at 9:10 PM, Nuwan Bandara nu...@wso2.com wrote:

 Hi,

 What is WSO2BAM_DATASOURCE, thats wrong syntax for DB API



 WSO2BAM_DATASOURCE is configured in
 $BAM_HOME/repository/conf/datasources/master-datasources.xml. this is the
 configuration of that.

 datasource
nameWSO2BAM_DATASOURCE/name
descriptionThe datasource used for analyzer
 data/description
definition type=RDBMS
configuration
urljdbc:oracle:thin:@10.100.3.227:1521/daniddb
 /url
usernameayash_db/username
passwordayash_db/password

 driverClassNameoracle.jdbc.driver.OracleDriver/driverClassName
maxActive50/maxActive
maxWait6/maxWait
testOnBorrowtrue/testOnBorrow
validationQuerySELECT 1/validationQuery
validationInterval3/validationInterval
/configuration
/definition
 /datasource

 I think the problem is processing the data retrieved, because, i think,
 it connects to the database properly.



 On Mon, May 13, 2013 at 7:16 PM, Ayashkantha Ramasinghe 
 ayashkan...@wso2.com wrote:

 Hi,

 query() function is being failed to return the result while oracle DB
 consisted of null values in it.

 I am getting this error,


 [2013-05-13 18:04:38,014] ERROR
 {org.jaggeryjs.jaggery.core.manager.WebAppManager} -
 org.mozilla.javascript.WrappedException: Wrapped
 java.lang.NullPointerException
 (/bamdashboards/activity_monitoring/gadgets/dataSource.ajaxProcessor.jag#53)
 org.jaggeryjs.scriptengine.exceptions.ScriptException:
 org.mozilla.javascript.WrappedException: Wrapped
 java.lang.NullPointerException
 (/bamdashboards/activity_monitoring/gadgets/dataSource.ajaxProcessor.jag#53)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:446)
 at
 org.jaggeryjs.scriptengine.engine.RhinoEngine.exec(RhinoEngine.java:191)
 at
 org.jaggeryjs.jaggery.core.manager.WebAppManager.execute(WebAppManager.java:269)
 at
 org.jaggeryjs.jaggery.core.JaggeryServlet.doPost(JaggeryServlet.java:29)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
 at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
 at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
 at
 org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
 at java.lang.Thread.run(Thread.java:662)
 Caused by: org.mozilla.javascript.WrappedException: Wrapped
 java.lang.NullPointerException
 

Re: [Dev] [Urgent] Registry kernel test failure

2013-05-21 Thread Kasun Weranga
Is this fixed now?

On Tuesday, May 21, 2013, Senaka Fernando wrote:

 Hi Kasun,

 Will have a look. It seems that an ORDER BY query is failing. We noticed
 this intermittently failing sometime back in the past too, but never could
 find a reason, since it was not reproducible in release builds. If you can
 consistently reproduce, please do keep a back-up of the maven repo, just in
 case it is not reproducible for others.

 Thanks,
 Senaka.


 On Tue, May 21, 2013 at 8:38 PM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 I am getting following test failure from Registry kernel. Please fix it,
 we are building on clean repo to get the release packs and got the below
 issue when building patch0001.

 Building index for all the packages and classes...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/overview-tree.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/index-all.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/deprecated-list.html...
 Building index for all classes...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/allclasses-frame.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/allclasses-noframe.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/index.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/overview-summary.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/help-doc.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/stylesheet.css...
 13 warnings
 [WARNING] Javadoc Warnings
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/Registry.java:577:
 warning - @param argument version is not a parameter name.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/internal/RegistryCoreServiceComponent.java:89:
 warning - @scr.component is an unknown tag.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/internal/RegistryCoreServiceComponent.java:89:
 warning - @scr.reference is an unknown tag.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/internal/RegistryCoreServiceComponent.java:89:
 warning - @scr.reference is an unknown tag.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/internal/RegistryCoreServiceComponent.java:89:
 warning - @scr.reference is an unknown tag.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/exceptions/RegistryException.java:27:
 warning - Tag @inheritDoc cannot be used in constructor documentation.  It
 can only be used in the following types of documentation: method, inline
 text.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/exceptions/RegistryException.java:34:
 warning - Tag @inheritDoc cannot be used in constructor documentation.  It
 can only be used in the following types of documentation: method, inline
 text.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/exceptions/RegistryException.java:27:
 warning - Tag @inheritDoc cannot be used in constructor documentation.  It
 can only be used in the following types of documentation: method, inline
 text.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/exceptions/RegistryException.java:27:
 warning - Tag @inheritDoc cannot be used in constructor documentation.  It
 can only be used in the following types of documentation: method, inline
 text.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware



-- 
*Kasun Weranga*
**
Member, Management Committee - 

[Dev] Do we really need a separate carbon orbit?

2013-05-21 Thread Miyuru Wanninayaka
Hi all,

What is the point of having a separate orbit? [1]

We either release kernel or platform and we don't release orbit. So any
orbit bundle which required for kernel can live inside
kernel/dependencies/orbit and platform required orbits can live inside
/platform/dependencies/orbit

[1] https://svn.wso2.org/repos/wso2/carbon/orbit/

-- 
Miyuru Wanninayaka
Technical Lead
Member, Management Committee - Integration Technologies
WSO2 Inc. : http://wso2.com

Mobile : +94 77 209 9788
Blog : http://miyurudw.blogspot.com
Flickr : http://www.flickr.com/photos/miyuru_daminda
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Patch for 'Show in registry browser' option enabled issue

2013-05-21 Thread Susinda Perera
Hi all
$subject is given. The issue was [1] Show in registry browser option
should be disabled for resources that are not in the registry.
As a fix for this issue 'Show in registry browser' option is disabled for
newly added files and folders, this is done by checking their resource
state by considering the existence of .meta folder and files.


[1] - https://wso2.org/jira/browse/TOOLS-1107

-- 
*Susinda Perera*
Software Engineer
Mobile:(+94)716049075

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


Re: [Dev] Do we really need a separate carbon orbit?

2013-05-21 Thread Senaka Fernando
Hi Miyuru,

IMHO, I see no point in having a separate orbit, so I too am +1 for this. A
separate orbit has always been a confusion, since you also find orbit
inside kernel/dependencies and platform/dependencies, making it highly
confusing for anyone who tries to understand (or explain) our SVN structure.

Thanks,
Senaka.


On Wed, May 22, 2013 at 9:24 AM, Miyuru Wanninayaka miy...@wso2.com wrote:

 Hi all,

 What is the point of having a separate orbit? [1]

 We either release kernel or platform and we don't release orbit. So any
 orbit bundle which required for kernel can live inside
 kernel/dependencies/orbit and platform required orbits can live inside
 /platform/dependencies/orbit

 [1] https://svn.wso2.org/repos/wso2/carbon/orbit/

 --
 Miyuru Wanninayaka
 Technical Lead
 Member, Management Committee - Integration Technologies
 WSO2 Inc. : http://wso2.com

 Mobile : +94 77 209 9788
 Blog : http://miyurudw.blogspot.com
 Flickr : http://www.flickr.com/photos/miyuru_daminda
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Senaka Fernando*
Member - Integration Technologies Management Committee;
Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://linkedin.com/in/senakafernando

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


Re: [Dev] Do we really need a separate carbon orbit?

2013-05-21 Thread Nuwan Bandara
Hi,

Well, platform/orbit and kernal/orbit has its meaning right. if we put some
non osgi components to kernal/dependencies we wrap it at kernal/orbit. but
top level orbit is the stuff we directly take from outside. So IMO there is
a meaning in having top level /orbit. its not confusing, its rather clean.
but ofcause you can have kernal/orbit with everything needed for kernel.

Regards,
/Nuwan


On Wed, May 22, 2013 at 9:45 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Miyuru,

 IMHO, I see no point in having a separate orbit, so I too am +1 for this.
 A separate orbit has always been a confusion, since you also find orbit
 inside kernel/dependencies and platform/dependencies, making it highly
 confusing for anyone who tries to understand (or explain) our SVN structure.

 Thanks,
 Senaka.


 On Wed, May 22, 2013 at 9:24 AM, Miyuru Wanninayaka miy...@wso2.comwrote:

 Hi all,

 What is the point of having a separate orbit? [1]

 We either release kernel or platform and we don't release orbit. So any
 orbit bundle which required for kernel can live inside
 kernel/dependencies/orbit and platform required orbits can live inside
 /platform/dependencies/orbit

 [1] https://svn.wso2.org/repos/wso2/carbon/orbit/

 --
 Miyuru Wanninayaka
 Technical Lead
 Member, Management Committee - Integration Technologies
 WSO2 Inc. : http://wso2.com

 Mobile : +94 77 209 9788
 Blog : http://miyurudw.blogspot.com
 Flickr : http://www.flickr.com/photos/miyuru_daminda
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware

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




-- 
*Thanks  Regards,

Nuwan Bandara
Technical Lead  Member, MC, Development Technologies
WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629
*
http://www.nuwanbando.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DEV][URGENT]OutputAttributeExecutor may produce wrong type of attribute for the output stream in CEP 2.1.0

2013-05-21 Thread Yangjin Wu
 Hi all,
Recently, I've found something wrong in CEP query output attribute executors.
In DivideExpressionExecutorLong.java, the execute method was written as
-
public Object execute(AtomicEvent event) {
return ((Number) leftExpressionExecutor.execute(event)).doubleValue() / 
((Number) rightExpressionExecutor.execute(event)).doubleValue();
}
-
hence, the result of the output Object is of type Double, but this particular 
executor requires output type Long.  All executors under the divide category
suffers from this issue.  The consequence is to cause a java cast exception 
when the wrong type of attribute occurs in the output stream, and the attribute
is used in the followed queries.
Hope this will be fixed, thanks.


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


Re: [Dev] Do we really need a separate carbon orbit?

2013-05-21 Thread Senaka Fernando
Hi Nuwan,

That's what's desired, but it is not what you find in practice, :). Take a
look @ platform/dependencies and then platform/dependencies/orbit. So, you
find things that are not inside platform/dependencies to be referenced
inside platform/dependencies/orbit. Such things are directly taken from
outside too.

Thanks,
Senaka.


On Wed, May 22, 2013 at 10:14 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi,

 Well, platform/orbit and kernal/orbit has its meaning right. if we put
 some non osgi components to kernal/dependencies we wrap it at kernal/orbit.
 but top level orbit is the stuff we directly take from outside. So IMO
 there is a meaning in having top level /orbit. its not confusing, its
 rather clean. but ofcause you can have kernal/orbit with everything needed
 for kernel.

 Regards,
 /Nuwan


 On Wed, May 22, 2013 at 9:45 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Miyuru,

 IMHO, I see no point in having a separate orbit, so I too am +1 for this.
 A separate orbit has always been a confusion, since you also find orbit
 inside kernel/dependencies and platform/dependencies, making it highly
 confusing for anyone who tries to understand (or explain) our SVN structure.

 Thanks,
 Senaka.


 On Wed, May 22, 2013 at 9:24 AM, Miyuru Wanninayaka miy...@wso2.comwrote:

 Hi all,

 What is the point of having a separate orbit? [1]

 We either release kernel or platform and we don't release orbit. So any
 orbit bundle which required for kernel can live inside
 kernel/dependencies/orbit and platform required orbits can live inside
 /platform/dependencies/orbit

 [1] https://svn.wso2.org/repos/wso2/carbon/orbit/

 --
 Miyuru Wanninayaka
 Technical Lead
 Member, Management Committee - Integration Technologies
 WSO2 Inc. : http://wso2.com

 Mobile : +94 77 209 9788
 Blog : http://miyurudw.blogspot.com
 Flickr : http://www.flickr.com/photos/miyuru_daminda
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware

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




 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead  Member, MC, Development Technologies
 WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
 blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/




-- 
*Senaka Fernando*
Member - Integration Technologies Management Committee;
Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://linkedin.com/in/senakafernando

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


Re: [Dev] Do we really need a separate carbon orbit?

2013-05-21 Thread Nuwan Bandara
On Wed, May 22, 2013 at 10:32 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Nuwan,

 That's what's desired, but it is not what you find in practice, :). Take a
 look @ platform/dependencies and then platform/dependencies/orbit. So, you
 find things that are not inside platform/dependencies to be referenced
 inside platform/dependencies/orbit. Such things are directly taken from
 outside too.


Thats absolutely wrong. we should either fix that or remove top level
orbit. I am +1 for top level orbit and -0 for removing the concept all
to gather.

Regards,
/Nuwan



 Thanks,
 Senaka.


 On Wed, May 22, 2013 at 10:14 AM, Nuwan Bandara nu...@wso2.com wrote:

 Hi,

 Well, platform/orbit and kernal/orbit has its meaning right. if we put
 some non osgi components to kernal/dependencies we wrap it at kernal/orbit.
 but top level orbit is the stuff we directly take from outside. So IMO
 there is a meaning in having top level /orbit. its not confusing, its
 rather clean. but ofcause you can have kernal/orbit with everything needed
 for kernel.

 Regards,
 /Nuwan


 On Wed, May 22, 2013 at 9:45 AM, Senaka Fernando sen...@wso2.com wrote:

 Hi Miyuru,

 IMHO, I see no point in having a separate orbit, so I too am +1 for
 this. A separate orbit has always been a confusion, since you also find
 orbit inside kernel/dependencies and platform/dependencies, making it
 highly confusing for anyone who tries to understand (or explain) our SVN
 structure.

 Thanks,
 Senaka.


 On Wed, May 22, 2013 at 9:24 AM, Miyuru Wanninayaka miy...@wso2.comwrote:

 Hi all,

 What is the point of having a separate orbit? [1]

 We either release kernel or platform and we don't release orbit. So any
 orbit bundle which required for kernel can live inside
 kernel/dependencies/orbit and platform required orbits can live inside
 /platform/dependencies/orbit

 [1] https://svn.wso2.org/repos/wso2/carbon/orbit/

 --
 Miyuru Wanninayaka
 Technical Lead
 Member, Management Committee - Integration Technologies
 WSO2 Inc. : http://wso2.com

 Mobile : +94 77 209 9788
 Blog : http://miyurudw.blogspot.com
 Flickr : http://www.flickr.com/photos/miyuru_daminda
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware

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




 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead  Member, MC, Development Technologies
 WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
 blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.com/




 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 
*Thanks  Regards,

Nuwan Bandara
Technical Lead  Member, MC, Development Technologies
WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629
*
http://www.nuwanbando.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Urgent] Registry kernel test failure

2013-05-21 Thread Ajith Vitharana
On Wed, May 22, 2013 at 9:10 AM, Kasun Weranga kas...@wso2.com wrote:

 Is this fixed now?


Yes. Please update the patch0001 and build.

Thanks
Ajith



 On Tuesday, May 21, 2013, Senaka Fernando wrote:

 Hi Kasun,

 Will have a look. It seems that an ORDER BY query is failing. We noticed
 this intermittently failing sometime back in the past too, but never could
 find a reason, since it was not reproducible in release builds. If you can
 consistently reproduce, please do keep a back-up of the maven repo, just in
 case it is not reproducible for others.

 Thanks,
 Senaka.


 On Tue, May 21, 2013 at 8:38 PM, Kasun Weranga kas...@wso2.com wrote:

 Hi all,

 I am getting following test failure from Registry kernel. Please fix it,
 we are building on clean repo to get the release packs and got the below
 issue when building patch0001.

 Building index for all the packages and classes...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/overview-tree.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/index-all.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/deprecated-list.html...
 Building index for all classes...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/allclasses-frame.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/allclasses-noframe.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/index.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/overview-summary.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/help-doc.html...
 Generating
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/target/site/apidocs/stylesheet.css...
 13 warnings
 [WARNING] Javadoc Warnings
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/Registry.java:577:
 warning - @param argument version is not a parameter name.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/internal/RegistryCoreServiceComponent.java:89:
 warning - @scr.component is an unknown tag.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/internal/RegistryCoreServiceComponent.java:89:
 warning - @scr.reference is an unknown tag.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/internal/RegistryCoreServiceComponent.java:89:
 warning - @scr.reference is an unknown tag.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/internal/RegistryCoreServiceComponent.java:89:
 warning - @scr.reference is an unknown tag.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/exceptions/RegistryException.java:27:
 warning - Tag @inheritDoc cannot be used in constructor documentation.  It
 can only be used in the following types of documentation: method, inline
 text.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/exceptions/RegistryException.java:34:
 warning - Tag @inheritDoc cannot be used in constructor documentation.  It
 can only be used in the following types of documentation: method, inline
 text.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/exceptions/RegistryException.java:27:
 warning - Tag @inheritDoc cannot be used in constructor documentation.  It
 can only be used in the following types of documentation: method, inline
 text.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/core/exceptions/RegistryException.java:27:
 warning - Tag @inheritDoc cannot be used in constructor documentation.  It
 can only be used in the following types of documentation: method, inline
 text.
 [WARNING]
 /home/wso2/4.1.0/kernel/4.1.0/patches/patch0001/org.wso2.carbon.registry.core/src/main/java/org/wso2/carbon/registry/

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818