[Dev] Please merge pull request

2015-04-01 Thread Vidura Mudalige
Hi,

Please review the pull request [1].

[1]. https://github.com/wso2/product-ues/pull/17

Thank you!

-- 

*Vidura Mudalige*
Software Engineering Intern
WSO2 Inc.; http://wso2.com

Mobile: *+94 77 2323175*
Email : vidu...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Integration Testing for an Admin Service

2015-04-01 Thread Pubudu Dodangoda
Hi,

How can I perform $subject?

Note : I followed the following article to write the service
http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/

Thanks
-- 
Pubudu Dodangoda
BSc Engineering(Hon's) Undergraduate
Department of Computer Science Engineering
University of Moratuwa
0716053681 / 0775192994
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 CEP

2015-04-01 Thread Sriashalya Srivathsan
great, Carry on guys

On Fri, Mar 27, 2015 at 5:38 PM, NIFRAS ISMAIL nifrasism...@gmail.com
wrote:

 Good to hear from you zajith


 *Best Regards.*

 *M. Nifras Ismail*
 [image: LinkedIn] http://lk.linkedin.com/pub/nifras-ismail/54/343/94b



 On Fri, Mar 27, 2015 at 5:32 PM, Mohamed ZAJITH mohamedzaj...@gmail.com
 wrote:

 i have installed it and tried Pizza Orders Tracker sample code and its
 worked perfectly

 ___
 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




-- 
S.Sriashalya,
Associate Software Engineer,
WSO2.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Integration Testing for an Admin Service

2015-04-01 Thread Saneth Dharmakeerthi
Hi Pubudu,

You have to write you test cases using TestNG freamwork and call the your
admin service via a client and verify them inside the test case.
 For that you can write your test cases  inside integration module of the
product you are going to deploy the service.
You have to write your own admin clients to access your service, so you can
use those admin clients inside the test case and write your test logic.
For more information [1] [2][3].

Let us know your exact requirement of writing this test case(Test for a new
feature.. etc.. ) and which area you got stuck.

[1] https://docs.wso2.com/display/TA430/WSO2+Test+Automation+Documentation
[2]
 
http://wso2.com/library/articles/2014/03/platform-test-automation-using-wso2-test-automation-framework/
http://wso2.com/library/articles/2014/03/platform-test-automation-using-wso2-test-automation-framework/
[3]
http://wso2.com/library/articles/2014/06/introducing-automated-tests-for-wso2-products/
http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2Flibrary%2Farticles%2F2014%2F06%2Fintroducing-automated-tests-for-wso2-products%2Fsa=Dsntz=1usg=AFQjCNFCx0EAY81lGW_j-IAl1DV98huDzQ


Thanks and Best Regards,

Saneth Dharmakeerthi
Senior Software Engineer
WSO2, Inc.
Mobile: +94772325511

On Wed, Apr 1, 2015 at 11:52 AM, Pubudu Dodangoda pubu...@wso2.com wrote:

 Hi,

 How can I perform $subject?

 Note : I followed the following article to write the service

 http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/

 Thanks
 --
 Pubudu Dodangoda
 BSc Engineering(Hon's) Undergraduate
 Department of Computer Science Engineering
 University of Moratuwa
 0716053681 / 0775192994

 ___
 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] CodePlex ESB connector review

2015-04-01 Thread Shakila Sivagnanarajah
Hi Pumudu and Tharik,

I have tried with the request bodies given in the connector, there are 6
test cases failed. Please find the Log file here. In your connector, you
are giving all inputs in
*esb-connectors/codeplex/src/test/resources/artifacts/ESB/config/restRequests/codeplex
*so you have to mention it in README. If anyone need to test this
connector, he/she may needs to change the values in those files.

Thank you.

On Fri, Mar 20, 2015 at 9:26 AM, Shakila Sivagnanarajah shak...@wso2.com
wrote:

 Hi,

 Thank you Pumudu.

 On Thu, Mar 19, 2015 at 9:31 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi,

 We have fixed issues as requested. Please find codeplex connector pull
 request[1] and jira[2]. Documentation has updated in jira.

 [1] https://github.com/wso2/esb-connectors/pull/83
 [2] https://wso2.org/jira/browse/ESBCONNECT-31

 Regards,

 On Tue, Mar 10, 2015 at 5:24 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi Shakila,

 Currently I'm making necessary changes to test cases. i'll let you know
 once it's done.

 Regards,

 On Tue, Mar 10, 2015 at 2:40 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Can you please give a quick update on this?

 Thank you.

 On Wed, Feb 25, 2015 at 3:44 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Adding my correct email.

 On Wed, Feb 25, 2015 at 2:20 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik,

 Ok, Go ahead.


 On Wed, Feb 25, 2015 at 12:20 PM, Tharik Kanaka tha...@wso2.com
 wrote:

 Hi Shakila,

 We have removed and updated the Snapshot dependencies of the
 automation and integration. Since automation and integration 
 dependencies
 have been updated recently our old test cases (which were working in 
 last
 year) are getting failed now. So we will update test automation code
 accordingly and send a pull request.

 Regards,

 On Fri, Feb 20, 2015 at 3:26 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Please find the feedbacks regarding the CodePlex connector.

1. Some dependencies need to be changed.
2. Instead of SNAPSHOT versions, use stable versions for
libraries.
3. Please modify the pom to run the test cases in a single
build.
4. Format the code and send the pull request to
https://github.com/wso2/esb-connectors.


 Thank you

 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 *Tharik Kanaka* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: tha...@wso2.com | Web: www.wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




-- 
Shakila Sivagnanarajah
Associate Software Engineer
Mobile :+94 (0) 770 760240
shak...@wso2.com


codeplex.out
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Architecture] WSO2 Message Broker 3.0.0 Milestone 6 Released !

2015-04-01 Thread Pumudu Ruhunage
*WSO2 Message Broker 3.0.0 Milestone 6 Released !*


The WSO2 Message Broker team is pleased to announce the 6th milestone
release of WSO2 Message Broker (MB)  3.0.0.

WSO2 Message Broker (WSO2 MB) 3.0.0 is designed to be a fast, lightweight
and user friendly open source distributed message brokering system under
the Apache Software License v2.0
http://www.apache.org/licenses/LICENSE-2.0.html. It primarily allows
system administrators and developers to easily configure JMS queues and
topics which could be used for message routing, message stores and message
processors.

WSO2 MB is compliant with Advanced Message Queuing Protocol Version 0-9-1,
Java Message Service Specification version 1.1 and MQTT protocol version
3.1. WSO2 MB 3.0.0 is developed on top of the revolutionary WSO2 Carbon
platform http://wso2.org/projects/carbon (Middleware a' la carte), an
OSGi based framework that provides seamless modularity to your SOA via
modularization. This release also contains many other new features and a
range of optional components (add-ons) that can be installed to customize
the behavior of the MB. Further, any existing features of the MB which are
not required to your environment can be easily removed using the underlying
provisioning framework of Carbon. In a nutshell, WSO2 MB can be fully
customized and tailored to meet your exact SOA needs.

You can download this distribution from [1].

Release notes for this milestone can be found at [2].

Known issues are listed at [3].

This milestone has mainly focused on bug fixes and performance improvements.
How You Can Contribute:Mailing Lists

Join our mailing list and correspond with the developers directly.

   -

   Developer List : dev@wso2.org | Subscribe | Mail Archive
   http://wso2.org/mailarchive/carbon-dev/
   -

   User List : StackOverflow.com
   http://stackoverflow.com/questions/tagged/wso2

Reporting Issues

WSO2 encourages you to report issues and your enhancement requests for the WSO2
MB using the public JIRA https://wso2.org/jira/browse/MB.

You can also watch how they are resolved, and comment on the progress..


[1]
https://svn.wso2.org/repos/wso2/scratch/MB/3.0.0/M6/wso2mb-3.0.0-SNAPSHOT-m6.zip
https://www.google.com/url?q=https%3A%2F%2Fsvn.wso2.org%2Frepos%2Fwso2%2Fscratch%2FMB%2F3.0.0%2FM6%2Fwso2mb-3.0.0-SNAPSHOT-m6.zipsa=Dsntz=1usg=AFQjCNEIHTR6d3OKQTJdKaWZfbFZ-tkJnA

[2]
https://wso2.org/jira/secure/ReleaseNote.jspa?projectId=10200version=11753
https://www.google.com/url?q=https%3A%2F%2Fwso2.org%2Fjira%2Fsecure%2FReleaseNote.jspa%3FprojectId%3D10200%26version%3D11753sa=Dsntz=1usg=AFQjCNFQkFQ4oqkItosd9AekgLdXpMKsWA

[3]
https://wso2.org/jira/browse/MB#selectedTab=com.atlassian.jira.plugin.system.project%3Aissues-panel
https://wso2.org/jira/browse/MB#selectedTab=com.atlassian.jira.plugin.system.project%3Aissues-panel

-- 
Pumudu Ruhunage
Associate Software Engineer | WSO2 Inc
M: +94 779 664493  | http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Using LogViewerClient in Integration Tests

2015-04-01 Thread Maheeka Jayasuriya
Hi Waruna,

In that case, what would be the alternative to do the above? Since
iterating over the new logs (using before length and after length) also did
not work for me. Or is the issue only in a delay? If so a sleep would solve
the issue?

Thanks,
Maheeka

Maheeka Jayasuriya
Software Engineer
Mobile : +9450661

On Wed, Apr 1, 2015 at 11:20 AM, Waruna Perera waru...@wso2.com wrote:

 Hi Maheeka,

 We have encountered issue with delay of clear logs in our test cases at
 times. So you will have to consider that.

 Thanks,

 Waruna

 On Wed, Apr 1, 2015 at 11:15 AM, Maheeka Jayasuriya mahe...@wso2.com
 wrote:

 Hi,

 I want to read the logs in ESB to do perform a few assertions. However,
 since I have multiple test methods in the test case, I am unable to find
 the correct required log.

 To further elaborate, my first test case prints 20 of required logs and
 the second test case prints 100. When I iterate through all logs, although
 logViewer.clearLogs() is done at the start of each method, the count for
 the second run test case is 120 and not 20 or 100 (I am verifying the log
 count in the test case). I verified with the log length before and after
 clearLogs() is called and the length remains the same. What is the
 expectation of the clearLogs() method. Does it clear all the system logs or
 something else?

 If I use the length of the logs before and after the test functionality
 and iterate through that, the required logs are not available.

 Also believe, logViewer.getAllRemoteSystemLogs() is the successor to
 deprecated method logViewer.getAllSystemLogs() ?

 Thanks,
 Maheeka

 Maheeka Jayasuriya
 Software Engineer
 Mobile : +9450661

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




 --
 Waruna Perera
 Senior Software Engineer - Test Automation
 Mobile: +94 77 3867037
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

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


Re: [Dev] [Carbon] [MDM] Why is it possible to assign [Internal/everyone] role to a user twice?

2015-04-01 Thread Johann Nallathamby
This has already been fixed and PR sent to kernel. However it hasn't been
merged for 4.4.0 release. So probably it will should be in the first patch
for kernel.

