Re: [Dev] Releasing Carbon Multitenancy

2015-08-06 Thread Supun Malinga
On Wed, Aug 5, 2015 at 9:14 PM, Supun Malinga wrote: > Hi, > > On Wed, Aug 5, 2015 at 12:59 PM, Prabath Ariyarathna > wrote: > >> Hi Supun. >> >> I did small changes on PR to fix the few issues existing in the URL >> validation. Please check the new changes. >> >> Eg:- >> http://wso2s-MacBook-Pr

[Dev] [PPaaS][4.1.0 Beta] VM puppet modules

2015-08-06 Thread Anuruddha Liyanarachchi
Hi Devs, I am currently working on $subject and following is the proposed puppet module structure. Please note that esb is an example product cartridge reference. *Manifests:* base*.*pp- Contains all the mandatory parameters default*.*pp - Contains default setting for default cartridge an

[Dev] [ ESB 4.8.0 ] How to parse a String to JSON within script mediator

2015-08-06 Thread Hasitha Amal De Silva
Hi, Whats the best way to do $subject ? The primitive way is to use var obj = eval("(" + jsonStr + ')'); but thats vulnerable to executing anything other than simple JSON. I did find a lot of samples using JSON.parse(jsonStr) But when trying this out, ESB fails to identify JSON module within

Re: [Dev] Error building carbon-identity with carbon-commons 4.5.0

2015-08-06 Thread Supun Malinga
thanks Hasintha On Fri, Aug 7, 2015 at 11:22 AM, Hasintha Indrajee wrote: > This is fixed with [1] > > [1] https://github.com/wso2/carbon-identity/pull/761 > > On Fri, Aug 7, 2015 at 1:20 AM, Supun Malinga wrote: > >> Hi, >> >> Please have a look. Tried with carbon-identity master branch. >> >>

Re: [Dev] Error building carbon-identity with carbon-commons 4.5.0

2015-08-06 Thread Hasintha Indrajee
This is fixed with [1] [1] https://github.com/wso2/carbon-identity/pull/761 On Fri, Aug 7, 2015 at 1:20 AM, Supun Malinga wrote: > Hi, > > Please have a look. Tried with carbon-identity master branch. > > [INFO] Compiling 6 source files to > /home/ubuntu/builds/carbon-identity/components/provis

[Dev] Fwd: [ESB][Pass Through Proxy] Added pass through proxy services are not visible in the lsit

2015-08-06 Thread Sachith Punchihewa
Hello, Permanent Solution found for the above problem. Reason for the problem : Error in loading related wsdl file for the service. log : [2015-08-05 23:03:40,488] DEBUG - SynapsePropertiesLoader Retrieving synapse properties from the cache [2015-08-05 23:03:40,491] DEBUG - SynapsePropertiesLoa

Re: [Dev] [DSS] How to load tenant axis configurations without invoking the tenant service.

2015-08-06 Thread Madhawa Gunasekara
Hi Kishanthan, I will move code into the core, thanks for pointing it. Thanks, Madhawa On Thu, Aug 6, 2015 at 10:17 PM, Kishanthan Thangarajah wrote: > Why do you want to call this within a webapp? > > On Thu, Aug 6, 2015 at 9:00 PM, Madhawa Gunasekara > wrote: > >> Hi Kasun, >> >> Can I load

[Dev] [Caramel] Rendering HTML using Caramel in client side

2015-08-06 Thread Sajith Ariyarathna
Hi All, I want to update a portion of the web page using Caramel. Necessary data (JSON) is obtained through an AJAX call. How do I accomplish this task? Any examples will be very helpful. PS: caramel.handlebars.client.js [1] and handlebars-1.1.2.js [2] acripts are included in the page. Thanks.

[Dev] [Architecture] WSO2 ESB v4.9.0 Beta Released!

2015-08-06 Thread Jagath Sisirakumara Ariyarathne
*WSO2 ESB 4.9.0-BETA Released* ESB team is pleased to announce the release of the WSO2 ESB 4.9.0-BETA . This release includes following bug-fixes, improvements and features. Bugs - [ESBJAVA-1148 ] - [Scheduled Tasks] UI issues if cron expression i

