[Dev] [Balana] No getter for ObligationId in Obligation

2016-08-01 Thread Manujith Pallewatte
Hi all, I'm in the process of implementing the XACML 3.0 JSON profile for requests and responses and in writing the responses, I need to obtain the Obligation Id of each Obligation [1]. But as seen in [1], there's no public getter method available to obtain the Id from the Obligation object. Is

Re: [Dev] [GSoC 2016]Proposal 03: [ML]Visual(Deep) Neural Network Builder -Project Progress

2016-08-01 Thread Upul Bandara
Hi, As you know we have only two weeks to complete GSOC projects. Unfortunately, this project is a little bit lagging behind and it looks like you have to put some additional effort during the last two week. In order to support you, we though it is better to have a small F2F meeting with you and

Re: [Dev] [IoTS] when will the IoTS be GA?

2016-08-01 Thread 云展智创
Hi Sumedha, Any suggestions? Thanks. -- Zhanwen Zhou (Jason), General Manager +86 13922218435 zhanwen.z...@smartcloudex.com Guangzhou Smart Cloudex Technology Co., Ltd. Business: API Management, Application Performance Management, IT Service Management On Jul 31, 2016, at 9:20 PM, Sumedha

Re: [Dev] GSoC2016-Contact Development Team Feature

2016-08-01 Thread Nathiesha Maddage
Hi Kavith, I tried creating the pom.xml by referring to the Developer Studio plugin projects in git hub. Following the same structure as in the github plugin projects. I came up with this, pom1.xml. However since my project is still not under those parent projects as in github, I created another

Re: [Dev] [MSF4J] [2.0.0] Illegal argument Exception Thrown when invoking a POST

2016-08-01 Thread Hemika Kodikara
Correction on my part, I misread the spec earlier. Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware http://wso2.com Mobile : +9477762 On Mon, Aug 1, 2016 at 7:14 PM, Afkham Azeez wrote: > Header field names are case *insensitive*. So I think we

Re: [Dev] [MSF4J] [2.0.0] Illegal argument Exception Thrown when invoking a POST

2016-08-01 Thread Afkham Azeez
Header field names are case *insensitive*. So I think we have to fix this in MSF4J. *HTTP header* names are *case*-*insensitive*, according to RFC 2616: 4.2: Each*header* field consists of a name followed by a colon (":") and the field value. Field names are *case*-*insensitive*. On Tue, Aug 2,

Re: [Dev] [MSF4J] [2.0.0] Illegal argument Exception Thrown when invoking a POST

2016-08-01 Thread Hemika Kodikara
Hi Nadeeshaan, I faced the same issue with Advanced REST Client, its lowering case for message header keys when sending requests. Message headers must be case sensitive according to spec[1]. [1] - https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html Regards, Hemika Hemika Kodikara Software

[Dev] Carbon-mediation 4.6.2 Released

2016-08-01 Thread Jagath Sisirakumara Ariyarathne
Hi All, Carbon-mediation 4.6.2 released. org.wso2.carbon.mediation carbon-mediation 4.6.2 Thanks. -- Jagath Ariyarathne Technical Lead WSO2 Inc. http://wso2.com/ Email: jaga...@wso2.com Mob : +94 77 386 7048 ___ Dev

Re: [Dev] [Architecture] [IS] [Analytics] Improvement to use Siddhi streams to send notifications

2016-08-01 Thread Mohanadarshan Vivekanandalingam
On Mon, Aug 1, 2016 at 8:38 PM, Indunil Upeksha Rathnayake wrote: > Hi Suhothayan, > > Hi Indunil, I like to add some comments on this.. Please find them below.. > There was an issue in EventPublisherServiceDS where > setConfigurationContextService() method get invoked

Re: [Dev] [MSF4J] [2.0.0] Illegal argument Exception Thrown when invoking a POST

2016-08-01 Thread Rajith Vitharana
Hi Nadeeshan, As I remember, I also faced some difficulties with sending requests in latest rest client, for example AFAIR it sends content-type header with GET requests, these were working fine in earlier REST client implementations, but seems they are broken in latest somehow. Thanks, On Mon,

Re: [Dev] [MSF4J] [2.0.0] Illegal argument Exception Thrown when invoking a POST