On Wed, Apr 1, 2015 at 11:27 AM, Prabath Abeysekera praba...@wso2.com
wrote:

 [Looping identity folks in]

 On Wed, Apr 1, 2015 at 11:24 AM, Dilan Udara Ariyaratne dil...@wso2.com
 wrote:

 Hi Folks,

 I am currently working on WSO2 MDM UI and when I called the Jaggery
 addUser() function
 that exposes org.wso2.carbon.user.core osgi layer to the outside, I
 noticed the following.

 When I deliberately add Internal/everyone role to a user
 which is the default user role that gets assigned to any user by carbon
 user core,
 that gets added twice which seems to be a bug in the system.

 An image is also attached herewith on the observed scenario.

 Appreciate if we can have a quick look into this?

 Regards,

 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware




 --
 Prabath Abeysekara
 Associate Technical Lead, Data TG.
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94774171471




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


Re: [Dev] Using LogViewerClient in Integration Tests

2015-04-01 Thread Waruna Perera
Hi Maheeka,

Avoid using sleep. Use  time out  function.

Thanks,

On Wed, Apr 1, 2015 at 12:35 PM, Maheeka Jayasuriya mahe...@wso2.com
wrote:

 Hi Waruna,

 In that case, what would be the alternative to do the above? Since
 iterating over the new logs (using before length and after length) also did
 not work for me. Or is the issue only in a delay? If so a sleep would solve
 the issue?

 Thanks,
 Maheeka

 Maheeka Jayasuriya
 Software Engineer
 Mobile : +9450661

 On Wed, Apr 1, 2015 at 11:20 AM, Waruna Perera waru...@wso2.com wrote:

 Hi Maheeka,

 We have encountered issue with delay of clear logs in our test cases at
 times. So you will have to consider that.

 Thanks,

 Waruna

 On Wed, Apr 1, 2015 at 11:15 AM, Maheeka Jayasuriya mahe...@wso2.com
 wrote:

 Hi,

 I want to read the logs in ESB to do perform a few assertions. However,
 since I have multiple test methods in the test case, I am unable to find
 the correct required log.

 To further elaborate, my first test case prints 20 of required logs and
 the second test case prints 100. When I iterate through all logs, although
 logViewer.clearLogs() is done at the start of each method, the count for
 the second run test case is 120 and not 20 or 100 (I am verifying the log
 count in the test case). I verified with the log length before and after
 clearLogs() is called and the length remains the same. What is the
 expectation of the clearLogs() method. Does it clear all the system logs or
 something else?

 If I use the length of the logs before and after the test functionality
 and iterate through that, the required logs are not available.

 Also believe, logViewer.getAllRemoteSystemLogs() is the successor to
 deprecated method logViewer.getAllSystemLogs() ?

 Thanks,
 Maheeka

 Maheeka Jayasuriya
 Software Engineer
 Mobile : +9450661

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




 --
 Waruna Perera
 Senior Software Engineer - Test Automation
 Mobile: +94 77 3867037
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.





-- 
Waruna Perera
Senior Software Engineer - Test Automation
Mobile: +94 77 3867037
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] About boxcarring and set-cookie issue.

2015-04-01 Thread Harsha Kumara
Hi Jorge,

There was some fixes went for the the data services components which is
available in DSS 3.2.2 release to support box caring with ESB. AS 5.2.1
does not contain those fixes. You may try this with the DSS 3.2.2. You can
follow the steps mentioned in [1].

[1] -
http://harshcreationz.blogspot.com/2015/02/boxcarring-sample-with-wso2-dss-and.html

Thanks,
Harsha

On Wed, Apr 1, 2015 at 12:44 AM, Jorge isildur...@gmail.com wrote:

 In my dataservice the begin_boxcar has only only an input message, without
 and output message.

 porttype:
 wsdl:operation name=begin_boxcarwsdl:documentationControl operation
 for beginning a boxcarring session/wsdl:documentationwsdl:input
 message=ns0:begin_boxcarRequest
 wsaw:Action=urn:begin_boxcar//wsdl:operation

 binding:
 wsdl:operation name=begin_boxcarsoap:operation
 soapAction=urn:begin_boxcar style=document/wsdl:inputsoap:body
 use=literal//wsdl:input/wsdl:operation

 Without the property name=OUT_ONLY value=true scope=default
 type=STRING description=solo salida/ the proxy raise several error in
 console.

 Jorge.

 2015-03-31 14:37 GMT-04:00 Harsha Kumara hars...@wso2.com:

 Hi Jorge,

 I'm not sure this is because you have call the begin_boxcar operation as
 out only operation. Just remove it and try. Also you can find complete
 working scenario in [1].

 [1] -
 http://harshcreationz.blogspot.com/2015/02/boxcarring-sample-with-wso2-dss-and.html

 Thanks,
 Harsha

 On Tue, Mar 31, 2015 at 11:44 PM, Jorge isildur...@gmail.com wrote:

 Hi all.

 I call a begin boxcarring operation in a dataservice deployed in WSO2 AS
 5.2.1 using this config in a proxy service deployed in ESB 4.8.1

  header name=Action value=urn:begin_boxcar/
  payloadFactory media-type=xml
 format
soapenv:Envelope
 xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope
 http://www.google.com/url?q=http%3A%2F%2Fwww.w3.org%2F2003%2F05%2Fsoap-envelopesa=Dsntz=1usg=AFQjCNGfMX1ZVGPTZcRDvsElhc17DotqKg
 
   soapenv:Body
  ns1:begin_boxcar xmlns:ns1=
 http://jorgesoftdevelop.org
 http://www.google.com/url?q=http%3A%2F%2Fjorgesoftdevelop.orgsa=Dsntz=1usg=AFQjCNFnuP-gyDwMY1qSC23cC9vgQzFpcg
 /
   /soapenv:Body
/soapenv:Envelope
 /format
 args/
  /payloadFactory
  property name=OUT_ONLY value=true scope=default
 type=STRING/
  call
 endpoint
address
 uri=http://localhost:/services/ActualizarUsuariosBloqueados/
 http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A%2Fservices%2FActualizarUsuariosBloqueados%2Fsa=Dsntz=1usg=AFQjCNFsi_lEOtKcR8fr6iiQMnOPFgiRcw
 /
 /endpoint
  /call

 And I can see the response using tcpmon:

 HTTP/1.1 202 Accepted
 Set-Cookie: JSESSIONID=2D2B1404523D0233E2B445E1BC315F7A; Path=/; HttpOnly
 Content-Type: text/xml;charset=UTF-8
 Transfer-Encoding: chunked
 Date: Sat, 28 Mar 2015 07:03:23 GMT
 Server: WSO2 Carbon Server


 When I try to get the Set-Cookie value using this property:
  property name=setCookieHeader expression=$trp:Set-Cookie/

 I receive a null value.

 Any idea?

 Regards,
   Jorge.

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




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com





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


Re: [Dev] CodePlex ESB connector review

2015-04-01 Thread Pumudu Ruhunage
Hi Shakila,

AFAIK integration test resources are not user configurable. therefore, not
required to document in user README. Regarding the test failures, i think
it's due to some of the patches missing in your esb instance.integration
tests are passing with patched esb and with given test resources.
@Tharik, can you please help shakila with esb patches needed for codeplex
connector?

Regards,

On Wed, Apr 1, 2015 at 11:33 AM, Shakila Sivagnanarajah shak...@wso2.com
wrote:

 Hi Pumudu and Tharik,

 I have tried with the request bodies given in the connector, there are 6
 test cases failed. Please find the Log file here. In your connector, you
 are giving all inputs in 
 *esb-connectors/codeplex/src/test/resources/artifacts/ESB/config/restRequests/codeplex
 *so you have to mention it in README. If anyone need to test this
 connector, he/she may needs to change the values in those files.

 Thank you.

 On Fri, Mar 20, 2015 at 9:26 AM, Shakila Sivagnanarajah shak...@wso2.com
 wrote:

 Hi,

 Thank you Pumudu.

 On Thu, Mar 19, 2015 at 9:31 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi,

 We have fixed issues as requested. Please find codeplex connector pull
 request[1] and jira[2]. Documentation has updated in jira.

 [1] https://github.com/wso2/esb-connectors/pull/83
 [2] https://wso2.org/jira/browse/ESBCONNECT-31

 Regards,

 On Tue, Mar 10, 2015 at 5:24 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi Shakila,

 Currently I'm making necessary changes to test cases. i'll let you know
 once it's done.

 Regards,

 On Tue, Mar 10, 2015 at 2:40 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Can you please give a quick update on this?

 Thank you.

 On Wed, Feb 25, 2015 at 3:44 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Adding my correct email.

 On Wed, Feb 25, 2015 at 2:20 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik,

 Ok, Go ahead.


 On Wed, Feb 25, 2015 at 12:20 PM, Tharik Kanaka tha...@wso2.com
 wrote:

 Hi Shakila,

 We have removed and updated the Snapshot dependencies of the
 automation and integration. Since automation and integration 
 dependencies
 have been updated recently our old test cases (which were working in 
 last
 year) are getting failed now. So we will update test automation code
 accordingly and send a pull request.

 Regards,

 On Fri, Feb 20, 2015 at 3:26 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Please find the feedbacks regarding the CodePlex connector.

1. Some dependencies need to be changed.
2. Instead of SNAPSHOT versions, use stable versions for
libraries.
3. Please modify the pom to run the test cases in a single
build.
4. Format the code and send the pull request to
https://github.com/wso2/esb-connectors.


 Thank you

 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 *Tharik Kanaka* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: tha...@wso2.com | Web: www.wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




-- 
Pumudu Ruhunage
Associate Software Engineer | WSO2 Inc
M: +94 779 664493  | http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CodePlex ESB connector review

2015-04-01 Thread Shakila Sivagnanarajah
Hi Pumudu,

If you are using any patches can you please update that on README.

On Wed, Apr 1, 2015 at 3:06 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi Shakila,

 AFAIK integration test resources are not user configurable. therefore, not
 required to document in user README. Regarding the test failures, i think
 it's due to some of the patches missing in your esb instance.integration
 tests are passing with patched esb and with given test resources.
 @Tharik, can you please help shakila with esb patches needed for codeplex
 connector?

 Regards,

 On Wed, Apr 1, 2015 at 11:33 AM, Shakila Sivagnanarajah shak...@wso2.com
 wrote:

 Hi Pumudu and Tharik,

 I have tried with the request bodies given in the connector, there are 6
 test cases failed. Please find the Log file here. In your connector, you
 are giving all inputs in 
 *esb-connectors/codeplex/src/test/resources/artifacts/ESB/config/restRequests/codeplex
 *so you have to mention it in README. If anyone need to test this
 connector, he/she may needs to change the values in those files.

 Thank you.

 On Fri, Mar 20, 2015 at 9:26 AM, Shakila Sivagnanarajah shak...@wso2.com
  wrote:

 Hi,

 Thank you Pumudu.

 On Thu, Mar 19, 2015 at 9:31 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi,

 We have fixed issues as requested. Please find codeplex connector pull
 request[1] and jira[2]. Documentation has updated in jira.

 [1] https://github.com/wso2/esb-connectors/pull/83
 [2] https://wso2.org/jira/browse/ESBCONNECT-31

 Regards,

 On Tue, Mar 10, 2015 at 5:24 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi Shakila,

 Currently I'm making necessary changes to test cases. i'll let you
 know once it's done.

 Regards,

 On Tue, Mar 10, 2015 at 2:40 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Can you please give a quick update on this?

 Thank you.

 On Wed, Feb 25, 2015 at 3:44 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Adding my correct email.

 On Wed, Feb 25, 2015 at 2:20 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik,

 Ok, Go ahead.


 On Wed, Feb 25, 2015 at 12:20 PM, Tharik Kanaka tha...@wso2.com
 wrote:

 Hi Shakila,

 We have removed and updated the Snapshot dependencies of the
 automation and integration. Since automation and integration 
 dependencies
 have been updated recently our old test cases (which were working in 
 last
 year) are getting failed now. So we will update test automation code
 accordingly and send a pull request.

 Regards,

 On Fri, Feb 20, 2015 at 3:26 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Please find the feedbacks regarding the CodePlex connector.

1. Some dependencies need to be changed.
2. Instead of SNAPSHOT versions, use stable versions for
libraries.
3. Please modify the pom to run the test cases in a single
build.
4. Format the code and send the pull request to
https://github.com/wso2/esb-connectors.


 Thank you

 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 *Tharik Kanaka* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: tha...@wso2.com | Web: www.wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




-- 
Shakila Sivagnanarajah
Associate Software Engineer
Mobile :+94 (0) 770 760240
shak...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CodePlex ESB connector review

2015-04-01 Thread Kesavan Yogarajah
Hi Shakila please find the patches from the following mail thread[1].

[1] -[Dev] WSO2 ESB 4.8.1 HTTP Patch support



Kesavan Yogarajah
Associate Software Engineer
WSO2 Inc.

Mob: +94 779758021

On Wed, Apr 1, 2015 at 3:10 PM, Shakila Sivagnanarajah shak...@wso2.com
wrote:

 Hi Pumudu,

 If you are using any patches can you please update that on README.

 On Wed, Apr 1, 2015 at 3:06 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi Shakila,

 AFAIK integration test resources are not user configurable. therefore,
 not required to document in user README. Regarding the test failures, i
 think it's due to some of the patches missing in your esb
 instance.integration tests are passing with patched esb and with given test
 resources.
 @Tharik, can you please help shakila with esb patches needed for codeplex
 connector?

 Regards,

 On Wed, Apr 1, 2015 at 11:33 AM, Shakila Sivagnanarajah shak...@wso2.com
  wrote:

 Hi Pumudu and Tharik,

 I have tried with the request bodies given in the connector, there are 6
 test cases failed. Please find the Log file here. In your connector, you
 are giving all inputs in 
 *esb-connectors/codeplex/src/test/resources/artifacts/ESB/config/restRequests/codeplex
 *so you have to mention it in README. If anyone need to test this
 connector, he/she may needs to change the values in those files.

 Thank you.

 On Fri, Mar 20, 2015 at 9:26 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 Thank you Pumudu.

 On Thu, Mar 19, 2015 at 9:31 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi,

 We have fixed issues as requested. Please find codeplex connector pull
 request[1] and jira[2]. Documentation has updated in jira.

 [1] https://github.com/wso2/esb-connectors/pull/83
 [2] https://wso2.org/jira/browse/ESBCONNECT-31

 Regards,

 On Tue, Mar 10, 2015 at 5:24 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi Shakila,

 Currently I'm making necessary changes to test cases. i'll let you
 know once it's done.

 Regards,

 On Tue, Mar 10, 2015 at 2:40 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Can you please give a quick update on this?

 Thank you.

 On Wed, Feb 25, 2015 at 3:44 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Adding my correct email.

 On Wed, Feb 25, 2015 at 2:20 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik,

 Ok, Go ahead.


 On Wed, Feb 25, 2015 at 12:20 PM, Tharik Kanaka tha...@wso2.com
 wrote:

 Hi Shakila,

 We have removed and updated the Snapshot dependencies of the
 automation and integration. Since automation and integration 
 dependencies
 have been updated recently our old test cases (which were working in 
 last
 year) are getting failed now. So we will update test automation code
 accordingly and send a pull request.

 Regards,

 On Fri, Feb 20, 2015 at 3:26 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Please find the feedbacks regarding the CodePlex connector.

1. Some dependencies need to be changed.
2. Instead of SNAPSHOT versions, use stable versions for
libraries.
3. Please modify the pom to run the test cases in a single
build.
4. Format the code and send the pull request to
https://github.com/wso2/esb-connectors.


 Thank you

 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 *Tharik Kanaka* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: tha...@wso2.com | Web: www.wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@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


[Dev] [MB] Unauthorized call! when calling a method in AndesAdminService in Message Broker

2015-04-01 Thread Chamalee De Silva
Hi all,

I am doing fast track training project in WSO2 Message Broker.
To dynamically update a queue, I wrote a method  called
updatePermissionWithExclusiveConsumer in AndesAdminService and generated
stubs for that.


When calling the stub method through the relevant JSP file it gives this
error.

Can I know are there any other configurations to be done when adding a
method to the AndesAdminService or how to solve this issue?




*StackTrace: *

[2015-04-01 14:38:16,524] ERROR {org.apache.axis2.engine.AxisEngine} -
 Unauthorized call!. AuthorizationAction has not been specified for
service:AndesAdminService, operation:updatePermissionWithExclusiveConsumer
org.apache.axis2.AxisFault: Unauthorized call!. AuthorizationAction has not
been specified for service:AndesAdminService,
operation:updatePermissionWithExclusiveConsumer
at
org.wso2.carbon.server.admin.module.handler.AuthorizationHandler.invoke(AuthorizationHandler.java:72)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
at
org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
at
org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.wso2.carbon.andes.stub.AndesAdminServiceStub.updatePermissionWithExclusiveConsumer(AndesAdminServiceStub.java:1881)
at
org.apache.jsp.queues.update_005fqueue_005frole_005fpermissions_005fajaxprocessor_jsp._jspService(update_005fqueue_005frole_005fpermissions_005fajaxprocessor_jsp.java:109)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at
org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
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:727)
at
org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)
at
org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at
org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146)
at
org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at

Re: [Dev] [MB] Unauthorized call! when calling a method in AndesAdminService in Message Broker

2015-04-01 Thread Hemika Kodikara
Hi Chamalee,

I think you have to add your new stub to the following file.

carbon-business-messaging/components/andes/org.wso2.carbon.andes.admin/src/main/resources/META-INF/services.xml

as follows..

operation name=updatePermissionWithExclusiveConsumer
parameter name=AuthorizationAction
locked=false/permission/admin/manage/queue/parameter
/operation

Regards,
Hemika

Hemika Kodikara
Software Engineer
WSO2 Inc.
lean . enterprise . middleware
http://wso2.com

Mobile : +9477762

On Wed, Apr 1, 2015 at 2:50 PM, Chamalee De Silva chama...@wso2.com wrote:

 Hi all,

 I am doing fast track training project in WSO2 Message Broker.
 To dynamically update a queue, I wrote a method  called
 updatePermissionWithExclusiveConsumer in AndesAdminService and
 generated stubs for that.


 When calling the stub method through the relevant JSP file it gives this
 error.

 Can I know are there any other configurations to be done when adding a
 method to the AndesAdminService or how to solve this issue?



 

 *StackTrace: *

 [2015-04-01 14:38:16,524] ERROR {org.apache.axis2.engine.AxisEngine} -
  Unauthorized call!. AuthorizationAction has not been specified for
 service:AndesAdminService, operation:updatePermissionWithExclusiveConsumer
 org.apache.axis2.AxisFault: Unauthorized call!. AuthorizationAction has
 not been specified for service:AndesAdminService,
 operation:updatePermissionWithExclusiveConsumer
 at
 org.wso2.carbon.server.admin.module.handler.AuthorizationHandler.invoke(AuthorizationHandler.java:72)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
 at
 org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.andes.stub.AndesAdminServiceStub.updatePermissionWithExclusiveConsumer(AndesAdminServiceStub.java:1881)
 at
 org.apache.jsp.queues.update_005fqueue_005frole_005fpermissions_005fajaxprocessor_jsp._jspService(update_005fqueue_005frole_005fpermissions_005fajaxprocessor_jsp.java:109)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
 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:727)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
 at
 org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
 at
 

Re: [Dev] CodePlex ESB connector review

2015-04-01 Thread Shakila Sivagnanarajah
Hi Pumudu,

All methods are working fine with the patches given in [1].

[1] -[Dev] WSO2 ESB 4.8.1 HTTP Patch support.

Thank you.

On Wed, Apr 1, 2015 at 3:31 PM, Kesavan Yogarajah kesav...@wso2.com wrote:

 Hi Shakila please find the patches from the following mail thread[1].

 [1] -[Dev] WSO2 ESB 4.8.1 HTTP Patch support



 Kesavan Yogarajah
 Associate Software Engineer
 WSO2 Inc.

 Mob: +94 779758021

 On Wed, Apr 1, 2015 at 3:10 PM, Shakila Sivagnanarajah shak...@wso2.com
 wrote:

 Hi Pumudu,

 If you are using any patches can you please update that on README.

 On Wed, Apr 1, 2015 at 3:06 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi Shakila,

 AFAIK integration test resources are not user configurable. therefore,
 not required to document in user README. Regarding the test failures, i
 think it's due to some of the patches missing in your esb
 instance.integration tests are passing with patched esb and with given test
 resources.
 @Tharik, can you please help shakila with esb patches needed for
 codeplex connector?

 Regards,

 On Wed, Apr 1, 2015 at 11:33 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Pumudu and Tharik,

 I have tried with the request bodies given in the connector, there are
 6 test cases failed. Please find the Log file here. In your connector, you
 are giving all inputs in 
 *esb-connectors/codeplex/src/test/resources/artifacts/ESB/config/restRequests/codeplex
 *so you have to mention it in README. If anyone need to test this
 connector, he/she may needs to change the values in those files.

 Thank you.

 On Fri, Mar 20, 2015 at 9:26 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 Thank you Pumudu.

 On Thu, Mar 19, 2015 at 9:31 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi,

 We have fixed issues as requested. Please find codeplex connector
 pull request[1] and jira[2]. Documentation has updated in jira.

 [1] https://github.com/wso2/esb-connectors/pull/83
 [2] https://wso2.org/jira/browse/ESBCONNECT-31

 Regards,

 On Tue, Mar 10, 2015 at 5:24 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi Shakila,

 Currently I'm making necessary changes to test cases. i'll let you
 know once it's done.

 Regards,

 On Tue, Mar 10, 2015 at 2:40 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Can you please give a quick update on this?

 Thank you.

 On Wed, Feb 25, 2015 at 3:44 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Adding my correct email.

 On Wed, Feb 25, 2015 at 2:20 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik,

 Ok, Go ahead.


 On Wed, Feb 25, 2015 at 12:20 PM, Tharik Kanaka tha...@wso2.com
 wrote:

 Hi Shakila,

 We have removed and updated the Snapshot dependencies of the
 automation and integration. Since automation and integration 
 dependencies
 have been updated recently our old test cases (which were working 
 in last
 year) are getting failed now. So we will update test automation code
 accordingly and send a pull request.

 Regards,

 On Fri, Feb 20, 2015 at 3:26 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Please find the feedbacks regarding the CodePlex connector.

1. Some dependencies need to be changed.
2. Instead of SNAPSHOT versions, use stable versions for
libraries.
3. Please modify the pom to run the test cases in a single
build.
4. Format the code and send the pull request to
https://github.com/wso2/esb-connectors.


 Thank you

 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 *Tharik Kanaka* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: tha...@wso2.com | Web: www.wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com

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





-- 
Shakila Sivagnanarajah
Associate Software Engineer
Mobile :+94 (0) 770 760240
shak...@wso2.com
___
Dev mailing list
Dev@wso2.org

Re: [Dev] [MB] Unauthorized call! when calling a method in AndesAdminService in Message Broker

2015-04-01 Thread Chamalee De Silva
Thanks Hemika and Akalanka,




On Wed, Apr 1, 2015 at 2:56 PM, Hemika Kodikara hem...@wso2.com wrote:

 Hi Chamalee,

 I think you have to add your new stub to the following file.


 carbon-business-messaging/components/andes/org.wso2.carbon.andes.admin/src/main/resources/META-INF/services.xml

 as follows..

 operation name=updatePermissionWithExclusiveConsumer
 parameter name=AuthorizationAction
 locked=false/permission/admin/manage/queue/parameter
 /operation

 Regards,
 Hemika

 Hemika Kodikara
 Software Engineer
 WSO2 Inc.
 lean . enterprise . middleware
 http://wso2.com

 Mobile : +9477762

 On Wed, Apr 1, 2015 at 2:50 PM, Chamalee De Silva chama...@wso2.com
 wrote:

 Hi all,

 I am doing fast track training project in WSO2 Message Broker.
 To dynamically update a queue, I wrote a method  called
 updatePermissionWithExclusiveConsumer in AndesAdminService and
 generated stubs for that.


 When calling the stub method through the relevant JSP file it gives this
 error.

 Can I know are there any other configurations to be done when adding a
 method to the AndesAdminService or how to solve this issue?



 

 *StackTrace: *

 [2015-04-01 14:38:16,524] ERROR {org.apache.axis2.engine.AxisEngine} -
  Unauthorized call!. AuthorizationAction has not been specified for
 service:AndesAdminService, operation:updatePermissionWithExclusiveConsumer
 org.apache.axis2.AxisFault: Unauthorized call!. AuthorizationAction has
 not been specified for service:AndesAdminService,
 operation:updatePermissionWithExclusiveConsumer
 at
 org.wso2.carbon.server.admin.module.handler.AuthorizationHandler.invoke(AuthorizationHandler.java:72)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
 at
 org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
 at
 org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
 at
 org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
 at
 org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 at
 org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 at
 org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 at
 org.wso2.carbon.andes.stub.AndesAdminServiceStub.updatePermissionWithExclusiveConsumer(AndesAdminServiceStub.java:1881)
 at
 org.apache.jsp.queues.update_005fqueue_005frole_005fpermissions_005fajaxprocessor_jsp._jspService(update_005fqueue_005frole_005fpermissions_005fajaxprocessor_jsp.java:109)
 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
 at
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
 at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
 at
 org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
 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:727)
 at
 org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
 at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
 at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
 at
 

Re: [Dev] Invitation: [Code review] Publisher - Output Adapter UI @ Wed Apr 1, 2015 12pm - 1pm (ramin...@wso2.com)

2015-04-01 Thread Ramindu De Silva
Hi all,

Please find the code review notes as follows.



polling interval in the UI hint - seconds

output event adapter run time exception should be changed to configuration
exception

tenantID - don't keep a reference of the tenantID.
you should be able to use it in the needed place by using the tenant flow

create an array other than a list for event component list because you know
the size which contains only objects

internally u hv a link list, that should be array of objects containing
size of meta, payload, etc,.
keep those objects with time

properly synchronize link list implementation or use a link blocking queue
in UIEventApadter

event queue size cannot be constant, it should be taken from the system and
it
should be configurable
if no configuration available - use default - Log and say size 30 is using

sending one event by event is wrong
you should not send per event. construct all and send as one.
5 events comes once - then send all at once
(same logic like in http)

convert everything to string
2 events - create strings from those
same conversion need to be done once - and reuse it

send the same array and iterate and check whether any data exists.. without
sending boolean thing
JSON  - time, data, boolean

INDEXZERO, one… 2 also has to be in one format
eg: 2 should be INDEXTWO

update method “getOSGIService()” in SupertenentEventRetrieverEndPoint

check websocket changes

take stream id creating parameters to the top

no sun related codes in web.xml - use a common one

we need to stop passing the tenant id
when you are deploying the webapp you get the tenant configuration at that
level
get tenant id from the tenant flow
check dilinis latest code


Best Regards,

On Wed, Apr 1, 2015 at 12:00 PM, Damith Wickramasinghe dami...@wso2.com
wrote:

 more details »
 https://www.google.com/calendar/event?action=VIEWeid=ZzBtNWd1bmczYXA3cmVhbDFmcTI5bjJkbjAgcmFtaW5kdXNAd3NvMi5jb20tok=MTYjZGFtaXRobkB3c28yLmNvbWRjZGZjMDdhM2FiN2FjZjEzY2JmZTBlNzUyYjQ1OGQxN2I0MTFmYzkctz=Asia/Colombohl=en
 [Code review] Publisher - Output Adapter UI
 *When*
 Wed Apr 1, 2015 12pm – 1pm Colombo
 *Where*
 LK Trace Mezzanine Floor Meeting Room - Gondor Ext:1036212 (map
 https://maps.google.lk/maps?q=LK+Trace+Mezzanine+Floor+Meeting+Room+-+Gondor+Ext:1036212hl=en
 )
 *Video call*
 https://plus.google.com/hangouts/_/wso2.com/code-review
 https://plus.google.com/hangouts/_/wso2.com/code-review?hceid=ZGFtaXRobkB3c28yLmNvbQ.g0m5gung3ap7real1fq29n2dn0
 *Calendar*
 ramin...@wso2.com
 *Who*
 •
 Damith Wickramasinghe - organizer
 •
 Sriskandarajah Suhothayan
 •
 Ramindu De Silva
 •
 Rajeev Sampath
 •
 Tharik Kanaka
 •
 Mohanadarshan Vivekanandalingam
 •
 Dilini Muthumala

 Going?   *Yes
 https://www.google.com/calendar/event?action=RESPONDeid=ZzBtNWd1bmczYXA3cmVhbDFmcTI5bjJkbjAgcmFtaW5kdXNAd3NvMi5jb20rst=1tok=MTYjZGFtaXRobkB3c28yLmNvbWRjZGZjMDdhM2FiN2FjZjEzY2JmZTBlNzUyYjQ1OGQxN2I0MTFmYzkctz=Asia/Colombohl=en
 - Maybe
 https://www.google.com/calendar/event?action=RESPONDeid=ZzBtNWd1bmczYXA3cmVhbDFmcTI5bjJkbjAgcmFtaW5kdXNAd3NvMi5jb20rst=3tok=MTYjZGFtaXRobkB3c28yLmNvbWRjZGZjMDdhM2FiN2FjZjEzY2JmZTBlNzUyYjQ1OGQxN2I0MTFmYzkctz=Asia/Colombohl=en
 - No
 https://www.google.com/calendar/event?action=RESPONDeid=ZzBtNWd1bmczYXA3cmVhbDFmcTI5bjJkbjAgcmFtaW5kdXNAd3NvMi5jb20rst=2tok=MTYjZGFtaXRobkB3c28yLmNvbWRjZGZjMDdhM2FiN2FjZjEzY2JmZTBlNzUyYjQ1OGQxN2I0MTFmYzkctz=Asia/Colombohl=en*
 more options »
 https://www.google.com/calendar/event?action=VIEWeid=ZzBtNWd1bmczYXA3cmVhbDFmcTI5bjJkbjAgcmFtaW5kdXNAd3NvMi5jb20tok=MTYjZGFtaXRobkB3c28yLmNvbWRjZGZjMDdhM2FiN2FjZjEzY2JmZTBlNzUyYjQ1OGQxN2I0MTFmYzkctz=Asia/Colombohl=en

 Invitation from Google Calendar https://www.google.com/calendar/

 You are receiving this email at the account ramin...@wso2.com because you
 are subscribed for invitations on calendar ramin...@wso2.com.

 To stop receiving these emails, please log in to
 https://www.google.com/calendar/ and change your notification settings
 for this calendar.




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

email: ramin...@wso2.com sanj...@wso2.com
mob: +94 772339350
mob: +94 782731766

On Wed, Apr 1, 2015 at 12:00 PM, Damith Wickramasinghe dami...@wso2.com
wrote:

 more details »
 https://www.google.com/calendar/event?action=VIEWeid=ZzBtNWd1bmczYXA3cmVhbDFmcTI5bjJkbjAgcmFtaW5kdXNAd3NvMi5jb20tok=MTYjZGFtaXRobkB3c28yLmNvbWRjZGZjMDdhM2FiN2FjZjEzY2JmZTBlNzUyYjQ1OGQxN2I0MTFmYzkctz=Asia/Colombohl=en
 [Code review] Publisher - Output Adapter UI
 *When*
 Wed Apr 1, 2015 12pm – 1pm Colombo
 *Where*
 LK Trace Mezzanine Floor Meeting Room - Gondor Ext:1036212 (map
 https://maps.google.lk/maps?q=LK+Trace+Mezzanine+Floor+Meeting+Room+-+Gondor+Ext:1036212hl=en
 )
 *Video call*
 https://plus.google.com/hangouts/_/wso2.com/code-review
 https://plus.google.com/hangouts/_/wso2.com/code-review?hceid=ZGFtaXRobkB3c28yLmNvbQ.g0m5gung3ap7real1fq29n2dn0
 *Calendar*
 ramin...@wso2.com
 *Who*
 •
 Damith Wickramasinghe - 

Re: [Dev] [APIM] Adding sequence to a API to log In-flow messages not working. API Manager 1.9.0 SNAPSHOT

2015-04-01 Thread Madusanka Premaratne
Hi Saneth,
I have gone through the process and it works fine for me in 1.9.0 SNAPSHOT.
Did you do any additional configuration?

Thanks,
Madusanka

On Wed, Apr 1, 2015 at 5:26 PM, Saneth Dharmakeerthi sane...@wso2.com
wrote:

 HI All,

 I try to add LogMediator  to In-Flow in a API and noted following things.

