[Dev] Set a property to the output message in WSO2 CEP

2013-11-21 Thread Udara Liyanage
Hi,

Is $subject possible.  I want to send the following message + a property to
the message so from the receiving end we can get the property.

Example output formater :

 {average_total_memory[image: :{]
member_id:{{member_id}},average_total_memory:{{average_total_memory

-- 
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Set a property to the output message in WSO2 CEP

2013-11-21 Thread Mohanadarshan Vivekanandalingam
Hi Udara,

If your object is a valid json then it is possible to do... I think above
one is valid json then it is possible...

Regards,
Mohan


On Thu, Nov 21, 2013 at 2:16 PM, Udara Liyanage ud...@wso2.com wrote:

 Hi,

 Is $subject possible.  I want to send the following message + a property
 to the message so from the receiving end we can get the property.

 Example output formater :

  {average_total_memory[image: :{]
 member_id:{{member_id}},average_total_memory:{{average_total_memory

 --
 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com http://wso2.com *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Set a property to the output message in WSO2 CEP

2013-11-21 Thread Udara Liyanage
Yes Mohan,

We are sending a json message. How do we set the properties.


On Thu, Nov 21, 2013 at 3:53 AM, Mohanadarshan Vivekanandalingam 
mo...@wso2.com wrote:

 Hi Udara,

 If your object is a valid json then it is possible to do... I think above
 one is valid json then it is possible...

 Regards,
 Mohan


 On Thu, Nov 21, 2013 at 2:16 PM, Udara Liyanage ud...@wso2.com wrote:

 Hi,

 Is $subject possible.  I want to send the following message + a property
 to the message so from the receiving end we can get the property.

 Example output formater :

  {average_total_memory[image: :{]
 member_id:{{member_id}},average_total_memory:{{average_total_memory

 --
 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




-- 
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Developer Studio 3.3.0 Alpha 3 Released!

2013-11-21 Thread Harshana Martin
Hi Samisa,


On Thu, Nov 21, 2013 at 6:50 AM, Samisa Abeysinghe sam...@wso2.com wrote:

 What is the plan to test all mediators for basic functionality for 3.3.0?


At the moment we are planning to test the mediators using the samples
mainly and some known use cases.


 I understand that some mediators were badly broken in 3.2.0 release e.g.
 XACML.


Although Entitlement mediator was a specific mediator only, we fixed but
there could be some other mediators like that. So we are going to cover all
most all mediators during the testing.


 Can we make use of the auto test framework to ensure that there are no
 absolute blockers in any mediator out of the full mediator lot.


Test framework is still not developed to support that level of
requirements. We will try to improve it while testing the 3.3.0. But most
of the testing will happen manually for this release. We are planning to
assign someone full-time basis to improve the test framework to support
complete automated testing.

Thanks and Regards,
Harshana



 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Mon, Nov 18, 2013 at 3:49 PM, Asanka Sanjeewa asan...@wso2.com wrote:

 Hi All,

 We have WSO2 Developer Studio 3.3.0 Alpha 3 version  ready to be
 downloaded at [1]. Installed eclipse distributions available at [2].

 This release includes following new feature, improvements and bug fixes.

 New Feature

- [TOOLS-1855 https://wso2.org/jira/browse/TOOLS-1855] - Cloud
connector support

 Improvements

- [TOOLS-1870 https://wso2.org/jira/browse/TOOLS-1870] - Enabling
Jaggery Editor Auto-Complete even without typing a character
- [TOOLS-2085 https://wso2.org/jira/browse/TOOLS-2085] - There is
no way to rename a GReg artifact.
- [TOOLS-2106 https://wso2.org/jira/browse/TOOLS-2106] - Adding
perspective login change icon into toolbar
- [TOOLS-2107 https://wso2.org/jira/browse/TOOLS-2107] - Login
window should not pop-up when resetting the perspective and should pop-up
for new perspective Only

 Bug Fixes

- [TOOLS-1337 https://wso2.org/jira/browse/TOOLS-1337] - There is
no way to add include block inside Script Mediator
- [TOOLS-1694 https://wso2.org/jira/browse/TOOLS-1694] - AF
perspective detais view not filling all the feilds
- [TOOLS-1719 https://wso2.org/jira/browse/TOOLS-1719] - [Dev
Studio-3.2] - Logging not consistent with WSO2 Standards
- [TOOLS-1722 https://wso2.org/jira/browse/TOOLS-1722] - Dev Studio
fails to create Registry resource without file extension
- [TOOLS-1731 https://wso2.org/jira/browse/TOOLS-1731] - Dev Studio
fails to rename a resource correctly.
- [TOOLS-1737 https://wso2.org/jira/browse/TOOLS-1737] - [Dev
Studio 3.2] End Point Connection Issues
- [TOOLS-1738 https://wso2.org/jira/browse/TOOLS-1738] - [Dev
Studio 3.2] - Null Argument error for Clone Mediator
- [TOOLS-1743 https://wso2.org/jira/browse/TOOLS-1743] - [Dev
Studio 3.2] - Exceptions Creating EndPoint (JMS)
- [TOOLS-1746 https://wso2.org/jira/browse/TOOLS-1746] - [Dev
Studio-3.2] - Argument not valid Exception in Opening with Registry Info
Editor
- [TOOLS-1747 https://wso2.org/jira/browse/TOOLS-1747] - [Dev
Studio-3.2] -Edit and saving resources to registy not possible
- [TOOLS-1757 https://wso2.org/jira/browse/TOOLS-1757] - Create new
Axis2 Service Project - wrong directory
- [TOOLS-1945 https://wso2.org/jira/browse/TOOLS-1945] - NPE when
trying to run ELB 2.0.2 from Dev Studio
- [TOOLS-1948 https://wso2.org/jira/browse/TOOLS-1948] - When A/F
login failed there is no way to re-login wihtout closing it
- [TOOLS-1951 https://wso2.org/jira/browse/TOOLS-1951] - Trying to
get versions from A/F application with just a developer role throws an
Internal Error
- [TOOLS-1952 https://wso2.org/jira/browse/TOOLS-1952] - Updating
an app with Data Sources throws an error
- [TOOLS-1975 https://wso2.org/jira/browse/TOOLS-1975] - Esb
graphical editor allows to delete proxy service
- [TOOLS-1976 https://wso2.org/jira/browse/TOOLS-1976] - When
pasted or moved a artifact between folders the artifact.xml doesn't 
 updated
corectly
- [TOOLS-1996 https://wso2.org/jira/browse/TOOLS-1996] - Error
occurs while trying to open an imported synapse configuration
- [TOOLS-2027 https://wso2.org/jira/browse/TOOLS-2027] - CApp POM
editor does not save property changes
- [TOOLS-2039 https://wso2.org/jira/browse/TOOLS-2039] - Cloud
connector operation parameters doesn't get displayed in properties view
properly
- [TOOLS-2082 https://wso2.org/jira/browse/TOOLS-2082] - ESB
project is created inside GReg project
- [TOOLS-2083 https://wso2.org/jira/browse/TOOLS-2083] - Resources
Editor window can not be opened once closed
- [TOOLS-2084 https://wso2.org/jira/browse/TOOLS-2084] - Duplicate
resource files do not trigger 

Re: [Dev] Set a property to the output message in WSO2 CEP

2013-11-21 Thread Mohanadarshan Vivekanandalingam
Please see the doc :
http://docs.wso2.org/display/CEP300/JSON+Event+Formatter , It gives answer
for your query..

Regards,
Mohan


On Thu, Nov 21, 2013 at 2:27 PM, Udara Liyanage ud...@wso2.com wrote:

 Yes Mohan,

 We are sending a json message. How do we set the properties.


 On Thu, Nov 21, 2013 at 3:53 AM, Mohanadarshan Vivekanandalingam 
 mo...@wso2.com wrote:

 Hi Udara,

 If your object is a valid json then it is possible to do... I think above
 one is valid json then it is possible...

 Regards,
 Mohan


 On Thu, Nov 21, 2013 at 2:16 PM, Udara Liyanage ud...@wso2.com wrote:

 Hi,

 Is $subject possible.  I want to send the following message + a property
 to the message so from the receiving end we can get the property.

 Example output formater :

  {average_total_memory[image: :{]
 member_id:{{member_id}},average_total_memory:{{average_total_memory

 --
 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




 --
 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com http://wso2.com *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Developer Studio 3.3.0 Alpha 3 Released!

2013-11-21 Thread Samisa Abeysinghe
Given there is no auto test help, to guard against slips, lets at least use
a checklist of all mediators to be tested.

I was looking for auto tests, becuase, it is hard to test them all
manually.

Alternatively, we can see if we can use ESB auto tests in here, where we
develop the artifacts for all mediators using DevS and test those artifacts
with ESB auto test framework. That could work.


Thanks,
Samisa...


Samisa Abeysinghe

Vice President Training

WSO2 Inc.
http://wso2.com



On Thu, Nov 21, 2013 at 2:27 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Samisa,


 On Thu, Nov 21, 2013 at 6:50 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 What is the plan to test all mediators for basic functionality for 3.3.0?


 At the moment we are planning to test the mediators using the samples
 mainly and some known use cases.


 I understand that some mediators were badly broken in 3.2.0 release e.g.
 XACML.


 Although Entitlement mediator was a specific mediator only, we fixed but
 there could be some other mediators like that. So we are going to cover all
 most all mediators during the testing.


 Can we make use of the auto test framework to ensure that there are no
 absolute blockers in any mediator out of the full mediator lot.


 Test framework is still not developed to support that level of
 requirements. We will try to improve it while testing the 3.3.0. But most
 of the testing will happen manually for this release. We are planning to
 assign someone full-time basis to improve the test framework to support
 complete automated testing.

 Thanks and Regards,
 Harshana



 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Mon, Nov 18, 2013 at 3:49 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Hi All,

 We have WSO2 Developer Studio 3.3.0 Alpha 3 version  ready to be
 downloaded at [1]. Installed eclipse distributions available at [2].

 This release includes following new feature, improvements and bug fixes.

 New Feature

- [TOOLS-1855 https://wso2.org/jira/browse/TOOLS-1855] - Cloud
connector support

 Improvements

- [TOOLS-1870 https://wso2.org/jira/browse/TOOLS-1870] - Enabling
Jaggery Editor Auto-Complete even without typing a character
- [TOOLS-2085 https://wso2.org/jira/browse/TOOLS-2085] - There is
no way to rename a GReg artifact.
- [TOOLS-2106 https://wso2.org/jira/browse/TOOLS-2106] - Adding
perspective login change icon into toolbar
- [TOOLS-2107 https://wso2.org/jira/browse/TOOLS-2107] - Login
window should not pop-up when resetting the perspective and should pop-up
for new perspective Only

 Bug Fixes

- [TOOLS-1337 https://wso2.org/jira/browse/TOOLS-1337] - There is
no way to add include block inside Script Mediator
- [TOOLS-1694 https://wso2.org/jira/browse/TOOLS-1694] - AF
perspective detais view not filling all the feilds
- [TOOLS-1719 https://wso2.org/jira/browse/TOOLS-1719] - [Dev
Studio-3.2] - Logging not consistent with WSO2 Standards
- [TOOLS-1722 https://wso2.org/jira/browse/TOOLS-1722] - Dev
Studio fails to create Registry resource without file extension
- [TOOLS-1731 https://wso2.org/jira/browse/TOOLS-1731] - Dev
Studio fails to rename a resource correctly.
- [TOOLS-1737 https://wso2.org/jira/browse/TOOLS-1737] - [Dev
Studio 3.2] End Point Connection Issues
- [TOOLS-1738 https://wso2.org/jira/browse/TOOLS-1738] - [Dev
Studio 3.2] - Null Argument error for Clone Mediator
- [TOOLS-1743 https://wso2.org/jira/browse/TOOLS-1743] - [Dev
Studio 3.2] - Exceptions Creating EndPoint (JMS)
- [TOOLS-1746 https://wso2.org/jira/browse/TOOLS-1746] - [Dev
Studio-3.2] - Argument not valid Exception in Opening with Registry Info
Editor
- [TOOLS-1747 https://wso2.org/jira/browse/TOOLS-1747] - [Dev
Studio-3.2] -Edit and saving resources to registy not possible
- [TOOLS-1757 https://wso2.org/jira/browse/TOOLS-1757] - Create
new Axis2 Service Project - wrong directory
- [TOOLS-1945 https://wso2.org/jira/browse/TOOLS-1945] - NPE when
trying to run ELB 2.0.2 from Dev Studio
- [TOOLS-1948 https://wso2.org/jira/browse/TOOLS-1948] - When A/F
login failed there is no way to re-login wihtout closing it
- [TOOLS-1951 https://wso2.org/jira/browse/TOOLS-1951] - Trying to
get versions from A/F application with just a developer role throws an
Internal Error
- [TOOLS-1952 https://wso2.org/jira/browse/TOOLS-1952] - Updating
an app with Data Sources throws an error
- [TOOLS-1975 https://wso2.org/jira/browse/TOOLS-1975] - Esb
graphical editor allows to delete proxy service
- [TOOLS-1976 https://wso2.org/jira/browse/TOOLS-1976] - When
pasted or moved a artifact between folders the artifact.xml doesn't 
 updated
corectly
- [TOOLS-1996 https://wso2.org/jira/browse/TOOLS-1996] - Error
occurs while trying to open an imported synapse configuration
- [TOOLS-2027 

Re: [Dev] Developer Studio 3.3.0 Alpha 3 Released!

2013-11-21 Thread Harshana Martin
Hi Samisa,


On Thu, Nov 21, 2013 at 2:31 PM, Samisa Abeysinghe sam...@wso2.com wrote:

 Given there is no auto test help, to guard against slips, lets at least
 use a checklist of all mediators to be tested.


Yes.. That's a good idea.. we did such cross check when we did DevS 3.0.0
release. So we will reuse the same set to make sure no slip ups.


 I was looking for auto tests, becuase, it is hard to test them all
 manually.

 Alternatively, we can see if we can use ESB auto tests in here, where we
 develop the artifacts for all mediators using DevS and test those artifacts
 with ESB auto test framework. That could work.


Yes.. +1

We can produce CAR files with all mediator scenarios and provide them to
ESB Testing Framework which could show us the error in configurations. Also
once we are done with it, the same CAR files can be used for future ESB
testing as well.

We will execute that plan for the release. Thanks for the valuable input
Samisa.

Best Regards,
Harshana



 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Thu, Nov 21, 2013 at 2:27 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Samisa,


 On Thu, Nov 21, 2013 at 6:50 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 What is the plan to test all mediators for basic functionality for
 3.3.0?


 At the moment we are planning to test the mediators using the samples
 mainly and some known use cases.


 I understand that some mediators were badly broken in 3.2.0 release e.g.
 XACML.


 Although Entitlement mediator was a specific mediator only, we fixed but
 there could be some other mediators like that. So we are going to cover all
 most all mediators during the testing.


 Can we make use of the auto test framework to ensure that there are no
 absolute blockers in any mediator out of the full mediator lot.


 Test framework is still not developed to support that level of
 requirements. We will try to improve it while testing the 3.3.0. But most
 of the testing will happen manually for this release. We are planning to
 assign someone full-time basis to improve the test framework to support
 complete automated testing.

 Thanks and Regards,
 Harshana



 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Mon, Nov 18, 2013 at 3:49 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Hi All,

 We have WSO2 Developer Studio 3.3.0 Alpha 3 version  ready to be
 downloaded at [1]. Installed eclipse distributions available at [2].

 This release includes following new feature, improvements and bug fixes.

 New Feature

- [TOOLS-1855 https://wso2.org/jira/browse/TOOLS-1855] - Cloud
connector support

 Improvements

- [TOOLS-1870 https://wso2.org/jira/browse/TOOLS-1870] - Enabling
Jaggery Editor Auto-Complete even without typing a character
- [TOOLS-2085 https://wso2.org/jira/browse/TOOLS-2085] - There is
no way to rename a GReg artifact.
- [TOOLS-2106 https://wso2.org/jira/browse/TOOLS-2106] - Adding
perspective login change icon into toolbar
- [TOOLS-2107 https://wso2.org/jira/browse/TOOLS-2107] - Login
window should not pop-up when resetting the perspective and should 
 pop-up
for new perspective Only

 Bug Fixes

- [TOOLS-1337 https://wso2.org/jira/browse/TOOLS-1337] - There is
no way to add include block inside Script Mediator
- [TOOLS-1694 https://wso2.org/jira/browse/TOOLS-1694] - AF
perspective detais view not filling all the feilds
- [TOOLS-1719 https://wso2.org/jira/browse/TOOLS-1719] - [Dev
Studio-3.2] - Logging not consistent with WSO2 Standards
- [TOOLS-1722 https://wso2.org/jira/browse/TOOLS-1722] - Dev
Studio fails to create Registry resource without file extension
- [TOOLS-1731 https://wso2.org/jira/browse/TOOLS-1731] - Dev
Studio fails to rename a resource correctly.
- [TOOLS-1737 https://wso2.org/jira/browse/TOOLS-1737] - [Dev
Studio 3.2] End Point Connection Issues
- [TOOLS-1738 https://wso2.org/jira/browse/TOOLS-1738] - [Dev
Studio 3.2] - Null Argument error for Clone Mediator
- [TOOLS-1743 https://wso2.org/jira/browse/TOOLS-1743] - [Dev
Studio 3.2] - Exceptions Creating EndPoint (JMS)
- [TOOLS-1746 https://wso2.org/jira/browse/TOOLS-1746] - [Dev
Studio-3.2] - Argument not valid Exception in Opening with Registry Info
Editor
- [TOOLS-1747 https://wso2.org/jira/browse/TOOLS-1747] - [Dev
Studio-3.2] -Edit and saving resources to registy not possible
- [TOOLS-1757 https://wso2.org/jira/browse/TOOLS-1757] - Create
new Axis2 Service Project - wrong directory
- [TOOLS-1945 https://wso2.org/jira/browse/TOOLS-1945] - NPE when
trying to run ELB 2.0.2 from Dev Studio
- [TOOLS-1948 https://wso2.org/jira/browse/TOOLS-1948] - When A/F
login failed there is no way to re-login wihtout closing it
- [TOOLS-1951 https://wso2.org/jira/browse/TOOLS-1951] - Trying
to get versions from A/F application 

[Dev] Invitation: Responsive UI - User home #2009 Redmine @ Thu Nov 21, 2013 3pm - 4pm (asan...@wso2.com)

2013-11-21 Thread Asanka Dissanayake
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20131121T093000Z
DTEND:20131121T103000Z
DTSTAMP:20131121T091505Z
ORGANIZER;CN=Asanka Dissanayake:mailto:asan...@wso2.com
UID:49bua8fidj74cdcct8nh8oo...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Manjula Rathnayake;X-NUM-GUESTS=0:mailto:manju...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Danushka Fernando;X-NUM-GUESTS=0:mailto:danush...@wso2.com
ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR
 UE;CN=LK 6th Floor Meeting Room - Dijkstra;X-NUM-GUESTS=0:mailto:wso2.com_3
 7373634303139362d333...@resource.calendar.google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Harsha Thirimanna;X-NUM-GUESTS=0:mailto:hars...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ajanthan Balachandran;X-NUM-GUESTS=0:mailto:ajant...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Gayan Dhanushka;X-NUM-GUESTS=0:mailto:gay...@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=Punnadi Gunarathna;X-NUM-GUESTS=0:mailto:punn...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=asan...@wso2.com;X-NUM-GUESTS=0:mailto:asan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Manisha Gayathri;X-NUM-GUESTS=0:mailto:mani...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dimuthu Leelarathne;X-NUM-GUESTS=0:mailto:dimut...@wso2.com
CREATED:20131121T091347Z
DESCRIPTION:View your event at http://www.google.com/calendar/event?action=
 VIEWeid=NDlidWE4Zmlkajc0Y2RjY3Q4bmg4b29wa2MgZGV2QHdzbzIub3Jntok=MTYjYXNhb
 mthZEB3c28yLmNvbTEzMTRlOTc5ZDlmMmMxMmY0NWQzNTA4Mzc2NGMxNDUzMTVhNWM0YzEctz=
 Asia/Colombohl=en.
LAST-MODIFIED:20131121T091504Z
LOCATION:LK 6th Floor Meeting Room - Dijkstra
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Responsive UI - User home #2009 Redmine
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


[Dev] Updated Invitation: Responsive UI - User home #2009 Redmine @ Thu Nov 21, 2013 3pm - 4pm (asan...@wso2.com)

2013-11-21 Thread asan...@wso2.com
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20131121T093000Z
DTEND:20131121T103000Z
DTSTAMP:20131121T091556Z
ORGANIZER;CN=Asanka Dissanayake:mailto:asan...@wso2.com
UID:49bua8fidj74cdcct8nh8oo...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Manjula Rathnayake;X-NUM-GUESTS=0:mailto:manju...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Danushka Fernando;X-NUM-GUESTS=0:mailto:danush...@wso2.com
ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;C
 N=LK 6th Floor Meeting Room - Dijkstra;X-NUM-GUESTS=0:mailto:wso2.com_37373
 634303139362d333...@resource.calendar.google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Harsha Thirimanna;X-NUM-GUESTS=0:mailto:hars...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ajanthan Balachandran;X-NUM-GUESTS=0:mailto:ajant...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Gayan Dhanushka;X-NUM-GUESTS=0:mailto:gay...@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=Punnadi Gunarathna;X-NUM-GUESTS=0:mailto:punn...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Asanka Dissanayake;X-NUM-GUESTS=0:mailto:asan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Manisha Gayathri;X-NUM-GUESTS=0:mailto:mani...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dimuthu Leelarathne;X-NUM-GUESTS=0:mailto:dimut...@wso2.com
CREATED:20131121T091347Z
DESCRIPTION:Please find the link for the code review below.\n\nhttp://wso2.
 org/crucible/cru/WAF001-20\n\n\nView your event at http://www.google.com/ca
 lendar/event?action=VIEWeid=NDlidWE4Zmlkajc0Y2RjY3Q4bmg4b29wa2MgZGV2QHdzbz
 Iub3Jntok=MTYjYXNhbmthZEB3c28yLmNvbTEzMTRlOTc5ZDlmMmMxMmY0NWQzNTA4Mzc2NGMx
 NDUzMTVhNWM0YzEctz=Asia/Colombohl=en.
LAST-MODIFIED:20131121T091556Z
LOCATION:LK 6th Floor Meeting Room - Dijkstra
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Responsive UI - User home #2009 Redmine
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] Is there a interface for the manager to manage the cluster

2013-11-21 Thread Pulasthi Supun
Hi,

Still there is no interface for the manager to manage the cluster trough
the manager node. There is some work being done in this area but its not
possible to give an exact date on when this work will be completed.

Regards,
Pulasthi


On Thu, Nov 21, 2013 at 12:29 PM, stevegyc steve...@163.com wrote:

  Hi:

  I want to know in worker/manager separated cluster, is there a
 interface for the manager to manage the cluster, including monitor the
 number of the worker nodes and the status of them, restart or stop the
 selected worker nodes.

 --
 stevegyc

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




-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: pulas...@wso2.com
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Set a property to the output message in WSO2 CEP

2013-11-21 Thread Udara Liyanage
Hi Mohan,

I want to know how to set JMS header properties when CEP sends message to a
JMS topoc.


On Thu, Nov 21, 2013 at 4:00 AM, Mohanadarshan Vivekanandalingam 
mo...@wso2.com wrote:

 Please see the doc :
 http://docs.wso2.org/display/CEP300/JSON+Event+Formatter , It gives
 answer for your query..

 Regards,
 Mohan


 On Thu, Nov 21, 2013 at 2:27 PM, Udara Liyanage ud...@wso2.com wrote:

 Yes Mohan,

 We are sending a json message. How do we set the properties.


 On Thu, Nov 21, 2013 at 3:53 AM, Mohanadarshan Vivekanandalingam 
 mo...@wso2.com wrote:

 Hi Udara,

 If your object is a valid json then it is possible to do... I think
 above one is valid json then it is possible...

 Regards,
 Mohan


 On Thu, Nov 21, 2013 at 2:16 PM, Udara Liyanage ud...@wso2.com wrote:

 Hi,

 Is $subject possible.  I want to send the following message + a
 property to the message so from the receiving end we can get the property.

 Example output formater :

  {average_total_memory[image: :{]
 member_id:{{member_id}},average_total_memory:{{average_total_memory

 --
 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




 --
 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




-- 
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Set a property to the output message in WSO2 CEP

2013-11-21 Thread Mohanadarshan Vivekanandalingam
Hi Udara,

At the moment, there is no any ability to set jms headers by users, but if
really need and if it is a critical feature then you can patch the output
jms event adaptor component which is in the below link -
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/event-processing/event-output-adaptor/org.wso2.carbon.event.output.adaptor.jms/1.0.0/


Regards,
Mohan


On Thu, Nov 21, 2013 at 2:50 PM, Udara Liyanage ud...@wso2.com wrote:

 Hi Mohan,

 I want to know how to set JMS header properties when CEP sends message to
 a JMS topoc.


 On Thu, Nov 21, 2013 at 4:00 AM, Mohanadarshan Vivekanandalingam 
 mo...@wso2.com wrote:

 Please see the doc :
 http://docs.wso2.org/display/CEP300/JSON+Event+Formatter , It gives
 answer for your query..

 Regards,
 Mohan


 On Thu, Nov 21, 2013 at 2:27 PM, Udara Liyanage ud...@wso2.com wrote:

 Yes Mohan,

 We are sending a json message. How do we set the properties.


 On Thu, Nov 21, 2013 at 3:53 AM, Mohanadarshan Vivekanandalingam 
 mo...@wso2.com wrote:

 Hi Udara,

 If your object is a valid json then it is possible to do... I think
 above one is valid json then it is possible...

 Regards,
 Mohan


 On Thu, Nov 21, 2013 at 2:16 PM, Udara Liyanage ud...@wso2.com wrote:

 Hi,

 Is $subject possible.  I want to send the following message + a
 property to the message so from the receiving end we can get the property.

 Example output formater :

  {average_total_memory[image: :{]
 member_id:{{member_id}},average_total_memory:{{average_total_memory

 --
 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




 --
 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




 --
 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com http://wso2.com *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Set a property to the output message in WSO2 CEP

2013-11-21 Thread Udara Liyanage
Thanks Mohan.


On Thu, Nov 21, 2013 at 4:22 AM, Mohanadarshan Vivekanandalingam 
mo...@wso2.com wrote:

 Hi Udara,

 At the moment, there is no any ability to set jms headers by users, but if
 really need and if it is a critical feature then you can patch the output
 jms event adaptor component which is in the below link -
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/event-processing/event-output-adaptor/org.wso2.carbon.event.output.adaptor.jms/1.0.0/


 Regards,
 Mohan


 On Thu, Nov 21, 2013 at 2:50 PM, Udara Liyanage ud...@wso2.com wrote:

 Hi Mohan,

 I want to know how to set JMS header properties when CEP sends message to
 a JMS topoc.


 On Thu, Nov 21, 2013 at 4:00 AM, Mohanadarshan Vivekanandalingam 
 mo...@wso2.com wrote:

 Please see the doc :
 http://docs.wso2.org/display/CEP300/JSON+Event+Formatter , It gives
 answer for your query..

 Regards,
 Mohan


 On Thu, Nov 21, 2013 at 2:27 PM, Udara Liyanage ud...@wso2.com wrote:

 Yes Mohan,

 We are sending a json message. How do we set the properties.


 On Thu, Nov 21, 2013 at 3:53 AM, Mohanadarshan Vivekanandalingam 
 mo...@wso2.com wrote:

 Hi Udara,

 If your object is a valid json then it is possible to do... I think
 above one is valid json then it is possible...

 Regards,
 Mohan


 On Thu, Nov 21, 2013 at 2:16 PM, Udara Liyanage ud...@wso2.comwrote:

 Hi,

 Is $subject possible.  I want to send the following message + a
 property to the message so from the receiving end we can get the 
 property.

 Example output formater :

  {average_total_memory[image: :{]
 member_id:{{member_id}},average_total_memory:{{average_total_memory

 --
 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




 --
 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




 --
 Udara Liyanage
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean. enterprise. middleware

 web: http://udaraliyanage.wordpress.com
 phone: +94 71 443 6897




 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com http://wso2.com *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673




-- 
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Developer Studio 3.3.0 Alpha 3 Released!

2013-11-21 Thread Chintana Wilamuna
Some of the bugs I've encountered are mainly UI related bugs. Just out of
curiosity, is there facilities in Eclipse framework to automate those? Like
for example, configuration disappears when switching to source view after
designing the mediation flow in ESB graphical editor.

-Chintana


On Thu, Nov 21, 2013 at 2:37 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Samisa,


 On Thu, Nov 21, 2013 at 2:31 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Given there is no auto test help, to guard against slips, lets at least
 use a checklist of all mediators to be tested.


 Yes.. That's a good idea.. we did such cross check when we did DevS 3.0.0
 release. So we will reuse the same set to make sure no slip ups.


 I was looking for auto tests, becuase, it is hard to test them all
 manually.

 Alternatively, we can see if we can use ESB auto tests in here, where we
 develop the artifacts for all mediators using DevS and test those artifacts
 with ESB auto test framework. That could work.


 Yes.. +1

 We can produce CAR files with all mediator scenarios and provide them to
 ESB Testing Framework which could show us the error in configurations. Also
 once we are done with it, the same CAR files can be used for future ESB
 testing as well.

 We will execute that plan for the release. Thanks for the valuable input
 Samisa.

 Best Regards,
 Harshana



 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Thu, Nov 21, 2013 at 2:27 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Samisa,


 On Thu, Nov 21, 2013 at 6:50 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 What is the plan to test all mediators for basic functionality for
 3.3.0?


 At the moment we are planning to test the mediators using the samples
 mainly and some known use cases.


 I understand that some mediators were badly broken in 3.2.0 release
 e.g. XACML.


 Although Entitlement mediator was a specific mediator only, we fixed but
 there could be some other mediators like that. So we are going to cover all
 most all mediators during the testing.


 Can we make use of the auto test framework to ensure that there are no
 absolute blockers in any mediator out of the full mediator lot.


 Test framework is still not developed to support that level of
 requirements. We will try to improve it while testing the 3.3.0. But most
 of the testing will happen manually for this release. We are planning to
 assign someone full-time basis to improve the test framework to support
 complete automated testing.

 Thanks and Regards,
 Harshana



 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Mon, Nov 18, 2013 at 3:49 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Hi All,

 We have WSO2 Developer Studio 3.3.0 Alpha 3 version  ready to be
 downloaded at [1]. Installed eclipse distributions available at [2].

 This release includes following new feature, improvements and bug
 fixes.

 New Feature

- [TOOLS-1855 https://wso2.org/jira/browse/TOOLS-1855] - Cloud
connector support

 Improvements

- [TOOLS-1870 https://wso2.org/jira/browse/TOOLS-1870] -
Enabling Jaggery Editor Auto-Complete even without typing a character
- [TOOLS-2085 https://wso2.org/jira/browse/TOOLS-2085] - There
is no way to rename a GReg artifact.
- [TOOLS-2106 https://wso2.org/jira/browse/TOOLS-2106] - Adding
perspective login change icon into toolbar
- [TOOLS-2107 https://wso2.org/jira/browse/TOOLS-2107] - Login
window should not pop-up when resetting the perspective and should 
 pop-up
for new perspective Only

 Bug Fixes

- [TOOLS-1337 https://wso2.org/jira/browse/TOOLS-1337] - There
is no way to add include block inside Script Mediator
- [TOOLS-1694 https://wso2.org/jira/browse/TOOLS-1694] - AF
perspective detais view not filling all the feilds
- [TOOLS-1719 https://wso2.org/jira/browse/TOOLS-1719] - [Dev
Studio-3.2] - Logging not consistent with WSO2 Standards
- [TOOLS-1722 https://wso2.org/jira/browse/TOOLS-1722] - Dev
Studio fails to create Registry resource without file extension
- [TOOLS-1731 https://wso2.org/jira/browse/TOOLS-1731] - Dev
Studio fails to rename a resource correctly.
- [TOOLS-1737 https://wso2.org/jira/browse/TOOLS-1737] - [Dev
Studio 3.2] End Point Connection Issues
- [TOOLS-1738 https://wso2.org/jira/browse/TOOLS-1738] - [Dev
Studio 3.2] - Null Argument error for Clone Mediator
- [TOOLS-1743 https://wso2.org/jira/browse/TOOLS-1743] - [Dev
Studio 3.2] - Exceptions Creating EndPoint (JMS)
- [TOOLS-1746 https://wso2.org/jira/browse/TOOLS-1746] - [Dev
Studio-3.2] - Argument not valid Exception in Opening with Registry 
 Info
Editor
- [TOOLS-1747 https://wso2.org/jira/browse/TOOLS-1747] - [Dev
Studio-3.2] -Edit and saving resources to registy not possible
- [TOOLS-1757 https://wso2.org/jira/browse/TOOLS-1757] - Create
new Axis2 Service 

[Dev] Code Freeze for Carbon 4.2.0 - chunk 04 release

2013-11-21 Thread Kasun Indrasiri
We will be freezing code for chunk 04 release probably by tomorrow
afternoon. Teams who are releasing with chunk 4 will only have the commit
rights.

-- 
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] Developer Studio 3.3.0 Alpha 3 Released!

2013-11-21 Thread Harshana Martin
Hi Chintana,

Yes. There is. We've started using SWTBot, an Eclipse UI Testing framework
for this task. With that we can test these thing. The downside is, the
programming model for SWTBot is quite tedious. We have to tell exact step
by step to follow which takes time but in the same time provide us the
great flexibility. So we can definitely do it.

On a separate note, when it comes to DevS 3.3.0, we have fixed majority of
such incidents. There are couple of such scenarios which we are trying to
fix at the moment.

Thanks and Regards,
Harshana


On Thu, Nov 21, 2013 at 3:02 PM, Chintana Wilamuna chint...@wso2.comwrote:

 Some of the bugs I've encountered are mainly UI related bugs. Just out of
 curiosity, is there facilities in Eclipse framework to automate those? Like
 for example, configuration disappears when switching to source view after
 designing the mediation flow in ESB graphical editor.

 -Chintana


 On Thu, Nov 21, 2013 at 2:37 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Samisa,


 On Thu, Nov 21, 2013 at 2:31 PM, Samisa Abeysinghe sam...@wso2.comwrote:

 Given there is no auto test help, to guard against slips, lets at least
 use a checklist of all mediators to be tested.


 Yes.. That's a good idea.. we did such cross check when we did DevS 3.0.0
 release. So we will reuse the same set to make sure no slip ups.


 I was looking for auto tests, becuase, it is hard to test them all
 manually.

 Alternatively, we can see if we can use ESB auto tests in here, where we
 develop the artifacts for all mediators using DevS and test those artifacts
 with ESB auto test framework. That could work.


 Yes.. +1

 We can produce CAR files with all mediator scenarios and provide them to
 ESB Testing Framework which could show us the error in configurations. Also
 once we are done with it, the same CAR files can be used for future ESB
 testing as well.

 We will execute that plan for the release. Thanks for the valuable input
 Samisa.

 Best Regards,
 Harshana



 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Thu, Nov 21, 2013 at 2:27 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Samisa,


 On Thu, Nov 21, 2013 at 6:50 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 What is the plan to test all mediators for basic functionality for
 3.3.0?


 At the moment we are planning to test the mediators using the samples
 mainly and some known use cases.


 I understand that some mediators were badly broken in 3.2.0 release
 e.g. XACML.


 Although Entitlement mediator was a specific mediator only, we fixed
 but there could be some other mediators like that. So we are going to cover
 all most all mediators during the testing.


 Can we make use of the auto test framework to ensure that there are no
 absolute blockers in any mediator out of the full mediator lot.


 Test framework is still not developed to support that level of
 requirements. We will try to improve it while testing the 3.3.0. But most
 of the testing will happen manually for this release. We are planning to
 assign someone full-time basis to improve the test framework to support
 complete automated testing.

 Thanks and Regards,
 Harshana



 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Mon, Nov 18, 2013 at 3:49 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Hi All,

 We have WSO2 Developer Studio 3.3.0 Alpha 3 version  ready to be
 downloaded at [1]. Installed eclipse distributions available at [2].

 This release includes following new feature, improvements and bug
 fixes.

 New Feature

- [TOOLS-1855 https://wso2.org/jira/browse/TOOLS-1855] - Cloud
connector support

 Improvements

- [TOOLS-1870 https://wso2.org/jira/browse/TOOLS-1870] -
Enabling Jaggery Editor Auto-Complete even without typing a character
- [TOOLS-2085 https://wso2.org/jira/browse/TOOLS-2085] - There
is no way to rename a GReg artifact.
- [TOOLS-2106 https://wso2.org/jira/browse/TOOLS-2106] - Adding
perspective login change icon into toolbar
- [TOOLS-2107 https://wso2.org/jira/browse/TOOLS-2107] - Login
window should not pop-up when resetting the perspective and should 
 pop-up
for new perspective Only

 Bug Fixes

- [TOOLS-1337 https://wso2.org/jira/browse/TOOLS-1337] - There
is no way to add include block inside Script Mediator
- [TOOLS-1694 https://wso2.org/jira/browse/TOOLS-1694] - AF
perspective detais view not filling all the feilds
- [TOOLS-1719 https://wso2.org/jira/browse/TOOLS-1719] - [Dev
Studio-3.2] - Logging not consistent with WSO2 Standards
- [TOOLS-1722 https://wso2.org/jira/browse/TOOLS-1722] - Dev
Studio fails to create Registry resource without file extension
- [TOOLS-1731 https://wso2.org/jira/browse/TOOLS-1731] - Dev
Studio fails to rename a resource correctly.
- [TOOLS-1737 https://wso2.org/jira/browse/TOOLS-1737] - [Dev
Studio 3.2] End Point 

[Dev] Kernel patch required

2013-11-21 Thread Miyuru Wanninayaka
$subject [1]

[1] https://wso2.org/jira/browse/ESBJAVA-2678

-- 
Miyuru Wanninayaka
Technical Lead
WSO2 Inc. : http://wso2.com

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


Re: [Dev] [AF][STS] Problems when invoking sts in tenant

2013-11-21 Thread Danushka Fernando
Hi
This functionality is working with is 4.5.0. But IS 4.5.0 components don't
have carbon context re-factoring. So I cant test that features in
Appfactory. And when I could not log in to IS 4.5.1 as a tenant so I cant
test this with IS 4.5.1 also.

The differences between IS 4.5.0 are sts versions are different and rampart
version also different.

Trying to find out what is the root cause for this problem.

One quick solution is to go for seperate IS (4.5.0) in AF setup. If we go
with that option we need to re do all saml configurations as well and its
better to remove all IS features from AF. WDYT?


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


On Thu, Nov 21, 2013 at 11:51 AM, Danushka Fernando danush...@wso2.comwrote:

 Looping in

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


 On Thu, Nov 21, 2013 at 11:32 AM, Danushka Fernando danush...@wso2.comwrote:

 Hi,
 I am trying to invoke the sts service in a tenant. When I do that I could
 see the following exception in the server side.

 How ever I debugged the Axis2Engine and RampartReciver. There I found
 that error is about rampart is not engaged in server side. I attached a
 screenshot here which shows that rampart is engaged in tenant.

 So any idea whats going wrong here?


 [2013-11-21 11:20:53,484] DEBUG {org.apache.axis2.engine.AxisEngine} -
  MustUnderstand header not processed or registered as understood{
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
 [2013-11-21 11:20:53,510] ERROR {org.apache.axis2.engine.AxisEngine} -
  Must Understand check failed for header
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd:
  Security
 org.apache.axis2.AxisFault: Must Understand check failed for header
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd:
  Security
  at
 org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:104)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:170)
  at
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
 at
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
  at
 org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
  at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
  at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
  at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
  at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:62)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
  at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
  at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
  at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
  at
 org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
 at
 

Re: [Dev] Kernel patch required

2013-11-21 Thread Manoj Kumara
Hi,

committed with 191463 to patch0002. Please add this to public trunk.

Thanks,
Manoj

Best Regards..


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

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


On Thu, Nov 21, 2013 at 4:03 PM, Miyuru Wanninayaka miy...@wso2.com wrote:

 $subject [1]

 [1] https://wso2.org/jira/browse/ESBJAVA-2678

 --
 Miyuru Wanninayaka
 Technical Lead
 WSO2 Inc. : http://wso2.com

 Mobile : +94 77 209 9788
 Blog : http://miyurudw.blogspot.com
 Flickr : http://www.flickr.com/photos/miyuru_daminda

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


[Dev] parser - java.lang.Long, Problem!! CEP

2013-11-21 Thread andresgomez92
Hi all,

I have a problem when I try to parse java.lang.Long.

For example:

I send to CEP this json event:

*{timestamp:1383580897,sensor_id:0,sensor_name:pablo06}

where:
  * timestamp is a Long.
  * sensor_id is an Integer.
  * Sensor_name is a String.*

My eventBuilder is like this:

*?xml version=1.0 encoding=UTF-8?
eventBuilder name=builder_rb_monitor statistics=enable
trace=disable xmlns=http://wso2.org/carbon/eventbuilder;
from eventAdaptorName=wso2KafkaConsumer
eventAdaptorType=kafkaConsumerBroker
property name=topicrb_monitor/property
/from
mapping customMapping=enable type=json
property
from jsonPath=$.timestamp/
to default=-1 name=timestamp type=long/
/property
property
from jsonPath=$.sensor_id/
to default=-1 name=sensor_id type=int/
/property
property
from jsonPath=$.sensor_name/
to default=none name=sensor_name type=string/
/property
/mapping
to streamName=rb_monitor_stream version=1.0.0/
/eventBuilder*

and my eventStream is like this:

*streamDefinition name=rb_monitor_stream version=1.0.0
payloadData
property name=timestamp type=LONG /
property name=sensor_id type=INT /
property name=sensor_name type=STRING /
/payloadData
/streamDefinition*

But when I send eventJson in the terminal I can see this:

*[2013-11-20 19:54:51,382]  WARN - {JsonInputMapper}  Unable to cast the
input data to required type :java.lang.Long*

and in the eventTracer I can see:

*19:53:08,286 [-] [pool-12-thread-1]  INFO TenantId=-1234 : Event Builder :
builder_rb_monitor, before processing 
{timestamp:1383580897,sensor_id:0,sensor_name:pablo06}

19:53:08,287 [-] [pool-12-thread-1]  INFO TenantId=-1234 : Event Builder :
builder_rb_monitor : Event Stream : rb_monitor_stream:1.0.0 , after
processing 
[0, pablo06]*

Does anyone know why this happens?

Regards and thanks!

Andrés Gómez



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-parser-java-lang-Long-Problem-CEP-tp88734.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Limitations with Cache Mediator

2013-11-21 Thread Dinusha Senanayaka
Hi All,

We are trying to add response caching as a default feature in API Manager
using Cache mediator. There, we found that Cache mediator could handle only
SOAP-1.1 or  SOAP-1.2 messages.

- If backend returns a POX response, it throws the following exception [1]
when request is served from the cache.
- If backend returns a JSON response, and once the response get added to
cache, client does not receive a response until cache expires. (No backend
errors)

Is it possible to fix those for API Manager-1.6.0 release ?

[1] [2013-11-21 13:33:18,044] ERROR - NativeWorkerPool Uncaught exception
org.apache.axiom.soap.SOAPProcessingException: Transport level information
does not match with SOAP Message namespace URI
at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.identifySOAPVersion(StAXSOAPModelBuilder.java:187)
at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.init(StAXSOAPModelBuilder.java:170)
at org.apache.axis2.saaj.SOAPPartImpl.init(SOAPPartImpl.java:194)
at
org.apache.axis2.saaj.SOAPMessageImpl.init(SOAPMessageImpl.java:112)
at
org.apache.axis2.saaj.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:132)
at
org.wso2.caching.util.SOAPMessageHelper.buildSOAPEnvelopeFromBytes(SOAPMessageHelper.java:77)
at
org.apache.synapse.mediators.builtin.CacheMediator.processRequestMessage(CacheMediator.java:319)
at
org.apache.synapse.mediators.builtin.CacheMediator.mediate(CacheMediator.java:170)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.filters.FilterMediator.mediate(FilterMediator.java:160)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
at org.apache.synapse.rest.Resource.process(Resource.java:297)
at org.apache.synapse.rest.API.process(API.java:341)
at
org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:76)
at
org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:63)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:220)
at
org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:83)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:337)
at
org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:378)
at
org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:184)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
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:619)

Regards,
Dinusha.



-- 
Dinusha Dilrukshi
Senior Software Engineer
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF][STS] Problems when invoking sts in tenant

2013-11-21 Thread Prabath Siriwardena
The pack you are testing is bit old. Johann will provide an IS 4.5.1 pack
tonight or tomorrow.. Tenant login should be okay there - as its being
tested for ESB already... So - please test your scenario there...

Thanks  regards,
-Prabath


On Thu, Nov 21, 2013 at 8:42 PM, Danushka Fernando danush...@wso2.comwrote:

 Hi
 This functionality is working with is 4.5.0. But IS 4.5.0 components don't
 have carbon context re-factoring. So I cant test that features in
 Appfactory. And when I could not log in to IS 4.5.1 as a tenant so I cant
 test this with IS 4.5.1 also.

 The differences between IS 4.5.0 are sts versions are different and
 rampart version also different.

 Trying to find out what is the root cause for this problem.

 One quick solution is to go for seperate IS (4.5.0) in AF setup. If we go
 with that option we need to re do all saml configurations as well and its
 better to remove all IS features from AF. WDYT?


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


 On Thu, Nov 21, 2013 at 11:51 AM, Danushka Fernando danush...@wso2.comwrote:

 Looping in

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


 On Thu, Nov 21, 2013 at 11:32 AM, Danushka Fernando 
 danush...@wso2.comwrote:

 Hi,
 I am trying to invoke the sts service in a tenant. When I do that I
 could see the following exception in the server side.

 How ever I debugged the Axis2Engine and RampartReciver. There I found
 that error is about rampart is not engaged in server side. I attached a
 screenshot here which shows that rampart is engaged in tenant.

 So any idea whats going wrong here?


 [2013-11-21 11:20:53,484] DEBUG {org.apache.axis2.engine.AxisEngine} -
  MustUnderstand header not processed or registered as understood{
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security
 [2013-11-21 11:20:53,510] ERROR {org.apache.axis2.engine.AxisEngine} -
  Must Understand check failed for header
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd:
  Security
 org.apache.axis2.AxisFault: Must Understand check failed for header
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd:
  Security
  at
 org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:104)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:170)
  at
 org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
 at
 org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
  at
 org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
  at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
 at
 org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
  at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
  at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
  at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
  at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
  at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
  at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcatValve.java:47)
  at
 org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderValve.java:62)
 at
 org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:47)
  at
 org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
 at
 org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
  at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
 at
 

[Dev] [Turing Ch-04][Build Failure] org.wso2.carbon.mediator.payloadfactory.ui: Compilation failure

2013-11-21 Thread Subash Chaturanga
Hi,
I updated the synapse module again and seems getExpression() method not yet
commited. Seems some uncommited local changes are there. Please fi ASAP.

FO] Final Memory: 1414M/1884M
[INFO]

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
(default-compile) on project org.wso2.carbon.mediator.payloadfactory.ui:
Compilation failure
[ERROR]
/home/subash/development/carbon/platform/branches/4.2.0/components/mediators/payloadFactory/org.wso2.carbon.mediator.payloadfactory.ui/4.2.0/src/main/java/org/wso2/carbon/mediator/payloadfactory/PayloadFactoryMediator.java:[120,100]
cannot find symbol
[ERROR] symbol  : method getExpression()
[ERROR] location: class org.apache.synapse.util.xpath.SynapseJsonPath
[ERROR] - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :org.wso2.carbon.mediator.payloadfactory.ui
s


-- 
Thanks
/subash

*Subash Chaturanga*
Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com

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] Distributed Caching

2013-11-21 Thread Srinath Perera
Pls ask Azeez, architecure@ should have some info


On Thu, Nov 21, 2013 at 3:54 PM, Thilini Ishaka thil...@wso2.com wrote:

 Hi,

 Could you please point me to the architecture diagram (if available), and
 some notes related to Distributed Caching impl based on Hazelcast.

 Requesting this, in addition to the information in [Architecture] Caching
 implementation performance improvement mail thread.

 Thanks
 Thilini

 --
 Thilini Ishaka
 Senior Software Engineer
 Phone: +94 11 214 5345
 WSO2 Inc. http://wso2.com

 bolg: thiliniishaka.blogspot.com
 linkedin: http://lk.linkedin.com/in/thiliniishaka
 twitter: https://twitter.com/#!/ThiliniIsh




-- 

Srinath Perera, Ph.D.
  Director, Research, WSO2 Inc.
  Visiting Faculty, University of Moratuwa
  Member, Apache Software Foundation
  Research Scientist, Lanka Software Foundation
  Blog: http://srinathsview.blogspot.com/
  Photos: http://www.flickr.com/photos/hemapani/
   Phone: 0772360902
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] Developer Studio 3.3.0 Alpha 3 Released!

2013-11-21 Thread Viraj Rajaguru
Hi,


 I was looking for auto tests, becuase, it is hard to test them all
 manually.

 Alternatively, we can see if we can use ESB auto tests in here, where
 we develop the artifacts for all mediators using DevS and test those
 artifacts with ESB auto test framework. That could work.


+1

And also,

Until we complete the full automate tests (open up the editor, drag  drop
mediators, delete some mediators from the flow, going to source view, edit
the source view, come back to design view etc..) in a proper manner for ESB
Graphical editor using SWTBot, we can use SWTBot in some other way to test
the ESB Graphical editor to some extend.

We can use SWTBot to do following simple steps.

1. Open up the graphical editor. Go to source view.
2. Copy and paste a valid configuration (previously defined proxy service,
sequence etc.. with mediators that we want to test)
3. Come back to the design view. Save the diagram.
4. Go back to the source editor.

Then we can compare the configuration in the editor with the initial
configuration which we provided for editor. If these two configurations are
identical we can say that test is pass for that configuration otherwise it
is not.

Since we are triggering both seralization and deseralization (source
generating  reverse engineering) logic in above steps we can guarantee
that functionality of the mediators inside provided configuration is not
broken. We can run this test against set of predefined configuration to
cover all the mediators, endpoints etc..


Thanks,
Viraj.




 Yes.. +1

 We can produce CAR files with all mediator scenarios and provide them to
 ESB Testing Framework which could show us the error in configurations. Also
 once we are done with it, the same CAR files can be used for future ESB
 testing as well.

 We will execute that plan for the release. Thanks for the valuable input
 Samisa.

 Best Regards,
 Harshana



 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Thu, Nov 21, 2013 at 2:27 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Samisa,


 On Thu, Nov 21, 2013 at 6:50 AM, Samisa Abeysinghe sam...@wso2.comwrote:

 What is the plan to test all mediators for basic functionality for
 3.3.0?


 At the moment we are planning to test the mediators using the samples
 mainly and some known use cases.


 I understand that some mediators were badly broken in 3.2.0 release
 e.g. XACML.


 Although Entitlement mediator was a specific mediator only, we fixed
 but there could be some other mediators like that. So we are going to 
 cover
 all most all mediators during the testing.


 Can we make use of the auto test framework to ensure that there are
 no absolute blockers in any mediator out of the full mediator lot.


 Test framework is still not developed to support that level of
 requirements. We will try to improve it while testing the 3.3.0. But most
 of the testing will happen manually for this release. We are planning to
 assign someone full-time basis to improve the test framework to support
 complete automated testing.

 Thanks and Regards,
 Harshana



 Thanks,
 Samisa...


 Samisa Abeysinghe

 Vice President Training

 WSO2 Inc.
 http://wso2.com



 On Mon, Nov 18, 2013 at 3:49 PM, Asanka Sanjeewa asan...@wso2.comwrote:

 Hi All,

 We have WSO2 Developer Studio 3.3.0 Alpha 3 version  ready to be
 downloaded at [1]. Installed eclipse distributions available at [2].

 This release includes following new feature, improvements and bug
 fixes.

 New Feature

- [TOOLS-1855 https://wso2.org/jira/browse/TOOLS-1855] - Cloud
connector support

 Improvements

- [TOOLS-1870 https://wso2.org/jira/browse/TOOLS-1870] -
Enabling Jaggery Editor Auto-Complete even without typing a character
- [TOOLS-2085 https://wso2.org/jira/browse/TOOLS-2085] - There
is no way to rename a GReg artifact.
- [TOOLS-2106 https://wso2.org/jira/browse/TOOLS-2106] -
Adding perspective login change icon into toolbar
- [TOOLS-2107 https://wso2.org/jira/browse/TOOLS-2107] - Login
window should not pop-up when resetting the perspective and should 
 pop-up
for new perspective Only

 Bug Fixes

- [TOOLS-1337 https://wso2.org/jira/browse/TOOLS-1337] - There
is no way to add include block inside Script Mediator
- [TOOLS-1694 https://wso2.org/jira/browse/TOOLS-1694] - AF
perspective detais view not filling all the feilds
- [TOOLS-1719 https://wso2.org/jira/browse/TOOLS-1719] - [Dev
Studio-3.2] - Logging not consistent with WSO2 Standards
- [TOOLS-1722 https://wso2.org/jira/browse/TOOLS-1722] - Dev
Studio fails to create Registry resource without file extension
- [TOOLS-1731 https://wso2.org/jira/browse/TOOLS-1731] - Dev
Studio fails to rename a resource correctly.
- [TOOLS-1737 https://wso2.org/jira/browse/TOOLS-1737] - [Dev
Studio 3.2] End Point Connection Issues
- [TOOLS-1738 https://wso2.org/jira/browse/TOOLS-1738] - [Dev
Studio 3.2] - Null 

Re: [Dev] parser - java.lang.Long, Problem!! CEP

2013-11-21 Thread Mohanadarshan Vivekanandalingam
Hi Andres,

I think there is an issue with the json parser. We are using
com.jayway.jsonpath as our json parser for CEP. I think there is a known
issue for Long type when converting, Please see the link [1].. We also
using version 0.8.1 com.jayway.jsonpath. We'll go through this further to
find a possible solution and fix it.. Thanks for reporting..

[1] http://www.pressingquestion.com/4945250/Jsonpath---Read-Java-Long-Type

Regards,
Mohan


On Thu, Nov 21, 2013 at 10:49 PM, andresgomez92 andresgome...@gmail.comwrote:

 Hi all,

 I have a problem when I try to parse java.lang.Long.

 For example:

 I send to CEP this json event:

 *{timestamp:1383580897,sensor_id:0,sensor_name:pablo06}

 where:
   * timestamp is a Long.
   * sensor_id is an Integer.
   * Sensor_name is a String.*

 My eventBuilder is like this:

 *?xml version=1.0 encoding=UTF-8?
 eventBuilder name=builder_rb_monitor statistics=enable
 trace=disable xmlns=http://wso2.org/carbon/eventbuilder;
 from eventAdaptorName=wso2KafkaConsumer
 eventAdaptorType=kafkaConsumerBroker
 property name=topicrb_monitor/property
 /from
 mapping customMapping=enable type=json
 property
 from jsonPath=$.timestamp/
 to default=-1 name=timestamp type=long/
 /property
 property
 from jsonPath=$.sensor_id/
 to default=-1 name=sensor_id type=int/
 /property
 property
 from jsonPath=$.sensor_name/
 to default=none name=sensor_name type=string/
 /property
 /mapping
 to streamName=rb_monitor_stream version=1.0.0/
 /eventBuilder*

 and my eventStream is like this:

 *streamDefinition name=rb_monitor_stream version=1.0.0
 payloadData
 property name=timestamp type=LONG /
 property name=sensor_id type=INT /
 property name=sensor_name type=STRING /
 /payloadData
 /streamDefinition*

 But when I send eventJson in the terminal I can see this:

 *[2013-11-20 19:54:51,382]  WARN - {JsonInputMapper}  Unable to cast the
 input data to required type :java.lang.Long*

 and in the eventTracer I can see:

 *19:53:08,286 [-] [pool-12-thread-1]  INFO TenantId=-1234 : Event Builder :
 builder_rb_monitor, before processing
 {timestamp:1383580897,sensor_id:0,sensor_name:pablo06}

 19:53:08,287 [-] [pool-12-thread-1]  INFO TenantId=-1234 : Event Builder :
 builder_rb_monitor : Event Stream : rb_monitor_stream:1.0.0 , after
 processing
 [0, pablo06]*

 Does anyone know why this happens?

 Regards and thanks!

 Andrés Gómez



 --
 View this message in context:
 http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-parser-java-lang-Long-Problem-CEP-tp88734.html
 Sent from the WSO2 Development mailing list archive at Nabble.com.
 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*V. Mohanadarshan*
*Software Engineer,*
*Data Technologies Team,*
*WSO2, Inc. http://wso2.com http://wso2.com *
*lean.enterprise.middleware.*

email: mo...@wso2.com
phone:(+94) 771117673
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Distributed Caching

2013-11-21 Thread Afkham Azeez
The caching implementation we have is an implementation of the JSR-107
(JCache) spec [1]

If (Axis2) clustering is enabled, the cache works as a distributed cache.
It is simply using a Hazelcast distributed map [2] per cache. If clustering
is not enabled, then the same caching implementation works as an a local
cache. There is no code change required in the code that uses JCache APIs
to switch from local cache mode to distributed cache mode. In addition, in
distributed cache mode, in order to improve performance, we have an L1
cache, which is simply implemented using HashMaps, and the L2 cache is
implemented using Hazelcast distributed maps. So, we first check the L1
cache, and if there is a cache miss, we go to the L2 cache. If the value is
located in the L2 cache, then we also store it in the L1 cache. In
distributed mode, If a cache entry is removed or invalidated, then
Hazelcast listeners we have registered get triggered on each  every
Hazelcast cluster member. That will result in the values in the L1 cache 
L2 cache being removed.


1.
https://docs.google.com/document/d/1YZ-lrH6nW871Vd9Z34Og_EqbX_kxxJi55UrSn4yL2Ak/edit
2. http://www.hazelcast.com/docs/3.0/manual/multi_html/ch02.html#Map


On Fri, Nov 22, 2013 at 7:52 AM, Srinath Perera srin...@wso2.com wrote:

 Pls ask Azeez, architecure@ should have some info


 On Thu, Nov 21, 2013 at 3:54 PM, Thilini Ishaka thil...@wso2.com wrote:

 Hi,

 Could you please point me to the architecture diagram (if available), and
 some notes related to Distributed Caching impl based on Hazelcast.

 Requesting this, in addition to the information in [Architecture]
 Caching implementation performance improvement mail thread.

 Thanks
 Thilini

 --
 Thilini Ishaka
 Senior Software Engineer
 Phone: +94 11 214 5345
 WSO2 Inc. http://wso2.com

 bolg: thiliniishaka.blogspot.com
 linkedin: http://lk.linkedin.com/in/thiliniishaka
 twitter: https://twitter.com/#!/ThiliniIsh




 --
 
 Srinath Perera, Ph.D.
   Director, Research, WSO2 Inc.
   Visiting Faculty, University of Moratuwa
   Member, Apache Software Foundation
   Research Scientist, Lanka Software Foundation
   Blog: http://srinathsview.blogspot.com/
   Photos: http://www.flickr.com/photos/hemapani/
Phone: 0772360902

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




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/*
*email: **az...@wso2.com* az...@wso2.com
* cell: +94 77 3320919 blog: **http://blog.afkham.org*http://blog.afkham.org
*twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
* linked-in: **http://lk.linkedin.com/in/afkhamazeez
http://lk.linkedin.com/in/afkhamazeez*

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


Re: [Dev] Kernel Commits required to patch0002

2013-11-21 Thread Manoj Kumara
Hi Lakmali,

Committed the jira. Please add these changes to public trunk.

Thanks,
manoj

Best Regards..


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

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


On Wed, Nov 20, 2013 at 3:19 PM, Lakmali Baminiwatta lakm...@wso2.comwrote:

 Hi Manoj,


 On 20 November 2013 14:58, Manoj Kumara ma...@wso2.com wrote:

 Hi,

 I applied [1].


 Thanks Manoj.

 But on [2] you have added new public method called removeObserver so
 this will change the API.

 Need to check this with the team.


 Sure.
 FYI , This added method is only reffered inside kernel [1]. So this will
 not cause build issues in platform level.

 Thanks,
 Lakmali

 [1]
 https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/dependencies/transports/1.1.0-wso2v9/modules/base/src/main/java/org/apache/axis2/transport/base/tracker/AxisServiceTracker.java


 [1] https://wso2.org/jira/browse/CARBON-14545
 [2] https://wso2.org/jira/browse/CARBON-14546

 Thanks, Manoj

 Best Regards..


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

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


 On Wed, Nov 20, 2013 at 10:10 AM, Lakmali Baminiwatta 
 lakm...@wso2.comwrote:

 Hi,

 Please apply the patches attached to below Jiras.

 [1] https://wso2.org/jira/browse/CARBON-14545
 [2] https://wso2.org/jira/browse/CARBON-14546

 Thanks,
 Lakmali
 --
 Lakmali Baminiwatta
  Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com





 --
 Lakmali Baminiwatta
  Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com


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