Re: [Dev] Getting involved in Governance Registry development - Building from sources

2015-12-07 Thread Harsha Kumara
Hi Arnaud, You no need to build those dependent repositories. When you building product-greg it will take these jars from maven repositories. But if you need to refer the source code or debug then you can refer those repositories. These are just two main repositories for product-greg. But

Re: [Dev] [DAS] Sending Notifications Through Published Events Using Spark DAS sample is not displaying data?

2015-12-07 Thread Roshan Wijesena
Hi Inosh, Thanks for the reply. Yes, I enabled the persistence. Stream definition and event sink XML files are attached. BTW how to find relevant spark script? On Mon, Dec 7, 2015 at 8:48 PM, Inosh Goonewardena wrote: > Hi Roshan, > > Did you enable the persistence for stream

[Dev] [DEV] Error in loading throttling policy - two layer throttling

2015-12-07 Thread Ishara Cooray
I have implemented a custom throttle handler which does tenant level throttling. Throttle policy is stored gov registry same place as tiers.xml This is my handler configs in api xml.

[Dev] Bug in authenticationendpoint webapp?

2015-12-07 Thread Pubudu Priyashan
Hey Nuwan, Looks like the root cause for this issue [1] is, due to the internal patch changes we tested with in Alpha2 pack while debugging the LDAP connectivity issue. Can you please take a look and make the necessary changes? Currently this blocks us from testing in cluster due to user not

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

2015-12-07 Thread Malintha Adikari
Hi, Issue was with my current branch and resolved that. Thank you very much. Regards, Malintha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Where to add Tomcat related code in carbon 3.2.3?

2015-12-07 Thread Kishanthan Thangarajah
Example : http://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/components/webapp-mgt/org.wso2.carbon.webapp.mgt/3.2.2/src/main/java/org/wso2/carbon/webapp/mgt/internal/WebappManagementServiceComponent.java On Mon, Dec 7, 2015 at 7:51 PM, Kishanthan Thangarajah wrote: > If

Re: [Dev] CPU is going to 100% when a web page renders on jaggery + UUF

2015-12-07 Thread Isuru Perera
Shall we do a Java Flight Recording [1] and see what are the hot methods? [1] http://isuru-perera.blogspot.com/2015/02/java-flight-recorder-continuous-recordings.html On Mon, Dec 7, 2015 at 7:45 PM, Harshan Liyanage wrote: > Hi all, > > The CPU is going to 100% on each time

Re: [Dev] Where to add Tomcat related code in carbon 3.2.3?

2015-12-07 Thread Kishanthan Thangarajah
If there are carbon dependencies then you have to use CarbonTomcatValve approach [1]. You need to register this valve using TomcatValveContainer.addValves method. [1]

Re: [Dev] Where to add Tomcat related code in carbon 3.2.3?

2015-12-07 Thread Madhawa Gunasekara
Thanks Kishanthan It worked. On Mon, Dec 7, 2015 at 7:52 PM, Kishanthan Thangarajah wrote: > Example : >

[Dev] CPU is going to 100% when a web page renders on jaggery + UUF

2015-12-07 Thread Harshan Liyanage
Hi all, The CPU is going to 100% on each time when a page is rendered on EMM jaggery application (Please see the attached screenshot below). These pages have been created using UUF. We have tested this on few machines and outcome is the the same. This would be a major issue for a production

Re: [Dev] CPU is going to 100% when a web page renders on jaggery + UUF

2015-12-07 Thread Harshan Liyanage
Hi Isuru, Good idea. Will give a try and let you know. Thanks, Harshan Liyanage Software Engineer Mobile: *+94724423048* Email: hars...@wso2.com Blog : http://harshanliyanage.blogspot.com/ *WSO2, Inc. :** wso2.com * lean.enterprise.middleware. On Mon, Dec 7, 2015 at 7:52 PM,

[Dev] [DEV] How to determine the handler order in API Manager

2015-12-07 Thread Ishara Cooray
Hi, When creating an api, synapse config of the api is generated from the velocity template xml. In that template, a for loop is used to iterate through the list of handlers , and add them to the api. Wondering how to determine the order of these handlers when it is loaded to the velocity

Re: [Dev] Bug in authenticationendpoint webapp?

2015-12-07 Thread Lakmali Baminiwatta
On 7 December 2015 at 19:06, Pubudu Priyashan wrote: > Hey Nuwan, > > Looks like the root cause for this issue [1] is, due to the internal patch > changes we tested with in Alpha2 pack while debugging the LDAP connectivity > issue. Can you please take a look and make the

