[Dev] [G-Reg 5.0.0] Improved Notifications Support

2014-08-01 Thread Heshani Gamage
Hi Senaka et. al,

I'm implementing $Subject corresponding to the RM[1] .I would like to
verify requirements of this feature on following use cases.
a. Provide notification support for the Consumer side and Provider Side
b. Support for notifications explicitly initiated from the provider to a
specific consumer/consumers
-For example after a certain bug fix, provider will explicitly notify a
certain set of consumers

I need clarify following things
 1. How should the notification views be displayed on publisher and store?
 2. What do we actually mean by a consumer/how should we identify the
consumer? (e.g.: e-mail address etc.)
 3. How to select specific consumers for b. above?
 4. From where should the provider initiate the notification in the b. above
 5. As we already have notifications in G-Reg for a certain extent,
should display these notifications on the provider side too?


Is there anything to be added to the above?

[1] https://redmine.wso2.com/issues/2342

Thanks,
Heshani

-- 
Heshani Gamage
Software Engineer, WSO2, Inc.
email : hesh...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB build failure

2014-08-01 Thread Afkham Azeez
The next question is, the build was in a broken state for sometime. Why
didn't anybody in the ESB team raise the alarm?


On Fri, Aug 1, 2014 at 11:17 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Azeez,

 This is due to integration test fails. We are currently checking the test
 cases.

 Adding - Jeewantha.

 Best Regards,
 Malaka


 On Fri, Aug 1, 2014 at 11:11 AM, Afkham Azeez az...@wso2.com wrote:

 https://wso2.org/jenkins/job/product-esb/124/

 What's the reason?

 --
 *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 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*

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




 --

 Best Regards,

 Malaka Silva
 Senior Tech 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
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




-- 
*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
http://lk.linkedin.com/in/afkhamazeez*

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


[Dev] AXIS2 Merge to wso2 required

2014-08-01 Thread Malaka Silva
Hi Sameera,

Pull request [1] is already merged with wso2-dev. Please merge same with
wso2.
Related jira [2]

[1] https://github.com/wso2-dev/wso2-axis2/pull/10
[2] https://wso2.org/jira/browse/CARBON-14879

Thank you.

Best Regards,

Malaka Silva
Senior Tech 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
http://www.wso2.com/
http://www.wso2.com/about/team/malaka-silva/
http://wso2.com/about/team/malaka-silva/

Save a tree -Conserve nature  Save the world for your future. Print this
email only if it is absolutely necessary.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] G-Reg 5.0.0 new feature : Adding lifecycle state aware dashboards for services

2014-08-01 Thread Denuwanthi De Silva
Hi Senaka et. al,

I'm working on $subject. The corresponding Redmine link is at [1]

*Current Implementation*
As for now, G-reg only support, moving from several lifecycle states
(Development, Testing. Production) for services. It supports validation of
each state via checklists.

*New Feature*
Now, we plan to support a lifecycle state aware dashboards/view for
services.
That is, for each lifecycle state of a service, we plan to provide a
customized view corresponding to that state.
Ex: Details

   - Development state - The dashboard can show contributers, source
   repository URLs, no of commits, highest committer, stats related to its
   source control system etc


   - Testing state - The dashboard can show jenkins builder test results,
   etc.


   - Production state - (have to decide on what stats to show) showing run
   time request/response stats for the service is one option.


*Challenges*
But, if we are going to provide this in service level, for each service we
will have to provide these details.

   -  So, where should we keep all those details (described above) ?


   - Is it ideal to provide this state aware dashboards/views per service
   or should we go to an approach like  using the concept of  'project'
   (discussed in Unified Governance Model) which will contain several services
handle the lifecycle state aware details (described above), on 'project'
   level?


Is there anything need to be added or removed from above?


[1] https://redmine.wso2.com/issues/3073


Thanks,
-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] calling a jaggery function using button onclick

2014-08-01 Thread Akila Nimantha [IT/EKO/LOITS]
Hi all,

Im in a little trouble calling a jaggery function through html button onclick 
event.
When I click on the button my browser firebug console says , ReferenceError: 
startTask is not defined.

What I did was,

%
Var id = 8605;
Print('button onclick=startTask(id)Start/button');

var startTask = function (id){

   var version = new ws.WSRequest();
   var options = new Array();
   options.useSOAP = 1.2;
   options.action = urn : start;
   var cookie=session.get('cookie');

   options[HTTPHeaders] = [
 { name : Cookie, 
value :cookie },
   ];

   var payload = 
'ns:startns:identifier'+id+'/ns:identifier/ns:start';
   var result;
   var endpoint= 
https://192.168.255.150:9443/services/HumanTaskClientAPIAdmin/;;

   try {
   //response.addHeader('Cookie', cookie);
   version.open(options,endpoint, false);
   version.send(payload);
   result = version.responseXML;
   print('scriptalert('+result+');/script');
   } catch (e) {
log.error(e.toString());
//session.put(showLogin, 
true);
print(e);
//return null;
}
   };

%

Are there wrongs in my code...?

Regards,
Akila


This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received this
communication in error, notify us immediately by telephone and
(i) destroy this message if a facsimile or (ii) delete this message
immediately if this is an electronic communication.

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


Re: [Dev] [G-Reg 5.0.0] Improved Notifications Support

2014-08-01 Thread Ruchira Wageesha
Hi Heshani,

If you can get the API ready initially, I think that would be the way.
Then, from ES store and publisher side, we can use that API to
send/retrieve notifications.

@Subash, Heshani,

What would be the timeline of this? Sameeraj has already started
implementing notification support for ES. Hence, we need to sync up with
you guys.

/Ruchira


On Fri, Aug 1, 2014 at 11:33 AM, Heshani Gamage hesh...@wso2.com wrote:

 Hi Senaka et. al,

 I'm implementing $Subject corresponding to the RM[1] .I would like to
 verify requirements of this feature on following use cases.
 a. Provide notification support for the Consumer side and Provider Side
  b. Support for notifications explicitly initiated from the provider to a
 specific consumer/consumers
 -For example after a certain bug fix, provider will explicitly notify a
 certain set of consumers

 I need clarify following things
  1. How should the notification views be displayed on publisher and store?
  2. What do we actually mean by a consumer/how should we identify the
 consumer? (e.g.: e-mail address etc.)
  3. How to select specific consumers for b. above?
  4. From where should the provider initiate the notification in the b.
 above
  5. As we already have notifications in G-Reg for a certain
 extent, should display these notifications on the provider side too?


 Is there anything to be added to the above?

 [1] https://redmine.wso2.com/issues/2342

 Thanks,
 Heshani

 --
 Heshani Gamage
 Software Engineer, WSO2, Inc.
 email : hesh...@wso2.com




-- 

*Ruchira Wageesha**Associate Technical Lead*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

*email: ruch...@wso2.com ruch...@wso2.com,   blog:
ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
mobile: +94 77 5493444*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] calling a jaggery function using button onclick

2014-08-01 Thread Milinda Perera
Hi Akila,

Try this one:
print('button onclick=startTask('  +id   +' )Start/button')


Or you can put like this outside the scripting segment (%%)

button onclick=startTask(%=id%)Start/button

Thanks,
Milinda



On Fri, Aug 1, 2014 at 12:36 PM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.com wrote:

  Hi all,



 Im in a little trouble calling a jaggery function through html button
 “onclick” event.

 When I click on the button my browser firebug console says , “ReferenceError:
 startTask is not defined”.



 What I did was,



 %

 Var id = 8605;

 Print(‘button onclick=startTask(id)Start/button’);



 var startTask = function (id){



var version = new ws.WSRequest();

var options = new Array();

options.useSOAP = 1.2;

options.action = urn : start;

var cookie=session.get('cookie');



options[HTTPHeaders] = [

  { name :
 Cookie, value :cookie },

];



var payload =
 'ns:startns:identifier'+id+'/ns:identifier/ns:start';

var result;

var endpoint= 
 https://192.168.255.150:9443/services/HumanTaskClientAPIAdmin/;;



try {

//response.addHeader('Cookie', cookie);

version.open(options,endpoint, false);

version.send(payload);

result = version.responseXML;

print('scriptalert('+result+');/script');

} catch (e) {

 log.error(e.toString());

 //session.put(showLogin,
 true);

 print(e);

 //return null;

 }

};



 %



 Are there wrongs in my code…?



 Regards,

 Akila



 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.

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




-- 
Milinda Perera
Software Engineer;
WSO2 Inc. http://wso2.com ,
Mobile: (+94) 714 115 032
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Krishantha Samaraweera
Hi all,

It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer. He
has been a valuable contributor for test automation and WSO2 product
platform. In acknowledgement of his contributions, he's been voted as a
WSO2 Committer. Welcome aboard and keep up the good work!

Thanks,
Krishantha.

-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Gayan Yalpathwala
Congratulations Waruna!!


On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera krishan...@wso2.com
wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer. He
 has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




-- 
*Gayan Kaushalya Yalpathwala*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 71 8682704 http://asia14.wso2con.com/

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


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Rushmin Fernando
Congratulations !!

On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera krishan...@wso2.com
wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer. He
 has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




-- 
*Rushmin Fernando*
*Technical Lead*

WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware

email : rush...@wso2.com
mobile : +94772310855
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Aruna Karunarathna
Congratulations Waruna...!!!


On Fri, Aug 1, 2014 at 1:25 PM, Rushmin Fernando rush...@wso2.com wrote:

 Congratulations !!

 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer.
 He has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --
 *Rushmin Fernando*
 *Technical Lead*

 WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware

 email : rush...@wso2.com
 mobile : +94772310855



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




-- 

*Aruna Sujith Karunarathna* | Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 9040362 | Work: +94 112145345
Email: ar...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Jayanga Dissanayake
Congratzzz Waruna..

*Jayanga Dissanayake*
Senior Software Engineer
WSO2 Inc. - http://wso2.com/
lean . enterprise . middleware
email: jaya...@wso2.com
mobile: +94772207259


On Fri, Aug 1, 2014 at 1:27 PM, Aruna Karunarathna ar...@wso2.com wrote:

 Congratulations Waruna...!!!


 On Fri, Aug 1, 2014 at 1:25 PM, Rushmin Fernando rush...@wso2.com wrote:

 Congratulations !!

 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer.
 He has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --
 *Rushmin Fernando*
 *Technical Lead*

 WSO2 Inc. http://wso2.com/ - Lean . Enterprise . Middleware

 email : rush...@wso2.com
 mobile : +94772310855



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




 --

 * Aruna Sujith Karunarathna* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka
 Mobile: +94 71 9040362 | Work: +94 112145345
 Email: ar...@wso2.com | Web: www.wso2.com


 ___
 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 += Waruna Perera

2014-08-01 Thread Asanka Dissanayake
Congratz Waruna !!


On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera krishan...@wso2.com
wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer. He
 has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




-- 