2016-08-01 Thread Nadeeshaan Gunasinghe
Hi Azeez, Kasun, This works fine with the Post Man and the curl. With the Advanced REST Client only this issue occurred. Seems like that client sends the request by lowering the case of the headers. Thanks, *Nadeeshaan Gunasinghe* Software Engineer, WSO2 Inc. http://wso2.com +94770596754 |

Re: [Dev] [VOTE] Release WSO2 Mesos Artifacts 1.0.0 RC1

2016-08-01 Thread Tharindu Dharmarathna
Tested the APIM Standalone and Distributed Deployment. [x] - Stable, go ahead and release On Mon, Aug 1, 2016 at 5:11 PM, Akila Ravihansa Perera wrote: > Verified the following: > > - License headers using RAT plugin > - Checked distribution structure > - Tested wso2bps

Re: [Dev] [MSF4J] [2.0.0] Illegal argument Exception Thrown when invoking a POST

2016-08-01 Thread Afkham Azeez
We test with PostMan and it works. No magic here. Just send the proper request from whatever the tool. On Mon, Aug 1, 2016 at 10:20 PM, Nadeeshaan Gunasinghe wrote: > Hi Azees, Thusitha, > > Thanks for the prompt reply. When used the curl in order to invoke the > service,

Re: [Dev] [MSF4J] [2.0.0] Illegal argument Exception Thrown when invoking a POST

2016-08-01 Thread Kasun Indrasiri
On Mon, Aug 1, 2016 at 9:50 AM, Nadeeshaan Gunasinghe wrote: > Hi Azees, Thusitha, > > Thanks for the prompt reply. When used the curl in order to invoke the > service, it worked fine. The issue could only observe with the Advanced > REST Client used to invoke the service. >

Re: [Dev] [MSF4J] [2.0.0] Illegal argument Exception Thrown when invoking a POST

2016-08-01 Thread Nadeeshaan Gunasinghe
Hi Azees, Thusitha, Thanks for the prompt reply. When used the curl in order to invoke the service, it worked fine. The issue could only observe with the Advanced REST Client used to invoke the service. Thanks, *Nadeeshaan Gunasinghe* Software Engineer, WSO2 Inc. http://wso2.com +94770596754 |

Re: [Dev] [MSF4J] [2.0.0] Illegal argument Exception Thrown when invoking a POST

2016-08-01 Thread Afkham Azeez
Follow the addStock method in this sample: https://github.com/wso2/msf4j/blob/master/samples/stockquote/fatjar/src/main/java/org/wso2/msf4j/example/StockQuoteService.java#L108 Then; curl -v -X POST -H "Content-Type:application/json" -d '{"symbol":"GOOG","name":"Google Inc.", "high":190.23,

[Dev] [MSF4J] [2.0.0] Illegal argument Exception Thrown when invoking a POST

2016-08-01 Thread Nadeeshaan Gunasinghe
Hi all, When I try to execute the following sample [1] service's POST operation I could observe the bellow exception. *java.lang.IllegalArgumentException: argument type mismatch* * at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)* * at

Re: [Dev] [MSF4J] [2.0.0] Illegal argument Exception Thrown when invoking a POST

2016-08-01 Thread Thusitha Thilina Dayaratne
Hi Nadeeshan, Can you share a sample request that you used to invoke the service? IMHO if the Content-Type header is available in your request this should work. Thanks Thusitha On Mon, Aug 1, 2016 at 9:28 PM, Nadeeshaan Gunasinghe wrote: > Hi all, > > When I try to

Re: [Dev] [Architecture] [IS] [Analytics] Improvement to use Siddhi streams to send notifications

2016-08-01 Thread Indunil Upeksha Rathnayake
Hi Suhothayan, There was an issue in EventPublisherServiceDS where setConfigurationContextService() method get invoked after the bundle get activated. Due to that, when we are trying to invoke deployEventPublisherConfiguration() of EventPublisherService from the activate method of an osgi bundle

Re: [Dev] [ESB] Error log continuously printing in the carbon log

2016-08-01 Thread Gayan Gunarathne
Hi Chanaka, I used this documentation[1]. For the FileURI only changed to the sftps. Thing is file moving correctly. But continuously see the above log in the carbon console. sftp://:@ [1]https://docs.wso2.com/display/ESB500/File+Inbound+Protocol Thanks, Gayan On Sat, Jul 30, 2016 at 12:00