Re: [Dev] Where to add Tomcat related code in carbon 3.2.3?

2015-12-07 Thread Madhawa Gunasekara
Yes I'm trying to add tomcat valves? On Mon, Dec 7, 2015 at 6:09 PM, Kishanthan Thangarajah wrote: > Yes, 3.2.x, tomcat was outside of OSGi. > > But the requirement is not clear here. Are you trying to add some tomcat > valves/filter? > > On Sat, Dec 5, 2015 at 12:05 AM,

Re: [Dev] Bug in authenticationendpoint webapp?

2015-12-07 Thread Pubudu Priyashan
Hi Lakmali,Lakshman, The above issue is due to the following reason. authenticationendpoint webapp was updated between Alpha2 and Alpha3. So when we moved to the Alpha3 pack, we did not clean the SVN location. Therefore it was looking for the webapp provided with Alpha3 pack on the startup but

[Dev] Fwd: [ESB] Exceptions thrown when using salesforce and google-spreadsheet connectors together inside an iterator of a proxy service

2015-12-07 Thread Riyafa Abdul Hameed
Hi, As Shakila suggested I enable wire logs and obtained the log as in [1]. And then on going through the log I have found that html content is returned by the google spreadsheet connector. Is it safe for me to assume that the problem is with the connector and not my code? If I cannot how can I

Re: [Dev] Bug in authenticationendpoint webapp?

2015-12-07 Thread Pubudu Priyashan
Hi Nuwan, Noted. Thanks. Pubudu D.P Senior Software Engineer - QA Team | WSO2 inc. Mobile : +94775464547 On Mon, Dec 7, 2015 at 9:44 PM, Nuwan Dias wrote: > Hi Pubudu, > > Please do not apply any patches to the latest pack. Those were given for > the earlier pack to isolate

Re: [Dev] Bug in authenticationendpoint webapp?

2015-12-07 Thread Nuwan Dias
Hi Pubudu, Please do not apply any patches to the latest pack. Those were given for the earlier pack to isolate issues that weren't reproducible on our end. And when resolving JiRAs, please update them with the correct state. Thanks, NuwanD. On Mon, Dec 7, 2015 at 7:06 PM, Pubudu Priyashan

[Dev] Cluster Setup is pointed to API-M 1.10.0 Alpha3

2015-12-07 Thread Pubudu Priyashan
Hello team, I have now pointed the API-M QA cluster to the most recent pack released on the 04-Dec-2015. You may use it for testing when/if needed. Please note that there is a known issue related to metrics DB, which is logged at [1]. The continuous DB exceptions triggered in back-end are related

[Dev] [VOTE] Release WSO2 Developer Studio 4.0.0 RC

2015-12-07 Thread Kavith Lokuhewage
Hi Devs, WSO2 Developer Studio 4.0.0 Release Vote. This release contains the new tooling kernel - a set of common tooling components - separated from the 3.8.0 release of Developer Studio. In addition to that, this contains following fixes and improvements.

Re: [Dev] [ESB] Exceptions thrown when using salesforce and google-spreadsheet connectors together inside an iterator of a proxy service

2015-12-07 Thread Riyafa Abdul Hameed
Hi, My use case is I get the column of project keys from a google-spreadsheet [1] and iterate through the project keys. Using the project key I query the salesforce using the salesforce connector and obtain the invoice number. Then using the invoice number I find the invoice from. I use the

[Dev] Adding carbon dashboard a product

2015-12-07 Thread Manuranga Perera
Please add following lines to your project. 7 lines form https://github.com/wso2/product-cep/blob/c2521/modules/p2-profile-gen/pom.xml#L254 9 lines form https://github.com/wso2/product-cep/blob/c2521/modules/p2-profile-gen/pom.xml#L550 1 line form

Re: [Dev] [ESB] Exceptions thrown when using salesforce and google-spreadsheet connectors together inside an iterator of a proxy service

2015-12-07 Thread Thulasika Vijayanathan
Hi Riyafa, For the google spreadsheet connector, you need to enable the following builders and formatters. Thanks, Thulasika On Mon, Dec 7, 2015 at 1:15 PM, Malaka Silva wrote: > Riyafa seems like a builder error. Can you try enabling wire logs and > analyse the

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

