Re: [Dev] Writing binary data to a file with Jaggery

2015-09-21 Thread Madusanka Premaratne
Hi Dhanushka, In APIM we used FileReader[1] to read imported file from file system. I think you can use the file writer[2] in your case. [1] - https://github.com/wso2/carbon-apimgt/blob/carbon-apimgt-v1.9.0/features/apimgt/org.wso2.carbon.apimgt.publisher.feature/src/main/resources/publisher/site/

Re: [Dev] Writing binary data to a file with Jaggery

2015-09-21 Thread Danushka Fernando
BTW I tried using Blob and Uint8Array interfaces but jaggery says they are not identified. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Sep 22, 2015 at 11:50 AM, Danushka Fernando wrote: > Hi All > How we can do $subject? A

[Dev] Writing binary data to a file with Jaggery

2015-09-21 Thread Danushka Fernando
Hi All How we can do $subject? Any ideas would be appreciated. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [Vote] Release WSO2 Carbon Kernel 4.4.2 RC1

2015-09-21 Thread Niranjan Karunanandham
Hi Kasun, On Tue, Sep 22, 2015 at 11:27 AM, Kasun Indrasiri wrote: > > Hi Nira, > > On Tue, Sep 22, 2015 at 11:16 AM, Niranjan Karunanandham < > niran...@wso2.com> wrote: > >> Hi Kasun, >> >> I went through the JIRAs that was mentioned in the previous mail. Please >> see the comments below: >> >

Re: [Dev] [Vote] Release WSO2 Carbon Kernel 4.4.2 RC1

2015-09-21 Thread Kasun Indrasiri
Hi Nira, On Tue, Sep 22, 2015 at 11:16 AM, Niranjan Karunanandham wrote: > Hi Kasun, > > I went through the JIRAs that was mentioned in the previous mail. Please > see the comments below: > >- >- https://wso2.org/jira/browse/CARBON-14807 - Patch is merged to 4.4.0 >branch, but as per

Re: [Dev] [Vote] Release WSO2 Carbon Kernel 4.4.2 RC1

2015-09-21 Thread Kalpa Welivitigoda
Hi Niranjan/Kasun, On Tue, Sep 22, 2015 at 11:22 AM, Niranjan Karunanandham wrote: > Hi Ishara, > > On Tue, Sep 22, 2015 at 11:16 AM, Niranjan Karunanandham < > niran...@wso2.com> wrote: > >> Hi Kasun, >> >> I went through the JIRAs that was mentioned in the previous mail. Please >> see the comm

Re: [Dev] [carbon-kernel-5.0.0] Carbon stop command not working in sh script

2015-09-21 Thread Kasun Indrasiri
Hi Aruna, Will you be able to provide some insight.. We need this capability to automate perf-testing of the C5 based servers. So, would be great if we can have a solution soon. Thanks, Kasun. On Tue, Sep 22, 2015 at 10:37 AM, Aruna Karunarathna wrote: > Hi Bhanuka, > > Yes I was able to repro

Re: [Dev] [Vote] Release WSO2 Carbon Kernel 4.4.2 RC1

2015-09-21 Thread Niranjan Karunanandham
Hi Ishara, On Tue, Sep 22, 2015 at 11:16 AM, Niranjan Karunanandham wrote: > Hi Kasun, > > I went through the JIRAs that was mentioned in the previous mail. Please > see the comments below: > >- >- https://wso2.org/jira/browse/CARBON-14807 - Patch is merged to 4.4.0 >branch, but as p

Re: [Dev] [Vote] Release WSO2 Carbon Kernel 4.4.2 RC1

2015-09-21 Thread Niranjan Karunanandham
Hi Kasun, I went through the JIRAs that was mentioned in the previous mail. Please see the comments below: - - https://wso2.org/jira/browse/CARBON-14807 - Patch is merged to 4.4.0 branch, but as per the comment from Sandapa, the patch does not solve the issue completely. - https://