*Asanka DissanayakeSoftware Engineer*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com/*

*email: asan...@wso2.com ruch...@wso2.com,   blog:
cyberwaadiya.blogspot.com
http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Requesting to commit fixes to Kernel

2014-08-01 Thread Chamara Silva
Please commit kernel_path.diff to the kernel for fix server role name issue
describes in ticket [1].


1. https://wso2.org/browse/CARBON-14894

Thanks,
Chamara Silva

-- 
Suminda Chamara Silva
Associate Technical Lead
WSO2 Inc.
Mobile: +16508619334
blog: http://chamaras.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Seshika Fernando
Super! Well done Waruna!


On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer.
 He has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

 ___
 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 += Waruna Perera

2014-08-01 Thread Malintha Adikari
Congratulations Waruna!!



On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer.
 He has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




-- 
*Malintha Adikari*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile: +94 71 2312958
Blog:http://malinthas.blogspot.com
Page:   http://about.me/malintha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [G-Reg 5.0.0] Improved Notifications Support

2014-08-01 Thread Subash Chaturanga
Hi Ruchira,
+1 for sync up. We planned to push this by 5.0.0-M2. It will be end of this
month.


On Fri, Aug 1, 2014 at 12:36 PM, Ruchira Wageesha ruch...@wso2.com wrote:

 Hi Heshani,

 If you can get the API ready initially, I think that would be the way.
 Then, from ES store and publisher side, we can use that API to
 send/retrieve notifications.

 @Subash, Heshani,

 What would be the timeline of this? Sameeraj has already started
 implementing notification support for ES. Hence, we need to sync up with
 you guys.

 /Ruchira


 On Fri, Aug 1, 2014 at 11:33 AM, Heshani Gamage hesh...@wso2.com wrote:

 Hi Senaka et. al,

 I'm implementing $Subject corresponding to the RM[1] .I would like to
 verify requirements of this feature on following use cases.
  a. Provide notification support for the Consumer side and Provider Side
  b. Support for notifications explicitly initiated from the provider to
 a specific consumer/consumers
 -For example after a certain bug fix, provider will explicitly notify a
 certain set of consumers

 I need clarify following things
  1. How should the notification views be displayed on publisher and store?
  2. What do we actually mean by a consumer/how should we identify the
 consumer? (e.g.: e-mail address etc.)
  3. How to select specific consumers for b. above?
  4. From where should the provider initiate the notification in the b.
 above
  5. As we already have notifications in G-Reg for a certain
 extent, should display these notifications on the provider side too?


 Is there anything to be added to the above?

 [1] https://redmine.wso2.com/issues/2342

 Thanks,
 Heshani

 --
 Heshani Gamage
 Software Engineer, WSO2, Inc.
 email : hesh...@wso2.com




 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*




-- 
Thanks
/subash

*Subash Chaturanga*
Senior Software Engineer  Lead WSO2 Governance Registry
Platform TG; WSO2 Inc. http://wso2.com
Contact:
email: sub...@wso2.com
blog:  http://subashsdm.blogspot.com/
twitter: @subash89
phone: +9477 2225922
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] calling a jaggery function using button onclick

2014-08-01 Thread Danushka Fernando
Hi
@Milinda : This code is fully written inside a jaggery tag.

@Akila : put print statement after the definition of the function as below.

%

Var id = 8605;




var startTask = function (id){



   var version = new ws.WSRequest();

   var options = new Array();

   options.useSOAP = 1.2;

   options.action = urn : start;

   var cookie=session.get('cookie');



   options[HTTPHeaders] = [

 { name : Cookie,
value :cookie },

   ];



   var payload =
'ns:startns:identifier'+id+'/ns:identifier/ns:start';

   var result;

   var endpoint= 
https://192.168.255.150:9443/services/HumanTaskClientAPIAdmin/;;



   try {

   //response.addHeader('Cookie', cookie);

   version.open(options,endpoint, false);

   version.send(payload);

   result = version.responseXML;

   print('scriptalert('+result+');/script');

   } catch (e) {

log.error(e.toString());

//session.put(showLogin,
true);

print(e);

//return null;

}

   };


Print(‘button onclick=startTask(id)Start/button’);



%

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


On Fri, Aug 1, 2014 at 12:57 PM, Milinda Perera milin...@wso2.com wrote:

 Hi Akila,

 Try this one:
 print('button onclick=startTask('  +id   +' )Start/button')


 Or you can put like this outside the scripting segment (%%)

 button onclick=startTask(%=id%)Start/button

 Thanks,
 Milinda



 On Fri, Aug 1, 2014 at 12:36 PM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

  Hi all,



 Im in a little trouble calling a jaggery function through html button
 “onclick” event.

 When I click on the button my browser firebug console says , “ReferenceError:
 startTask is not defined”.



 What I did was,



 %

 Var id = 8605;

 Print(‘button onclick=startTask(id)Start/button’);



 var startTask = function (id){



var version = new ws.WSRequest();

var options = new Array();

options.useSOAP = 1.2;

options.action = urn : start;

var cookie=session.get('cookie');



options[HTTPHeaders] = [

  { name :
 Cookie, value :cookie },

];



var payload =
 'ns:startns:identifier'+id+'/ns:identifier/ns:start';

var result;

var endpoint= 
 https://192.168.255.150:9443/services/HumanTaskClientAPIAdmin/;;



try {

//response.addHeader('Cookie', cookie);

version.open(options,endpoint, false);

version.send(payload);

result = version.responseXML;

print('scriptalert('+result+');/script');

} catch (e) {

 log.error(e.toString());


 //session.put(showLogin, true);

 print(e);

 //return null;

 }

};



 %



 Are there wrongs in my code…?



 Regards,

 Akila



 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.

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




 --
 Milinda Perera
 Software Engineer;
 WSO2 Inc. 

Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Shazni Nazeer
Congratz Waruna!!!

Shazni Nazeer

Senior Software Engineer

Mob : +94 37331
LinkedIn : http://lk.linkedin.com/in/shazninazeer
Blog : http://shazninazeer.blogspot.com


On Fri, Aug 1, 2014 at 1:45 PM, Malintha Adikari malin...@wso2.com wrote:

 Congratulations Waruna!!



 On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com
 wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer.
 He has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 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


[Dev] Management console login attempt fails for worker node, but backend log says successfully logged in

2014-08-01 Thread Nipuni Perera
Hi,

I am working on jira issue[1]. I could reproduce the issue in a cluster
with ELB, manager node and a worker node using ESB 4.8.0. When a login
attempt is triggered,

   1. login() method of AuthenticationAdmin.java (line 62 of [2]) set
   boolean values for isAuthenticated and isAuthorized.
   2. Both values set to true in workerNode (eg: for admin user login
   attempt)
   3. Initially isAuthenticated value set to true (line 101), due to a
   return value of authenticate() method in AbstractUserStoreManager.java[3].
   4. authenticate() method does not check if CarbonUtils.isWorkerNode() is
   set to true or false.

In order to fix the issue I can check CarbonUtils.isWorkerNode() value in
login() method of AuthenticationAdmin.java as follows.

  boolean isAuthenticated = CarbonUtils.isWorkerNode() ? false :
realm.getUserStoreManager().authenticate(username, password);

or use authenticate() method in AbstractUserStoreManager.java to check
isWorkerNode() value in a if condition. What would be the best option? Is
there a better way to fix this?
[1] https://wso2.org/jira/browse/CARBON-14793
[2]
https://github.com/wso2-dev/carbon4-kernel/blob/master/core/org.wso2.carbon.core.services/src/main/java/org/wso2/carbon/core/services/authentication/AuthenticationAdmin.java
[3]
https://github.com/wso2-dev/carbon4-kernel/blob/master/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/common/AbstractUserStoreManager.java

Thanks,
Nipuni
-- 
Nipuni Perera
Software Engineer; WSO2 Inc.; http://wso2.com
Email: nip...@wso2.com
Git hub profile: https://github.com/nipuni
Mobile: +94 (71) 5626680
http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESB build failure

2014-08-01 Thread Kasun Indrasiri
These failures are due to removing the capability of applying QoS via admin
services in kernel. So, all test which applies security etc need to be
modified (across all products). We have been working on fixing these tests
but till we modify all these tests, we have to disable them from the
product build.



On Fri, Aug 1, 2014 at 11:48 AM, Afkham Azeez az...@wso2.com wrote:

 The next question is, the build was in a broken state for sometime. Why
 didn't anybody in the ESB team raise the alarm?


 On Fri, Aug 1, 2014 at 11:17 AM, Malaka Silva mal...@wso2.com wrote:

 Hi Azeez,

 This is due to integration test fails. We are currently checking the test
 cases.

 Adding - Jeewantha.

 Best Regards,
 Malaka


 On Fri, Aug 1, 2014 at 11:11 AM, Afkham Azeez az...@wso2.com wrote:

 https://wso2.org/jenkins/job/product-esb/124/

 What's the reason?

 --
 *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 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*

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




 --

 Best Regards,

 Malaka Silva
 Senior Tech 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
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 http://wso2.com/about/team/malaka-silva/

 Save a tree -Conserve nature  Save the world for your future. Print this
 email only if it is absolutely necessary.




 --
 *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 %2B94%2077%203320919 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
 http://lk.linkedin.com/in/afkhamazeez*

 *Lean . Enterprise . Middleware*




-- 
Kasun Indrasiri
Software Architect
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 77 556 5206
Blog : http://kasunpanorama.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Release Tomcat 7.0.52.wso2v4 orbit

2014-08-01 Thread Maheshika Goonetilleke
HI Kasun

Done.


On Fri, Aug 1, 2014 at 2:50 AM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Maheshika,

 Can you please do $subject on [1]?

 [1] https://github.com/wso2/orbit/tree/master/tomcat/7.0.52.wso2v4

 Thanks,
 KasunG

 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






-- 

Thanks  Best Regards,

Maheshika Goonetilleke
Engineering Process Coordinator

*WSO2 Inc*
*email   : mahesh...@wso2.com mahesh...@wso2.com*
*mobile : +94 773 596707*
*www: :http://wso2.com http://wso2.com/*lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] URL Pattern macher for Any URL string

2014-08-01 Thread Kasun Dissanayake
Hi All,

This is to inform that I have developed an Algorithm for URL matching for
given url pattern.
This will do following

URL PATTERN String
   Status

/*  x/y/a.png
Matched but not returns true;
/x/y/*x/y/a.png
  Matched then returns true;

Like wise it will return for specific url string according to the FIFO
method.

any feed back will be grateful.


-- 
Kasun Dissanayake
Software Engineer
WSO2 Inc.
Lean | Enterprise | Middleware
Tel - +94 77 086 2860
Skype - kasun.dissanayake4
LinkedIn - lk.linkedin.com/in/kasundis/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] calling a jaggery function using button onclick

2014-08-01 Thread Rajith Vitharana
Hi Akila,

AFAIK this is not how it is done. As you have written the code
startTask function
is in server side so you can't invoke it as normal javascript function
which reside in client side. So either you have to do a ajax call to the
server and invoke the jaggery method or put this method to client side and
invoke as normal javascript function. Since you are doing a WS request
inside this function, I think you'll have to keep this function in server
side and do a ajax call to invoke the method. You can find more on [1]

[1] - http://jaggeryjs.org/documentation.jag?api=ws

Thanks,


On Fri, Aug 1, 2014 at 12:57 PM, Milinda Perera milin...@wso2.com wrote:

 Hi Akila,

 Try this one:
 print('button onclick=startTask('  +id   +' )Start/button')


 Or you can put like this outside the scripting segment (%%)

 button onclick=startTask(%=id%)Start/button

 Thanks,
 Milinda



 On Fri, Aug 1, 2014 at 12:36 PM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

  Hi all,



 Im in a little trouble calling a jaggery function through html button
 “onclick” event.

 When I click on the button my browser firebug console says , “ReferenceError:
 startTask is not defined”.



 What I did was,



 %

 Var id = 8605;

 Print(‘button onclick=startTask(id)Start/button’);



 var startTask = function (id){



var version = new ws.WSRequest();

var options = new Array();

options.useSOAP = 1.2;

options.action = urn : start;

var cookie=session.get('cookie');



options[HTTPHeaders] = [

  { name :
 Cookie, value :cookie },

];



var payload =
 'ns:startns:identifier'+id+'/ns:identifier/ns:start';

var result;

var endpoint= 
 https://192.168.255.150:9443/services/HumanTaskClientAPIAdmin/;;



try {

//response.addHeader('Cookie', cookie);

version.open(options,endpoint, false);

version.send(payload);

result = version.responseXML;

print('scriptalert('+result+');/script');

} catch (e) {

 log.error(e.toString());


 //session.put(showLogin, true);

 print(e);

 //return null;

 }

};



 %



 Are there wrongs in my code…?



 Regards,

 Akila



 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly prohibited. If you have received this
 communication in error, notify us immediately by telephone and (i) destroy
 this message if a facsimile or (ii) delete this message immediately if this
 is an electronic communication. Thank you.

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




 --
 Milinda Perera
 Software Engineer;
 WSO2 Inc. http://wso2.com ,
 Mobile: (+94) 714 115 032


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




-- 
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.com
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] calling a jaggery function using button onclick

2014-08-01 Thread Milinda Perera
Hi,

Since *id* is a variable (Var id = 8605) the value of the id does not get
replaced in startTask(id) if we use as follow

Print(‘button onclick=startTask(id)Start/button’);


Also I have a doubt whether this code works as expected, because startTask()
should be executed in server side




On Fri, Aug 1, 2014 at 1:57 PM, Danushka Fernando danush...@wso2.com
wrote:

 Hi
 @Milinda : This code is fully written inside a jaggery tag.

 @Akila : put print statement after the definition of the function as below.

 %

 Var id = 8605;




 var startTask = function (id){



var version = new ws.WSRequest();

var options = new Array();

options.useSOAP = 1.2;

options.action = urn : start;

var cookie=session.get('cookie');



options[HTTPHeaders] = [

  { name :
 Cookie, value :cookie },

];



var payload =
 'ns:startns:identifier'+id+'/ns:identifier/ns:start';

var result;

var endpoint= 
 https://192.168.255.150:9443/services/HumanTaskClientAPIAdmin/;;



try {

//response.addHeader('Cookie', cookie);

version.open(options,endpoint, false);

version.send(payload);

result = version.responseXML;

print('scriptalert('+result+');/script');

} catch (e) {

 log.error(e.toString());

 //session.put(showLogin,
 true);

 print(e);

 //return null;

 }

};


 Print(‘button onclick=startTask(id)Start/button’);



 %

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


 On Fri, Aug 1, 2014 at 12:57 PM, Milinda Perera milin...@wso2.com wrote:

 Hi Akila,

 Try this one:
 print('button onclick=startTask('  +id   +'
 )Start/button')


 Or you can put like this outside the scripting segment (%%)

 button onclick=startTask(%=id%)Start/button

 Thanks,
 Milinda



 On Fri, Aug 1, 2014 at 12:36 PM, Akila Nimantha [IT/EKO/LOITS] 
 aki...@lolctech.com wrote:

  Hi all,



 Im in a little trouble calling a jaggery function through html button
 “onclick” event.

 When I click on the button my browser firebug console says , 
 “ReferenceError:
 startTask is not defined”.



 What I did was,



 %

 Var id = 8605;

 Print(‘button onclick=startTask(id)Start/button’);



 var startTask = function (id){



var version = new ws.WSRequest();

var options = new Array();

options.useSOAP = 1.2;

options.action = urn : start;

var cookie=session.get('cookie');



options[HTTPHeaders] = [

  { name :
 Cookie, value :cookie },

];



var payload =
 'ns:startns:identifier'+id+'/ns:identifier/ns:start';

var result;

var endpoint= 
 https://192.168.255.150:9443/services/HumanTaskClientAPIAdmin/;;



try {

//response.addHeader('Cookie', cookie);

version.open(options,endpoint, false);

version.send(payload);

result = version.responseXML;

print('scriptalert('+result+');/script');

} catch (e) {

 log.error(e.toString());


 //session.put(showLogin, true);

 print(e);

 //return null;

 }

};



 %



 Are there wrongs in my code…?



 Regards,

 Akila



 This message (including any attachments) is intended only for the use of
 the individual or entity to which it is addressed and may contain
 information that is non-public, proprietary, privileged, confidential, and
 exempt from disclosure under applicable law or may constitute as attorney
 work product. If you are not the intended recipient, you are hereby
 notified that any use, dissemination, distribution, or copying of this
 communication is strictly 

Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Uvindra Dias Jayasinha
Congratz Waruna


On 1 August 2014 13:57, Shazni Nazeer sha...@wso2.com wrote:

 Congratz Waruna!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, Aug 1, 2014 at 1:45 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Waruna!!



 On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com
 wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer.
 He has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 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,
Uvindra

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


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Dakshika Jayathilaka
Congratulations Waruna !!

*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911


On Fri, Aug 1, 2014 at 8:47 AM, Uvindra Dias Jayasinha uvin...@wso2.com
wrote:

 Congratz Waruna


 On 1 August 2014 13:57, Shazni Nazeer sha...@wso2.com wrote:

 Congratz Waruna!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, Aug 1, 2014 at 1:45 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Waruna!!



 On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com
 wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2
 Committer. He has been a valuable contributor for test automation and WSO2
 product platform. In acknowledgement of his contributions, he's been voted
 as a WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 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,
 Uvindra

 Mobile: 33962

 ___
 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 += Waruna Perera

2014-08-01 Thread Asanka Vithanage
Congratz Waruna...!!!


On Fri, Aug 1, 2014 at 2:17 PM, Uvindra Dias Jayasinha uvin...@wso2.com
wrote:

 Congratz Waruna


 On 1 August 2014 13:57, Shazni Nazeer sha...@wso2.com wrote:

 Congratz Waruna!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, Aug 1, 2014 at 1:45 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Waruna!!



 On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com
 wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2
 Committer. He has been a valuable contributor for test automation and WSO2
 product platform. In acknowledgement of his contributions, he's been voted
 as a WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 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,
 Uvindra

 Mobile: 33962

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




-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Sohani Weerasinghe
Congratulations 

Regards,
Sohani

Sohani Weerasinghe
Software Engineer
WSO2, Inc: http://wso2.com

Mobile  : +94 716439774
Blog :http://christinetechtips.blogspot.com/
Twitter  : https://twitter.com/sohanichristine


On Fri, Aug 1, 2014 at 2:26 PM, Dakshika Jayathilaka daksh...@wso2.com
wrote:

 Congratulations Waruna !!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 1, 2014 at 8:47 AM, Uvindra Dias Jayasinha uvin...@wso2.com
 wrote:

 Congratz Waruna


 On 1 August 2014 13:57, Shazni Nazeer sha...@wso2.com wrote:

 Congratz Waruna!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, Aug 1, 2014 at 1:45 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Waruna!!



 On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com
 wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2
 Committer. He has been a valuable contributor for test automation and 
 WSO2
 product platform. In acknowledgement of his contributions, he's been 
 voted
 as a WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 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,
 Uvindra

 Mobile: 33962

 ___
 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


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


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Pubudu Dissanayake
Congratulations !!


On Fri, Aug 1, 2014 at 2:29 PM, Sohani Weerasinghe soh...@wso2.com wrote:

 Congratulations 

 Regards,
 Sohani

 Sohani Weerasinghe
 Software Engineer
 WSO2, Inc: http://wso2.com

 Mobile  : +94 716439774
 Blog :http://christinetechtips.blogspot.com/
 Twitter  : https://twitter.com/sohanichristine


 On Fri, Aug 1, 2014 at 2:26 PM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations Waruna !!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 1, 2014 at 8:47 AM, Uvindra Dias Jayasinha uvin...@wso2.com
 wrote:

 Congratz Waruna


 On 1 August 2014 13:57, Shazni Nazeer sha...@wso2.com wrote:

 Congratz Waruna!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, Aug 1, 2014 at 1:45 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Waruna!!



 On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com
 wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2
 Committer. He has been a valuable contributor for test automation and 
 WSO2
 product platform. In acknowledgement of his contributions, he's been 
 voted
 as a WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 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,
 Uvindra

 Mobile: 33962

 ___
 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



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




-- 
*Pubudu Dissanayake*
 Software Engineer

WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
Mob: + 94 775 503 304

 Blog: http://geekdetected.wordpress.com/
 Linkedin: *http://lk.linkedin.com/in/pubududissanayake*
http://lk.linkedin.com/in/pubududissanayake
Flickr : https://www.flickr.com/photos/pubudufx/
Twitter: https://twitter.com/GeekInAction
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Firzhan Naqash
Congratz Waruna

Regards,
Firzhan


On Fri, Aug 1, 2014 at 2:29 PM, Sohani Weerasinghe soh...@wso2.com wrote:

 Congratulations 

 Regards,
 Sohani

 Sohani Weerasinghe
 Software Engineer
 WSO2, Inc: http://wso2.com

 Mobile  : +94 716439774
 Blog :http://christinetechtips.blogspot.com/
 Twitter  : https://twitter.com/sohanichristine


 On Fri, Aug 1, 2014 at 2:26 PM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations Waruna !!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 1, 2014 at 8:47 AM, Uvindra Dias Jayasinha uvin...@wso2.com
 wrote:

 Congratz Waruna


 On 1 August 2014 13:57, Shazni Nazeer sha...@wso2.com wrote:

 Congratz Waruna!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, Aug 1, 2014 at 1:45 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Waruna!!



 On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com
 wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2
 Committer. He has been a valuable contributor for test automation and 
 WSO2
 product platform. In acknowledgement of his contributions, he's been 
 voted
 as a WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 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,
 Uvindra

 Mobile: 33962

 ___
 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



 ___
 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 += Waruna Perera

2014-08-01 Thread Manula Chathurika Thantriwatte
Congratulations !!!


On Fri, Aug 1, 2014 at 2:35 PM, Pubudu Dissanayake pubu...@wso2.com wrote:

 Congratulations !!


 On Fri, Aug 1, 2014 at 2:29 PM, Sohani Weerasinghe soh...@wso2.com
 wrote:

 Congratulations 

 Regards,
 Sohani

 Sohani Weerasinghe
 Software Engineer
 WSO2, Inc: http://wso2.com

 Mobile  : +94 716439774
 Blog :http://christinetechtips.blogspot.com/
 Twitter  : https://twitter.com/sohanichristine


 On Fri, Aug 1, 2014 at 2:26 PM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations Waruna !!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 1, 2014 at 8:47 AM, Uvindra Dias Jayasinha uvin...@wso2.com
  wrote:

 Congratz Waruna


 On 1 August 2014 13:57, Shazni Nazeer sha...@wso2.com wrote:

 Congratz Waruna!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, Aug 1, 2014 at 1:45 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Waruna!!



 On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com
 wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2
 Committer. He has been a valuable contributor for test automation and 
 WSO2
 product platform. In acknowledgement of his contributions, he's been 
 voted
 as a WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 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,
 Uvindra

 Mobile: 33962

 ___
 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



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




 --
 *Pubudu Dissanayake*
  Software Engineer

 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 Mob: + 94 775 503 304

  Blog: http://geekdetected.wordpress.com/
  Linkedin: *http://lk.linkedin.com/in/pubududissanayake*
 http://lk.linkedin.com/in/pubududissanayake
 Flickr : https://www.flickr.com/photos/pubudufx/
 Twitter: https://twitter.com/GeekInAction


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




-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manu...@wso2.com / man...@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Requesting to commit fixes to Kernel

2014-08-01 Thread Kishanthan Thangarajah
Please send the relevant pull request to 4.3.0 branch as-well.


On Fri, Aug 1, 2014 at 1:43 PM, Chamara Silva cham...@wso2.com wrote:

 Please commit kernel_path.diff to the kernel for fix server role name
 issue describes in ticket [1].


 1. https://wso2.org/browse/CARBON-14894

 Thanks,
 Chamara Silva

 --
 Suminda Chamara Silva
 Associate Technical Lead
 WSO2 Inc.
 Mobile: +16508619334
 blog: http://chamaras.blogspot.com




-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com http://kishanthan.wordpress.com*
Twitter - *http://twitter.com/kishanthan http://twitter.com/kishanthan*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPS][NDATASOURCE] Issues on Using NDataSource

2014-08-01 Thread Firzhan Naqash
Adding Eranda

Regards,
Firzhan


On Fri, Aug 1, 2014 at 1:26 AM, Firzhan Naqash firz...@wso2.com wrote:



 Hi,


 When we tried to use the Ndata source in BPS we encountered with following
 error[2]. Already there has been an issue also logged in Jira sometime ago
 [1].

 This error occurs when the user tried to upload a bpel package ( or Human
 Task ) for the first time. When I investigated the issue I made out
 following findings.


 The flow of the operations related to committing a package in OpenJPA can
 be listed like this.


1. Initially OpenJPA inserts a row with sequence_Id zero and
sequence_value one in to the OpenJPA_SEQUENCE_TABLE index. ( This operation
is done to build the index structure for the first time )
2. There after OpenJPA closes the connection. Just before the
connection getting added to connection pool,
ConnectionRollbackOnReturnInterceptor invokes the rollback operation since
defaultAutoCommit variable is not set in the bps-datasource.xml.
Therefore the row inserted to the OpenJPA_SEQUENCE_TABLE got cleared out.
3. Then OpenJPA tries to update the value of the sequence_value with a
generated id. But since the cached row has been rolled back by the
Interceptor, OpenJPA throws an error and aborts the commit operation.


 How can this issue can be sorted? Are there Any possible workarounds for
 this?

 [1] https://wso2.org/jira/browse/BPS-185

 [2]

   [2014-07-31 12:45:58,630] WARN {Transaction} - Unexpected
 exception from beforeCompletion; transaction will roll back

 openjpa-2.2.0-wso2v1-r128166:129108 nonfatal user error
 org.apache.openjpa.persistence.InvalidStateException: Attempt to commit a
 null javax.transaction.Transaction. Some application servers set the
 transaction to null if a rollback occurs.

 at
 org.apache.openjpa.kernel.BrokerImpl.setRollbackOnlyInternal(BrokerImpl.java:1654)


 at
 org.apache.openjpa.kernel.BrokerImpl.setRollbackOnly(BrokerImpl.java:1640)

 at
 org.apache.openjpa.kernel.DelegatingBroker.setRollbackOnly(DelegatingBroker.java:981)


 at
 org.apache.openjpa.persistence.EntityManagerImpl.setRollbackOnly(EntityManagerImpl.java:631)


 at
 org.apache.openjpa.persistence.PersistenceExceptions$2.translate(PersistenceExceptions.java:77)


 at
 org.apache.openjpa.kernel.BrokerImpl.translateManagedCompletionException(BrokerImpl.java:2060)


 at
 org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1994)

 at
 org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.java:514)


 at
 org.apache.geronimo.transaction.manager.TransactionImpl.beforeCompletion(TransactionImpl.java:498)


 at
 org.apache.geronimo.transaction.manager.TransactionImpl.beforePrepare(TransactionImpl.java:400)


 at
 org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:257)


 at
 org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:238)


 at
 org.apache.ode.store.jpa.DbConfStoreConnectionFactory.commitTransaction(DbConfStoreConnectionFactory.java:86)


 at
 org.wso2.carbon.bpel.core.ode.integration.store.ProcessStoreImpl$Callable.call(ProcessStoreImpl.java:735)


 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

 at java.util.concurrent.FutureTask.run(FutureTask.java:138)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)


 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)


 at java.lang.Thread.run(Thread.java:662)

 [2014-07-31 12:45:58,631] ERROR
 {org.wso2.carbon.bpel.core.ode.integration.store.ProcessStoreImpl} -
 DbError

 java.lang.RuntimeException: java.lang.IllegalStateException: No
 transaction associated with current thread

 at
 org.apache.ode.store.jpa.DbConfStoreConnectionFactory.rollbackTransaction(DbConfStoreConnectionFactory.java:97)


 at
 org.wso2.carbon.bpel.core.ode.integration.store.ProcessStoreImpl$Callable.call(ProcessStoreImpl.java:741)


 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

 at java.util.concurrent.FutureTask.run(FutureTask.java:138)

 at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)


 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)


 at java.lang.Thread.run(Thread.java:662)

 Caused by: java.lang.IllegalStateException: No transaction associated with
 current thread

 at
 org.apache.geronimo.transaction.manager.TransactionManagerImpl.rollback(TransactionManagerImpl.java:247)


 at
 org.apache.ode.store.jpa.DbConfStoreConnectionFactory.rollbackTransaction(DbConfStoreConnectionFactory.java:95)


 ... 6 more

 [2014-07-31 12:45:58,631] ERROR
 {org.wso2.carbon.bpel.core.ode.integration.store.TenantProcessStoreImpl} -
 BPEL Package deployment failed at ODE layer. Possible cause: DbError

 org.apache.ode.bpel.iapi.ContextException: DbError

 at
 

[Dev] Security does not get synchronized to some workers in DSS cluster.

2014-08-01 Thread Ushani Balasooriya
Hi,

Please note the $subject. This can be easily reproduced. Issue [1] is
reported.
Please let us know the reason for this.

[1] https://wso2.org/jira/browse/DS-943



Regards,
-- 
*Ushani Balasooriya*
Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; +94772636796
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Fwd: NoClassDefFoundError: org/github/jamm/MemoryMeter

2014-08-01 Thread Udara Rathnayake
[forwarding to dev]

-- Forwarded message --
From: Udara Rathnayake uda...@wso2.com
Date: Fri, Aug 1, 2014 at 3:09 PM
Subject: Re: NoClassDefFoundError: org/github/jamm/MemoryMeter
To: Dhanuka Ranasinghe dhan...@wso2.com, Kasun Gajasinghe kas...@wso2.com

Cc: Dinithi De Silva dinit...@wso2.com,


Hi All,

Where is this launch file coming from?

Rather than maintaining own version of launch.ini within the product(and
copy using bin.xml) we should be able to update this in a single place and
get this update during the product build. We are also getting a similar
error[1] during server start-up in ES  1.2.0 M2(with cassandra based
social framework).

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

Regards,
UdaraR


On Wed, Jul 30, 2014 at 12:35 PM, Dhanuka Ranasinghe dhan...@wso2.com
wrote:

 Hi Dinithi,

 Please refer below Jirra [1], simply what you have to do is add this as a
 java agent in startup script and as entry in launch.ini. You can get an
 idea If you can refer WSO2 MB star up and launch.ini files.

 Also as a side note, some of the things can be found from gmail inbox,
 even though couldn't find from Google :-)

 [1]  https://wso2.org/jira/browse/MB-483

 *Dhanuka Ranasinghe*

 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 715381915


 On Wed, Jul 30, 2014 at 12:21 PM, Dinithi De Silva dinit...@wso2.com
 wrote:

 Hi all,

 I have tried starting wso2am-1.6.0 and ended up with the following error.

 ERROR {org.apache.cassandra.service.CassandraDaemon} -  Exception
 encountered during startup
 java.lang.NoClassDefFoundError: org/github/jamm/MemoryMeter
 at
 org.apache.cassandra.cql3.QueryProcessor.clinit(QueryProcessor.java:48)
 at org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:334)
  at org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:352)
 at org.apache.cassandra.config.CFMetaData.clinit(CFMetaData.java:93)
  at
 org.apache.cassandra.config.KSMetaData.systemKeyspace(KSMetaData.java:81)
 at
 org.apache.cassandra.config.DatabaseDescriptor.loadYaml(DatabaseDescriptor.java:491)
  at
 org.apache.cassandra.config.DatabaseDescriptor.clinit(DatabaseDescriptor.java:132)
 at
 org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:216)
  at
 org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:447)
 at
 org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
  at java.lang.Thread.run(Thread.java:722)
 Caused by: java.lang.ClassNotFoundException: org.github.jamm.MemoryMeter
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
  at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
  ... 11 more


 I have Googled it but couldn't find any solution for it. Can someone help
 me with this issue?

 Thank you
 Dinithi De Silva
 Associate Software Engineer

 Mob: +94 716 667 655





-- 
*Udara Rathnayake*
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile : +94 772207239
Twitter : http://twitter.com/udarakr
Blog: http://udarakr.blogspot.com




-- 
*Udara Rathnayake*
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile : +94 772207239
Twitter : http://twitter.com/udarakr
Blog: http://udarakr.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fwd: NoClassDefFoundError: org/github/jamm/MemoryMeter

2014-08-01 Thread Kasun Gajasinghe
HI Udara,

Are you talking about the launch.ini at CARBON_HOME/repository/conf/etc?
This one actually comes from the kernel. There is no need to keep this file
inside products.


On Fri, Aug 1, 2014 at 3:12 PM, Udara Rathnayake uda...@wso2.com wrote:

 [forwarding to dev]


 -- Forwarded message --
 From: Udara Rathnayake uda...@wso2.com
 Date: Fri, Aug 1, 2014 at 3:09 PM
 Subject: Re: NoClassDefFoundError: org/github/jamm/MemoryMeter
 To: Dhanuka Ranasinghe dhan...@wso2.com, Kasun Gajasinghe 
 kas...@wso2.com
 Cc: Dinithi De Silva dinit...@wso2.com,


 Hi All,

 Where is this launch file coming from?

 Rather than maintaining own version of launch.ini within the product(and
 copy using bin.xml) we should be able to update this in a single place and
 get this update during the product build. We are also getting a similar
 error[1] during server start-up in ES  1.2.0 M2(with cassandra based
 social framework).

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

 Regards,
 UdaraR


 On Wed, Jul 30, 2014 at 12:35 PM, Dhanuka Ranasinghe dhan...@wso2.com
 wrote:

 Hi Dinithi,

 Please refer below Jirra [1], simply what you have to do is add this as a
 java agent in startup script and as entry in launch.ini. You can get an
 idea If you can refer WSO2 MB star up and launch.ini files.

 Also as a side note, some of the things can be found from gmail inbox,
 even though couldn't find from Google :-)

 [1]  https://wso2.org/jira/browse/MB-483

 *Dhanuka Ranasinghe*

 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 715381915


 On Wed, Jul 30, 2014 at 12:21 PM, Dinithi De Silva dinit...@wso2.com
 wrote:

 Hi all,

 I have tried starting wso2am-1.6.0 and ended up with the following error.

 ERROR {org.apache.cassandra.service.CassandraDaemon} -  Exception
 encountered during startup
 java.lang.NoClassDefFoundError: org/github/jamm/MemoryMeter
 at
 org.apache.cassandra.cql3.QueryProcessor.clinit(QueryProcessor.java:48)
 at org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:334)
  at org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:352)
 at org.apache.cassandra.config.CFMetaData.clinit(CFMetaData.java:93)
  at
 org.apache.cassandra.config.KSMetaData.systemKeyspace(KSMetaData.java:81)
 at
 org.apache.cassandra.config.DatabaseDescriptor.loadYaml(DatabaseDescriptor.java:491)
  at
 org.apache.cassandra.config.DatabaseDescriptor.clinit(DatabaseDescriptor.java:132)
 at
 org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:216)
  at
 org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:447)
 at
 org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
  at java.lang.Thread.run(Thread.java:722)
 Caused by: java.lang.ClassNotFoundException: org.github.jamm.MemoryMeter
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
  at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
  ... 11 more


 I have Googled it but couldn't find any solution for it. Can someone
 help me with this issue?

 Thank you
 Dinithi De Silva
 Associate Software Engineer

 Mob: +94 716 667 655





 --
 *Udara Rathnayake*
 Software Engineer
 WSO2 Inc. : http://wso2.com

 Mobile : +94 772207239
 Twitter : http://twitter.com/udarakr
 Blog: http://udarakr.blogspot.com




 --
 *Udara Rathnayake*
 Software Engineer
 WSO2 Inc. : http://wso2.com

 Mobile : +94 772207239
 Twitter : http://twitter.com/udarakr
 Blog: http://udarakr.blogspot.com


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




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invitation: Code Review - CEP Extension to apply Machine Learning Models @ Mon Aug 4, 2014 11am - 12pm (Supun Sethunga)

2014-08-01 Thread Supun Sethunga
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20140804T053000Z
DTEND:20140804T063000Z
DTSTAMP:20140801T095828Z
ORGANIZER;CN=Supun Sethunga:mailto:sup...@wso2.com
UID:67ovr7ibc5sue2hjfhic9e7...@google.com
ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR
 UE;CN=LK 3rd Floor Meeting Room - Kernel;X-NUM-GUESTS=0:mailto:wso2.com_323
 4323338383134353...@resource.calendar.google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Seshika Fernando;X-NUM-GUESTS=0:mailto:sesh...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Lasantha Fernando;X-NUM-GUESTS=0:mailto:lasan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Supun Sethunga;X-NUM-GUESTS=0:mailto:sup...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Mohanadarshan Vivekanandalingam;X-NUM-GUESTS=0:mailto:mo...@wso2.co
 m
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sriskandarajah Suhothayan;X-NUM-GUESTS=0:mailto:s...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sajith Ravindra;X-NUM-GUESTS=0:mailto:saji...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Rajeev Sampath;X-NUM-GUESTS=0:mailto:raje...@wso2.com
CREATED:20140801T095828Z
DESCRIPTION:View your event at http://www.google.com/calendar/event?action=
 VIEWeid=NjdvdnI3aWJjNXN1ZTJoamZoaWM5ZTduOTAgZGV2QHdzbzIub3Jntok=MTUjc3Vwd
 W5zQHdzbzIuY29tZTczODAxYjBjMGI4ZGIxMjJmY2MxMjZmM2VhMTc5NTM0NThjOTc1OQctz=A
 sia/Colombohl=en.
LAST-MODIFIED:20140801T095828Z
LOCATION:LK 3rd Floor Meeting Room - Kernel
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Code Review - CEP Extension to apply Machine Learning Models
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


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


Re: [Dev] Fwd: NoClassDefFoundError: org/github/jamm/MemoryMeter

2014-08-01 Thread Udara Rathnayake
Hi Kasun,


On Fri, Aug 1, 2014 at 3:26 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 HI Udara,

 Are you talking about the launch.ini at CARBON_HOME/repository/conf/etc?
 This one actually comes from the kernel. There is no need to keep this file
 inside products.

Yes. The one inside CARBON_HOME/repository/conf/etc. I guess as the
solution for MB-483 now we are using own launch.ini[1] with the parameter
mentioned by Dhanuka[2].

So can we make this change a global one?

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/mb/2.2.0/modules/distribution/src/main/resources/launch.ini
[2] org.github.jamm,\



 On Fri, Aug 1, 2014 at 3:12 PM, Udara Rathnayake uda...@wso2.com wrote:

 [forwarding to dev]


 -- Forwarded message --
 From: Udara Rathnayake uda...@wso2.com
 Date: Fri, Aug 1, 2014 at 3:09 PM
 Subject: Re: NoClassDefFoundError: org/github/jamm/MemoryMeter
 To: Dhanuka Ranasinghe dhan...@wso2.com, Kasun Gajasinghe 
 kas...@wso2.com
 Cc: Dinithi De Silva dinit...@wso2.com,


 Hi All,

 Where is this launch file coming from?

 Rather than maintaining own version of launch.ini within the product(and
 copy using bin.xml) we should be able to update this in a single place and
 get this update during the product build. We are also getting a similar
 error[1] during server start-up in ES  1.2.0 M2(with cassandra based
 social framework).

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

 Regards,
 UdaraR


 On Wed, Jul 30, 2014 at 12:35 PM, Dhanuka Ranasinghe dhan...@wso2.com
 wrote:

 Hi Dinithi,

 Please refer below Jirra [1], simply what you have to do is add this as
 a java agent in startup script and as entry in launch.ini. You can get an
 idea If you can refer WSO2 MB star up and launch.ini files.

 Also as a side note, some of the things can be found from gmail inbox,
 even though couldn't find from Google :-)

 [1]  https://wso2.org/jira/browse/MB-483

 *Dhanuka Ranasinghe*

 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 715381915


 On Wed, Jul 30, 2014 at 12:21 PM, Dinithi De Silva dinit...@wso2.com
 wrote:

 Hi all,

 I have tried starting wso2am-1.6.0 and ended up with the following
 error.

 ERROR {org.apache.cassandra.service.CassandraDaemon} -  Exception
 encountered during startup
 java.lang.NoClassDefFoundError: org/github/jamm/MemoryMeter
 at
 org.apache.cassandra.cql3.QueryProcessor.clinit(QueryProcessor.java:48)
 at org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:334)
  at org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:352)
 at org.apache.cassandra.config.CFMetaData.clinit(CFMetaData.java:93)
  at
 org.apache.cassandra.config.KSMetaData.systemKeyspace(KSMetaData.java:81)
 at
 org.apache.cassandra.config.DatabaseDescriptor.loadYaml(DatabaseDescriptor.java:491)
  at
 org.apache.cassandra.config.DatabaseDescriptor.clinit(DatabaseDescriptor.java:132)
 at
 org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:216)
  at
 org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:447)
 at
 org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
  at java.lang.Thread.run(Thread.java:722)
 Caused by: java.lang.ClassNotFoundException: org.github.jamm.MemoryMeter
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
  at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
  ... 11 more


 I have Googled it but couldn't find any solution for it. Can someone
 help me with this issue?

 Thank you
 Dinithi De Silva
 Associate Software Engineer

 Mob: +94 716 667 655





 --
 *Udara Rathnayake*
 Software Engineer
 WSO2 Inc. : http://wso2.com

 Mobile : +94 772207239
 Twitter : http://twitter.com/udarakr
 Blog: http://udarakr.blogspot.com




 --
 *Udara Rathnayake*
 Software Engineer
 WSO2 Inc. : http://wso2.com

 Mobile : +94 772207239
 Twitter : http://twitter.com/udarakr
 Blog: http://udarakr.blogspot.com


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




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






-- 
*Udara Rathnayake*
Software Engineer
WSO2 Inc. : http://wso2.com

Mobile : +94 772207239
Twitter : http://twitter.com/udarakr
Blog: http://udarakr.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] URL Pattern macher for Any URL string

2014-08-01 Thread Sudarshana Gurusinghe
Hi,
What kind of feedback do you need ? A code review or a usability
perspective ? Could you please share the JavaDoc for your method API ?

Regards,
Sudarshana


On Fri, Aug 1, 2014 at 1:38 PM, Kasun Dissanayake kas...@wso2.com wrote:

 Hi All,

 This is to inform that I have developed an Algorithm for URL matching for
 given url pattern.
 This will do following

 URL PATTERN String
Status

 /*  x/y/a.png
   Matched but not returns true;
 /x/y/*x/y/a.png
 Matched then returns true;

 Like wise it will return for specific url string according to the FIFO
 method.

 any feed back will be grateful.


 --
 Kasun Dissanayake
 Software Engineer
 WSO2 Inc.
 Lean | Enterprise | Middleware
 Tel - +94 77 086 2860
 Skype - kasun.dissanayake4
 LinkedIn - lk.linkedin.com/in/kasundis/

 ___
 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] Fwd: NoClassDefFoundError: org/github/jamm/MemoryMeter

2014-08-01 Thread Udara Rathnayake
Hi all,

Had a chat with Shameera, We can't make this a global change since this
should be only in few(ES, MB) products.
So at the distribution creation level we need to update launch.ini, Not
sure whether this is possible or not.

Regards,
UdaraR


On Fri, Aug 1, 2014 at 3:49 PM, Udara Rathnayake uda...@wso2.com wrote:

 Hi Kasun,


 On Fri, Aug 1, 2014 at 3:26 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 HI Udara,

 Are you talking about the launch.ini at CARBON_HOME/repository/conf/etc?
 This one actually comes from the kernel. There is no need to keep this file
 inside products.

 Yes. The one inside CARBON_HOME/repository/conf/etc. I guess as the
 solution for MB-483 now we are using own launch.ini[1] with the parameter
 mentioned by Dhanuka[2].

 So can we make this change a global one?

 [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/mb/2.2.0/modules/distribution/src/main/resources/launch.ini
 [2] org.github.jamm,\



 On Fri, Aug 1, 2014 at 3:12 PM, Udara Rathnayake uda...@wso2.com wrote:

 [forwarding to dev]


 -- Forwarded message --
 From: Udara Rathnayake uda...@wso2.com
 Date: Fri, Aug 1, 2014 at 3:09 PM
 Subject: Re: NoClassDefFoundError: org/github/jamm/MemoryMeter
 To: Dhanuka Ranasinghe dhan...@wso2.com, Kasun Gajasinghe 
 kas...@wso2.com
 Cc: Dinithi De Silva dinit...@wso2.com,


 Hi All,

 Where is this launch file coming from?

 Rather than maintaining own version of launch.ini within the product(and
 copy using bin.xml) we should be able to update this in a single place and
 get this update during the product build. We are also getting a similar
 error[1] during server start-up in ES  1.2.0 M2(with cassandra based
 social framework).

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

 Regards,
 UdaraR


 On Wed, Jul 30, 2014 at 12:35 PM, Dhanuka Ranasinghe dhan...@wso2.com
 wrote:

 Hi Dinithi,

 Please refer below Jirra [1], simply what you have to do is add this as
 a java agent in startup script and as entry in launch.ini. You can get an
 idea If you can refer WSO2 MB star up and launch.ini files.

 Also as a side note, some of the things can be found from gmail inbox,
 even though couldn't find from Google :-)

 [1]  https://wso2.org/jira/browse/MB-483

 *Dhanuka Ranasinghe*

 Senior Software Engineer
 WSO2 Inc. ; http://wso2.com
 lean . enterprise . middleware

 phone : +94 715381915


 On Wed, Jul 30, 2014 at 12:21 PM, Dinithi De Silva dinit...@wso2.com
 wrote:

 Hi all,

 I have tried starting wso2am-1.6.0 and ended up with the following
 error.

 ERROR {org.apache.cassandra.service.CassandraDaemon} -  Exception
 encountered during startup
 java.lang.NoClassDefFoundError: org/github/jamm/MemoryMeter
 at
 org.apache.cassandra.cql3.QueryProcessor.clinit(QueryProcessor.java:48)
 at org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:334)
  at
 org.apache.cassandra.config.CFMetaData.compile(CFMetaData.java:352)
 at org.apache.cassandra.config.CFMetaData.clinit(CFMetaData.java:93)
  at
 org.apache.cassandra.config.KSMetaData.systemKeyspace(KSMetaData.java:81)
 at
 org.apache.cassandra.config.DatabaseDescriptor.loadYaml(DatabaseDescriptor.java:491)
  at
 org.apache.cassandra.config.DatabaseDescriptor.clinit(DatabaseDescriptor.java:132)
 at
 org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:216)
  at
 org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:447)
 at
 org.wso2.carbon.cassandra.server.CassandraServerController$1.run(CassandraServerController.java:48)
  at java.lang.Thread.run(Thread.java:722)
 Caused by: java.lang.ClassNotFoundException:
 org.github.jamm.MemoryMeter
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455)
  at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
 at
 org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
  at
 org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
  ... 11 more


 I have Googled it but couldn't find any solution for it. Can someone
 help me with this issue?

 Thank you
 Dinithi De Silva
 Associate Software Engineer

 Mob: +94 716 667 655





 --
 *Udara Rathnayake*
 Software Engineer
 WSO2 Inc. : http://wso2.com

 Mobile : +94 772207239
 Twitter : http://twitter.com/udarakr
 Blog: http://udarakr.blogspot.com




 --
 *Udara Rathnayake*
 Software Engineer
 WSO2 Inc. : http://wso2.com

 Mobile : +94 772207239
 Twitter : http://twitter.com/udarakr
 Blog: http://udarakr.blogspot.com


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




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






 --
 *Udara Rathnayake*
 Software Engineer
 WSO2 Inc. 

Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Abimaran Kugathasan
Congrats Waruna!


On Fri, Aug 1, 2014 at 2:38 PM, Manula Chathurika Thantriwatte 
manu...@wso2.com wrote:

 Congratulations !!!


 On Fri, Aug 1, 2014 at 2:35 PM, Pubudu Dissanayake pubu...@wso2.com
 wrote:

 Congratulations !!


 On Fri, Aug 1, 2014 at 2:29 PM, Sohani Weerasinghe soh...@wso2.com
 wrote:

 Congratulations 

 Regards,
 Sohani

 Sohani Weerasinghe
 Software Engineer
 WSO2, Inc: http://wso2.com

 Mobile  : +94 716439774
 Blog :http://christinetechtips.blogspot.com/
 Twitter  : https://twitter.com/sohanichristine


 On Fri, Aug 1, 2014 at 2:26 PM, Dakshika Jayathilaka daksh...@wso2.com
 wrote:

 Congratulations Waruna !!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 1, 2014 at 8:47 AM, Uvindra Dias Jayasinha 
 uvin...@wso2.com wrote:

 Congratz Waruna


 On 1 August 2014 13:57, Shazni Nazeer sha...@wso2.com wrote:

 Congratz Waruna!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, Aug 1, 2014 at 1:45 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Waruna!!



 On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake asan...@wso2.com
  wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2
 Committer. He has been a valuable contributor for test automation and 
 WSO2
 product platform. In acknowledgement of his contributions, he's been 
 voted
 as a WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 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,
 Uvindra

 Mobile: 33962

 ___
 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



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




 --
 *Pubudu Dissanayake*
  Software Engineer

 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 Mob: + 94 775 503 304

  Blog: http://geekdetected.wordpress.com/
  Linkedin: *http://lk.linkedin.com/in/pubududissanayake*
 http://lk.linkedin.com/in/pubududissanayake
 Flickr : https://www.flickr.com/photos/pubudufx/
 Twitter: https://twitter.com/GeekInAction


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




 --
 Regards,
 Manula Chathurika Thantriwatte
 Software Engineer
 WSO2 Inc. : http://wso2.com
 lean . enterprise . middleware

 email : manu...@wso2.com / man...@apache.org
 phone : +94 772492511
 blog : http://manulachathurika.blogspot.com/




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




-- 
Thanks
Abimaran Kugathasan

Software Engineer | WSO2 Inc
Data  APIs Technologies Team
Mobile : +94 77 1708229

http://stackoverflow.com/users/515034
http://lk.linkedin.com/in/abimaran  http://www.lkabimaran.blogspot.com/
https://github.com/abimaran  https://twitter.com/abimaran
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Hasitha Amal De Silva
Congrats Waruna :)


On Fri, Aug 1, 2014 at 5:15 PM, Abimaran Kugathasan abima...@wso2.com
wrote:

 Congrats Waruna!


 On Fri, Aug 1, 2014 at 2:38 PM, Manula Chathurika Thantriwatte 
 manu...@wso2.com wrote:

 Congratulations !!!


 On Fri, Aug 1, 2014 at 2:35 PM, Pubudu Dissanayake pubu...@wso2.com
 wrote:

 Congratulations !!


 On Fri, Aug 1, 2014 at 2:29 PM, Sohani Weerasinghe soh...@wso2.com
 wrote:

 Congratulations 

 Regards,
 Sohani

 Sohani Weerasinghe
 Software Engineer
 WSO2, Inc: http://wso2.com

 Mobile  : +94 716439774
 Blog :http://christinetechtips.blogspot.com/
 Twitter  : https://twitter.com/sohanichristine


 On Fri, Aug 1, 2014 at 2:26 PM, Dakshika Jayathilaka daksh...@wso2.com
  wrote:

 Congratulations Waruna !!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911


 On Fri, Aug 1, 2014 at 8:47 AM, Uvindra Dias Jayasinha 
 uvin...@wso2.com wrote:

 Congratz Waruna


 On 1 August 2014 13:57, Shazni Nazeer sha...@wso2.com wrote:

 Congratz Waruna!!!

 Shazni Nazeer

 Senior Software Engineer

 Mob : +94 37331
 LinkedIn : http://lk.linkedin.com/in/shazninazeer
 Blog : http://shazninazeer.blogspot.com


 On Fri, Aug 1, 2014 at 1:45 PM, Malintha Adikari malin...@wso2.com
 wrote:

 Congratulations Waruna!!



 On Fri, Aug 1, 2014 at 1:31 PM, Asanka Dissanayake 
 asan...@wso2.com wrote:

 Congratz Waruna !!


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2
 Committer. He has been a valuable contributor for test automation 
 and WSO2
 product platform. In acknowledgement of his contributions, he's been 
 voted
 as a WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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




 --


 *Asanka DissanayakeSoftware Engineer*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
 http://wso2.com/*

 *email: asan...@wso2.com ruch...@wso2.com,   blog:
 cyberwaadiya.blogspot.com
 http://cyberwaadiya.blogspot.com, asankastechtalks.wordpress.com
 http://asankastechtalks.wordpress.com  mobile: +94 71 8373821*

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




 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 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,
 Uvindra

 Mobile: 33962

 ___
 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



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




 --
 *Pubudu Dissanayake*
  Software Engineer

 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 Mob: + 94 775 503 304

  Blog: http://geekdetected.wordpress.com/
  Linkedin: *http://lk.linkedin.com/in/pubududissanayake*
 http://lk.linkedin.com/in/pubududissanayake
 Flickr : https://www.flickr.com/photos/pubudufx/
 Twitter: https://twitter.com/GeekInAction


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




 --
 Regards,
 Manula Chathurika Thantriwatte
 Software Engineer
 WSO2 Inc. : http://wso2.com
 lean . enterprise . middleware

 email : manu...@wso2.com / man...@apache.org
 phone : +94 772492511
 blog : http://manulachathurika.blogspot.com/




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




 --
 Thanks
 Abimaran Kugathasan

 Software Engineer | WSO2 Inc
 Data  APIs Technologies Team
 Mobile : +94 77 1708229

 http://stackoverflow.com/users/515034
 http://lk.linkedin.com/in/abimaran
 http://www.lkabimaran.blogspot.com/  https://github.com/abimaran
 https://twitter.com/abimaran


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




-- 
Cheers,

Hasitha Amal De Silva
 Software Engineer
Mobile : 0718133463
Blog: http://hastef.wordpress.com/
WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )
___
Dev mailing list

Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Mariangela Hills
Congratulations Waruna!

Regards,
Mariangela




*--*
Mariangela Hills
Senior Technical Writer

*WSO2, Inc. *lean.enterprise.middleware.
m: +94 773 500185
w: http://wso2.com
 http://wso2.com/events/


On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera krishan...@wso2.com
wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer. He
 has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

 ___
 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] GSoC 2014 : Implement Registry Extension (RXT) 2.0 + Associated UI support

2014-08-01 Thread Shelan Perera
Hi Iresha,

Thanks for the updates. Looks good in progress. I have evaluated the code
at Github and need to complete followings to complete the flow. Let me know
if you have
already completed them.

1) XML generation from JSON to preserve backward compatibility for the
moment and complete the existing flow.

2) Adding JSON file to the Registry update with complete information. (To
manage the information loss of existing XML schema)


Thanks


On Sun, Jul 27, 2014 at 6:49 PM, Iresha Udayangani iresh...@gmail.com
wrote:

 Hi all,

 *Progress Update*

 (Project: Implement Registry Extension (RXT) 2.0 + Associated UI support )

 As I mentioned in my last update several issues were identified in the
 existing RXT /XML model. There were difficulties in rendering the UI (in
 ES) with the available information in the current RXT model. To overcome
 this drawback , it was decided to generate a JSON along with sufficient
 meta data, such that UI rendering can be done without much effort. And then
 XML which suits the existing model will generated from that JSON and used
 in the existing model.

 This update is on JSON generation and retrieving XML from JSON.

 I have committed the changes in git.

 https://github.com/ireshapm0/ArtifactBuilder/commit/master

 JSON is generated from UI in JavaScript and validation of mandatory fields
 is also done. Since the dynamic content components can keep much more meta
 data and all of them can be kept in JSON, UI rendering can be done without
 much effort as expected.

 I was able to generate XML from JSON, in java as well. The Jaggery App
 will send the JSON string to ManageGenericArifactService and JSON-XML
 generation will be done before calling addRXTResource().

 Yet I have to work on adding multiple tables in dynamic content section.
 And I hope to do those changes in coming weeks. I was trying to send the
 JSON to registry using a Jaggery call, but failed to get hold of the
 registry from Jaggery yet. Any help to do that will also be appreciated.

 Also I posted certain updates on my blog too.
 http://ireshapm.blogspot.com/


 Thanks.




 On Mon, Jun 23, 2014 at 12:38 AM, Shelan Perera she...@wso2.com wrote:

 Adding Eranda to this list too.

 Thanks


 On Mon, Jun 23, 2014 at 12:38 AM, Shelan Perera she...@wso2.com wrote:

 Hi Iresha,

  Looks like a good approach in overall. There are few enhancements we
 should do when progress.

 1) We should be able to hide/view RXT mandatory inputs area ( Now there
 is lot of prominenance for that area which makes drag/drop form designer to
 be restricted. ( Menu navigation on top bar would not be ideal, lets
 discuss this)

 2) We may need to optimize drag and drop area to give a consistent UI
 experience with existing UIs and we should work on that. (wording and the
 flow etc.)

 3)  I could observe that we are not using columns in RXT format. I hope
 that would be fine but lets come to a common agreement across teams whether
 to support it or not. (We saw that current Store service UI does not
 support it too.)

 In overall this is a good progress. Keep us updated and commit the code
 once you have improvements so we can test and understand your improvements.

 Thanks


 On Sat, Jun 21, 2014 at 11:48 AM, Iresha Udayangani iresh...@gmail.com
 wrote:

 Hi all,

 *Progress Update*

 (Project: Implement Registry Extension (RXT) 2.0 + Associated UI
 support - Updates and Notes)

 Please find an update of the project so far and the plan for the next
 couple of weeks. There was a slight change in the project scope since the
 JSON support for RXT was temporarily removed and the scope was narrowed
 down to creating a Jaggery app which could support creating a new artifact
 type with an intuitive drag and drop UI.


 I had a meeting with Shelan, Subash and Lasindu last week and below are
 the facts discussed.


- Finalized the requirement of a Jaggery app to create a new
artifact type which could be installed to either Greg or ES via 
 Management
Console

- RXT content should be generated using drag and drop components
and user shall be able to change the fields easily by dragging 
 components
here and there.

- The RXT XML should be generated in the client side using JS as
well as some metadata should be kept with UI fields in order for ES to
generate its ‘add metadata’ model.

- This model should also facilitate creating a JSON out of the UI,
at some point of time.

- Once the XML is generated, a backend call will be made to
Registry to add the RXT via Jaggery.


  *Current Progress*

 In the Process of finding a suitable plugin for drag and drop
 functionality, I was told that Gridster.js [1] was used in UES and is very
 flexible in generating UIs. But it seems to be bit difficult to use it in
 this purpose, since it needed a lot of fine tuning to be able to cater this
 requirement. I too found Bootsnipp Form Builder [2] which seems to be bit
 similar to the one which is 

[Dev] UnsupportedOperationException - Running Stratos 4.0.0 with MB 2.1.1 in single machine

2014-08-01 Thread Hasitha Amal De Silva
I have stratos on a single node pointing to another locally running MB
server. But I am getting the following exception during stratos startup :

{org.apache.stratos.messaging.broker.subscribe.TopicSubscriber} -  Error
while subscribing to the topic: instance-status
java.lang.UnsupportedOperationException: The new addressing based sytanx is
not supported for AMQP 0-8/0-9 versions at
org.wso2.andes.client.AMQSession_0_8.handleAddressBasedDestination(AMQSession_0_8.java:572)
at
org.wso2.andes.client.AMQSession.registerConsumer(AMQSession.java:2838)
.
{org.apache.stratos.messaging.broker.subscribe.TopicSubscriber} -  Will try
to subscribe again in 30 sec

This issue usually comes with a message broker due to

   - using the wrong JMS transport library [1]


   - or by not using the BURL topic prefix [2]

But these don't seem to cause the error in the above scenario. Any clue ?

I'm using wso2 mb 2.1.1 and stratos 4.0.0.

[1] :
http://isharapremadasa.blogspot.com/2013/07/providing-dynamic-queue-support-when.html
[2] :
http://shammijayasinghe.blogspot.com/2013/02/unsupportedoperationexception-in.html

-- 
Cheers,

Hasitha Amal De Silva
 Software Engineer
Mobile : 0718133463
Blog: http://hastef.wordpress.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] Staus update: API manager 1.7.1 Migration testing 1.6.0 to 1.7.0.

2014-08-01 Thread Chathurika De Silva
Hi All

As of today (01.08.2014) the migration test is being done with the API
Manager pack (29/07/2014)

The issue APIMANAGER-2559 is now fixed and thus closed after verifying in
the above mentioned pack.

Furthermore a smoke test was done in the windows environment for the
migration as well as for basic API Manager scenarios.

Thank You






On Thu, Jul 31, 2014 at 6:09 PM, Chathurika De Silva chathuri...@wso2.com
wrote:

 Hi All

 I conducted a test on windows environment to verify APIMANAGER-2559

 This is issue is fixed for super tenant but not for other tenants due to
 APIMANAGER-2529. Both of the above issues are reopened since it's blocking
 tenant related data migration.


 Thanks and best regards



 On Wed, Jul 30, 2014 at 6:06 PM, Chathurika De Silva chathuri...@wso2.com
  wrote:

 Hi All

 I am going to conduct a testing round in Windows to verify
 APIMANAGER-2559. Will circle back to you once i am done.

 Thank You



 On Wed, Jul 30, 2014 at 6:03 PM, Chalitha Waldeniyage chali...@wso2.com
 wrote:

 Hi All

 We are currently carrying on the $subject and please find the update as
 of 30.07.2014

 *QA Personal* : Chalitha Waldeniyage and Chathurika De Silva

 *Environment details*:

 Operating System : Linux
 Java Version/Java VM :jdk1.7.0 (Oracle)
 Packs : APIM 1.7.1
 DBMS: mysql and oracle
 Browser : Firefox 29.0 and Chrome 35.0
 Set up :Stand alone pack

 *Issues reported - Priority (Blocker)*

 APIMANAGER-2529  - This issue is blocking the actual migration process
 but a workaround has been given.The latest documentation should be updated
 accordingly
 APIMANAGER-2534 - This issue is related to missing information after the
 migration
 APIMANAGER-2535 - HTTP verbs are not correctly copied to the migrated
 APIs.
 APIMANAGER-2672 - When versions are created. HTTP verbs are not
 correctly copied for them
 APIMANAGER-2662 - Cannot invoke an API which is in state published after
 migration.

 *Problems encountered: specific to oracle*

 Oracle database script of API Manager 1.6.0 should be updated to work
 with workflows. This is blocking the migration testing related to
 workflows.

 In summary as of today, the migration test scenarios cannot be fully
 covered due to above reported  issues.







 Thank you,

 --
 *Chalitha Maheshwari*
 Software Engineer-QA,
 WSO2 Inc.

 *E-mail:* chali...@wso2.com
 *Mobile: *+94710 411 112




 --
 *Chathurika Erandi*
 Software Engineer,
 WSO2 Inc.

 *E-mail:* chathuri...@wso2.com
 *Mobile: *+94714 328 612
 *Blog*: chathurikaerandi.blogspot.com




 --
 *Chathurika Erandi*
 Software Engineer,
 WSO2 Inc.

 *E-mail:* chathuri...@wso2.com
 *Mobile: *+94714 328 612
 *Blog*: chathurikaerandi.blogspot.com




-- 
*Chathurika Erandi*
Software Engineer,
WSO2 Inc.

*E-mail:* chathuri...@wso2.com
*Mobile: *+94714 328 612
*Blog*: chathurikaerandi.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Carbon Kernel 4.3.0 - M1 Release

2014-08-01 Thread Shameera Rathnayaka
Hi All,

Among the above 4 features , both Pluggable log provider for log viewer and
SVN 1.7/1.8 support are platform level changes. We don't have any code
changes in Carbon kernel level. All changes go to platform logging
component ( Carbon-utils) and Deployment Sychronizer component(
Carbon-commons).

We are trying to resolve all JIRAs which have fixes for kernel
4.2.0-patch0009, in 4.3.0-M1 release. Please send the pull request to the
4.3.0 repo if you haven't done it yet.

Thanks,
Shameera.





On Wed, Jul 30, 2014 at 9:11 AM, Sameera Jayasoma same...@wso2.com wrote:

 Hi Folks,

 We are planning to release Carbon Kernel 4.3.0 M1 in the first week of
 August (7th). This will include following features as well as many bug
 fixes.

- Improved Carbon QOS functionality
- Pluggable log providers for log viewer
- Support SVN 1.7 and 1.8 for Deployment Synchronization module.
- Cross-cluster cache invalidation mechanism.


 Shameera will be the release manager for Carbon 4.3.0.


 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://sameera.adahas.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware




-- 
*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


Re: [Dev] Management console login attempt fails for worker node, but backend log says successfully logged in

2014-08-01 Thread Kasun Gajasinghe
Hi,

It makes sense to block the management console access for worker nodes, so
that the users get a clear idea that performing management operations in
worker nodes is wrong. But do we really need to block access to back-end
admin services? Is there a usecase where users might need to perform
read-only operations on worker nodes?



On Fri, Aug 1, 2014 at 1:59 PM, Nipuni Perera nip...@wso2.com wrote:

 Hi,

 I am working on jira issue[1]. I could reproduce the issue in a cluster
 with ELB, manager node and a worker node using ESB 4.8.0. When a login
 attempt is triggered,

1. login() method of AuthenticationAdmin.java (line 62 of [2]) set
boolean values for isAuthenticated and isAuthorized.
2. Both values set to true in workerNode (eg: for admin user login
attempt)
3. Initially isAuthenticated value set to true (line 101), due to a
return value of authenticate() method in AbstractUserStoreManager.java[3].
4. authenticate() method does not check if CarbonUtils.isWorkerNode()
is set to true or false.

 In order to fix the issue I can check CarbonUtils.isWorkerNode() value in
 login() method of AuthenticationAdmin.java as follows.

   boolean isAuthenticated = CarbonUtils.isWorkerNode() ? false :
 realm.getUserStoreManager().authenticate(username, password);

 or use authenticate() method in AbstractUserStoreManager.java to check
 isWorkerNode() value in a if condition. What would be the best option? Is
 there a better way to fix this?
 [1] https://wso2.org/jira/browse/CARBON-14793
 [2]
 https://github.com/wso2-dev/carbon4-kernel/blob/master/core/org.wso2.carbon.core.services/src/main/java/org/wso2/carbon/core/services/authentication/AuthenticationAdmin.java
 [3]
 https://github.com/wso2-dev/carbon4-kernel/blob/master/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/common/AbstractUserStoreManager.java

 Thanks,
 Nipuni
 --
 Nipuni Perera
 Software Engineer; WSO2 Inc.; http://wso2.com
 Email: nip...@wso2.com
 Git hub profile: https://github.com/nipuni
 Mobile: +94 (71) 5626680
 http://wso2.com


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




-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Cannot log in to my newly created OpenStack instance in my local machine

2014-08-01 Thread Prasanna Dangalla
Hi,

I created an instance in OpenStack. It shows that’s its up and running but
I cannot ping or ssh to it. I added security group as default and port 22
open rules to the security group and assigned it to my instance. But still
can't ping or ssh to it.

Error message displays was
 ssh: connect to host 10.0.0.2 port 22: No route to host

Below details were from command line using nova command

nova list

+--+---+++-+--+
| ID   | Name  | Status | Task
State | Power State | Networks |
+--+---+++-+--+
| 99c1ae3c-761c-458a-be2b-417202930d91 | MyInstanceOne | ACTIVE |
-  | Running | private=10.0.0.2 |
+--+---+++-+--+


nova secgroup-list

++-+-+
| Id | Name| Description |
++-+-+
| 1  | default | default |
++-+-+

nova secgroup-list-rules default

+-+---+-+---+--+
| IP Protocol | From Port | To Port | IP Range  | Source Group |
+-+---+-+---+--+
| icmp| -1| -1  | 0.0.0.0/0 |  |
| tcp | 22| 22  | 0.0.0.0/0 |  |
+-+---+-+---+--+



Thanks

Prasanna Dangalla
Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware

cell: +94 777 55 80 30 | +94 718 11 27 51
twitter: @prasa77
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Waruna Perera

2014-08-01 Thread Dimuthu De Lanerolle
Congrtz Waruna !

Regards

On Friday, 1 August 2014, Mariangela Hills mariang...@wso2.com wrote:

 Congratulations Waruna!

 Regards,
 Mariangela




 *--*
 Mariangela Hills
 Senior Technical Writer

 *WSO2, Inc. *lean.enterprise.middleware.
 m: +94 773 500185
 w: http://wso2.com
  http://wso2.com/events/


 On Fri, Aug 1, 2014 at 1:22 PM, Krishantha Samaraweera 
 krishan...@wso2.com javascript:_e(%7B%7D,'cvml','krishan...@wso2.com');
 wrote:

 Hi all,

 It's my distinct pleasure to welcome Waruna Perera as a WSO2 Committer.
 He has been a valuable contributor for test automation and WSO2 product
 platform. In acknowledgement of his contributions, he's been voted as a
 WSO2 Committer. Welcome aboard and keep up the good work!

 Thanks,
 Krishantha.

 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

 ___
 Dev mailing list
 Dev@wso2.org javascript:_e(%7B%7D,'cvml','Dev@wso2.org');
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Dimuthu De Lanerolle
Software Engineer
WSO2 Inc.
lean . enterprise . middlewear.
http://wso2.com/
Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] calling a jaggery function using button onclick

2014-08-01 Thread Akila Nimantha [IT/EKO/LOITS]
Hi Ranjith, Milinda , Danusha,

After big effort did this using ajax calls. Thanks for your touching 
explanation and guidance.
Have a nice evening guys…
Regards,
Akila


From: Rajith Vitharana [mailto:raji...@wso2.com]
Sent: Friday, August 01, 2014 2:17 PM
To: Milinda Perera
Cc: Akila Nimantha [IT/EKO/LOITS]; dev@wso2.org
Subject: Re: [Dev] calling a jaggery function using button onclick

Hi Akila,

AFAIK this is not how it is done. As you have written the code startTask 
function is in server side so you can't invoke it as normal javascript function 
which reside in client side. So either you have to do a ajax call to the server 
and invoke the jaggery method or put this method to client side and invoke as 
normal javascript function. Since you are doing a WS request inside this 
function, I think you'll have to keep this function in server side and do a 
ajax call to invoke the method. You can find more on [1]

[1] - http://jaggeryjs.org/documentation.jag?api=ws

Thanks,

On Fri, Aug 1, 2014 at 12:57 PM, Milinda Perera 
milin...@wso2.commailto:milin...@wso2.com wrote:
Hi Akila,
Try this one:
print('button onclick=startTask('  +id   +' )Start/button')


Or you can put like this outside the scripting segment (%%)

button onclick=startTask(%=id%)Start/button
Thanks,
Milinda


On Fri, Aug 1, 2014 at 12:36 PM, Akila Nimantha [IT/EKO/LOITS] 
aki...@lolctech.commailto:aki...@lolctech.com wrote:
Hi all,

Im in a little trouble calling a jaggery function through html button “onclick” 
event.
When I click on the button my browser firebug console says , “ReferenceError: 
startTask is not defined”.

What I did was,

%
Var id = 8605;
Print(‘button onclick=startTask(id)Start/button’);

var startTask = function (id){

   var version = new ws.WSRequest();
   var options = new Array();
   options.useSOAP = 1.2;
   options.action = urn : start;
   var cookie=session.get('cookie');

   options[HTTPHeaders] = [
 { name : Cookie, 
value :cookie },
   ];

   var payload = 
'ns:startns:identifier'+id+'/ns:identifier/ns:start';
   var result;
   var endpoint= 
https://192.168.255.150:9443/services/HumanTaskClientAPIAdmin/;;

   try {
   //response.addHeader('Cookie', cookie);
   version.open(options,endpoint, false);
   version.send(payload);
   result = version.responseXML;
   print('scriptalert('+result+');/script');
   } catch (e) {
log.error(e.toString());
//session.put(showLogin, 
true);
print(e);
//return null;
}
   };

%

Are there wrongs in my code…?

Regards,
Akila


This message (including any attachments) is intended only for the use of the 
individual or entity to which it is addressed and may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, you are hereby notified that any use, 
dissemination, distribution, or copying of this communication is strictly 
prohibited. If you have received this communication in error, notify us 
immediately by telephone and (i) destroy this message if a facsimile or (ii) 
delete this message immediately if this is an electronic communication. Thank 
you.

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



--
Milinda Perera
Software Engineer;
WSO2 Inc. http://wso2.com ,
Mobile: (+94) 714 115 032tel:%28%2B94%29%20714%20115%20032

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



--
Rajith Vitharana

Software Engineer,
WSO2 Inc. : wso2.comhttp://wso2.com/
Mobile : +94715883223
Blog : http://lankavitharana.blogspot.com/

This message (including any attachments) is intended only for
the use of the individual or entity to which it is addressed and
may contain information that is non-public, proprietary,
privileged, confidential, and exempt from disclosure under
applicable law or may constitute as attorney work product.
If you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. If you have received 

Re: [Dev] [G-Reg 5.0.0] Improved Notifications Support

2014-08-01 Thread Senaka Fernando
Hi all,

So there are two parts related to this work.

1. Improving the Store itself to make use of the existing notification
capabilities and extend it further for it to be more user friendly.
SameeraJ is working on that.

2. The second part is to build the notification capabilities we want for
Service Governance. This is typically what Heshani should be looking at.
So, let me focus on that.

Firstly, before thinking about the UIs involved and how to improve them, we
need to think on what types of roles/groups of people would find it useful
to have these notification capabilities. This also would help us determine
their preferences as to whether an e-mail or a live-update in the system is
going to be more useful.

Next, not everybody might be interested in getting notified. So, just like
we subscribe to consume an API, we need to subscribe to recieve a
notification. Since the term subscribe can end up being a little confusing,
we need to think about the best ways of combining or separating these two
things.

Also, the user of the Service Store is not an end-user, but an internal
user, or someone who wants to get an understanding about the state of the
running service. The word consumer means that they always use a service.
This is true for those who consume APIs, but for services, I'm not sure
whether that's the right term.

So, as you might understand, before getting into the actual implementation
details, we need to identify who is going to benefit out of these features
and then start explaining requirements in terms of what they want to
achieve. We can then decide on how and where to place these things.

Thanks,
Senaka.


On Fri, Aug 1, 2014 at 9:21 AM, Subash Chaturanga sub...@wso2.com wrote:

 Hi Ruchira,
 +1 for sync up. We planned to push this by 5.0.0-M2. It will be end of
 this month.


 On Fri, Aug 1, 2014 at 12:36 PM, Ruchira Wageesha ruch...@wso2.com
 wrote:

 Hi Heshani,

 If you can get the API ready initially, I think that would be the way.
 Then, from ES store and publisher side, we can use that API to
 send/retrieve notifications.

 @Subash, Heshani,

 What would be the timeline of this? Sameeraj has already started
 implementing notification support for ES. Hence, we need to sync up with
 you guys.

 /Ruchira


 On Fri, Aug 1, 2014 at 11:33 AM, Heshani Gamage hesh...@wso2.com wrote:

 Hi Senaka et. al,

 I'm implementing $Subject corresponding to the RM[1] .I would like to
 verify requirements of this feature on following use cases.
  a. Provide notification support for the Consumer side and Provider Side
  b. Support for notifications explicitly initiated from the provider to
 a specific consumer/consumers
 -For example after a certain bug fix, provider will explicitly notify a
 certain set of consumers

 I need clarify following things
  1. How should the notification views be displayed on publisher and
 store?
  2. What do we actually mean by a consumer/how should we identify the
 consumer? (e.g.: e-mail address etc.)
  3. How to select specific consumers for b. above?
  4. From where should the provider initiate the notification in the b.
 above
  5. As we already have notifications in G-Reg for a certain
 extent, should display these notifications on the provider side too?


 Is there anything to be added to the above?

 [1] https://redmine.wso2.com/issues/2342

 Thanks,
 Heshani

 --
 Heshani Gamage
 Software Engineer, WSO2, Inc.
 email : hesh...@wso2.com




 --

 *Ruchira Wageesha**Associate Technical Lead*
 *WSO2 Inc. - lean . enterprise . middleware |  wso2.com http://wso2.com*

 *email: ruch...@wso2.com ruch...@wso2.com,   blog:
 ruchirawageesha.blogspot.com http://ruchirawageesha.blogspot.com,
 mobile: +94 77 5493444 %2B94%2077%205493444*




 --
 Thanks
 /subash

 *Subash Chaturanga*
 Senior Software Engineer  Lead WSO2 Governance Registry
 Platform TG; WSO2 Inc. http://wso2.com
 Contact:
 email: sub...@wso2.com
 blog:  http://subashsdm.blogspot.com/
 twitter: @subash89
 phone: +9477 2225922
 Lean . Enterprise . Middleware




-- 


*[image: http://wso2.com] http://wso2.com Senaka Fernando*
Software Architect; WSO2 Inc.; http://wso2.com



* Member; Apache Software Foundation; http://apache.org
http://apache.orgE-mail: senaka AT wso2.com http://wso2.com**P: +1 408
754 7388; ext: 51736*;


*M: +44 782 741 1966 Linked-In: http://linkedin.com/in/senakafernando
http://linkedin.com/in/senakafernando*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] G-Reg 5.0.0 new feature : Adding lifecycle state aware dashboards for services

2014-08-01 Thread Senaka Fernando
Hi Denuwanthi,

Firstly, this was discussed a little earlier, and apologies for not
updating the Redmine issue with this information. Now that you are working
on this issue, please update it with this info.

The idea is that we will push all types of analytics into BAM and produce
reports out of that. This is structurally similar to what's done in API
Manager, but the gadgets and layouts are obviously different. Aruna et al
built some of these UIs already. When this gets integrated into G-Reg, we
need to focus on a few things.

Firstly, some analytics do not make sense at service-level, but some do. If
so, we need to find ways to display them depending on the level of
granularity that we have chose. If its at project-level, we will probably
hide the gadget or show blank information. If its at service-level, we will
figure out the project to which it belongs and then populate the relevant
project assets.

But, the concept of service-level and project-level both need to be
supported. And, some gadgets obviously, will get reused. For these kinds of
gadgets, we will need to get them to display data on the level of
granularity (i.e. service or project).

So, as you might be wondering, we should be able to tell the gadgets (or
the entire dashboard), what level to display (whether it is service or
project) in addition to what to display. This is what we need to figure
out. AFAIU, we can use the same dashboard but have two attributes to
capture name of asset and type of asset (i.e. service or project). Another
option is to use separate dashboards for service and project and use just
the name attribute. This is something we need to decide. Having the same
dashboard IMO will allow us to switch between services and projects without
having to reload the dashboard, which is somewhat attractive to the end
user. But, this might also need some help from the BAM end.

Thanks,
Senaka.


On Fri, Aug 1, 2014 at 7:55 AM, Denuwanthi De Silva denuwan...@wso2.com
wrote:

 Hi Senaka et. al,

 I'm working on $subject. The corresponding Redmine link is at [1]

 *Current Implementation*
 As for now, G-reg only support, moving from several lifecycle states
 (Development, Testing. Production) for services. It supports validation of
 each state via checklists.

 *New Feature*
 Now, we plan to support a lifecycle state aware dashboards/view for
 services.
 That is, for each lifecycle state of a service, we plan to provide a
 customized view corresponding to that state.
 Ex: Details

- Development state - The dashboard can show contributers, source
repository URLs, no of commits, highest committer, stats related to its
source control system etc


- Testing state - The dashboard can show jenkins builder test results,
etc.


- Production state - (have to decide on what stats to show) showing
run time request/response stats for the service is one option.


 *Challenges*
 But, if we are going to provide this in service level, for each service we
 will have to provide these details.

-  So, where should we keep all those details (described above) ?


- Is it ideal to provide this state aware dashboards/views per service
or should we go to an approach like  using the concept of  'project'
(discussed in Unified Governance Model) which will contain several services
 handle the lifecycle state aware details (described above), on 'project'
level?


 Is there anything need to be added or removed from above?


 [1] https://redmine.wso2.com/issues/3073


 Thanks,
 --
 Denuwanthi De Silva
 Software Engineer;
 WSO2 Inc.; http://wso2.com,
 Email: denuwan...@wso2.com





-- 


*[image: http://wso2.com] http://wso2.com Senaka Fernando*
Software Architect; WSO2 Inc.; http://wso2.com



* Member; Apache Software Foundation; http://apache.org
http://apache.orgE-mail: senaka AT wso2.com http://wso2.com**P: +1 408
754 7388; ext: 51736*;


*M: +44 782 741 1966 Linked-In: http://linkedin.com/in/senakafernando
http://linkedin.com/in/senakafernando*Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cannot log in to my newly created OpenStack instance in my local machine

2014-08-01 Thread Udara Liyanage
Hi,

Could you able to log  in to the instance via openstack web ui vnc viewer?

I assume you installed openstack via devstack on your local machine.



Touched, not typed. Erroneous words are a feature, not a typo.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cannot log in to my newly created OpenStack instance in my local machine

2014-08-01 Thread Akila Ravihansa Perera
Hi Prasanna,

How did you install OpenStack? Did you use DevStack?

Also what is the nature of your deployment? Have you installed
OpenStack in a virtual machine on your laptop?

If you have installed it inside a VM then you need to enable some NAT
services to make compute nodes accessible. Perhaps you might find this
blog [1] which I have written on deploying OpenStack informative.

[1] 
http://blog.ravihansa3000.com/2014/04/installing-openstack-on-ubuntu-1204-lts.html

Thanks.


On Fri, Aug 1, 2014 at 7:32 PM, Prasanna Dangalla prasa...@wso2.com wrote:

 Hi,

 I created an instance in OpenStack. It shows that’s its up and running but I
 cannot ping or ssh to it. I added security group as default and port 22 open
 rules to the security group and assigned it to my instance. But still can't
 ping or ssh to it.

 Error message displays was
  ssh: connect to host 10.0.0.2 port 22: No route to host

 Below details were from command line using nova command

 nova list

 +--+---+++-+--+
 | ID   | Name  | Status | Task State
 | Power State | Networks |
 +--+---+++-+--+
 | 99c1ae3c-761c-458a-be2b-417202930d91 | MyInstanceOne | ACTIVE | -
 | Running | private=10.0.0.2 |
 +--+---+++-+--+


 nova secgroup-list

 ++-+-+
 | Id | Name| Description |
 ++-+-+
 | 1  | default | default |
 ++-+-+

 nova secgroup-list-rules default

 +-+---+-+---+--+
 | IP Protocol | From Port | To Port | IP Range  | Source Group |
 +-+---+-+---+--+
 | icmp| -1| -1  | 0.0.0.0/0 |  |
 | tcp | 22| 22  | 0.0.0.0/0 |  |
 +-+---+-+---+--+



 Thanks

 Prasanna Dangalla
 Software Engineer, WSO2, Inc.; http://wso2.com/
 lean.enterprise.middleware

 cell: +94 777 55 80 30 | +94 718 11 27 51
 twitter: @prasa77

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




-- 
Akila Ravihansa Perera
Software Engineer
WSO2 Inc.
http://wso2.com

Phone: +94 77 64 154 38
Blog: http://ravihansa3000.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Management console login attempt fails for worker node, but backend log says successfully logged in

2014-08-01 Thread Johann Nallathamby
On Fri, Aug 1, 2014 at 7:11 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi,

 It makes sense to block the management console access for worker nodes, so
 that the users get a clear idea that performing management operations in
 worker nodes is wrong. But do we really need to block access to back-end
 admin services? Is there a usecase where users might need to perform
 read-only operations on worker nodes?


@Kasun, Sameera:
This may be not related to this thread, but why have we blocked access to
worker node admin services. This prevents external clients from calling any
admin services from outside the firewall, since in most production
deployments we won't expose the management sub domain outside the firewall.
Are the assumptions that,
1. Admin services will not be exposed outside the firewall to be called by
clients, even if they are *read-only*.
2. If it is a service exposed for a client outside the firewall it should
be a non-admin service, which if requires authentication and authorization
should do by iteself and not using admin service declaration.

BTW, I was thinking of AuthenticationAdmin which is not an admin service.
It does authentication and authorization from within the service. So the
isWorkerNode() check is not done. So Good, external clients can actually
call this service. Still the management console login is failing as
expected. I couldn't find the place where we do the check for
AuthenticationAdmin. So I am thinking if login() operation is successful
and the failure is because subsequent admin service calls from the
management console are failing. I guess its OK to have it like this :) .
Thoughts?




 On Fri, Aug 1, 2014 at 1:59 PM, Nipuni Perera nip...@wso2.com wrote:

 Hi,

 I am working on jira issue[1]. I could reproduce the issue in a cluster
 with ELB, manager node and a worker node using ESB 4.8.0. When a login
 attempt is triggered,

1. login() method of AuthenticationAdmin.java (line 62 of [2]) set
boolean values for isAuthenticated and isAuthorized.
2. Both values set to true in workerNode (eg: for admin user login
attempt)
3. Initially isAuthenticated value set to true (line 101), due to a
return value of authenticate() method in AbstractUserStoreManager.java[3].
4. authenticate() method does not check if CarbonUtils.isWorkerNode()
is set to true or false.

 In order to fix the issue I can check CarbonUtils.isWorkerNode() value in
 login() method of AuthenticationAdmin.java as follows.

   boolean isAuthenticated = CarbonUtils.isWorkerNode() ? false :
 realm.getUserStoreManager().authenticate(username, password);

 or use authenticate() method in AbstractUserStoreManager.java to check
 isWorkerNode() value in a if condition. What would be the best option? Is
 there a better way to fix this?

 @Nipuni:
Doing it in either place is wrong. UserStoreManagers are invoked through
CarbonContext API as well, so we cannot have it there. AuthenticationAdmin
is only one authenticator, having it in there is also not optimal.
Currently I think we do this check in AuthorizationHandler. Correct me I am
wrong. So there is no way to avoid this unless we just print one log after
authentication and authorization.

I guess for your problem you could just print another log along the lines
of you are not authorized access a worker node, right after the
successful login message which at least gives an indication as to why it
failed.

 [1] https://wso2.org/jira/browse/CARBON-14793
 [2]
 https://github.com/wso2-dev/carbon4-kernel/blob/master/core/org.wso2.carbon.core.services/src/main/java/org/wso2/carbon/core/services/authentication/AuthenticationAdmin.java
 [3]
 https://github.com/wso2-dev/carbon4-kernel/blob/master/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/common/AbstractUserStoreManager.java

 Thanks,
 Nipuni
 --
 Nipuni Perera
 Software Engineer; WSO2 Inc.; http://wso2.com
 Email: nip...@wso2.com
 Git hub profile: https://github.com/nipuni
 Mobile: +94 (71) 5626680
 http://wso2.com


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




 --

 *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
 email: kasung AT spamfree wso2.com
 linked-in: http://lk.linkedin.com/in/gajasinghe
 blog: http://kasunbg.org






-- 
Thanks  Regards,

*Johann Dilantha Nallathamby*
Associate Technical Lead  Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com http://nallaa.wordpress.com*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev