Re: [Dev] Representing Data Types in JSON schema when objects hold values

2016-04-12 Thread Sohani Weerasinghe
Hi All, Please note that if an element contains attributes or properties we are considering it as an object and if it only holds a value then it will be considered as a primitive type eg: sample 0112655655 0112655656 phone will treat as a primitive array and the schema

Re: [Dev] [DAS] Adding a relative path in external-spark-classpath.conf doesn't work

2016-04-12 Thread Nirmal Fernando
Thanks, Niranda for merging. On Wed, Apr 13, 2016 at 8:48 AM, Niranda Perera wrote: > Hi Nirmal, > > Thanks for pointing this out. I will merge the PR. > > Rgds > On Apr 13, 2016 08:35, "Nirmal Fernando" wrote: > >> Hi, >> >> * Even though we have implemented the support for relative paths at >

[Dev] If you have a custom UDF, make sure you add the path to jar in external-spark-classpath.conf to get it work on HA

2016-04-12 Thread Nirmal Fernando
Hi All, Just want to pass this information, if you are not aware already. If you have a Jar with custom UDFs, make sure you add the relative path to jars in repository/conf/analytics/spark/external-spark-classpath.conf file in order for the class to be used properly in a HAed environment. Sample

Re: [Dev] [DAS] Adding a relative path in external-spark-classpath.conf doesn't work

2016-04-12 Thread Niranda Perera
Hi Nirmal, Thanks for pointing this out. I will merge the PR. Rgds On Apr 13, 2016 08:35, "Nirmal Fernando" wrote: > Hi, > > * Even though we have implemented the support for relative paths at > repository/conf/analytics/spark/external-spark-classpath.conf file, it > isn't working properly. > >

[Dev] [DAS] Adding a relative path in external-spark-classpath.conf doesn't work

2016-04-12 Thread Nirmal Fernando
Hi, * Even though we have implemented the support for relative paths at repository/conf/analytics/spark/external-spark-classpath.conf file, it isn't working properly. if (fileExists(line)) { scp = scp + separator + line; } *else if (fileExists(c

Re: [Dev] SnapshotService info logs to debug mode

2016-04-12 Thread Nirmal Fernando
I think I found what's happening. * CEP starts to synch from a Snapshot as soon as it got to know that there's a new member, hence, it complains that there're no exec. plans (other node is still starting up, hence no execution plans yet). (there was a NPE while doing this and I fixed it in https:/

Re: [Dev] Issue in CEP time window

2016-04-12 Thread Damith Wickramasinghe
Hi, Noted suho. @Mohamed I have created a jira for this.[1] Please refer it to see progress. [1]https://wso2.org/jira/browse/CEP-1487 Regards, Damith On Tue, Apr 12, 2016 at 10:27 PM, Sriskandarajah Suhothayan wrote: > Hi Damith > > In that case we have to fix it right, else it will not be

Re: [Dev] [IOT] How to start building device types in IoTS using Developer Studio

