Re: [Dev] [Architecture] [BPS] [UUF] Developing BPMN Explorer UI using UUF for BPS

2016-05-19 Thread Rasika Perera
Hi, We have came up with this best practise. There are basically two scenarios; 1. When the back-end is belongs to your product(eg. calling BPS runtime). We assume that you have written your JAX-RS based on an OSGi service. JAX-RS will *not* hold any business logic and act as API

Re: [Dev] [Jaggery] Web sockets api in jaggery

2016-05-19 Thread Danushka Fernando
This is my server side looks like <% /* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. *

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

2016-05-19 Thread Isuru Haththotuwa
Hi Osura, Are you joining the hangout now? On Thu, May 19, 2016 at 7:37 PM, Osura Rathnayake wrote: > Hi Isuru, > > It's no problem. Okay let's have a hangout at 11 o'clock tomorrow. > > On Thursday, May 19, 2016, Isuru Haththotuwa wrote: > >> Hi Osura, >>

Re: [Dev] Automation Script to check if feature/update successfully copied to P2 repository

2016-05-19 Thread Kavith Lokuhewage
On Fri, May 20, 2016 at 10:35 AM, Awanthika Senarath wrote: > Yes, but say we have updated kernel feature version 3, kernel feature 1 > and 2 are already available viea releases and previous updates > > this script will run and give success installing kernel feature 2 even if

Re: [Dev] [Architecture] [BPS] [UUF] Developing BPMN Explorer UI using UUF for BPS

2016-05-19 Thread Chathura Ekanayake
So there is not separation between UI back-end and the actual server (e.g. BPS runtime)? i.e. both always run in the same jvm? On Thu, May 19, 2016 at 11:47 PM, Manuranga Perera wrote: > Yes, you will be able to call OSGi services. > > On Thu, May 19, 2016 at 12:53 PM, Hemika

Re: [Dev] Automation Script to check if feature/update successfully copied to P2 repository

2016-05-19 Thread Awanthika Senarath
Yes, but say we have updated kernel feature version 3, kernel feature 1 and 2 are already available viea releases and previous updates this script will run and give success installing kernel feature 2 even if kernel feature 3 that was copied is corrupted, then the whole purpose of the script is

Re: [Dev] Automation Script to check if feature/update successfully copied to P2 repository

2016-05-19 Thread Jasintha Dasanayake
On Fri, May 20, 2016 at 10:14 AM, Awanthika Senarath wrote: > scenario; > > I am writing an automated script for $subject using P2 director > > For the P2 director we cannot give the feature with a version, we have to > give only the feature name, > > When we give the feature

Re: [Dev] Clarification on Availability of API

2016-05-19 Thread Fazlan Nazeem
Hi Shavantha, Can you send a screenshot, so that we can look into what the problem is. On Fri, May 20, 2016 at 10:10 AM, Shavantha Weerasinghe wrote: > Hi All > > When APIs are invoked continuously, the availability of the same API is > shown as available and also busy. Is

[Dev] Automation Script to check if feature/update successfully copied to P2 repository

2016-05-19 Thread Awanthika Senarath
scenario; I am writing an automated script for $subject using P2 director For the P2 director we cannot give the feature with a version, we have to give only the feature name, When we give the feature with the releases repository URL it will also check in the updates repository and will install

[Dev] Clarification on Availability of API

2016-05-19 Thread Shavantha Weerasinghe
Hi All When APIs are invoked continuously, the availability of the same API is shown as available and also busy. Is this the expected behavior or should the only 1 status be shown for an API at one time admin--TestAPO:v1.0.0Available*admin--PizzaShackAPI:v1.0.0*AvailableTestAPO:v1.0.0Response

Re: [Dev] [Jaggery] Web sockets api in jaggery

2016-05-19 Thread Manjula Rathnayake
Hi all, Does web sockets work through nginx, haproxy like load balancers? thank you. On Fri, May 20, 2016 at 9:37 AM, Sinthuja Ragendran wrote: > Hi Dhanushka, > > You don't need to do any special changes, just include the server side > code as shown in the sample [1] in a

Re: [Dev] [Jaggery] Web sockets api in jaggery

2016-05-19 Thread Sinthuja Ragendran
Hi Dhanushka, You don't need to do any special changes, just include the server side code as shown in the sample [1] in a jag file, and mention that jag URL in the client side to connect via web socket. As per the example, the jaggery app for ws server side should be in below format. - sample

[Dev] [Jaggery] Web sockets api in jaggery

2016-05-19 Thread Danushka Fernando
Hi I tried to follow [1] to use some web sockets. But server url has to be in either ws or wss protocols. How we can expose a jaggery app in these protocols? [1] http://jaggeryjs.org/documentation.jag?api=webSocket Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc.

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

2016-05-19 Thread Megala Uthayakumar
Hi, We have moved the fix for the google connectivity problem with the commit [1]. [1] https://github.com/wso2/carbon-dashboards/commit/9e74ed2a788256cc429ffe35b6543c139d4c2ddb Thanks. Regards, Megala On Wed, May 18, 2016 at 12:52 PM, Sinthuja Ragendran wrote: > Hi

Re: [Dev] GSOC 2016 - Project 21 : MongoDB Userstore Development

2016-05-19 Thread Asantha Thilina
Hi Tharindu, sorry for the late reply ,as you advised i remove the scr reference and its corresponding methods from user store now it's works fine but i having another small issue if i wanted to run my mongodb user store as as my primary user store how would i do that? i added my user store

Re: [Dev] Time series data summarization

2016-05-19 Thread Sachith Withana
To add to what Srinath said. If you enable indexing for that summary table, you'll be able to get the data through the REST API as well using lucene queries,. Regards, Sachith On Fri, May 20, 2016 at 7:30 AM, Srinath Perera wrote: > schedule a spark query that aggregate the

Re: [Dev] Time series data summarization

2016-05-19 Thread Srinath Perera
schedule a spark query that aggregate the data per year and write to new table, and you can query from that table? On Fri, May 20, 2016 at 12:06 AM, Dulitha Wijewantha wrote: > Hi guys, > I have a bunch of data streams that have time stamps (like event logs) - > currently in

[Dev] API MANAGER + IS + TOKEN

2016-05-19 Thread John Q
Hello, Once I have a token delivered by the API Manager and validated by IS I need to know whether the token is from production or sandbox environment. I'm using OAuth2TokenValidationService to validate the token. Best regards, John ___ Dev mailing

[Dev] Time series data summarization

2016-05-19 Thread Dulitha Wijewantha
Hi guys, I have a bunch of data streams that have time stamps (like event logs) - currently in DAS 3.0.1 - is there a way to efficiently query these? Right now I am summarizing them based on string manipulation to the timestamp. An example query I have is - 1) How many unique user events do we

Re: [Dev] [Architecture] [BPS] [UUF] Developing BPMN Explorer UI using UUF for BPS

2016-05-19 Thread Manuranga Perera
Yes, you will be able to call OSGi services. On Thu, May 19, 2016 at 12:53 PM, Hemika Kodikara wrote: > Hi All, > > For clarification, does this mean we will be able to invoke a service side > function(through nashorn) upon client request ? As in when a user clicks a > button,

Re: [Dev] [Architecture] [BPS] [UUF] Developing BPMN Explorer UI using UUF for BPS

2016-05-19 Thread Hemika Kodikara
Hi All, For clarification, does this mean we will be able to invoke a service side function(through nashorn) upon client request ? As in when a user clicks a button, we can call a server side function ? Regards, Hemika Hemika Kodikara Software Engineer WSO2 Inc. lean . enterprise . middleware

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

2016-05-19 Thread Osura Rathnayake
Hi Isuru, It's no problem. Okay let's have a hangout at 11 o'clock tomorrow. On Thursday, May 19, 2016, Isuru Haththotuwa wrote: > Hi Osura, > > Sorry for the delayed response. > > Shall we have a hangout at 11 AM on 20th May (Friday)? > > On Tue, May 17, 2016 at 9:09 PM,

[Dev] [APIM] Error while starting API manager nodes in Docker

2016-05-19 Thread Gayan Gunarathne
We are getting following when try to starting the store. publisher nodes in Docker containers by using docker compose. Also this is happened intermittently. store1 | [2016-05-19 12:37:06,845] ERROR - DatabaseUtil Database Error - Duplicate entry 'http://wso2.org/oidc/claim--1234' for key

[Dev] SAML 2.0 Single Logout Profile Response handling for AS 6.0.0

2016-05-19 Thread Chiranga Alwis
Hi, I have been working on porting the past AS SAML 2.0 based single-sign-on valve to the new AS version. When refactoring and testing the already ported code, I came across the following issue within the invoke() method of the SAML 2.0 SSO Tomcat Valve [1]. In the group of if-then and

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

2016-05-19 Thread Isuru Haththotuwa
Hi Osura, Sorry for the delayed response. Shall we have a hangout at 11 AM on 20th May (Friday)? On Tue, May 17, 2016 at 9:09 PM, Osura Rathnayake wrote: > Hi Imesh, > > Shall we have a hangout on Thursday or so? > > > On Thu, May 12, 2016 at 8:26 PM, Imesh Gunaratne

Re: [Dev] [BPS][Tooling] Version numbers for product based Tooling releases

2016-05-19 Thread Heshitha Hettihewa
Hi Awanthika, Thanks a lot for the help. I will use the BPS product version for the release. Thanks. On Thu, May 19, 2016 at 4:15 PM, Awanthika Senarath wrote: > Hello Heshitha, > > > According to the discussion at [1] it was proposed for product tooling to > go with the

Re: [Dev] [BPS][Tooling] Version numbers for product based Tooling releases

2016-05-19 Thread Awanthika Senarath
Hello Heshitha, According to the discussion at [1] it was proposed for product tooling to go with the particular product versions. [1] Re: names for tooling/analytics releases for servers (was: Re: Where is ESB tooling alpha ??) Regards Awanthika Awanthika Senarath Software Engineer, WSO2

[Dev] [BPS][Tooling] Version numbers for product based Tooling releases

2016-05-19 Thread Heshitha Hettihewa
Hi all, Currently I'm in the process of developing BPS Tooling for Developer Studio.For the product based Tooling releases like these what is the most appropriate version number?. As this is the first BPS tooling release should it be 1.0.0 or should it be a version related to current dev studio

Re: [Dev] [Architecture] [BPS] [UUF] Developing BPMN Explorer UI using UUF for BPS

2016-05-19 Thread SajithAR Ariyarathna
Hi Sudharma, In the browser (client-side), you can do AJAX calls to the necessary REST APIs. However, doing HTTP requests from UI backend (which runs on the server-side) to REST APIs (which also runs on the server-side) is not recommended. Instead of that you should call OSGi services. Calling

[Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC1

2016-05-19 Thread Awanthika Senarath
Hello Devs, We are pleased to announce the vote for RC-3 of *WSO2 Developer Studio Tooling for Platform 4.1.0.* P2 repository of WSO2 developer Studio Tooling for Platform 4.1.0 is available here

Re: [Dev] [DevStudio] How to retrieve DevStudio kernel key store certificates?

2016-05-19 Thread Thilini Cooray
Thanks, Awanthika. I was able to resolve the issue. On Thu, May 19, 2016 at 1:52 PM, Awanthika Senarath wrote: > Hi Thilini, > > With the eclipse migration to Mars, we cannot use the system property JKS > parameters, Eclipse has removed this facility from Mars onwards. > >

[Dev] Why there is a TestNG version 6.9.11 in WSO2 Maven Repo??

2016-05-19 Thread Isuru Perera
Hi, I noticed that there is a TestNG version 6.9.11 in WSO2 Maven Repo. The latest TestNG version is 6.9.10 [2, 3]. I usually use "mvn versions:display-dependency-updates" to update my dependencies and I thought TestNG 6.9.11 is the latest version. I had an issue with Pax Exam OSGi tests and

Re: [Dev] GSoC Dockerfiles weekly status meeting minutes

2016-05-19 Thread Vishanth Balasubramaniam
Hi, That's great Abhishek. You can build the docker images using puppet provisioning for Kubernetes platform and try to deploy in Kubernetes, you can follow the steps provided in the docs [1]. It is very easy to follow. [1] -

[Dev] [Architecture] [BPS] [UUF] Developing BPMN Explorer UI using UUF for BPS

2016-05-19 Thread Sudharma Subasinghe
Hi all, I am working on developing BPMN explorer ui using Unified UI Framework. The existing BPMN explorer ui is for BPS which has built on C4 and it is used Jaggery. So, I am working on BPMN explorer ui for BPS which is to be released on C5. We need to implement business logics in backend. For

Re: [Dev] Adding a user with '@' sign (username == test@user) without enable Email User

2016-05-19 Thread Bhathiya Jayasekara
On Thu, May 19, 2016 at 12:59 PM, Nuwan Dias wrote: > IMO we should set to 'true' in carbon.xml to be able > to create users in the form of u...@email.com. My opinion is that we > should prevent entering those type of usernames if that config is 'false'. > +1. IIRC current

Re: [Dev] [DevStudio] How to retrieve DevStudio kernel key store certificates?

2016-05-19 Thread Awanthika Senarath
Hi Thilini, With the eclipse migration to Mars, we cannot use the system property JKS parameters, Eclipse has removed this facility from Mars onwards. The recommended approach is to set a Trust all manager for your connection, Please refer commit at [1] at class CloudAdminServiceClient for an

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

2016-05-19 Thread Awanthika Senarath
Hi Nuwan , Please find my inline comments, Please note that all three bugs reported are not related to Kernel, but to Developer Studio Tooling Platform, RC2 of Tooling Platform will be released today for voting. https://wso2.org/jira/browse/TOOLS-3413 This has already been fixed in the latest

Re: [Dev] Can we use Snakeyaml 1.17 in Carbon 5.1.0?

2016-05-19 Thread Niranjan Karunanandham
Hi Isuru, +1 to upgrade the snakeyaml version. IMO it would be better to upgrade the version, but before that we need to verify if there has been any API changes (since it is a minor release). Regards, Nira On Thu, May 19, 2016 at 1:27 PM, Isuru Perera wrote: > Hi Carbon

Re: [Dev] SnakeYAML is already an OSGi bundle. Why do we have SnakeYAML in orbit?

2016-05-19 Thread Isuru Perera
Thanks for info. Shall we ask the snakeyaml developers to add the Dynamic-Import header. May be we can create an issue [1]. Otherwise, that library is not useful in an OSGi container, right? [1] https://bitbucket.org/asomov/snakeyaml/issues?status=new=open On Thu, May 5, 2016 at 7:25 AM,

[Dev] Can we use Snakeyaml 1.17 in Carbon 5.1.0?

2016-05-19 Thread Isuru Perera
Hi Carbon Team, I noticed that there is a new version for snakeyaml [1]. Do you usually check your dependencies before releasing a new Carbon Kernel version? [1] http://mvnrepository.com/artifact/org.yaml/snakeyaml -- Isuru Perera Associate Technical Lead | WSO2, Inc. | http://wso2.com/ Lean .

Re: [Dev] Adding a user with '@' sign (username == test@user) without enable Email User

2016-05-19 Thread Nuwan Dias
IMO we should set to 'true' in carbon.xml to be able to create users in the form of u...@email.com. My opinion is that we should prevent entering those type of usernames if that config is 'false'. Thanks, NuwanD. On Thu, May 19, 2016 at 11:23 AM, Dhanuka Ranasinghe wrote: >

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

2016-05-19 Thread Heshan Jayasinghe
Hi Isuru, I completed Start Event,End Event,Gateways and Task.Currently these component can move in the canvas.As we discussed in our last meeting I am working for packaging the current source code,drawing flows,component re-sizing,creating property window and adding text areas to Task

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

2016-05-19 Thread Mahesh Dananjaya
Hi Maheshakya, thank you for the feedback. I have add data-sets into repo. data-sets/lr. I am all right with next week.Now i am writing some examples to collect samples and build mini batches and run the algorithms on those mini-batches. thank you. will add those into repo soon.I am still working

[Dev] [DevStudio] How to retrieve DevStudio kernel key store certificates?

2016-05-19 Thread Thilini Cooray
Hi, I am trying to call a HTTPS REST service of WSO2 API Manager through a Developer Studio plugin. I am getting following error [1] as API Manager does not contain any valid certificate for this plugin on its client truststore. Appreciate your opinion on how to retrieve the Devstudio kernel

Re: [Dev] [ESB][JMS] "transport.jms.InitialReconnectDuration" parameter will automatically multiply with "transport.jms.ReconnectProgressFactor"

2016-05-19 Thread Dilshani Subasinghe
Noted and appreciate quick response. Regards, Dilshani On Thu, May 19, 2016 at 11:31 AM, Nuwan Wimalasekara wrote: > Log is corrected as bellow when having below parameter values. > > locked="false">1 > locked="false">6 > > [2016-05-19 11:23:20,338] ERROR -

Re: [Dev] [ESB][JMS] "transport.jms.InitialReconnectDuration" parameter will automatically multiply with "transport.jms.ReconnectProgressFactor"

2016-05-19 Thread Nuwan Wimalasekara
Log is corrected as bellow when having below parameter values. 1 6 [2016-05-19 11:23:20,338] ERROR - ServiceTaskManager Reconnection attempt : 1 for service : JmsProxy failed. Next retry in 20 seconds [2016-05-19 11:23:45,357] ERROR - ServiceTaskManager Reconnection attempt : 2 for