- I add sequence to the In-flow to log the messages as [1]. But no
massage was logged.
- I did the same thing with APIM 1.8.0, the LogMediator works fine but
with 1.8.0 the added custom handlers get removed from the synapse
configuration all the time  when we click save and publish button after
the sequences is changed.

 Is there any reason for this behaviour, Did i miss any steps in here.



 [1]​
  Screen Shot 2015-04-01 at 4.40.00 PM.png
 https://docs.google.com/a/wso2.com/file/d/0B2mfjA37km5Uem9MSDFHLXBNQWc/edit?usp=drive_web
 ​

 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

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




-- 
*Madusanka Premaratne* | Associate Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 835 70 73| Work: +94 112 145 345
Email: madusan...@wso2.com | Web: www.wso2.com

[image: Facebook] https://www.facebook.com/maduzanka [image: Twitter]
https://twitter.com/rmmpremaratne [image: Google Plus]
https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub [image:
Linkedin] http://lk.linkedin.com/in/madusanka/ [image: Instagram]
http://instagram.com/madusankapremaratne [image: Skype]
http://@rmmpremaratne
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MB] Getting an error on running a jmeter publisher script

2015-04-01 Thread Anuja Herath
Hi,

Problem was that, I have configured physical IP address with MB.

So in jndi file, I had to replace localhost with physical IP address.

On Tue, Mar 31, 2015 at 3:53 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi Anuja,

 can you try adding 'andes-client-3.0.0-SNAPSHOT.jar' in {jmeter-home}/lib/
 and restart server.

 Regards,

 On Tue, Mar 31, 2015 at 3:44 PM, Indika Sampath indi...@wso2.com wrote:

 Hi Anuja,

 Please check MB running on defined port in jndi.properties file of
 Jmeter. Also make sure necessary MB client libraries copied to lib folder
 of Jmeter.

 Cheers!


 On Tue, Mar 31, 2015 at 3:39 PM, Anuja Herath an...@wso2.com wrote:

 Hi All,

 I m getting this error when I try to run a jmeter publisher script.

 org.wso2.andes.AMQConnectionFailureException: Could not open connection
 at org.wso2.andes.client.AMQConnection.init(AMQConnection.java:475)
 at
 org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:328)
 at
 org.wso2.andes.client.AMQConnectionFactory.createConnection(AMQConnectionFactory.java:38)
 at org.apache.jmeter.protocol.jms.Utils.getConnection(Utils.java:194)
 at
 org.apache.jmeter.protocol.jms.client.Publisher.init(Publisher.java:104)
 at
 org.apache.jmeter.protocol.jms.sampler.PublisherSampler.initClient(PublisherSampler.java:138)
 at
 org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(PublisherSampler.java:159)
 at
 org.apache.jmeter.protocol.jms.sampler.BaseJMSSampler.sample(BaseJMSSampler.java:80)
 at
 org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:431)
 at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:258)
 at java.lang.Thread.run(Thread.java:722)
 Caused by: org.wso2.andes.transport.TransportException: Could not open
 connection
 at
 org.wso2.andes.transport.network.mina.MinaNetworkTransport$IoConnectorCreator.connect(MinaNetworkTransport.java:216)
 at
 org.wso2.andes.transport.network.mina.MinaNetworkTransport.connect(MinaNetworkTransport.java:74)
 at
 org.wso2.andes.client.AMQConnectionDelegate_8_0.makeBrokerConnection(AMQConnectionDelegate_8_0.java:120)
 at
 org.wso2.andes.client.AMQConnection.makeBrokerConnection(AMQConnection.java:616)
 at org.wso2.andes.client.AMQConnection.init(AMQConnection.java:398)
 ... 10 more

 --
 Anuja Herath
 *Software Engineer*
 *WSO2, Inc.*
 Mobile : +94 (0)71 429 8861

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




 --
 Indika Sampath
 Software Engineer
 WSO2 Inc.
 http://wso2.com

 Phone: +94 716 424 744
 Blog: http://indikasampath.blogspot.com/


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




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




-- 
Anuja Herath
*Software Engineer*
*WSO2, Inc.*
Mobile : +94 (0)71 429 8861
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 ML 1.0.0 Milestone 2 Released

2015-04-01 Thread CD Athuraliya
WSO2 ML 1.0.0 Milestone 2 is Released!

WSO2 ML team is pleased to announce the 2nd Milestone of WSO2 ML 1.0.0. The
distribution is available at [1]. This release includes following features.

New features

   - Initial version of the User Interface (
   https://docs.wso2.com/display/ML100/ML+UI+Workflow)
   - Support analyses execution in an external Spark cluster (
   
https://docs.wso2.com/display/ML100/Connecting+to+an+External+Apache+Spark+Cluster
   )
   - Support for HDFS storage


Pending features

   - BAM integration
   - UI - Model comparison, data exploration
   - ESB - ML mediator
   - CEP - ML extension

Documentation for WSO2 Machine Learner 1.0.0 - M2

   - Introduction -
   https://docs.wso2.com/display/ML100/Introducing+Machine+Learner
   - Architecture Guide - https://docs.wso2.com/display/ML100/Architecture
   - REST API guide - https://docs.wso2.com/display/ML100/REST+API+Guide
   - User Guide - https://docs.wso2.com/display/ML100/User+Guide
   - ML UI (initial version) Guide -
   https://docs.wso2.com/display/ML100/ML+UI+Workflow
   - Sample ML Flows - https://docs.wso2.com/display/ML100/Samples


Please report any issues you may find in our JIRA:
https://wso2.org/jira/browse/ML

GIT tag: https://github.com/wso2/product-ml/releases/tag/1.0.0-m2

[1] 
*https://github.com/wso2/product-ml/releases/download/1.0.0-m2/wso2ml-1.0.0-SNAPSHOT.zip
https://github.com/wso2/product-ml/releases/download/1.0.0-m2/wso2ml-1.0.0-SNAPSHOT.zip*


Thanks,

-- 
*CD Athuraliya*
Software Engineer
WSO2, Inc.
lean . enterprise . middleware
Mobile: +94 716288847 94716288847
LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter
https://twitter.com/cdathuraliya | Blog
http://cdathuraliya.tumblr.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [CEP 4.0.0-M3] Steps for Running Sample 2001

2015-04-01 Thread Tishan Dahanayakage
Hi Iranga,

This error states that storm receiver has not yet been registered. However
this error will be go off after cluster is fully operational.

Thanks,
Tishan

On Wed, Apr 1, 2015 at 4:46 AM, Iranga Muthuthanthri ira...@wso2.com
wrote:


 Got the sample working on the Storm local node setup(Thanks Trishan),
 noted the following exception during the start up of the receiver node. Is
 it expected?

 [2015-04-01 16:57:21,523] ERROR - {AsyncEventPublisher}  [CEP Receiver|
 ExecPlan:PreprocessStats, TenantID:-1234]Error while trying retrieve
 information from storm manager service

 EndpointNotFoundException(message:No Storm Receiver for executionPlanName:
 PreprocessStats of tenantId:-1234 for CEP Receiver form:10.100.0.19)

 at
 org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$getStormReceiver_result.read(StormManagerService.java:3025)

 at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)

 at
 org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$Client.recv_getStormReceiver(StormManagerService.java:129)

 at
 org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$Client.getStormReceiver(StormManagerService.java:114)

 at
 org.wso2.carbon.event.processor.common.util.AsyncEventPublisher$EndpointConnectionCreator.getEndpointFromManagerService(AsyncEventPublisher.java:187)

 at
 org.wso2.carbon.event.processor.common.util.AsyncEventPublisher$EndpointConnectionCreator.establishConnection(AsyncEventPublisher.java:276)

 at
 org.wso2.carbon.event.processor.common.util.AsyncEventPublisher$EndpointConnectionCreator.run(AsyncEventPublisher.java:285)

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



 On Wed, Mar 25, 2015 at 10:17 PM, Sriskandarajah Suhothayan s...@wso2.com
  wrote:

 Yes we can skip storm.yaml configuration for the single node

 Suho

 On Wed, Mar 25, 2015 at 10:01 PM, Tishan Dahanayakage tis...@wso2.com
 wrote:

 ​Hi Iranga,
 Documentation [2] is outdated as of the current implementation. We need
 to change that appropriately. [3] explains how to set up a Storm Cluster.
 But you can ignore storm.yaml configs if you are runinng in the localhost
 as in the sample. You just need to bring up storm and zoo keeper nodes.
 @Suho
 I could not find any simple official documentation on running Storm on
 single node. We can either create new guide or point to [3] and say that
 user can skip storm.yaml configurations. WDYT?

 Thanks,
 Tishan
 ​

 On Wed, Mar 25, 2015 at 5:46 AM, Praneesha Chandrasiri 
 pranee...@wso2.com wrote:

 Hi Iranga,

 Thanks for pointing this out!

 I will work on this.

 On Wed, Mar 25, 2015 at 6:11 PM, Iranga Muthuthanthri ira...@wso2.com
 wrote:

 I am trying out CEP Sample  based on [1] in local mode. In the
 perquisite section Step 2 mentions about the  storm deployment which 
 points
 to the apache storm page.

  Would like to know if this means, it is needed to setup  and run a
 storm topology locally as mentioned in [2] by running

 org.wso2.carbon.event.processor.storm.jar , if so what would be the
 fully qualified class name?

 Suggest that the documentation could be made more descriptive.

 [1]
 https://docs.wso2.com/display/CEP400/Sample+2001+-+Simple+filter+query+with+Apache+Storm+deployment

 [2]
 https://docs.wso2.com/display/CEP400/Configuring+WSO2+CEP+to+Run+with+Apache+Storm





 --
 Thanks  Regards

 Iranga Muthuthanthri
 (M) -0777-255773
 Team Product Management




 --
 Thanks  Best Regards,
 *Praneesha Chandrasiri*
 *Technical Writer*
 *WSO2 Inc. *
 *Mobile: +(94) 718156888 %2B%2894%29%20718156888*
 *E-mail: pranee...@wso2.com pranee...@wso2.com*




 --
 Tishan Dahanayakage
 Software Engineer
 WSO2, Inc.
 Mobile:+94 716481328

 Disclaimer: This communication may contain privileged or other
 confidential information and is intended exclusively for the addressee/s.
 If you are not the intended recipient/s, or believe that you may have
 received this communication in error, please reply to the sender indicating
 that fact and delete the copy you received and in addition, you should not
 print, copy, re-transmit, disseminate, or otherwise use the information
 contained in this communication. Internet communications cannot be
 guaranteed to be timely, secure, error or virus-free. The sender does not
 accept liability for any errors or omissions.




 --

 *S. Suhothayan*
 Technical Lead  Team Lead of WSO2 Complex Event Processor
  *WSO2 Inc. *http://wso2.com
 * http://wso2.com/*
 lean . enterprise . middleware


 *cell: (+94) 779 756 757 %28%2B94%29%20779%20756%20757 | blog:
 http://suhothayan.blogspot.com/ http://suhothayan.blogspot.com/twitter:
 http://twitter.com/suhothayan http://twitter.com/suhothayan | linked-in:
 http://lk.linkedin.com/in/suhothayan http://lk.linkedin.com/in/suhothayan*




 --
 Thanks  Regards

 Iranga Muthuthanthri
 (M) -0777-255773
 Team Product Management