2015-12-07 Thread Madusanka Premaratne
Hi Malintha, It needs the version 2.0.1-SNAPSHOT and you need to build[1] before building product-apim. [1] - https://github.com/wso2/carbon-apimgt/tree/release-2.0.1 Thanks, Madusanka On Mon, Dec 7, 2015 at 2:38 PM, Malintha Adikari wrote: > Hi, > > I have already built

Re: [Dev] [Architecture] WSO2 ESB 4.10.0 - Milestone 1 Released!

2015-12-07 Thread Kevin Ratnasekera
+1, Created a Jira for this [1], this will be fixed for next milestone release. [1] https://wso2.org/jira/browse/ESBJAVA-4354 Regards Kevin On Mon, Dec 7, 2015 at 12:36 PM, Nuwan Pallewela wrote: > Hi, > > In this pack user have to manually modify the synapse.properties file to

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

2015-12-07 Thread Malintha Amarasinghe
Hi Malintha, I assume you are trying to build APIM 1.10 snapshot version. In order to do that, you have to switch into 1.10.x branch in product-apim. Seems like you are building master branch. Thanks. > > [ERROR] Error occured when processing the Feature Artifact: >

[Dev] Removing Jaggery-plugin from Developer Studio

2015-12-07 Thread Rajeeva Uthayasangar
HI, This is to inform that we are going to remove the jaggery plugin from Developer-studio since it is not being used. thanks Rajeeva. -- *Rajeeva Uthayasangar* Software Engineer WSO2, Inc.:http://wso2.com Mobile: +94777298873 ___ Dev mailing list

Re: [Dev] [ESB] Exceptions thrown when using salesforce and google-spreadsheet connectors together inside an iterator of a proxy service

2015-12-07 Thread Shakila Sivagnanarajah
Hi Could you please enable the formatters and builder in axis2.xml and send the full log. Thanks On Mon, Dec 7, 2015 at 1:49 PM, Thulasika Vijayanathan wrote: > Hi Riyafa, > > For the google spreadsheet connector, you need to enable the following > builders and formatters.

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

2015-12-07 Thread Malintha Adikari
Hi, I have already built carbon-apimgt branch release-1.10.x but I am getting following build failure in APIM 1.10.x branch. What is the reason for this ? [ERROR] Error occured when processing the Feature Artifact:

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

2015-12-07 Thread Abimaran Kugathasan
Hi Malintha, This shouldn't happen. Have you update the repo? APIM 1.10.x isn't using org.wso2.carbon.apimgt:org.wso2.carbon.forum.server.feature:zip:2.0.1-SNAPSHOT. Currently, APIM 1.10.x depends on carbon-apimgt's release-1.10.x branch. Please update your local repository and see. We have

[Dev] [AF] Best way of creating Kubernetes API configuration from Fabric8 client in production environment

2015-12-07 Thread Lahiru Manohara
Hi All, In development environment, We have been using default Kubernetes API configuration of the Fabric8 client. But in production environment, We have to config those properties in cloud environment easily. The Fabric8 client has a object called Config and constructor has following

Re: [Dev] [Architecture] WSO2 ESB 4.10.0 - Milestone 1 Released!

2015-12-07 Thread Nuwan Pallewela
Hi Chanaka, Server will *only use* these ports when it *starts in debug mode *( Server should start with "-Desb.debug=true" argument to start it in debug mode). Otherwise those ports will not be used. However I think commented out entries in the synapse.properties file is also suitable in this

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

2015-12-07 Thread Abimaran Kugathasan
Wrong reference provided, please use below. [1] : https://wso2.org/jenkins/job/product-apim_release-1.10.x/ On Mon, Dec 7, 2015 at 3:47 PM, Abimaran Kugathasan wrote: > Hi Malintha, > > This shouldn't happen. Have you update the repo? > > APIM 1.10.x isn't using

Re: [Dev] [Architecture] WSO2 ESB 4.10.0 - Milestone 1 Released!

2015-12-07 Thread Chanaka Fernando
Hi Nuwan/Kevin, Will this opens the specified ports by default when the server starts? It is not a good idea to open ports which are not necessary by default. If it is not opening any port, then +1 to add to the file. Anyway we can add the entries and comment out if they are opening the ports.

Re: [Dev] App Manager 1.1.0 latest build pack - 04-12-2015