2016-04-12 Thread 云展智创
Hi Geesara, Thank you for your so detail reply. It really help me. I have 2 more questions: 1. As I have to use cdmf-devicetype-archetype for M3 release to create the new device type, Is that means the new device type CAN NOT be deploy in M4 or later release of IoTS (because of the package depe

[Dev] WSO2 Carbon Kernel 5.1.0-alpha Released

2016-04-12 Thread Niranjan Karunanandham
*WSO2 Carbon Kernel 5.1.0-alpha Released* The Carbon team is pleased to announce the release of Carbon Kernel 5.1.0-alpha. It is now available to download from here . *Improvements and Bug fixes* https://wso2.org/jira/issues/?filter

[Dev] WSO2 API Manager 2.0.0-M2 Released!

2016-04-12 Thread Bhathiya Jayasekara
*WSO2 API Manager 2.0.0-M2 Released!* WSO2 API Manager team is pleased to announce WSO2 API Manager 2.0.0-M2 release. Download distribution here . This release comes with following new features. New Features

Re: [Dev] Handling Kubernetes Specific Configurations in Puppet/Hiera

2016-04-12 Thread Chamila De Alwis
Hi, To continue the earlier concern to copy all the files inside `repository/components/lib` folder without specifying their filenames in the Hiera YAML, I think that would cause problems when multiple profiles and platforms are provisioned. For example we don't need Kubernetes Membership Scheme J

Re: [Dev] Handling Kubernetes Specific Configurations in Puppet/Hiera

2016-04-12 Thread Chamila De Alwis
On Tue, Apr 12, 2016 at 11:01 PM, Imesh Gunaratne wrote: > Looks good! Regarding the "iaas" folder, shall we rename it to default and > remove the files under product/profile/? > +1. I renamed this to `default`. `default` platform will contain all the common data that will be overriden in other

[Dev] requiredRespHeaderClaimUris missing in WSO2 api manager 1.10

2016-04-12 Thread Vanjikumaran Sivajothy
Hi Folks, I am using RequiredRespHeaderClaimUris in wso2 apim 1.6 to configure the user headers to the response. This configuration is missing from WSO2 api manger 1.10 identity.xml How can i configure WSO2 api manger 1.10 to get the user headers? Vanji ___

Re: [Dev] Issue in CEP time window

2016-04-12 Thread Sriskandarajah Suhothayan
Hi Damith In that case we have to fix it right, else it will not be consistent. Regards Suho On Tue, Apr 12, 2016 at 8:03 PM, Damith Wickramasinghe wrote: > Hi Suho, > > Mohamed is using WSO2 DAS 3.0.0 which is using siddhi 3.0.3. I could see > the same issue in latest siddhi as well for a one

[Dev] Purpose of methods starting with "jsFunction" with respect to Jaggery Application

2016-04-12 Thread Megala Uthayakumar
Hi all, I am trying to access a method in java class from a simple jaggery application. In the repository jaggery, there are many methods that starts with jsFunction [1]. They are quite different from the normal java methods with regards to jaggery application. Could someone help me in understandi

Re: [Dev] How to create database tables with -Dsetup in Carbon 5?

2016-04-12 Thread Kishanthan Thangarajah
Can you create a jira for this, so that will track and add it to kernel/platform? On Thu, Apr 7, 2016 at 5:37 PM, Isuru Perera wrote: > Hi Carbon team, > > When will this feature be implemented in Carbon? As I understand, most of > the products need this feature. > > Thanks! > > On Tue, Mar 29,

Re: [Dev] [App Cloud] Custom Applications on AppCloud

2016-04-12 Thread Kasun De Silva
Hi Nishadi, As for now this feature is expected to be exposed only to internal users by > updating the configuration file. How did we do this? what is the config file used ? Can you provide some example how can we use this feature. Say I have an image "kasun/af_tomcat" how can I deploy this in

Re: [Dev] [IOT] How to start building device types in IoTS using Developer Studio

2016-04-12 Thread Geesara Prathap
Hi Jason, I have forked the product-iot project, cloned into my desktop. After running mvn eclipse:eclipse in product-iot, I can only find 3 projects (cdmf-devicetype-archetype, mdm-android-agent-archetype, org.wso.iot.admin.styles) when I import projects in product-iot folder. Is that right? Thi

Re: [Dev] Add some additional information to "Tier Availability" section in API publisher.

2016-04-12 Thread Harsha Kumara
Yeah Subscription Tiers make more sense. Also it would be ideal if we can add note or tool tip on it. Created JIRA at [1] [1] - https://wso2.org/jira/browse/APIMANAGER-4630 On Mon, Apr 11, 2016 at 1:23 PM, Nuwan Dias wrote: > +1. A label like "Subscription Tiers" should do IMO. > > Thanks, > Nu

Re: [Dev] [App Cloud] Search By Tag feature in App Cloud

2016-04-12 Thread Kasun De Silva
+1 for using the same search box in the app listing page. And +1 for Danushka's idea to use below mechanism. *tag::* *tag:* Better if we can provide some tool-tips in app listing page to users on how they can search through tags. Thanks, Kasun On Mon, Apr 11, 2016 at 11:31 PM, Danushka Fernand

Re: [Dev] Issue in CEP time window

2016-04-12 Thread Damith Wickramasinghe
Hi Suho, Mohamed is using WSO2 DAS 3.0.0 which is using siddhi 3.0.3. I could see the same issue in latest siddhi as well for a one event sent to time window. But when there are more than one event in time window then events gets expired as expected. Since there wont be just one event in a window

[Dev] [IOT] How to start building device types in IoTS using Developer Studio

2016-04-12 Thread 云展智创
Hi all, Could you give me some advices on how to start building iot device types in IoTS using Developer Studio? I have forked the product-iot project, cloned into my desktop. After running mvn eclipse:eclipse in product-iot, I can only find 3 projects (cdmf-devicetype-archetype, mdm-android-

[Dev] Wrong Test method name

2016-04-12 Thread Aparna Karunarathna
Hi All, While doing the API Manager test case mapping, observed $subject has used. Both method names should be changed to *testAddDocumentToAnAPISupportUrl() and **testAddDocumentToAnAPIPublicUrl()* class: APIM623AddDocumentationToAnAPIWithDocTypePublicForumThroughPublisherRestAPITestCase.java

Re: [Dev] Issue in CEP time window

2016-04-12 Thread Sriskandarajah Suhothayan
Hi Mohamed Were you able to solve the issue. with the latest pack? Suho On Sun, Apr 3, 2016 at 7:35 AM, Damith Wickramasinghe wrote: > Hi Mohamed, > > can you tel us how did you reproduced it? In my case I had only event sent > to time window stream but in real scenario there will be many even

Re: [Dev] Representing Data Types in JSON schema when objects hold values

2016-04-12 Thread Susinda Perera
Implemented above scenarios (also mentioned in [1]) in schema generation. [1] - https://docs.google.com/a/wso2.com/document/d/1s820PSZlhRYq8kGc9GFwJaMcpQX8X4jz9sFvo1bK6rI/edit?usp=sharing On Tue, Apr 12, 2016 at 3:06 PM, Sohani Weerasinghe wrote: > Hi All, > > Please find below details on the

[Dev] [VOTE] Release WSO2 Governance Registry 5.2.0 RC 1

2016-04-12 Thread Thushara Ranawaka
Hi Devs, WSO2 Governance Registry 5.2.0 RC1 Release Vote. This release fixes the following issues: https://wso2.org/jira/browse/REGISTRY-3561?filter=13023 Please download, test and vote. Please refer the release verification guide for detailed information on verifying this release. Source & bina

[Dev] [APIM-Analytics] Error while running spark scripts in HA mode

2016-04-12 Thread Nirmal Fernando
Hi All, Any idea why below exception occurs? We have several spark scripts at APIM analytics pack and we see this only in HA mode. Driver stacktrace: {org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 25696.0

[Dev] Representing Data Types in JSON schema when objects hold values

2016-04-12 Thread Sohani Weerasinghe
Hi All, Please find below details on the support provided in defining the data types for objects( when holding values) in JSON schema. Problem: When an object array or a primitive array or an object holds a value, there should be a way to define the data type of that value in the schema. http:

Re: [Dev] SnapshotService info logs to debug mode

2016-04-12 Thread Nirmal Fernando
Yes me too. There were more logs. Basically, once the other node joined, these kind of logs got printed around 3/4 times. On Tue, Apr 12, 2016 at 2:18 PM, Sriskandarajah Suhothayan wrote: > I'm wondering why there are lots of Snapshot taken at with close time gap. > > On Tue, Apr 12, 2016 at 1:5

Re: [Dev] SnapshotService info logs to debug mode

2016-04-12 Thread Sriskandarajah Suhothayan
I'm wondering why there are lots of Snapshot taken at with close time gap. On Tue, Apr 12, 2016 at 1:56 PM, Nirmal Fernando wrote: > Hi CEP team, > > Shall we move these info logs to debug level? > > TID: [-1] [] [2016-04-12 08:24:47,094] INFO > {org.wso2.siddhi.core.util.snapshot.SnapshotServi

[Dev] SnapshotService info logs to debug mode

2016-04-12 Thread Nirmal Fernando
Hi CEP team, Shall we move these info logs to debug level? TID: [-1] [] [2016-04-12 08:24:47,094] INFO {org.wso2.siddhi.core.util.snapshot.SnapshotService} - Snapshot serialization finished. {org.wso2.siddhi.core.util.snapshot.SnapshotService} TID: [-1] [] [2016-04-12 08:24:47,096] INFO {org.

Re: [Dev] Handling Kubernetes Specific Configurations in Puppet/Hiera

2016-04-12 Thread Vishanth Balasubramaniam
Hi, One more point regarding the file list, I think we can copy all the files > found under repository/components/lib without specifically defining them in > the Hiera file. WDYT? Totally +1, it will make it much easier for the user. Regards, Vishanth On Tue, Apr 12, 2016 at 12:24 PM, Imesh G

Re: [Dev] DAS minimum HA deployment in one node?

2016-04-12 Thread Grainier Perera
Hi Nirmal, With the new event-processor.xml, there's no single node element. If you put false on both HA & Distributed, it'll run as single node. If you need a single node HA, you just have to put true to the HA config, worker-enabled, presenter-enabled accordingly. https://github.com/wso2/carbon

Re: [Dev] Handling Kubernetes Specific Configurations in Puppet/Hiera

2016-04-12 Thread Anuruddha Liyanarachchi
Hi, I think we can copy all the files found under repository/components/lib > without specifically defining them in the Hiera file. WDYT? This is possible if we are not copying any profile specific files. Since we are not copying profile specific files I think we can copy all the files found und