-- 
Tishan Dahanayakage
Software Engineer
WSO2, Inc.
Mobile:+94 716481328


Re: [Dev] [APIM] Adding sequence to a API to log In-flow messages not working. API Manager 1.9.0 SNAPSHOT

2015-04-01 Thread Uvindra Dias Jayasinha
If you havent updated the velocity_template in API Manager with your custom
handler then you will loose it from the synapse configuration when you do a
save and publish. publishing will cause the contents of the synapse config
to get updated with the default values in the template.

On 1 April 2015 at 17:26, Saneth Dharmakeerthi sane...@wso2.com wrote:

 HI All,

 I try to add LogMediator  to In-Flow in a API and noted following things.

- I add sequence to the In-flow to log the messages as [1]. But no
massage was logged.
- I did the same thing with APIM 1.8.0, the LogMediator works fine but
with 1.8.0 the added custom handlers get removed from the synapse
configuration all the time  when we click save and publish button after
the sequences is changed.

 Is there any reason for this behaviour, Did i miss any steps in here.



 [1]​
  Screen Shot 2015-04-01 at 4.40.00 PM.png
 https://docs.google.com/a/wso2.com/file/d/0B2mfjA37km5Uem9MSDFHLXBNQWc/edit?usp=drive_web
 ​

 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511




-- 
Regards,
Uvindra

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


[Dev] Getting response of a jax-rs endpoint using an iFrame

2015-04-01 Thread Hasanthi Purnima Dissanayake
Hi all,
I'm loading an jax-rs endpoint using an iFrame. I'm posting messages to the
endpoint periodically by using the iFrame. I need to get the response from
the endpoint(the end point returns a boolean) once I'm posting messages to
it. I implemented ,

var iframe = document.getElementById(opIFrame);
iframe.addEventListener(message, listener, false)

function listener(event){
console.log('Respond From OP: ');
}

But it is not working and I have no way to get the response from the
endpoint too. Please help me to fix this

Thanks and regards,

Hasanthi Dissanayake

Software Engineer | WSO2

E: hasan...@wso2.com nirosh...@wso2.com
M :0718407133| http://wso2.com http://wso2.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppM] [EMM] Patch for EMM to work with AppM 1.0.0

2015-04-01 Thread Chathura Dilan
Hi All,

I have created patch for EMM 1.1.0 to work it with AppM 1.0.0. You can find
the patch from this JIRA[1]


[1] - https://wso2.org/jira/browse/APPM-692


-- 
Regards,

Chatura Dilan Perera
*(Senior Software Engineer** - WSO2 Inc.**)*
www.dilan.me
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge

2015-04-01 Thread Lasitha Wattaladeniya
Hi Johan/Darshana,

This is the pull request for the public jira [1].


[1]. https://wso2.org/jira/browse/IDENTITY-1071

-- 
Lasitha Wattaladeniya
Software Engineer
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

Mobile : +94719397528
Blog : techreadme.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Error occurs in carbon-registry feature when building product-cep after updating to kernel 4.4.0

2015-04-01 Thread Tharik Kanaka
Hi All,

I am updating product-cep to support carbon4 kernel 4.4.0. First i got the
following error on several modules when building product-cep.

* requires 'org.wso2.carbon.core.server.feature.group [4.3.0,4.4.0)' but it
could not be found*


I have resolved that by building dependency modules on java8support branch.
Finally i got following error  when building product-cep. (before that i
have built the carbon-registry on java8support branch and updated the
product-cep reference version of carbon-registry accordingly)


*Installation failed.*
*Cannot complete the install because one or more required items could not
be found.*
* Software being installed: WSO2 Carbon - Registry Resource Properties
Feature 4.3.2.SNAPSHOT
(org.wso2.carbon.registry.resource.properties.feature.group 4.3.2.SNAPSHOT)*
* Missing requirement: org.wso2.carbon.registry.resource 4.3.2.SNAPSHOT
(org.wso2.carbon.registry.resource 4.3.2.SNAPSHOT) requires 'package
org.apache.commons.io http://org.apache.commons.io 2.4.0' but it could
not be found*
* Cannot satisfy dependency:*
*  From: WSO2 Carbon - Registry Core Server Feature 4.3.2.SNAPSHOT
(org.wso2.carbon.registry.core.server.feature.group 4.3.2.SNAPSHOT)*
*  To: org.wso2.carbon.registry.resource [4.3.2.SNAPSHOT]*
* Cannot satisfy dependency:*
*  From: WSO2 Carbon - Registry Resource Properties Feature 4.3.2.SNAPSHOT
(org.wso2.carbon.registry.resource.properties.feature.group 4.3.2.SNAPSHOT)*
*  To: org.wso2.carbon.registry.core.server.feature.group
[4.3.2.SNAPSHOT,4.4.0)*
*Application failed, log file location:
/Users/tharik/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1427941663867.log*



Any idea to resolving this issue?

Thanks,

-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please review and merge

2015-04-01 Thread Lasitha Wattaladeniya
PR : https://github.com/wso2/carbon-identity/pull/159/

On Thu, Apr 2, 2015 at 9:03 AM, Lasitha Wattaladeniya lasit...@wso2.com
wrote:

 Hi Johan/Darshana,

 This is the pull request for the public jira [1].


 [1]. https://wso2.org/jira/browse/IDENTITY-1071

 --
 Lasitha Wattaladeniya
 Software Engineer
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +94719397528
 Blog : techreadme.blogspot.com




-- 
Lasitha Wattaladeniya
Software Engineer
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

Mobile : +94719397528
Blog : techreadme.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MB Recovery Code

2015-04-01 Thread Ramith Jayasinghe
Please create a L1.

On Thu, Apr 2, 2015 at 3:11 AM, Hasitha Hiranya hasit...@wso2.com wrote:

 Hi Team,

 There is a code written to sync following memory caches time to time with
 the database. Individual node has a scheduled task to do this periodically.
 Idea is, if a hazelcast notification was lost, even late, try to act
 correct.

 1. Subscriptions
 2. Bindings
 3. Exchanges
 4. Queues

 I have put a warning of some entry is added or deleted from above caches
 by this task. I have seen this runs and prints warnings in long running
 tests. Butter to check this code before release. I had my developer testing
 at old times, but given this is critical for behavior of node, better
 double check.

 Thanks

 --
 *Hasitha Abeykoon*
 Senior Software Engineer; WSO2, Inc.; http://wso2.com
 *cell:* *+94 719363063*
 *blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com




-- 
Ramith Jayasinghe
Technical Lead
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

E: ram...@wso2.com
P: +94 777542851
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] issue with changing application level tier is not working 1.9.0 SNAPSHOT.

2015-04-01 Thread Sewmini Jayaweera
Hi Saneth,

APMK once the EnableGatewayResourceCache is set to false system should no
longer keep throttling cache. Therefore Once your change the throttling
tier It should reflect the change immediately. Please refer to [1] and [2]
for more clarifications.

In APIM 1.8.0 there is an issue reported [3] for this scenario and
according to [3] the fix will come in 1.9.0 pack.

Further more after setting EnableGatewayResourceCache to false did you
restart the server? If not you need to restart in order to reflect changes.
If this still doesn't work In the 1.9.0 pack as a work around you will have
to restart the saver once you edit throttling tier prior to invoking or
invoke after 15 to 20 mins of the change.

[1] https://wso2.org/jira/browse/APIMANAGER-2701
[2]
https://docs.wso2.com/display/AM180/Configuring+Caching#ConfiguringCaching-Resourcecaching
[3] https://wso2.org/jira/browse/APIMANAGER-3171

Thank you.
Best Regards
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Thu, Mar 19, 2015 at 12:34 PM, Saneth Dharmakeerthi sane...@wso2.com
wrote:

 Hi APIM team,

 I created a API with gold tier with resource  with unlimited tier. Then I
 subscribed  the API via Silver  level tier application. If I invoke the
 API, the throttling is working correctlly, only the amount in silver tier
 is allowed.

 Then I change the application to gold tier  and test the throttling, it is
 still working for the amount in silver tier.

 Is this a issue or do I miss any steps here?

 Note:   EnableGatewayKeyCache and EnableGatewayResourceCache both set to
 false


 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 ___
 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] WSO2EMM: Migration H2 to Mysql

2015-04-01 Thread Akalanka Pagoda Arachchi
Hi all,

According to [1] and [2] 'SET OPTION' syntax has been removed when moving
into mysql 5.6 from 5.5 since it has long been deprecated. Maybe that is
the cause.

Thanks,
Akalanka.

[1] - http://dev.mysql.com/doc/refman/5.5/en/set-statement.html
[2] - http://dev.mysql.com/doc/refman/5.6/en/set-statement.html

On Thu, Apr 2, 2015 at 2:32 AM, Darshana Gunawardana darsh...@wso2.com
wrote:

 [adding dev list]

 Hi Olivier,

 Are you trying to migrate the system from H2 to mysql? And can you please
 mention the version of the product you are trying.

 Regards,
 Darshana.

 On Wed, Apr 1, 2015 at 5:33 AM, Tokpanou Olivier tokli...@gmail.com
 wrote:

 Hello sir
 I am a beginner on your product wso2emm. I want to migrate h2 mysql, I
 followed the product documentation. I can not seem to successful
 migration. I oudrais you aidier me to solve the problem. Attached is the log
 file.
 TID: [0] [EMM] [2015-04-01 11:18:42,473] ERROR
 {org.wso2.carbon.user.core.tenant.TenantManager} -  Error in getting the
 tenants. {org.wso2.carbon.user.core.tenant.TenantManager}
 TID: [0] [EMM] [2015-04-01 11:18:47,480] ERROR
 {org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO} -  Failed to get logs.
 You have an error in your SQL syntax; check the manual that corresponds to
 your MySQL server version for the right syntax to use near 'OPTION
 SQL_SELECT_LIMIT=DEFAULT' at line 1
 {org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO}
 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an
 error in your SQL syntax; check the manual that corresponds to your MySQL
 server version for the right syntax to use near 'OPTION
 SQL_SELECT_LIMIT=DEFAULT' at line 1

 --
 TOKPANOU Olivier
 Ingénieur d'études et développement informatique
 Casablanca,Maroc
 Tél : +212 6 06 60 85 15




 --
 Regards,


 *Darshana Gunawardana*Software Engineer
 WSO2 Inc.; http://wso2.com

 *E-mail: darsh...@wso2.com darsh...@wso2.com*
 *Mobile: +94718566859 %2B94718566859*Lean . Enterprise . Middleware

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




-- 
*Darshana Akalanka Pagoda Arachchi,*
*Software Engineer*
*078-4721791*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CodePlex ESB connector review

2015-04-01 Thread Sriashalya Srivathsan
Hi Pumudu,
Normally in all connectors we describe the way of integration tests in the
README file. User need to run the integration test first, for that they
need different credentials and datas to update. so those details also
should be given in the README file.


Thank you,
Rgds,

