[Dev] APIM 191 to APIM 1.10.0 KeyStore/RegistryKeyStore configuration changes

2016-05-17 Thread Udara Liyanage
Hi, I see a RegistryKeyStore config section in carbon.xml of 191, but it is removed in 1.10.0. As am aware, RegistryKeyStore was used when encrypting using ciphertool, correct me if I am wrong. I see keystoreFile is mentioned in catalina-server.xml in APIM 1.10.0. Does this mean that ciphertext

Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Kernel RC3

2016-05-17 Thread Heshitha Hettihewa
Hi all, I have tested BPS Tooling and no major issues found. +1 Thanks. On Wed, May 18, 2016 at 9:10 AM, Isuru Udana wrote: > Hi, > > Tested with ESB tools and found no major issues. > > +1. > > On Wed, May 18, 2016 at 9:05 AM, Sohani Weerasinghe > wrote: >

[Dev] Representing a JSON payload with null values - visual datamapper editor

2016-05-17 Thread Sohani Weerasinghe
Hi All, If a json payload has null values as shown below, how are we going to represent this in the json schema? { "root": { "tasklist_id": "12345", "test"=null } } If we are serializing that value, then the generated schema and the tree view will be as follows { "$schema" :

[Dev] Shindig error on DS portal startup, due to connectivity errors to google

2016-05-17 Thread Ruwan Abeykoon
Hi DS team, I am getting the following error in APIM 2.0.0-SNAPSHOT which integrate DS features. Any Idea why? can we not print those errors due to outside dependencies? --- achines/jdk1.8.0_31.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is

[Dev] Carbon-Transports 2.1.0 is Staged

2016-05-17 Thread Senduran Balasubramaniyam
Hi all, Carbon transport 2.1.0 is staged at https://maven.wso2.org/nexus/content/repositories/orgwso2carbontransport-1002 This release is with kernel version 5.1.0-alpha2 Please test and verify Regards Senduran -- *Senduran * Software Engineer, WSO2, Inc.; http://wso2.com/

[Dev] [OAuth] Error happens in EMM intermittently

2016-05-17 Thread Kasun Dananjaya Delgolla
Hi All, We're getting the following error in the EMM intermittently. Any idea why this happens? [2016-05-18 10:13:25,673] ERROR {org.wso2.carbon.identity.oauth2.OAuth2Service} - Error occurred while issuing the access token for Client ID : pXPA6a6U9T047rd6vneb4NWtTfUa, User ID null, Scope :

Re: [Dev] [API Analytics] - Job scheduling

2016-05-17 Thread Rukshani Weerasinha
Hi all, I will update this thread once the documentation is updated with information about the Spark scripts to be executed for this scenario. Best Regards, Rukshani. On Wed, May 18, 2016 at 9:57 AM, Nirmal Fernando wrote: > Hi Shavantha, > > Alerts are generated real-time of

Re: [Dev] [Gsoc2016] [PC] Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-05-17 Thread Isuru Wijesinghe
Hi Heshan, Any update on your progress? Could you please share with us your code through github. Then we can give some feedback. Thanks, Isuru On Thu, Mar 24, 2016 at 1:23 PM, Heshan Jayasinghe wrote: > Hi, > I submit my final proposal through GSOC site.Could you please

Re: [Dev] [API Analytics] - Job scheduling

2016-05-17 Thread Nirmal Fernando
Hi Shavantha, Alerts are generated real-time of course and API subscribers can control whether they'd want to receive alerts or not. On Wed, May 18, 2016 at 9:49 AM, Shavantha Weerasinghe wrote: > Hi Nirmal > > Shouldn't we give the API subscriber the option to

Re: [Dev] [API Analytics] - Job scheduling

2016-05-17 Thread Sachini Jayasekara
Hi Shavantha, Alerts will be generated as and when an abnormal event comes after the learning period or after the initial script execution. After the initial script execution users will get the alerts every time an alert triggering event comes. On Wed, May 18, 2016 at 9:49 AM, Shavantha

Re: [Dev] Representing a JSON payload with a single parameter - visual datamapper editor

2016-05-17 Thread Nuwan Pallewela
Hi Sohani, This looks fine. +1 for this approach. Thanks, Nuwan On Wed, May 18, 2016 at 9:49 AM, Sohani Weerasinghe wrote: > > ​ > > Sohani Weerasinghe > Software Engineer > WSO2, Inc: http://wso2.com > > Mobile : +94 716439774 > Blog

Re: [Dev] Fwd: GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-17 Thread Mahesh Dananjaya
Hi Maheshakya, Ok. I will check it.you have sent me those relevant references and i am working on that thing.thank you. does that cep problem is now all right that we were trying to fix. I am still using those pre-build versions. If so i can merge with the latest one.thanks. BR, Mahesh. On Wed,

Re: [Dev] Representing a JSON payload with a single parameter - visual datamapper editor

2016-05-17 Thread Sohani Weerasinghe
​ Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Wed, May 18, 2016 at 9:48 AM, Sohani Weerasinghe wrote: > Hi All, > > If we consider

Re: [Dev] [API Analytics] - Job scheduling

2016-05-17 Thread Shavantha Weerasinghe
Hi Nirmal Shouldn't we give the API subscriber the option to decide/control on what time lines he she wants the alerts generated. Regards, Shavantha Weerasinghe Senior Software Engineer QA WSO2, Inc. lean.enterprise.middleware. http://wso2.com http://wso2.org Tel : 94 11 214 5345 Fax :94 11

[Dev] Representing a JSON payload with a single parameter - visual datamapper editor

2016-05-17 Thread Sohani Weerasinghe
Hi All, If we consider $subject, we need to wrap with a root element when generating the json schema for that json payload. { "tasklist_id": "12345" } Shall we wrap with an element called 'root' ? WDYT? If so, the generated tree and the schema will be as follows { "$schema" :

Re: [Dev] [API Analytics] - Job scheduling

2016-05-17 Thread Nirmal Fernando
Hi Iranga, Since these are data-driven alerts, IMO it is fine to send out alerts after a some time period. In fact, we have some alert types which require a learning phase, hence alerts will not get triggered during the learning phase. +1 for documenting the spark script scheduling times. On

Re: [Dev] Fwd: GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-17 Thread Maheshakya Wijewardena
Hi Mahesh, You don't actually have to implement anything in spark streaming. Try to understand how streaming data is handled in and the specifics of the underlying algorithms in streaming. What we want to do is having the similar algorithms that support CEP event streams with siddhi. Best

[Dev] [API Analytics] - Job scheduling

2016-05-17 Thread Iranga Muthuthanthri
Hi, In API analytics for alert generation for use cases such as abnormal API Request count it's required to the spark scripts be executed before to get the percentile calculations. The spark scripts by default are scheduled for 12pm every day ( in this scenario) meaning at the start alerts will

Re: [Dev] Fwd: GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-17 Thread Maheshakya Wijewardena
Hi Mahesh, I'll review your code sample and give you our feedback asap. In the meantime, please go through the documentation for writing siddhi extensions and get some idea. It's better if you can try writing some simple siddhi extensions your self and test them to get a good understanding. Best

Re: [Dev] Fwd: GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-17 Thread Mahesh Dananjaya
Hi Maheshakya, Did you check the repo. I will add recent works today.And also i was going through the Java docs related to spark streaming work. It is with that scala API. thank you. regards, Mahesh. On Tue, May 17, 2016 at 10:11 AM, Mahesh Dananjaya < dananjayamah...@gmail.com> wrote: > Hi

Re: [Dev] [C5] [MB] Failed to initialize startup resolver

2016-05-17 Thread Indika Sampath
Hi Niranjan, Yes. I can access osgi console. Here is the output of carbon-jndi bundle. It is in ACTIVE state. *osgi> ss jndi* "Framework is launched." idState Bundle 71ACTIVE org.wso2.carbon.jndi_1.0.0.SNAPSHOT *osgi> b 71* org.wso2.carbon.jndi_1.0.0.SNAPSHOT [71] Id=71,

Re: [Dev] [DEV] [ESB] [LDAP Connector] SSL connection (port 636)

2016-05-17 Thread Vivekananthan Sivanayagam
Hi Malaka, I am working on that and still I have a problem in configure LDAP with SSL connection. Without SSL connection, the connector is working and according to the his changes, the SearchEntry method is working with onlyOneReference parameter. I need to check in SSL connection part. I

Re: [Dev] [DEV] [ESB] [LDAP Connector] SSL connection (port 636)

2016-05-17 Thread Malaka Silva
Hi Vivekananthan, Please update the progress please? Shakila went through some of the methods in this connector. The description for parameters are not added in all templates. This is not the standard that we followed so far. On Sat, May 7, 2016 at 3:26 PM, Rajjaz Mohammed

Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Kernel RC3

2016-05-17 Thread Isuru Udana
Hi, Tested with ESB tools and found no major issues. +1. On Wed, May 18, 2016 at 9:05 AM, Sohani Weerasinghe wrote: > Hi All, > > I have tested the updater tool functionality including installing features > and also the updater tool preferences. > > +1 > > Thanks, > Sohani >

Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Kernel RC3

2016-05-17 Thread Sohani Weerasinghe
Hi All, I have tested the updater tool functionality including installing features and also the updater tool preferences. +1 Thanks, Sohani Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter :

Re: [Dev] [TestAutomation]Deny some role permissions in test cases

2016-05-17 Thread Amalka Subasinghe
in automation.xml you can define different roles with required permissions as follows /permission//.../.../write . /permission///.../read . And Then define users & roles as follows user1 password

Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Kernel RC3

2016-05-17 Thread Awanthika Senarath
I have tested, Installation of Developer Studio Platform, ESB and CEP tools on top of kernel Updater tool functionality, installation and job running +1, Regards Awanthika Awanthika Senarath Software Engineer, WSO2 Inc. Mobile: +94717681791 On Mon, May 16, 2016 at 3:10 PM, Awanthika

Re: [Dev] [DEV][CEP] BinaryDataReceiver java.net.BindException: Address already in use

2016-05-17 Thread Chamila De Alwis
I noticed that both the Presenter and the Worker pods spawn in the same Kubernetes node, probably causing the resource limitation. Using nodeSelector on the Replication Controller for the Worker node, I moved the Worker pod to the other node, and CEP started without an issue. It's most likely that

Re: [Dev] [DEV][CEP] BinaryDataReceiver java.net.BindException: Address already in use

2016-05-17 Thread Chamila De Alwis
Netstat shows that 9711 is opened by the Java process started by wso2server.sh. Regards, Chamila de Alwis Committer and PMC Member - Apache Stratos Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Wed, May 18, 2016 at 7:40 AM, Chamila De Alwis

[Dev] [DEV][CEP] BinaryDataReceiver java.net.BindException: Address already in use

2016-05-17 Thread Chamila De Alwis
Hi, When starting a CEP 4.0.0 Worker node, I'm coming across the following issue, where the BinaryDataReceiverServiceComponent doesn't start. The SSL port for the BinaryDataReceiver is the default 9711. Please note that this instance is a Pod in a Kubernetes Cluster, and at the same time, there

[Dev] Transport error: 404 Error: Not Found

2016-05-17 Thread Nifras Ismail
Hi Devs, While i have execute my axis2 web service client. There is a run time error happens. The following is the error. which is file not found error on axis2 but all configurations are I did. org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found at

Re: [Dev] [C5] [MB] Failed to initialize startup resolver

2016-05-17 Thread Niranjan Karunanandham
Hi Indika, Are you able to start the access the osgi console? If so, can you check if carbon-jndi bundle is active? Regards, Nira On Tue, May 17, 2016 at 5:17 PM, Indika Sampath wrote: > I update kernel version to 5.1.0-alpha2 and made necessary changes in > pom.xml. Also

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-17 Thread Niranjan Karunanandham
Hi Senduran, Thanks for the quick response. I tested the msf4j with carbon-transports version 2.0.3-SNAPSHOT in Carbon-Kernel 5.1.0-alpha2 using the stock-quote sample and it works fine. @Samiyuru: I have update the PR [1] with the carbon-transports and carbon-messaging to 2.0.3 and 1.0.3

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

2016-05-17 Thread Osura Rathnayake
Hi Imesh, Shall we have a hangout on Thursday or so? On Thu, May 12, 2016 at 8:26 PM, Imesh Gunaratne wrote: > Hi Osura, > > On Thu, May 12, 2016 at 8:09 PM, Osura Rathnayake > wrote: > >> Hi Mentors, >> >> I created a github repository so that all the

Re: [Dev] [C5] [MB] Failed to initialize startup resolver

2016-05-17 Thread Indika Sampath
I update kernel version to 5.1.0-alpha2 and made necessary changes in pom.xml. Also clone carbon-datasources and carbon-jndi, locally build and update pom.xml with 1.0.0-SNAPSHOT. I didn't get any issue at build time. But below exception throws at the server start up. Appreciate your input.

Re: [Dev] Allowing to map the leaf nodes - json schema

2016-05-17 Thread Sohani Weerasinghe
Sohani Weerasinghe Software Engineer WSO2, Inc: http://wso2.com Mobile : +94 716439774 Blog :http://christinetechtips.blogspot.com/ Twitter : https://twitter.com/sohanichristine On Tue, May 17, 2016 at 4:15 PM, Chanaka Fernando wrote: > Hi Sohani, > > How will it look

Re: [Dev] Allowing to map the leaf nodes - json schema

2016-05-17 Thread Nuwan Pallewela
Hi Sohani, I think we should support to map attributes too. Thanks, Nuwan On Tue, May 17, 2016 at 4:15 PM, Chanaka Fernando wrote: > Hi Sohani, > > How will it look like if we expand the array item in the "input" window? I > guess it will expand and show the attribute and

Re: [Dev] Allowing to map the leaf nodes - json schema

2016-05-17 Thread Chanaka Fernando
Hi Sohani, How will it look like if we expand the array item in the "input" window? I guess it will expand and show the attribute and the value. If that is the case, we can allow them to map attributes also. WDYT? On Tue, May 17, 2016 at 3:34 PM, Sohani Weerasinghe wrote: > Hi

Re: [Dev] Allowing to map the leaf nodes - json schema

2016-05-17 Thread Sohani Weerasinghe
Hi Viraj, If we consider an xml as below ( primitive array), the tree view will be as follows susinda 0112655655 0112655655 ​What if, there is an attribute for the 'phone' as below? susinda 0112655655 0112655655 Are we going to allow

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-17 Thread Asitha Nanayakkara
Hi Senduran, We don't use carbon-transport directly. But we depend on MSF4j which depend on carbon-transport. We'll check and let you know. Regards, Asitha On Tue, May 17, 2016 at 1:19 PM, Niranjan Karunanandham wrote: > Hi Senduran, > > We need to test it with the kernel

[Dev] Allowing to map the leaf nodes - json schema

2016-05-17 Thread Sohani Weerasinghe
Hi All, With the current level of the implementation of visual datamapper editor, all nodes of the json schema except the root node can be mapped to the nodes of another json schema. As per the offline discussion we had, we are going to allow users only to map the leaf nodes of the tree and

Re: [Dev] Unable to generate the schema if the payload does not contain root element

2016-05-17 Thread Shakila Sivagnanarajah
Thanks Nuwan On Tue, May 17, 2016 at 3:26 PM, Nuwan Pallewela wrote: > Hi Shakila, > > We can use "http:\/\/wso2jsonschema.org\/root\/0" as the id here. As log > as it is unique from other sub-schema's it is ok to use any value as the > id. But it is better to go with a

Re: [Dev] Unable to generate the schema if the payload does not contain root element

2016-05-17 Thread Nuwan Pallewela
Hi Shakila, We can use "http:\/\/wso2jsonschema.org\/root\/0" as the id here. As log as it is unique from other sub-schema's it is ok to use any value as the id. But it is better to go with a convention. Thanks, Nuwan On Tue, May 17, 2016 at 3:11 PM, Shakila Sivagnanarajah

Re: [Dev] Unable to generate the schema if the payload does not contain root element

2016-05-17 Thread Shakila Sivagnanarajah
Thanks Nuwan, In the id of the items element, the *ids *is the name of the root element. So what would be the id here? "id":"http:\/\/wso2jsonschema.org\/*ids*\/0", Thanks On Tue, May 17, 2016 at 2:49 PM, Nuwan Pallewela wrote: > Hi Shakila, > > The JSON schema for above

[Dev] Error validating deflate signature-Could not extract the Signature from query string

2016-05-17 Thread Ishara Cooray
Hi IS Team, I am working on a scenario where need signature validation for authentication requests coming from a jaggery app deployed in a AS. I have configured SSO with SAML 2.0 while IS as the identity provider (IS 5.0.0). For that, I have the 'Enable Signature Validation in Authentication

Re: [Dev] Unable to generate the schema if the payload does not contain root element

2016-05-17 Thread Nuwan Pallewela
Hi Shakila, The JSON schema for above mention payload [1] should be as follows. { "id":"http:\/\/wso2jsonschema.org", "title":"root", "$schema":"http:\/\/json-schema.org\/draft-04\/schema#", "items":[ { "id":"http:\/\/wso2jsonschema.org\/ids\/0",

[Dev] Unable to generate the schema if the payload does not contain root element

2016-05-17 Thread Shakila Sivagnanarajah
Hi, If the payload does not contain the root element, It is not loading the file to generate the schema as reported in [1]. I manually added a root element and a child element in the payload [2] as shown in [3] and generated the schema [4]. Then I deleted the root element and child (highlighted

Re: [Dev] How can we manually create a "Token" object and pass it to "sendOAuthRequest" method of Jaggery's "OAuth" module?

2016-05-17 Thread Rajkumar Rajaratnam
Hi Geesara, I'm talking about SAML2 grant type. I don't think the above doc explain how to construct a token object from the accessTokenResponse object returned when we exchange a SAML2 token with an OAuth token. Thanks, Raj On Monday, 16 May 2016, Geesara Prathap wrote: >

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-17 Thread Niranjan Karunanandham
Hi Senduran, We need to test it with the kernel if the startup resolver and other things are working fine with msf4j. Regards, Nira On Tue, May 17, 2016 at 12:32 PM, Senduran Balasubramaniyam < sendu...@wso2.com> wrote: > Hi Niranjan / Samiyuru > > MSF4J's test are running successfully with

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-17 Thread Senduran Balasubramaniyam
Hi Niranjan / Samiyuru MSF4J's test are running successfully with the latest carbon-transport (2.0.3-snapshot) and carbon messaging 1.0.3. Is there any additional tests we need to perform before releasing the carbon transport. @Hasitha, Asitha Please check your latest development with carbon

Re: [Dev] Release tag's not available in ML repo

2016-05-17 Thread Mohanadarshan Vivekanandalingam
On Tue, May 17, 2016 at 11:34 AM, Supun Sethunga wrote: > Hi Manoj, > > What is the naming convention for this released tag? > > Btw, seems it is not mentioned in the release process docs [1].. If this > is a required step, shall we update the docs too? > Mentioned in below

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-17 Thread Senduran Balasubramaniyam
Hi Niranjan Transport Properties will get its default value if the file is not available. But I have missed to initialize the transport properties. Now it is changed to initialize with an empty set. I'll try running the MSF4J test cases. Yes, if this doesn't solves, I will create a jira and

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-17 Thread Niranjan Karunanandham
Hi Samiyuru / Senduran, On Tue, May 17, 2016 at 11:35 AM, Samiyuru Senarathne wrote: > Transport config yaml file is loaded from transport component. So setting > defaults in MSF4J level is not successful. IMO its better to set defaults > in transport level to support

Re: [Dev] [C5][BPS] Startup errors with new kernel SNAPSHOT

2016-05-17 Thread Samiyuru Senarathne
Transport config yaml file is loaded from transport component. So setting defaults in MSF4J level is not successful. IMO its better to set defaults in transport level to support initialization without a config file or with a config file with only a sub set of the configurations. Best Regards,

Re: [Dev] Release tag's not available in ML repo

2016-05-17 Thread Supun Sethunga
Hi Manoj, What is the naming convention for this released tag? Btw, seems it is not mentioned in the release process docs [1].. If this is a required step, shall we update the docs too? [1] https://docs.wso2.com/display/Carbon445/Releasing+a+Git+Repository On Wed, May 11, 2016 at 12:31 PM,