[Dev] Synapse-2.1.7-wso2v4 Released

2016-08-01 Thread Nadeeshaan Gunasinghe
Hi all, Please note $subject. org.apache.synapse Apache-Synapse 2.1.7-wso2v4 Thanks, *Nadeeshaan Gunasinghe* Software Engineer, WSO2 Inc. http://wso2.com +94770596754 | nadeesh...@wso2.com | Skype: nadeeshaan.gunasinghe <#>

[Dev] Axis2 Transport 1.1.1-wso2v5 Released

2016-08-01 Thread Jagath Sisirakumara Ariyarathne
Hi All, Axis2 Transport version 1.1.1-wso2v5 Released. org.apache.axis2.transport axis2-transports 1.1.1-wso2v5 Thanks. -- Jagath Ariyarathne Technical Lead WSO2 Inc. http://wso2.com/ Email: jaga...@wso2.com Mob : +94 77 386 7048

Re: [Dev] [VOTE] Release WSO2 Machine Learner 1.1.1 RC1

2016-08-01 Thread Supun Sethunga
[-] Calling off the vote as we have encountered some issues with the ml ui jaggery app. url mappings are broken. We will start a new vote soon. Regards, Supun On Sat, Jul 30, 2016 at 8:30 AM, Supun Sethunga wrote: > Hi Devs, > > This is the 1st Release Candidate of the WSO2

Re: [Dev] [VOTE] Release WSO2 Mesos Artifacts 1.0.0 RC1

2016-08-01 Thread Akila Ravihansa Perera
Verified the following: - License headers using RAT plugin - Checked distribution structure - Tested wso2bps 3.5.1 distributed deployment - Tested wso2am with IS as KM pattern [x] - Stable, go ahead and release On Mon, Aug 1, 2016 at 5:03 PM, Isuru Haththotuwa wrote: >

Re: [Dev] [VOTE] Release WSO2 Mesos Artifacts 1.0.0 RC1

2016-08-01 Thread Isuru Haththotuwa
Verified the following: 1. License headers using RAT plugin 2. Tested the following on mesos: - wso2am 1.10.0 - standalone and distributed deployments - wso2das 3.0.1 - standalone and distributed deployments - wso2cep 4.0.0 - standalone deployment with a smoke test *[x] -

Re: [Dev] App manager REST API issue with MySQL

2016-08-01 Thread Dinusha Senanayaka
Hi Chathura, Is this happen in latest AppM (master or 1.2.0 release)? Also could see space in the path: /mobileapps/admin/android/*Anti Virus 3*/1.2.0 . Can you try without having spaces in the App name. Regards, Dinusha. On Mon, Aug 1, 2016 at 4:31 PM, Chathura Dilan

[Dev] Foundation dependency in UI is under samples

2016-08-01 Thread Sajini De Silva
Hi, Currently we use org.wso2.carbon.uuf.sample.foundation package to get the basic layout of MB product UI (header, footer etc. ). Since this is used for sampling this cannot be used in a production environment. Since this feature is common to all the products in WSO2 is there any plan on

[Dev] App manager REST API issue with MySQL

2016-08-01 Thread Chathura Dilan
Hi All, We are getting following error in EMM after configure it with MySQL 5.5 when adding a mobile app with REST API. TID: [-1234] [] [2016-08-01 10:20:21,492] ERROR {org.wso2.carbon.appmgt.rest.api.publisher.AppsApiService} - Error occurred while creating mobile application : Anti Virus 3

Re: [Dev] Passing values to the Xpath 2.0 function - fn:avg

2016-08-01 Thread Sohani Weerasinghe
According to [1] if I test the distinct-values function,it behaves as explained below: 1. If I use a rest mock service to get the response and then get the distinct values : Rest mock service response: http://example.org/ACC/;> *557 44* *44* Rest API: http://ws.apache.org/ns/synapse;

Re: [Dev] [Architecture] WSO2 Application Server 6.0.0-M3 Released !

2016-08-01 Thread Chanaka Cooray
WSO2 Application Server 6.0.0-M3 Released ! WSO2 Application Server 6.0.0 is the successor of the WSO2 Carbon based Application Server. It is a complete revamp and is based on vanilla Apache Tomcat 8. WSO2 provides a number of features by means of extensions to Apache Tomcat to integrate it with