On Wed, Apr 1, 2015 at 3:52 PM, Shakila Sivagnanarajah shak...@wso2.com
wrote:

 Hi Pumudu,

 All methods are working fine with the patches given in [1].

 [1] -[Dev] WSO2 ESB 4.8.1 HTTP Patch support.

 Thank you.

 On Wed, Apr 1, 2015 at 3:31 PM, Kesavan Yogarajah kesav...@wso2.com
 wrote:

 Hi Shakila please find the patches from the following mail thread[1].

 [1] -[Dev] WSO2 ESB 4.8.1 HTTP Patch support



 Kesavan Yogarajah
 Associate Software Engineer
 WSO2 Inc.

 Mob: +94 779758021

 On Wed, Apr 1, 2015 at 3:10 PM, Shakila Sivagnanarajah shak...@wso2.com
 wrote:

 Hi Pumudu,

 If you are using any patches can you please update that on README.

 On Wed, Apr 1, 2015 at 3:06 PM, Pumudu Ruhunage pum...@wso2.com wrote:

 Hi Shakila,

 AFAIK integration test resources are not user configurable. therefore,
 not required to document in user README. Regarding the test failures, i
 think it's due to some of the patches missing in your esb
 instance.integration tests are passing with patched esb and with given test
 resources.
 @Tharik, can you please help shakila with esb patches needed for
 codeplex connector?

 Regards,

 On Wed, Apr 1, 2015 at 11:33 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Pumudu and Tharik,

 I have tried with the request bodies given in the connector, there are
 6 test cases failed. Please find the Log file here. In your connector, you
 are giving all inputs in 
 *esb-connectors/codeplex/src/test/resources/artifacts/ESB/config/restRequests/codeplex
 *so you have to mention it in README. If anyone need to test this
 connector, he/she may needs to change the values in those files.

 Thank you.

 On Fri, Mar 20, 2015 at 9:26 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 Thank you Pumudu.

 On Thu, Mar 19, 2015 at 9:31 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi,

 We have fixed issues as requested. Please find codeplex connector
 pull request[1] and jira[2]. Documentation has updated in jira.

 [1] https://github.com/wso2/esb-connectors/pull/83
 [2] https://wso2.org/jira/browse/ESBCONNECT-31

 Regards,

 On Tue, Mar 10, 2015 at 5:24 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi Shakila,

 Currently I'm making necessary changes to test cases. i'll let you
 know once it's done.

 Regards,

 On Tue, Mar 10, 2015 at 2:40 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Can you please give a quick update on this?

 Thank you.

 On Wed, Feb 25, 2015 at 3:44 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Adding my correct email.

 On Wed, Feb 25, 2015 at 2:20 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik,

 Ok, Go ahead.


 On Wed, Feb 25, 2015 at 12:20 PM, Tharik Kanaka tha...@wso2.com
  wrote:

 Hi Shakila,

 We have removed and updated the Snapshot dependencies of the
 automation and integration. Since automation and integration 
 dependencies
 have been updated recently our old test cases (which were working 
 in last
 year) are getting failed now. So we will update test automation 
 code
 accordingly and send a pull request.

 Regards,

 On Fri, Feb 20, 2015 at 3:26 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Please find the feedbacks regarding the CodePlex connector.

1. Some dependencies need to be changed.
2. Instead of SNAPSHOT versions, use stable versions for
libraries.
3. Please modify the pom to run the test cases in a single
build.
4. Format the code and send the pull request to
https://github.com/wso2/esb-connectors.


 Thank you

 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 *Tharik Kanaka* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: tha...@wso2.com | Web: www.wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate 

Re: [Dev] CodePlex ESB connector review

2015-04-01 Thread Shakila Sivagnanarajah
Hi Ashalya,

They gave all required instructions to run test cases in README file. If
request body needs to be changed in
{Codeplex_Connector_Home}/src/test/resources/artifacts/ESB/config/restRequests,
they should mention it in the README clearly.

Thank you.

On Thu, Apr 2, 2015 at 9:59 AM, Sriashalya Srivathsan asha...@wso2.com
wrote:

 Hi Pumudu,
 Normally in all connectors we describe the way of integration tests in the
 README file. User need to run the integration test first, for that they
 need different credentials and datas to update. so those details also
 should be given in the README file.


 Thank you,
 Rgds,

 On Wed, Apr 1, 2015 at 3:52 PM, Shakila Sivagnanarajah shak...@wso2.com
 wrote:

 Hi Pumudu,

 All methods are working fine with the patches given in [1].

 [1] -[Dev] WSO2 ESB 4.8.1 HTTP Patch support.

 Thank you.

 On Wed, Apr 1, 2015 at 3:31 PM, Kesavan Yogarajah kesav...@wso2.com
 wrote:

 Hi Shakila please find the patches from the following mail thread[1].

 [1] -[Dev] WSO2 ESB 4.8.1 HTTP Patch support



 Kesavan Yogarajah
 Associate Software Engineer
 WSO2 Inc.

 Mob: +94 779758021

 On Wed, Apr 1, 2015 at 3:10 PM, Shakila Sivagnanarajah shak...@wso2.com
  wrote:

 Hi Pumudu,

 If you are using any patches can you please update that on README.

 On Wed, Apr 1, 2015 at 3:06 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi Shakila,

 AFAIK integration test resources are not user configurable. therefore,
 not required to document in user README. Regarding the test failures, i
 think it's due to some of the patches missing in your esb
 instance.integration tests are passing with patched esb and with given 
 test
 resources.
 @Tharik, can you please help shakila with esb patches needed for
 codeplex connector?

 Regards,

 On Wed, Apr 1, 2015 at 11:33 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Pumudu and Tharik,

 I have tried with the request bodies given in the connector, there
 are 6 test cases failed. Please find the Log file here. In your 
 connector,
 you are giving all inputs in 
 *esb-connectors/codeplex/src/test/resources/artifacts/ESB/config/restRequests/codeplex
 *so you have to mention it in README. If anyone need to test this
 connector, he/she may needs to change the values in those files.

 Thank you.

 On Fri, Mar 20, 2015 at 9:26 AM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi,

 Thank you Pumudu.

 On Thu, Mar 19, 2015 at 9:31 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi,

 We have fixed issues as requested. Please find codeplex connector
 pull request[1] and jira[2]. Documentation has updated in jira.

 [1] https://github.com/wso2/esb-connectors/pull/83
 [2] https://wso2.org/jira/browse/ESBCONNECT-31

 Regards,

 On Tue, Mar 10, 2015 at 5:24 PM, Pumudu Ruhunage pum...@wso2.com
 wrote:

 Hi Shakila,

 Currently I'm making necessary changes to test cases. i'll let you
 know once it's done.

 Regards,

 On Tue, Mar 10, 2015 at 2:40 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Can you please give a quick update on this?

 Thank you.

 On Wed, Feb 25, 2015 at 3:44 PM, Pumudu Ruhunage pum...@wso2.com
  wrote:

 Adding my correct email.

 On Wed, Feb 25, 2015 at 2:20 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik,

 Ok, Go ahead.


 On Wed, Feb 25, 2015 at 12:20 PM, Tharik Kanaka 
 tha...@wso2.com wrote:

 Hi Shakila,

 We have removed and updated the Snapshot dependencies of the
 automation and integration. Since automation and integration 
 dependencies
 have been updated recently our old test cases (which were working 
 in last
 year) are getting failed now. So we will update test automation 
 code
 accordingly and send a pull request.

 Regards,

 On Fri, Feb 20, 2015 at 3:26 PM, Shakila Sivagnanarajah 
 shak...@wso2.com wrote:

 Hi Tharik and Pumudu,

 Please find the feedbacks regarding the CodePlex connector.

1. Some dependencies need to be changed.
2. Instead of SNAPSHOT versions, use stable versions for
libraries.
3. Please modify the pom to run the test cases in a
single build.
4. Format the code and send the pull request to
https://github.com/wso2/esb-connectors.


 Thank you

 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --

 *Tharik Kanaka* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: tha...@wso2.com | Web: www.wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Shakila Sivagnanarajah
 Associate Software Engineer
 Mobile :+94 (0) 770 760240
 shak...@wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 Pumudu Ruhunage
 Associate Software Engineer | WSO2 Inc
 M: +94 779 664493  | http://wso2.com




 --
 

Re: [Dev] [AppM] [EMM] Patch for EMM to work with AppM 1.0.0

2015-04-01 Thread Yasassri Ratnayake
Hi Chathura,

I'm unable to find a READ-ME file in the patch. Can you kindly point me to
the correct location if I have missed it. If its not there can we add a
Read-Me with the instructions?

With Regards,

On Thu, Apr 2, 2015 at 11:18 AM, Chathura Dilan chathu...@wso2.com wrote:

 Hi All,

 I have created patch for EMM 1.1.0 to work it with AppM 1.0.0. You can
 find the patch from this JIRA[1]


 [1] - https://wso2.org/jira/browse/APPM-692


 --
 Regards,

 Chatura Dilan Perera
 *(Senior Software Engineer** - WSO2 Inc.**)*
 www.dilan.me




-- 
Yasassri Ratnayake
Software Engineer - QA
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
*Mobile : +94715933168*
*Blog : http://yasassriratnayake.blogspot.com/
http://yasassriratnayake.blogspot.com/*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] PR for membrane-soa-model orbit bundle version upgrade

2015-04-01 Thread Isuruwan Herath
Hi Maheshika,

Is this released?

Thanks!
Isuruwan

On Wed, Apr 1, 2015 at 6:52 AM, Sameera Jayasoma same...@wso2.com wrote:

 Done.

 Maheshika, Can you release this orbit?

 Thanks,
 Sameera.


 On Tue, Mar 31, 2015 at 11:38 PM, Isuruwan Herath isuru...@wso2.com
 wrote:

 Hi Kernel Team,

 Could you please review and merge [1] related to $subject? Created a v2
 of the released version since it needed an upgrade of slf4j dependency
 version.

 [1] https://github.com/wso2/orbit/pull/78

 Thanks!
 Isuruwan

 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296




 --
 Sameera Jayasoma,
 Software Architect,

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

 Lean . Enterprise . Middleware




-- 
Isuruwan Herath
Technical Lead

Contact: +94 776 273 296
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] PR for membrane-soa-model orbit bundle version upgrade

2015-04-01 Thread Maheshika Goonetilleke
Hi Isuruwan

Yes I did, sorry didn't reply on the thread.

On Wed, Apr 1, 2015 at 11:31 PM, Isuruwan Herath isuru...@wso2.com wrote:

 Hi Maheshika,

 Is this released?

 Thanks!
 Isuruwan

 On Wed, Apr 1, 2015 at 6:52 AM, Sameera Jayasoma same...@wso2.com wrote:

 Done.

 Maheshika, Can you release this orbit?

 Thanks,
 Sameera.


 On Tue, Mar 31, 2015 at 11:38 PM, Isuruwan Herath isuru...@wso2.com
 wrote:

 Hi Kernel Team,

 Could you please review and merge [1] related to $subject? Created a v2
 of the released version since it needed an upgrade of slf4j dependency
 version.

 [1] https://github.com/wso2/orbit/pull/78

 Thanks!
 Isuruwan

 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296




 --
 Sameera Jayasoma,
 Software Architect,

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

 Lean . Enterprise . Middleware




 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296