2015-12-07 Thread Dinusha Senanayaka
Please use following pack instead of previously shared pack. This contains few SSO related issue fixes. [1] http://builder1.us1.wso2.org/~appm/release-1.1.0/07-12-2015/wso2appm-1.1.0-SNAPSHOT-07-12-2015.zip Regards, Dinusha. On Fri, Dec 4, 2015 at 9:48 PM, Dinusha Senanayaka

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.3 RC2

2015-12-07 Thread Prabath Abeysekera
Hi IS/API-M folks, Would you guys please be able to help test "carbon-identity" and "carbon-apimgt" functionalities on top of Kernel 4.4.3 and verify soon? Cheers, Prabath On Mon, Dec 7, 2015 at 5:18 PM, Nipuni Perera wrote: > Hi Devs, > > This is the RC2 release candidate of

Re: [Dev] [AF] Best way of creating Kubernetes API configuration from Fabric8 client in production environment

2015-12-07 Thread Danushka Fernando
Cant we use kind of interfacing? Like mention a class name in a configuration and somewhere create an object of the class we mentioned. In that way we can get rid of the if AFAIU. WDYT? Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729

[Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.3 RC2

2015-12-07 Thread Nipuni Perera
Hi Devs, This is the RC2 release candidate of WSO2 Carbon Kernel 4.4.3. This release fixes the following issues: https://wso2.org/jira/issues/?filter=12540 Please download and test your products with kernel 4.4.3 RC2 and vote. Vote will be open for 72 hours or as longer as needed. *​Source and

Re: [Dev] Where to add Tomcat related code in carbon 3.2.3?

2015-12-07 Thread Kishanthan Thangarajah
Yes, 3.2.x, tomcat was outside of OSGi. But the requirement is not clear here. Are you trying to add some tomcat valves/filter? On Sat, Dec 5, 2015 at 12:05 AM, Madhawa Gunasekara wrote: > Hi All, > > I have a requirement to backport some carbon 4.x.x code into carbon 3.2.3.

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.3 RC2

2015-12-07 Thread Darshana Gunawardana
Hi Prabath, We already working on this as we planned to release GA on kernel 4.4.3. Thanks, On Mon, Dec 7, 2015 at 6:06 PM, Prabath Abeysekera wrote: > Hi IS/API-M folks, > > Would you guys please be able to help test "carbon-identity" and > "carbon-apimgt" functionalities

Re: [Dev] [VOTE] Release WSO2 Carbon Kernel 4.4.3 RC2

2015-12-07 Thread Prabath Abeysekera
Cool, Thanks for the update Darshana! Cheers, Prabath On Mon, Dec 7, 2015 at 6:08 PM, Darshana Gunawardana wrote: > Hi Prabath, > > We already working on this as we planned to release GA on kernel 4.4.3. > > Thanks, > > On Mon, Dec 7, 2015 at 6:06 PM, Prabath Abeysekera

[Dev] [DAS] Sending Notifications Through Published Events Using Spark DAS sample is not displaying data?

2015-12-07 Thread Roshan Wijesena
Hi DAS team, I am trying to run the sample [1]. Even though there are no errors on the console, I could not see the data partially. See the screen shot. any idea why this is happening? [1] https://docs.wso2.com/display/DAS300/Sending+Notifications+Through+Published+Events+Using+Spark --

Re: [Dev] [DAS] Sending Notifications Through Published Events Using Spark DAS sample is not displaying data?

2015-12-07 Thread Inosh Goonewardena
Hi Roshan, Did you enable the persistence for stream and it attributes properly? Could you please share the Stream definition, event sink xml and spark script. On Tuesday, December 8, 2015, Roshan Wijesena wrote: > Hi DAS team, > > I am trying to run the sample [1]. Even

Re: [Dev] Deploying the petstore sample of WSO2 Microservices Server

2015-12-07 Thread Sajith Kariyawasam
It seems your Kubernetes master is pointed to a wrong URL. Have you set KUBERNETES_MASTER environment variable correctly ? On Tue, Dec 8, 2015 at 6:36 AM, Nanduni Nimalsiri wrote: > Hi, > > I am trying to deploy the petstore sample of WSO2/product-mss[1] in Ubuntu > 14.04 LTS.

Re: [Dev] Fwd: [ESB] Exceptions thrown when using salesforce and google-spreadsheet connectors together inside an iterator of a proxy service

2015-12-07 Thread Elilmatha Sivanesan
Hi Riyafa, You need to remove encoding. Try out this in your template before calling the endpoint and check the wire log. Thanks. On Mon, Dec 7, 2015 at 9:52 PM, Riyafa Abdul Hameed wrote: > > > Hi, > > As Shakila suggested I enable wire logs and obtained the log as in [1].

Re: [Dev] [DAS] Sending Notifications Through Published Events Using Spark DAS sample is not displaying data?

2015-12-07 Thread Inosh Goonewardena
Hi Roshan, Problem seems to be in adding data to original stemream through csv file. Until we verify that step in the sample please move ahead by publishing data to that stream using event simulator. On Tuesday, December 8, 2015, Roshan Wijesena wrote: > Hi Inosh, > > Thanks

[Dev] [IS] What is the expected behavior for Provisioning in Blocking Mode

2015-12-07 Thread Nadeesha Meegoda
Hi all, Scenario is Outbound Provisioning is enabled for multiple endpoints and "Blocking" enabled for Provisioning 1. When Provisioning fails to One endpoint does all other Provisioning to other endpoints need to be blocked in Blocking mode or do they need to continue provisioning to the

[Dev] Deploying the petstore sample of WSO2 Microservices Server

2015-12-07 Thread Nanduni Nimalsiri
Hi, I am trying to deploy the petstore sample of WSO2/product-mss[1] in Ubuntu 14.04 LTS. [1] https://github.com/wso2/product-mss/tree/master/samples/petstore Instead of using vagrant to run Kubernetes, I am executing the sample by *running Kubernetes locally via Docker*. After executing the

[Dev] [ESB][Connector] Google-spreadsheet connctor: Error while building Passthrough stream

2015-12-07 Thread Riyafa Abdul Hameed
Hi, To be more generic I have created a proxy which fetches a column (the column shouldn't be empty) and updates the same column in an iteration. The two exceptions [1] are thrown when updating more than 500 rows. The proxy service is attached with this mail. A sample spreadsheet is at [2] and

Re: [Dev] [ESB][Connector] Google-spreadsheet connctor: Error while building Passthrough stream

2015-12-07 Thread Riyafa Abdul Hameed
[+ Thulasika] On Tue, Dec 8, 2015 at 10:26 AM, Riyafa Abdul Hameed wrote: > Hi, > > To be more generic I have created a proxy which fetches a column (the > column shouldn't be empty) and updates the same column in an iteration. > The two exceptions [1] are thrown when updating

[Dev] [FB Connector] (#324) Requires upload file when try to add a photo to a page via FB Connector

2015-12-07 Thread Thusitha Thilina Dayaratne
Hi, I'm trying to post a photo to a FB page via the facebook connector using ESB 4.9.0. I added the proxy in[1] I'm sending following request through the postman rest client > POST /services/multipart?pageId=562960547187253 HTTP/1.1 > Host: 10.100.7.26:8280 > Action: urn:addPhotoToPage >

Re: [Dev] [ESB][Connector] Google-spreadsheet connctor: Error while building Passthrough stream

2015-12-07 Thread Elilmatha Sivanesan
Hi Riyafa , As per the error here you are missing an end tag. org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'I' (code 73) in prolog; expected '<' Thanks. On Tue, Dec 8, 2015 at 10:27 AM, Riyafa Abdul Hameed wrote: > [+

Re: [Dev] [ESB][Connector] Google-spreadsheet connctor: Error while building Passthrough stream

2015-12-07 Thread Riyafa Abdul Hameed
Hi Elilmatha, It is working without any exceptions for upto 300 rows. Thanks On Tue, Dec 8, 2015 at 10:44 AM, Elilmatha Sivanesan wrote: > Hi Riyafa , > > As per the error here you are missing an end tag. > > org.apache.axiom.om.OMException: >

[Dev] [DS] [UX] UI/UX Changes to be done in next dashboard server release

2015-12-07 Thread Nipuna Chandradasa
Hi All, As to the Discussion we had on UI of WSO2 Dashboard Server there were few suggestions from UI/UX team. Please refer the following document [1] to get more details of what will be changed and the implementation progress. [1].

Re: [Dev] A script to invoke JMX operations on Metrics Manager MBean in a WSO2 server

2015-12-07 Thread Isuru Perera
Hi CD, I'm really glad that this script helped. :) You will have to keep the org.wso2.carbon.metrics.manager*.jar with your testing scripts. I hope that should be okay. Thanks! Best Regards, On Fri, Dec 4, 2015 at 2:57 PM, CD Athuraliya wrote: > Thanks Isuru for this