Re: [Dev] Passing values to the Xpath 2.0 function - fn:avg

2016-08-01 Thread Sohani Weerasinghe
Sohani Weerasinghe Senior Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Mon, Aug 1, 2016 at 1:28 PM, Sohani Weerasinghe wrote: > Hi All, > > It seems, the

Re: [Dev] Is it possible to define a global response header in a MSF4J service

2016-08-01 Thread Thusitha Thilina Dayaratne
Hi Sumedha, You can implement an Interceptor and in the precall you can add the header that you want. e.g. public class TestInterceptor implements Interceptor { @Override public boolean preCall(Request request, Response responder, ServiceMethodInfo serviceMethodInfo) throws Exception {

Re: [Dev] [Vote] Release WSO2 Data Analytics Server (DAS) 3.1.0-RC1

2016-08-01 Thread Niranda Perera
Hi all, [-] Broken - Do not release (explain why) We found several issues while doing further testing. Hence, calling off the vote. On Mon, Aug 1, 2016 at 12:04 PM, Niranda Perera wrote: > Hi Iranga, > > ML features are fully integrated to DAS now. So, it is not required

Re: [Dev] [VOTE] Release WSO2 Governance Registry 5.3.0 RC 1

2016-08-01 Thread Danesh Kuruppu
Hi all, We have encountered two issues [1] and [2] which need to be fixed. We will cancel this vote and call for a RC2. [1] - https://wso2.org/jira/browse/REGISTRY-3857 [2] - https://wso2.org/jira/browse/REGISTRY-3858 Thanks Danesh On Fri, Jul 29, 2016 at 2:54 PM, Rajith Roshan

Re: [Dev] [GSoC Dockerfiles] Meeting minutes

2016-08-01 Thread Abhishek Tiwari
Hi Imesh, Thanks for the feedback. I completely agree with the naming of executable. Unfortunately, go install builds executable using module name and main() has to be inside main module name (based on what I have read so far). A quick search did not provide any solution so I will tackle this

Re: [Dev] Disabling INFO logs per page rendering

2016-08-01 Thread Prabath Abeysekera
[Looping dev@] Folks, please refrain from discussing development related stuff in private. Cheers, Prabath On Mon, Aug 1, 2016 at 3:08 PM, Milan Perera wrote: > +1. > We should have to definitely remove them. > As I remember , this was mistakenly committed by Dilan Aiya for

Re: [Dev] [VOTE] Release WSO2 Enterprise Store 2.1.0 RC 1

2016-08-01 Thread Chanaka Jayasena
Hi Devs, We have identified a security issue which is a blocker for the release. We are closing the vote now and will provide RC2 with the issues fixed. thanks, Chanaka On Fri, Jul 29, 2016 at 5:04 PM, Sameera Medagammaddegedara < samee...@wso2.com> wrote: > Hi Devs, > > WSO2 Enterprise Store

Re: [Dev] [Architecture] [IS] [Analytics] Improvement to use Siddhi streams to send notifications

2016-08-01 Thread Sriskandarajah Suhothayan
HI Indunil Any update on this? Was the provided solution working? We released CEP 4.2-RC1. If we need new features/improvements for this effort, we can incorporate them in the next component release. Regards Suho On Fri, Jul 22, 2016 at 3:10 PM, Sriskandarajah Suhothayan wrote:

Re: [Dev] Is it possible to define a global response header in a MSF4J service

2016-08-01 Thread Sumedha Kodithuwakku
Hi Kasun, In my case I need to set "Access-Control-Allow-Origin" header to every method and it will have a fixed value. Thanks SumedhaS On Mon, Aug 1, 2016 at 2:43 PM, KasunG Gajasinghe wrote: > Hi Sumedha, > > As I see, this is not provided by the JAX-RS 2.0 specification.

Re: [Dev] [GSoC Dockerfiles] Meeting minutes

2016-08-01 Thread Imesh Gunaratne
Hi Abhishek, On Mon, Aug 1, 2016 at 6:15 AM, Abhishek Tiwari < abhishek.tiwari0...@gmail.com> wrote: > Hi Imesh, > > The project is currently structured around standard Golang project created > by eclipse, you can add eclipse plugin, create a new project with existing > sources and it should

Re: [Dev] Is it possible to define a global response header in a MSF4J service

2016-08-01 Thread KasunG Gajasinghe
Hi Sumedha, As I see, this is not provided by the JAX-RS 2.0 specification. If this is set at the class-level, then the header names and values will need to be hard-coded. Can you explain the usecase here? On Mon, Aug 1, 2016 at 2:32 PM, Sumedha Kodithuwakku wrote: > Hi all,

[Dev] Is it possible to define a global response header in a MSF4J service

2016-08-01 Thread Sumedha Kodithuwakku
Hi all, $subject.? I can set a response header within each response as below; Response.status(Response.Status.OK).entity(object).header("Header", "Value").build(); However is it possible to define such a header at global level.? For example like *@Header({ Header", "Value" } public class

Re: [Dev] [DEV][C5] Cannot build product-mb with UUF dependency

2016-08-01 Thread Sajini De Silva
Hi all, The reason for this issue was that handlebar artifact ID is changed to org.wso2.carbon.uuf.renderablecreator.hbs.feature. After changing that, it worked. Thanks On Mon, Aug 1, 2016 at 10:34 AM, Sajini De Silva wrote: > Hi, > >

Re: [Dev] Passing values to the Xpath 2.0 function - fn:avg

2016-08-01 Thread Sohani Weerasinghe
Hi All, It seems, the " Invalid XPapth expression" comes when we use two brackets in the function as below fn:codepoints-to-string(*(*2309, 2358, 2378, 2325*)*) fn:string-join(('a', 'c'), 'bbb') Sohani Weerasinghe Senior Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774

Re: [Dev] [GSOC 16] Initial Project Progress

2016-08-01 Thread Imesh Gunaratne
Hi Osura, It's good to see the blog posts! IMO it would be better if you can start writing documentation in parallel to blog posts, may be using Markdown format in Github. Thanks On Fri, Jul 29, 2016 at 10:49 AM, Osura Rathnayake wrote: > Hi Isuru, > > I'm researching

Re: [Dev] [CARBON] Error after installing web app run time features

2016-08-01 Thread Lakshman Udayakantha
Thanks Bhathiya. I will check with that version. On Sun, Jul 31, 2016 at 1:36 AM, Bhathiya Jayasekara wrote: > Hi Lakshman, > > I also faced the same issue, and could resolve after upgrading > carbon-deployment version to 4.6.2. > > Thanks, > Bhathiya > > On Thu, Jul 28, 2016

[Dev] Passing values to the Xpath 2.0 function - fn:avg

2016-08-01 Thread Sohani Weerasinghe
Hi All, I am validating the Xpath 2.0 functions support in ESB ( please refer [1]) and I am using below configuration in defining 'avg' function (Referred [2]), but it seems I am using the wrong syntax. http://www.w3.org/2005/xpath-functions; xmlns:test="http://test;

Re: [Dev] [Vote] Release WSO2 Data Analytics Server (DAS) 3.1.0-RC1

2016-08-01 Thread Niranda Perera
Hi Iranga, ML features are fully integrated to DAS now. So, it is not required to install any additional features to use the ML functionality ESB analytics is still not released. I think @Nirmal should be able to give a p2 for APIM analytics. Best On Mon, Aug 1, 2016 at 11:54 AM, Iranga

Re: [Dev] [Vote] Release WSO2 Data Analytics Server (DAS) 3.1.0-RC1

2016-08-01 Thread Iranga Muthuthanthri
Would it be possible to have a p2-repo to test the following [i] Install ML features [ii] Install product analytics [ESB, API-M] Added a doc jira to keep track [1] [1]https://wso2.org/jira/browse/DOCUMENTATION-3699 On Sat, Jul 30, 2016 at 3:31 AM, Niranda Perera wrote: >

Re: [Dev] [PC]Unable to change states in lifecycle

2016-08-01 Thread Yasima Dewmini
Hi Thilini, I got the idea. Thank you. Regards, Yasima. On Mon, Aug 1, 2016 at 11:26 AM, Thilini Cooray wrote: > Hi, > > On Mon, Aug 1, 2016 at 11:19 AM, Yasima Dewmini wrote: > >> Hi Thilini, >> >> Only thing I'm doing is changing the permission of the