-- 

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] Authenticating with WSO2 Identity Server 5.0.0

2015-04-01 Thread Michael.Eyre
I am working at evaluating WSO2 Identity Server and API Manager.

I am trying to connect the Identity Server with our VDS/LDAP server.  I have 
created the UserStoreManager configuration in the user-mgt.xml file and set the 
AdminUser to the same user name (not the full connectionName), but I am not 
able to authenticate with this user.  When I navigate to the local carbon 
instance, enter the username and password, I get an login failure message.  The 
UserStoreManager is a read-only connection to the VDS server.  I have also 
disabled the internal LDAP server.  If I enable the internal LDAP server and 
configure the connection to the internal VDS server with a secondary user 
store, I can log in with the standard admin user and the Travelocity.com 
example works with that user, but even if I add one of the VDS user to the 
Travelocity internal group, I cannot authenticate with SAML SSO example.

I am trying to do two things.


1.Log into the Identity Server Management console with an internal LDAP 
user

2.   Authenticate with Travelocity SAML SSO example with an internal LDAP 
user, either as a secondary user store or when the internal LDAP server is the 
primary (and only) user store.

Thanks for your help on this issue

Michael Eyre

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


[Dev] MB Recovery Code

2015-04-01 Thread Hasitha Hiranya
Hi Team,

There is a code written to sync following memory caches time to time with
the database. Individual node has a scheduled task to do this periodically.
Idea is, if a hazelcast notification was lost, even late, try to act
correct.

1. Subscriptions
2. Bindings
3. Exchanges
4. Queues

I have put a warning of some entry is added or deleted from above caches by
this task. I have seen this runs and prints warnings in long running tests.
Butter to check this code before release. I had my developer testing at old
times, but given this is critical for behavior of node, better double check.

Thanks

-- 
*Hasitha Abeykoon*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
*cell:* *+94 719363063*
*blog: **abeykoon.blogspot.com* http://abeykoon.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Proposal for Data Wrangler extension for WSO2 Machine Learner

2015-04-01 Thread Tharinda Ehelepola
Hi,

I tried to get an idea about the generated scripts from Wrangler. But I am
unable to find any pattern of that generated script. Could you please
suggest me a format or any hint about this.

Thank You.
Tharinda.

On Thu, Mar 26, 2015 at 3:57 PM, Tharinda Ehelepola tharinda...@gmail.com
wrote:

 Hi,

 I have finish creating my proposal. So I need some feed back.Could you
 please check my proposal and give some commets.


 http://www.google-melange.com/gsoc/proposal/review/student/google/gsoc2015/tharinda221/5629499534213120


 https://docs.google.com/document/d/1mppMTbpSP_vWvhbK3RPrIR1HU9D8IFgLT5Mdsdhp8Vs/edit#

 Thank You.
 Tharinda.

 On Thu, Mar 26, 2015 at 12:39 AM, Tharinda Ehelepola 
 tharinda...@gmail.com wrote:

 Hi,

 I submitted the proposal in Melange. Please mention any corrections.

 Thank You.
 Tharinda.

 On Tue, Mar 24, 2015 at 10:45 PM, Tharinda Ehelepola 
 tharinda...@gmail.com wrote:

 Hi,

 I am unable to find API for the Wrangler. How do I connect Jaggery UI to
 Wrangler? Is it better to implement the API for this?

 Thank You.
 Tharinda.

 On Tue, Mar 24, 2015 at 8:58 AM, Tharinda Ehelepola 
 tharinda...@gmail.com wrote:

 Hi,

 Thanks for comments. Idea is clear. I need to be clear about the
 conversion part. I think the output JS can be converted into java by
 mapping those scripts with libraries on apache spark transformation. For
 this mapping part, What is the feasibility of using compiler?

 Thank You.
 Tharinda.

 On Tue, Mar 24, 2015 at 8:02 AM, Supun Sethunga sup...@wso2.com
 wrote:

 Hi,

 End user can connect to the Jaggery UI. So Jaggery UI is the front
 end. If end user do some operations using Jaggery, Scripts are generating
 from Wrangler. Those created scripts should be converted into java and 
 it's
 input for the back-end.

 Correct.

  So the back-end is the machine learner. Is this correct?

 I made a comment on this in the doc.. please refer to that.

 Regards,
 Supun

 On Tue, Mar 24, 2015 at 1:25 PM, Tharinda Ehelepola 
 tharinda...@gmail.com wrote:

 Hi,

 I'll start creating the proposal in Melange. I need some comments to
 finalize it. I got some idea about the back-end. I need to be clear about
 the implementation plan. This is the basic idea I have for the overview 
 of
 the project. End user can connect to the Jaggery UI. So Jaggery UI is the
 front end. If end user do some operations using Jaggery, Scripts are
 generating from Wrangler. Those created scripts should be converted into
 java and it's input for the back-end. So the back-end is the machine
 learner. Is this correct? I am expecting your comments as I want to
 conclude my proposal. Please mention any correction.

 Thank You.
 Tharinda.

 On Tue, Mar 24, 2015 at 5:56 AM, Nirmal Fernando nir...@wso2.com
 wrote:

 Tharinda, please start creating the proposal in Melage and submit it
 once you attended to the given feedback.

 Thanks.

 On Mon, Mar 23, 2015 at 7:53 PM, Nirmal Fernando nir...@wso2.com
 wrote:

 Please try out the M1 release for a better understanding on the
 back-end: https://github.com/wso2/product-ml/releases/tag/1.0.0-m1

 On Mon, Mar 23, 2015 at 7:13 PM, Tharinda Ehelepola 
 tharinda...@gmail.com wrote:

 Hi,

 I need to be clear about some points in the project. Here
 https://www.dropbox.com/s/xt9i4eq6jelzi7j/ML.jpg?dl=0 is the
 pipeline where I got from your ML presentation. If I correct this the
 common diagram for machine learning. In which part of the pipeline do 
 you
 need to use Wrangler? You said that remotely connecting to the 
 Wrangler is
 not a good option. I think It is easy to have an extension in the 
 machine
 learner and also you used java as the programming language. So you 
 need a
 back-end in java. You said that Jaggery UI is a middle layer between
 back-end,wrangler and the end user. Can you please explain me about 
 this. I
 need to be clear about this also. My idea about conversion is to use 
 apache
 spark transformation jar libraries. There are methods in java related 
 to
 Wrangler functions. So those methods can be used to develop the 
 back-end in
 java. In here what is the feasibility of using compiler?  I am 
 expecting
 your comments. Please mention any corrections.

 Thank You.
 Tharinda.

 On Sun, Mar 22, 2015 at 5:15 AM, Tharinda Ehelepola 
 tharinda...@gmail.com wrote:

 Hi,

 I enabled commenting in the Google doc. Can you please comment on
 the doc itself.

 Thank you.
 Tharinda.

 On Sun, Mar 22, 2015 at 4:26 AM, Nirmal Fernando nir...@wso2.com
  wrote:

 Great thanks Tharinda!

 On Sun, Mar 22, 2015 at 9:19 AM, Tharinda Ehelepola 
 tharinda...@gmail.com wrote:

 Sorry about that Nirmal. I'll use only this thread from now on.
 In order to conclude my proposal I am expecting your comments.

 Thank You.
 Tharinda.


 On Sun, Mar 22, 2015 at 3:19 AM, Nirmal Fernando 
 nir...@wso2.com wrote:

 Hi Tharinda,

 Could you please send your updates in one thread? I've noticed
 that you initiated couple of different threads, and it's hard for 
 us 

Re: [Dev] Authenticating with WSO2 Identity Server 5.0.0

2015-04-01 Thread Akila Ravihansa Perera
Hi Michael,

Would it be possible for you to share the configs and wso2carbon.log? It's
not easy to guess the problem without looking at the logs.

Do you have email addresses as usernames? In that case you need to enable
EnableEmailUsers property in carbon.xml. Did you configure a DomainName for
your LDAP userstore? You can try to authenticate with
domain_name\username

Thanks.

On Wed, Apr 1, 2015 at 9:45 AM, michael.e...@sanofipasteur.com wrote:

  I am working at evaluating WSO2 Identity Server and API Manager.



 I am trying to connect the Identity Server with our VDS/LDAP server.  I
 have created the UserStoreManager configuration in the user-mgt.xml file
 and set the AdminUser to the same user name (not the full connectionName),
 but I am not able to authenticate with this user.  When I navigate to the
 local carbon instance, enter the username and password, I get an login
 failure message.  The UserStoreManager is a read-only connection to the VDS
 server.  I have also disabled the internal LDAP server.  If I enable the
 internal LDAP server and configure the connection to the internal VDS
 server with a secondary user store, I can log in with the standard “admin”
 user and the Travelocity.com example works with that user, but even if I
 add one of the VDS user to the Travelocity internal group, I cannot
 authenticate with SAML SSO example.



 I am trying to do two things.



 1.Log into the Identity Server Management console with an
 internal LDAP user

 2.   Authenticate with Travelocity SAML SSO example with an internal
 LDAP user, either as a secondary user store or when the internal LDAP
 server is the primary (and only) user store.



 Thanks for your help on this issue



 *Michael Eyre*



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




-- 
Akila Ravihansa Perera
Software Engineer, WSO2

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


Re: [Dev] WSO2EMM: Migration H2 to Mysql

2015-04-01 Thread Darshana Gunawardana
[adding dev list]

Hi Olivier,

Are you trying to migrate the system from H2 to mysql? And can you please
mention the version of the product you are trying.

Regards,
Darshana.

On Wed, Apr 1, 2015 at 5:33 AM, Tokpanou Olivier tokli...@gmail.com wrote:

 Hello sir
 I am a beginner on your product wso2emm. I want to migrate h2 mysql, I
 followed the product documentation. I can not seem to successful
 migration. I oudrais you aidier me to solve the problem. Attached is the log
 file.
 TID: [0] [EMM] [2015-04-01 11:18:42,473] ERROR
 {org.wso2.carbon.user.core.tenant.TenantManager} -  Error in getting the
 tenants. {org.wso2.carbon.user.core.tenant.TenantManager}
 TID: [0] [EMM] [2015-04-01 11:18:47,480] ERROR
 {org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO} -  Failed to get logs.
 You have an error in your SQL syntax; check the manual that corresponds to
 your MySQL server version for the right syntax to use near 'OPTION
 SQL_SELECT_LIMIT=DEFAULT' at line 1
 {org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO}
 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an
 error in your SQL syntax; check the manual that corresponds to your MySQL
 server version for the right syntax to use near 'OPTION
 SQL_SELECT_LIMIT=DEFAULT' at line 1

 --
 TOKPANOU Olivier
 Ingénieur d'études et développement informatique
 Casablanca,Maroc
 Tél : +212 6 06 60 85 15




-- 
Regards,


*Darshana Gunawardana*Software Engineer
WSO2 Inc.; http://wso2.com

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