Re: [Dev] [carbon-kernel-5.0.0] Carbon stop command not working in sh script

2015-09-21 Thread Bhanuka Dissanayake
Hi Aruna, My mentor asked me to look into it more before creating a jira :) Regards, Bhanuka On Tue, Sep 22, 2015 at 10:37 AM, Aruna Karunarathna wrote: > Hi Bhanuka, > > Yes I was able to reproduce the same. Can you create a jira for this?.. > > Regards, > Aruna > > On Tue, Sep 22, 2015 at 10

Re: [Dev] [carbon-kernel-5.0.0] Carbon stop command not working in sh script

2015-09-21 Thread Aruna Karunarathna
Hi Bhanuka, Yes I was able to reproduce the same. Can you create a jira for this?.. Regards, Aruna On Tue, Sep 22, 2015 at 10:32 AM, Bhanuka Dissanayake wrote: > Hi, > > I am using the "wso2carbon-kernel-5.0.0-SNAPSHOT" pack , and have tried > to start and stop the server demonically. The star

Re: [Dev] h2 databses are not created while running a local setup with -Dsetup

2015-09-21 Thread Danushka Fernando
Did you deleted the repository/database folder? AFAIR you have to delete just the content of it. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Sep 22, 2015 at 10:13 AM, Bimali Dayananda wrote: > Hi, > > I deleted all the h2

[Dev] [carbon-kernel-5.0.0] Carbon stop command not working in sh script

2015-09-21 Thread Bhanuka Dissanayake
Hi, I am using the "wso2carbon-kernel-5.0.0-SNAPSHOT" pack , and have tried to start and stop the server demonically. The start command is working but the stop command gives the following error. cat: /home/boauser/wso2gw/perf/wso2carbon-kernel-5.0.0-SNAPSHOT/wso2carbon.pid: No such file or direct

[Dev] MIME types of sequence templates and endpoint templates

2015-09-21 Thread Kavith Lokuhewage
Hi, I am working on[1] and need to verify $subject. To fix this, I am going to use below MIME types separately for sequence templates and endpoint templates . Sequence Templates : application/vnd.wso2.template Endpoint Templates : application/vnd.wso2.template.endpoint Are these MIME types the c

Re: [Dev] WSO2 Docker containers

2015-09-21 Thread Imesh Gunaratne
[+ WSO2 Dev] On Mon, Sep 21, 2015 at 9:03 PM, John Hawkins wrote: > > I'm trying to run/stop/start the container and trying to keep the data > that I had put into the container. I can't seem to get the container to > start again once I've stopped it. it looks like it's started in docker ps > but

[Dev] h2 databses are not created while running a local setup with -Dsetup

2015-09-21 Thread Bimali Dayananda
Hi, I deleted all the h2 databases in the local setup and tried to run it with -Dsetup. But the databases in repository/database are not created. Any idea about this issue? Thanks. -- Bimali Dayananda Intern-Software Engineering Mobile : +94(77) 571 6618 bim...@wso2.com

Re: [Dev] [VOTE] Release WSO2 ML 1.0.0 RC2

2015-09-21 Thread Maheshakya Wijewardena
Hi, I've tested the following. No issues encountered. - DAS table import - DAS as a Spark cluster - External Spark cluster - ML with MySQL db [x] Stable - go ahead and release Best regards, On Mon, Sep 21, 2015 at 5:30 PM, Nirmal Fernando wrote: > > > On Mon, Sep 21, 2015

Re: [Dev] [CEP] How to extract 24H formatted hour value from a milliseconds time stamp using Siddhi?