[Dev] Error building carbon-identity with carbon-commons 4.5.0

2015-08-06 Thread Supun Malinga
Hi, Please have a look. Tried with carbon-identity master branch. [INFO] Compiling 6 source files to /home/ubuntu/builds/carbon-identity/components/provisioning/org.wso2.carbon.identity.provisioning.connector.salesforce/target/classes [INFO] ---

[Dev] carbon-mediation 4.4.3 Released !

2015-08-06 Thread Ravindra Ranwala
Hi All, org.wso2.carbon.mediation version 4.4.3 was released. org.wso2.carbon.mediation carbon-mediation 4.4.3 Thanks & Regards, -- Ravindra Ranwala Software Engineer WSO2, Inc: http://wso2.com

[Dev] Synapse 2.1.3-wso2v6 Released!

2015-08-06 Thread Jagath Sisirakumara Ariyarathne
Hi All, org.apache.synapse version 2.1.3-wso2v6 released. org.apache.synapse Apache-Synapse 2.1.3-wso2v6 Thanks. -- Jagath Ariyarathne Technical Lead WSO2 Inc. http://wso2.com/ Email: jaga...@wso2.com Mob : +94 77 386 7048 ___ Dev mailing list Dev@w

Re: [Dev] ConcurrentModificationException at server startup (https://wso2.org/jira/browse/APIMANAGER-2241)

2015-08-06 Thread Kishanthan Thangarajah
Yes, you will mostly get into this error once because despite the error the deployment schedular task will run continuously. But IMO instead of ignoring this exception (which will be logged), why don't we try out the 2nd solution (get a clone of the deployer map and use that with iteration) suggest

[Dev] Wso2-commons-vfs 2.0-wso2v11 Released !

2015-08-06 Thread Ravindra Ranwala
Hi All, Wso2-commons-vfs version 2.0-wso2v11 Released. org.apache.commons commons-vfs2-project 2.0-wso2v11 Thanks & Regards, -- Ravindra Ranwala Software Engineer WSO2, Inc: http://wso2.com

Re: [Dev] [DSS] How to load tenant axis configurations without invoking the tenant service.

2015-08-06 Thread Kishanthan Thangarajah
Why do you want to call this within a webapp? On Thu, Aug 6, 2015 at 9:00 PM, Madhawa Gunasekara wrote: > Hi Kasun, > > Can I load the tenantConfiguation from the web app using above mentioned > approach ? > > Thanks, > Madhawa > > On Thu, Aug 6, 2015 at 1:59 PM, Madhawa Gunasekara > wrote: > >

Re: [Dev] ConcurrentModificationException at server startup (https://wso2.org/jira/browse/APIMANAGER-2241)

2015-08-06 Thread Amila De Silva
Hi, This issue has been observed again with the last release. Intention of this mail is to come to a conclusion about this issue, since it has been re-opened several times despite the fixes provided. While having an offline discussion with KasunG and Supun, got to know that this happens when Depl

Re: [Dev] Pause/restart when processing a large file

2015-08-06 Thread Malaka Silva
Hi Rudy, With [1] you can retrieve the processing file name, and with [2] you can set the response (out) file name. [1] [2] On Thu, Aug 6, 2015 at 2:29 PM, Rudy Hilado wrote: > Malaka, > > Thanks for the information! > > When splitting the larger file into smaller files, how do you create t

Re: [Dev] [DSS] How to load tenant axis configurations without invoking the tenant service.

2015-08-06 Thread Madhawa Gunasekara
Hi Kasun, Can I load the tenantConfiguation from the web app using above mentioned approach ? Thanks, Madhawa On Thu, Aug 6, 2015 at 1:59 PM, Madhawa Gunasekara wrote: > Hi Kasun, > > Thanks for the quick reply, will try it. > > Regards, > Madhawa > > On Thu, Aug 6, 2015 at 1:52 PM, KasunG Gaj

[Dev] rampart-1.6.1-wso2v16 released to staging

2015-08-06 Thread Hasintha Indrajee
Hi Kasun, Please review and release to public [1]. [1] http://maven.wso2.org/nexus/content/repositories/orgapacherampart-003/ -- Hasintha Indrajee Software Engineer WSO2, Inc. Mobile:+94 771892453 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-

[Dev] Axis2 Transport 1.1.0-wso2v15 Released!

2015-08-06 Thread Jagath Sisirakumara Ariyarathne
Hi All, Axis2 Transport version 1.1.0-wso2v15 Released. org.apache.axis2.transport axis2-transports 1.1.0-wso2v15 Thanks. -- Jagath Ariyarathne Technical Lead WSO2 Inc. http://wso2.com/ Email: jaga...@wso2.com Mob : +94 77 386 7048 ___ Dev mailing l

Re: [Dev] Status on JMS performance of WSO2 CEP

2015-08-06 Thread Rajeev Sampath
Hi, I've done the tests added the results to the jira [1]. [1] https://wso2.org/jira/browse/CEP-1109 Thanks Rajeev On Tue, Aug 4, 2015 at 9:13 AM, Sriskandarajah Suhothayan wrote: > Hi Rajeev > > Whats the progress on $Subject. > > Regards > Suho > > -- > > *S. Suhothayan* > Technical Lead

Re: [Dev] Engage org.apache.catalina.filters.HttpHeaderSecurityFilter to all the web apps - including the Management Console

2015-08-06 Thread Supun Malinga
Hi Kishanthan, On Thu, Aug 6, 2015 at 5:47 PM, Kishanthan Thangarajah wrote: > Ok. Targeting for next kernel release. For already released products, they > can enable this by editing the global web.xml. > > @SupunM, can we include this for next AS release? > Since this is in kernel we cannot in

[Dev] Does anyone needs carbon-commons/components/data-sources

2015-08-06 Thread Supun Malinga
Hi, $subject?. [1] is not included in the build and wasn't released so far. As per Anjana its the old DS component. I'm going to remove it from commons. If anyone still needs it pls holler. [1] https://github.com/wso2/carbon-commons/tree/master/components/data-sources

Re: [Dev] WSO2 Committers += Anuruddha Liyanarachchi

2015-08-06 Thread Chalitha Waldeniyage
Congratulations Anuruddha !!! On Wed, Aug 5, 2015 at 4:45 PM, Maheshakya Wijewardena wrote: > Congratulations! > > On Wed, Aug 5, 2015 at 2:03 PM, Dilan Udara Ariyaratne > wrote: > >> Congratulations, Anuruddha !!! >> >> >> *Dilan U. Ariyaratne* >> Software Engineer >> WSO2 Inc.

Re: [Dev] Engage org.apache.catalina.filters.HttpHeaderSecurityFilter to all the web apps - including the Management Console

2015-08-06 Thread Kishanthan Thangarajah
Ok. Targeting for next kernel release. For already released products, they can enable this by editing the global web.xml. @SupunM, can we include this for next AS release? On Thu, Aug 6, 2015 at 5:35 PM, Prabath Siriwardena wrote: > Yes.. please engage it by default.. > > Thanks & regards, > -P

Re: [Dev] Default sessionIdLength for webapps

2015-08-06 Thread Supun Malinga
Fixed.. On Thu, Aug 6, 2015 at 3:55 PM, Prabath Siriwardena wrote: > https://wso2.org/jira/browse/CARBON-15352 > > Thanks & regards, > -Prabath > > On Thu, Aug 6, 2015 at 3:52 PM, Supun Malinga wrote: > >> Please create a jira and assign to me. I'll fix it for next >> carbon-deployment release.

Re: [Dev] Engage org.apache.catalina.filters.HttpHeaderSecurityFilter to all the web apps - including the Management Console

2015-08-06 Thread Prabath Siriwardena
Yes.. please engage it by default.. Thanks & regards, -Prabath On Thu, Aug 6, 2015 at 5:28 PM, Kishanthan Thangarajah wrote: > Created a jira for this : https://wso2.org/jira/browse/CARBON-15354 > > On Thu, Aug 6, 2015 at 5:22 PM, Kishanthan Thangarajah < > kishant...@wso2.com> wrote: > >> We c

Re: [Dev] Engage org.apache.catalina.filters.HttpHeaderSecurityFilter to all the web apps - including the Management Console

2015-08-06 Thread Kishanthan Thangarajah
Created a jira for this : https://wso2.org/jira/browse/CARBON-15354 On Thu, Aug 6, 2015 at 5:22 PM, Kishanthan Thangarajah wrote: > We can do this via the global web.xml at > $CARBON_HOME/repository/conf/tomcat/web.xml. > Then it will be available for all the webapps (including mgt console). >

Re: [Dev] Engage org.apache.catalina.filters.HttpHeaderSecurityFilter to all the web apps - including the Management Console

2015-08-06 Thread Kishanthan Thangarajah
We can do this via the global web.xml at $CARBON_HOME/repository/conf/tomcat/web.xml. Then it will be available for all the webapps (including mgt console). Should this be added as a default filter? Refer : https://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#HTTP_Header_Security_Filter On

[Dev] [ES] It takes considerable amount of time to start the ES 2.0 sever for the first time

2015-08-06 Thread Chankami Maddumage
Hi ES Team, As mention in [1] it takes considerable amount of time to start the sever for the first time. We need to clarify that this issue cause due to the amount of data that is logged into the registry at the initial start up. As an example we can see that disabled asset type details are l

Re: [Dev] [Orbit] Adding Storm 0.9.5 and Disruptor 3.3.2

2015-08-06 Thread Sriskandarajah Suhothayan
Thanks On Thu, Aug 6, 2015 at 4:29 PM, Maheshika Goonetilleke wrote: > Hi Suho > > Both have been successfully deployed. > > On Thu, Aug 6, 2015 at 4:28 PM, Sriskandarajah Suhothayan > wrote: > >> Hi, >> >> Can you please review and release Storm 0.9.5 and Disruptor 3.3.2 with >> wso2v1 version

Re: [Dev] [Orbit] Adding Storm 0.9.5 and Disruptor 3.3.2

2015-08-06 Thread Maheshika Goonetilleke
Hi Suho Both have been successfully deployed. On Thu, Aug 6, 2015 at 4:28 PM, Sriskandarajah Suhothayan wrote: > Hi, > > Can you please review and release Storm 0.9.5 and Disruptor 3.3.2 with > wso2v1 versions[1]. > > Best regards, > > [1] > *https://github.com/wso2/orbit/commit/ba0a7ea38de2b3

[Dev] [Orbit] Adding Storm 0.9.5 and Disruptor 3.3.2

2015-08-06 Thread Sriskandarajah Suhothayan
Hi, Can you please review and release Storm 0.9.5 and Disruptor 3.3.2 with wso2v1 versions[1]. Best regards, [1] *https://github.com/wso2/orbit/commit/ba0a7ea38de2b3c5e5de905695f6f79e9165dcce * -- *S. Suhothayan*

Re: [Dev] Default sessionIdLength for webapps

2015-08-06 Thread Prabath Siriwardena
https://wso2.org/jira/browse/CARBON-15352 Thanks & regards, -Prabath On Thu, Aug 6, 2015 at 3:52 PM, Supun Malinga wrote: > Please create a jira and assign to me. I'll fix it for next > carbon-deployment release. > > thanks, > > On Thu, Aug 6, 2015 at 3:50 PM, Prabath Siriwardena > wrote: > >>

Re: [Dev] Default sessionIdLength for webapps

2015-08-06 Thread Supun Malinga
Please create a jira and assign to me. I'll fix it for next carbon-deployment release. thanks, On Thu, Aug 6, 2015 at 3:50 PM, Prabath Siriwardena wrote: > Please set the default value of *sessionIdLength* to 128. > > Thanks & regards, > -Prabath > > On Thu, Oct 9, 2014 at 8:44 PM, Prabath Siri

Re: [Dev] Default sessionIdLength for webapps

2015-08-06 Thread Prabath Siriwardena
Please set the default value of *sessionIdLength* to 128. Thanks & regards, -Prabath On Thu, Oct 9, 2014 at 8:44 PM, Prabath Siriwardena wrote: > Any reason why we should stick to 16..? > > Thanks & regards, > -Prabath > > On Thu, Oct 9, 2014 at 8:42 PM, Afkham Azeez wrote: > >> Can you keep i

[Dev] Engage org.apache.catalina.filters.HttpHeaderSecurityFilter to all the web apps - including the Management Console

2015-08-06 Thread Prabath Siriwardena
Can we please do the $subject ? Thanks & Regards, Prabath Twitter : @prabath LinkedIn : http://www.linkedin.com/in/prabathsiriwardena Mobile : +1 650 625 7950 http://blog.facilelogin.com http://blog.api-security.org ___ Dev mailing list Dev@wso2.org

[Dev] Releasing carbon-registry repo 4.4.5

2015-08-06 Thread Shazni Nazeer
Hi all, We are to release carbon-registry 4.4.5. You can find the staging repo at [1]. Could you'll update the registry version to 4.4.5 with the staging repo and verify this? We'll release carbon-governance 4.5.2 after carbon-registry 4.4.5 gets released. [1] http://maven.wso2.org/nexus/content

Re: [Dev] [Orbit] Adding Spark MLlib 1.4.1

2015-08-06 Thread Maheshika Goonetilleke
Hi Both The orbit bundles are deployed successfully. On Thu, Aug 6, 2015 at 3:16 PM, Maheshakya Wijewardena wrote: > Thanks Niranjan. > > On Thu, Aug 6, 2015 at 3:04 PM, Niranjan Karunanandham > wrote: > >> Hi Maheshakya, >> >> I have merged the PR. >> >> Regards, >> Nira >> >> On Thu, Aug

Re: [Dev] [Orbit] Adding Spark MLlib 1.4.1

2015-08-06 Thread Maheshakya Wijewardena
Thanks Niranjan. On Thu, Aug 6, 2015 at 3:04 PM, Niranjan Karunanandham wrote: > Hi Maheshakya, > > I have merged the PR. > > Regards, > Nira > > On Thu, Aug 6, 2015 at 2:57 PM, Niranjan Karunanandham > wrote: > >> Noted! >> >> On Thu, Aug 6, 2015 at 2:13 PM, KasunG Gajasinghe >> wrote: >> >>>

Re: [Dev] [Orbit] Adding Spark MLlib 1.4.1

2015-08-06 Thread Niranjan Karunanandham
Hi Maheshakya, I have merged the PR. Regards, Nira On Thu, Aug 6, 2015 at 2:57 PM, Niranjan Karunanandham wrote: > Noted! > > On Thu, Aug 6, 2015 at 2:13 PM, KasunG Gajasinghe wrote: > >> Hi Niranjan, >> >> Can you review this? >> >> Thanks. >> >> On Thu, Aug 6, 2015 at 1:59 PM, Maheshakya Wi

Re: [Dev] [Orbit] Adding Spark MLlib 1.4.1

2015-08-06 Thread Niranjan Karunanandham
Noted! On Thu, Aug 6, 2015 at 2:13 PM, KasunG Gajasinghe wrote: > Hi Niranjan, > > Can you review this? > > Thanks. > > On Thu, Aug 6, 2015 at 1:59 PM, Maheshakya Wijewardena < > mahesha...@wso2.com> wrote: > >> Hi, >> >> Can you please review and merge this PR[1] for wso2v1 of the Spark mllib >

Re: [Dev] Pause/restart when processing a large file

2015-08-06 Thread Rudy Hilado
Malaka, Thanks for the information! When splitting the larger file into smaller files, how do you create the smaller files with a name based on the parent file? For example, if the source file is named “documentABC.txt”, I would like the smaller files to be named “documentABC_0001.txt” and “do

Re: [Dev] InMemory message store losing namespace

2015-08-06 Thread John Hawkins
Hi, Created a JIRA [1] for this problem - many thanks. [1] https://wso2.org/jira/browse/ESBJAVA-4028 John Hawkins Director: Solutions Architecture On Wed, Aug 5, 2015 at 3:27 PM, John Hawkins wrote: > Hi Folks, > > Got an interesting case here - can some one help please? > > I'm using a Messag

Re: [Dev] [Orbit] Adding Spark MLlib 1.4.1

2015-08-06 Thread KasunG Gajasinghe
Hi Niranjan, Can you review this? Thanks. On Thu, Aug 6, 2015 at 1:59 PM, Maheshakya Wijewardena wrote: > Hi, > > Can you please review and merge this PR[1] for wso2v1 of the Spark mllib > 1.4.1. > The latest patch release addition of Spark 1.4.1 has not included MLlib, > so I have added that.

Re: [Dev] [DSS] How to load tenant axis configurations without invoking the tenant service.

2015-08-06 Thread Madhawa Gunasekara
Hi Kasun, Thanks for the quick reply, will try it. Regards, Madhawa On Thu, Aug 6, 2015 at 1:52 PM, KasunG Gajasinghe wrote: > Hi Madhawa, > > When you call TenantAxisUtils#getTenantConfigurationContext, it will load > the tenant if it's not loaded already. You can get the tenant > AxisConfigu

[Dev] [Orbit] Adding Spark MLlib 1.4.1

2015-08-06 Thread Maheshakya Wijewardena
Hi, Can you please review and merge this PR[1] for wso2v1 of the Spark mllib 1.4.1. The latest patch release addition of Spark 1.4.1 has not included MLlib, so I have added that. Best regards, [1] https://github.com/wso2/orbit/pull/116 -- Pruthuvi Maheshakya Wijewardena Software Engineer WSO2 :

Re: [Dev] [DSS] How to load tenant axis configurations without invoking the tenant service.

2015-08-06 Thread KasunG Gajasinghe
Hi Madhawa, When you call TenantAxisUtils#getTenantConfigurationContext, it will load the tenant if it's not loaded already. You can get the tenant AxisConfiguration from the tenant ConfigurationContext. On Thu, Aug 6, 2015 at 12:35 PM, Madhawa Gunasekara wrote: > Hi Devs, > > I have requiremen

Re: [Dev] [Jaggery] Retrieving public IP of the HTTP Servlet Transport

2015-08-06 Thread Rasika Perera
Hi Ruwan, Thanks for the quick info. When given environment property is set "-Dserver.host"; all Jaggery "get()" XMLHTTPRequest wrapper calls for JAX-RS deployed on the same server fails with a "Connection timed out". [2015-08-05 18:29:59,509] ERROR > {org.jaggeryjs.hostobjects.xhr.XMLHttpRequest

Re: [Dev] How to add a Servlet in DSS

2015-08-06 Thread Madhawa Gunasekara
Hi All, Please refer [1] [1] [Dev][DSS] How to load tenant axis configurations without invoking the tenant service Thanks, Madhawa On Thu, Aug 6, 2015 at 7:14 AM, Shashika Karunatilaka < shashikabo...@gmail.com> wrote: > Hi Madhawa, > > AFAIK if you want the same web app in each tenant you hav

[Dev] [Arduino] Connection Time-Out

2015-08-06 Thread Shabir Mohamed
Hi, I am using a CC3000 Wifi-Sheild to connect an Arduino to our wifi-network and push some data to our IoT platform. The server returns just a *"204 No Content"* upon receiving device data. The code can be found at [1]. However, one issue we faced was that the Wifi-Sheild fails after a couple of

[Dev] [APIM] Throttling Tiers

2015-08-06 Thread Shabir Mohamed
Hi, According to our APIM docs[1], throttling is handled in the following order: *API-Level* *Application-Level * *Resource-Level*. As per my understanding the purpose of an Application is to group a set of similar user-subscribed APIs. Then shouldn't we be checking for the Application-Level fi

[Dev] [DSS] How to load tenant axis configurations without invoking the tenant service.

2015-08-06 Thread Madhawa Gunasekara
Hi Devs, I have requirement to support multi-tenancy for a particular service type (OData). tenant users can expose their datasources as OData service. We handle REST ODATA requests using simple servlet. In this servlet we find particular service handler for the each service and we process them. D

[Dev] Please review and merge PR for IDENTITY-3488

2015-08-06 Thread Indunil Upeksha Rathnayake
Hi, Please $subject. The PR [1] as the fix for the public JIRA [2]. [1] https://github.com/wso2/carbon-identity/pull/751 [2] https://wso2.org/jira/browse/IDENTITY-3488 Thanks and Regards -- Indunil Upeksha Rathnayake Software Engineer | WSO2 Inc Emailindu...@wso2.com ___