2015-09-21 Thread Grainier Perera
Hi, According to the "ExtractAttributesFunctionExtension.java" of Siddhi shows that; if (unit.equals(TimeExtensionConstants.EXTENSION_TIME_UNIT_YEAR)) { > returnValue = cal.get(Calendar.YEAR); > > } else if (unit.equals(TimeExtensionConstants.EXTENSION_TIME_UNIT_MONTH)) { > returnValue =

[Dev] [CEP] How to extract 24H formatted hour value from a milliseconds time stamp using Siddhi?

2015-09-21 Thread Grainier Perera
Hi, I'm trying to extract 'hour' from a millisecond time stamp using the below method of Siddhi time extension which is mentioned on [1 ]. extract( timestampInMilliseconds, unit) > My test cases as follows; 1. ts =

Re: [Dev] [Greg 5.0.0 Beta] Missing Filter/Handler in Registry.xml (org.wso2.jaggery.scxml.registry.handlers.JaggeryExecutorHandler)

2015-09-21 Thread Shafreen Anfar
Hi Guys, It seems this is still missing in GA pack. Without this changing permission using life-cycle would not work :( On Mon, Aug 31, 2015 at 2:04 PM, Shafreen Anfar wrote: > Hi All, > > It seems following handler needs be added Registry.xml as it's there in > ES' registry.xml > > class="org

Re: [Dev] [PPAAS] Error when deploying the available samples

2015-09-21 Thread Gayan Gunarathne
This is now fixed in Stratos 4.1.x branch and that fix will be available in PPaaS alpha release. Thanks, Gayan On Thu, Sep 17, 2015 at 3:58 PM, Gayan Gunarathne wrote: > Getting the following exception when deploying the ESB 4.8.1 on Kubernetes > cluster with Stratos 4.1.x branch. Seems this

Re: [Dev] [VOTE] Release WSO2 ML 1.0.0 RC2

2015-09-21 Thread Nirmal Fernando
On Mon, Sep 21, 2015 at 4:12 PM, Manorama Perera wrote: > I've tested the following and found no issues. > >- HDFS support + HDFS sample >- CEP ML extension >- ESB Predict mediator >- Model usage Java sample > > [x] Stable - go ahead and release > > Thanks. > > On Mon, Sep 21, 201

Re: [Dev] [VOTE] Release WSO2 ML 1.0.0 RC2

2015-09-21 Thread Manorama Perera
I've tested the following and found no issues. - HDFS support + HDFS sample - CEP ML extension - ESB Predict mediator - Model usage Java sample [x] Stable - go ahead and release Thanks. On Mon, Sep 21, 2015 at 4:08 PM, Nirmal Fernando wrote: > [x] Stable > > On Mon, Sep 21, 2015 a

Re: [Dev] [VOTE] Release WSO2 ML 1.0.0 RC2

2015-09-21 Thread CD Athuraliya
Hi, I tested following functionalities with this pack. No issues observed. - Basic ML UI workflow - Samples - Email support - Large dataset test - Model publish to registry - Model download - Prediction from file [x] Stable - go ahead and release On Mon, Sep 21, 2015 at 4:0

Re: [Dev] [VOTE] Release WSO2 ML 1.0.0 RC2

2015-09-21 Thread Nirmal Fernando
[x] Stable On Mon, Sep 21, 2015 at 12:11 PM, CD Athuraliya wrote: > Hi Devs, > > This is the second release candidate of WSO2 ML 1.0.0. > > This release fixes the following issues: > > ML-1.0.0-FixedIssues > > Please download, test and vote. Vote will

Re: [Dev] Getting error while installing features to IS 5.0.0 pack using pom

2015-09-21 Thread Krishantha Samaraweera
Hi all, Any chance to look into this issue ? Thanks, Krishantha. On Mon, Sep 14, 2015 at 11:11 AM, Dinusha Boteju wrote: > Hi, > > Sure, I'll look into this and get back to you. > > Regards, > Dinusha > > On Mon, Sep 14, 2015 at 11:08 AM, Niranjan Karunanandham < > niran...@wso2.com> wrote: >

Re: [Dev] [DevStudio][ESB] Acceptable transports for a secure proxy

2015-09-21 Thread Rajeevan Vimalanathan
Thanks Isuru for the explanation! It's clear now. Thanks, Rajeevan On Mon, Sep 21, 2015 at 2:42 PM, Isuru Udana wrote: > Hi Rajeevan, > > Proxy can contain both http and https transports depending on the security > scenario. For an example UTOverTransport case only https is allowed and for > sc

Re: [Dev] [DevStudio][ESB] Acceptable transports for a secure proxy

2015-09-21 Thread Isuru Udana
Hi Rajeevan, Proxy can contain both http and https transports depending on the security scenario. For an example UTOverTransport case only https is allowed and for scenarios like SignOnly etc, both http and https should be there. On Mon, Sep 21, 2015 at 2:24 PM, Rajeevan Vimalanathan wrote:

[Dev] [DevStudio][ESB] Acceptable transports for a secure proxy

2015-09-21 Thread Rajeevan Vimalanathan
Hi, The default transports for a secure proxy created through Developer Studio are HTTP and HTTPS. And there is a public JIRA [1] mentioning that only HTTPS transport should be allowed for a secure proxy. But when we create a secure proxy through ESB management console, the default transport value

Re: [Dev] [APIM] APIM 1.10.X Build failure

2015-09-21 Thread Irham Iqbal
Hi All, It solved by building repo carbon-apimgt branch release-1.10.x Thanks, Iqbal On Mon, Sep 21, 2015 at 1:40 PM, Madusanka Premaratne wrote: > Hi Iqbal, > As Udara mentioned you need to build, carbon-apimgt[1] first. The > menti

Re: [Dev] [APIM] APIM 1.10.X Build failure

2015-09-21 Thread Madusanka Premaratne
Hi Iqbal, As Udara mentioned you need to build, carbon-apimgt[1] first. The mentioned product-apim needs components and features of the version 4.3.0-SNAPSHOT, which are not released yet. So please build carbon-apimgt first. [1] - https://github.com/wso2/carbon-apimgt/tree/release-1.10.x Thanks,

Re: [Dev] [APIM] APIM 1.10.X Build failure

2015-09-21 Thread Udara Rathnayake
try building https://github.com/wso2/carbon-apimgt/ repository first. I think release-1.10.x is the branch you have to build. This is where we have apim related components/features. On Mon, Sep 21, 2015 at 1:12 PM, Irham Iqbal wrote: > Hi, > > When I am trying to build apim git repo[1] 1.10.x br

[Dev] [APIM] APIM 1.10.X Build failure

2015-09-21 Thread Irham Iqbal
Hi, When I am trying to build apim git repo[1] 1.10.x branch I am getting the following exception. Any ideas on this ? [INFO] WSO2 Stratos API Manager - Deployment Features ... SUCCESS [0.431s] [INFO] WSO2 API Manager - P2 Profile Generation Parent ... SUCCESS [0.028s] [INFO] WSO2 API Manager

Re: [Dev] [Vote] Release WSO2 Carbon Kernel 4.4.2 RC1

2015-09-21 Thread Ramith Jayasinghe
do we have a fix for https://wso2.org/jira/browse/MB-1326 ? On Fri, Sep 18, 2015 at 4:51 PM, Manuri Amaya Perera wrote: > Hi Kasun, > > Noted. > > Thank you. > > On Fri, Sep 18, 2015 at 2:47 PM, Kasun Indrasiri wrote: >> >> Hi Manuri, >> >> We don't have an immediate requirement to have these fi

Re: [Dev] WSO2 Carbon Metrics UI OSGi Fragment Bundle issue

2015-09-21 Thread Isuru Perera
Hi Kishanthan, We compared and the only difference we noticed is in the bundle name. Other than that we didn't do any OSGi level debugging and that's why we need some help from OSGi experts to identify the real issue in our Fragment Bundles. On Tue, Sep 15, 2015 at 1:35 PM, Kishanthan Thangarajah