[Dev] WSO2 Committers += Suganya Suvendran

2020-09-28 Thread Tharik Kanaka
Hi All,

It's my pleasure to announce Suganya Suvendran as a WSO2 Committer.

She has been a valuable contributor to the Ballerina and WSO2. In
recognition of her contribution, dedication, and commitment she has been
voted as a WSO2 committer.

Congratulations Suganya and keep up the good work.

Regards,
-- 

*Tharik Kanaka* | Associate Technical Lead | WSO2 Inc.
GET INTEGRATION AGILE
Integration Agility for Digitally Driven Business
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] VizGrammar polluting the JS global scope

2017-04-23 Thread Tharik Kanaka
+1
functions like getPieMark, getPieMidText were added to access from other
chart types in order to draw combinations (eg:- including a best fit line
for a scatter plot) other functions are from util js. Let's include all
those functions to vizg and include vizg to global scope.

On Sun, Apr 23, 2017 at 12:38 AM, Udara Rathnayake  wrote:

> Looks like we are doing the $subject.
>
> While looking at the window object, noticed we have following[1], Shall we
> try to update the library by only adding vizg to the global scope?
>
> [1]
> "d3", "vg", "getPieMark", "getPieMidText", "getPieText", "getAreaMark",
> "getBarMark", "getStackBarMark", "getGroupBarMark", "calculateBarGap",
> "getLineMark", "getTopoJson", "getMapMark", "getMapSignals",
> "getMapPredicates", "getMapLegends", "loadGeoMapCodes", "getMapCode",
> "getScatterMark", "getScatterToolTipMark", "checkConfig", "buildTable",
> "buildData", "getSymbolMark", "getSignals", "bindTooltip", "createTooltip",
> "cumulativeOffset", "getXYAxes", "getXYScales", "getRangeSignals",
> "getRangeMark", "getLegend", "drawChart", "arc", "area", "bar", "vizg",
> "line", "map", "number", "scatter", "table", "extend", "stack"
>
> --
> Regards,
> UdaraR
>



-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Creating a widget web-component using existing charting libraries

2017-03-22 Thread Tharik Kanaka
Hi Udara,

Igviz library is no longer used and we have replaced that with VizGrammar.
In VizGrammar you can use draw() function to draw the chart in a div. If
you want to insert records to update the chart you can use insert(). You
can try samples [1] and all the library content along with samples are
available in  github repository [2].

*var data = {*
*  "metadata" : {*
*  "names" : ["rpm","torque","horsepower", "EngineType"],*
*  "types" : ["linear","linear", "ordinal","ordinal"]*
*  },*
*  "data": [*
*[1, 10, 1, "Piston"],  [2, 12, 5, "Piston"]]*
*};*

*var config = {*
*charts : [{type: "area",  x : "rpm", y : "torque"}],*
*maxLength: 10,*
*width: 400,*
*height: 200*
*}*

*var chart = new vizg(data, **config**);*

*chart.draw("#chartDiv");*

*chart.insert([[8000, 74, 120, "Rotary"]]);*

[1] http://wso2.github.io/VizGrammar/samples/

[2] https://github.com/wso2/VizGrammar/

Thanks,


On Thu, Mar 23, 2017 at 11:42 AM, Udara Rathnayake  wrote:

> Hi all,
>
> I'm trying to create a web component (wso2-widget) to try-out capabilities
> which we can incorporate in to our widget rendering framework.
>
> ​Within my renderWidget function[1] I'm using the usual igviz.plot but
> unable to draw the chart inside container element which exists inside a
> shadow-root.​ Did some debugging but unable to find the place which
> breaks(No errors too).
>
> ​Appreciate any feedback on this.​
>
> PS:- If you need to try out this, host the source within "wc" branch
> inside apache2 and use Google chrome.
>
> ​[1] https://github.com/udarakr/uuf-sample-gadget/blob/wc/
> wso2-widget/wso2-widget.comp.html#L121
>
> --
> Regards,
> UdaraR
>



-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VizGrammar] igviz.plot/chart.draw alternatives

2016-10-25 Thread Tharik Kanaka
Hi Dinesh,

01) This can be managed by controlling number of ticks in the axis (already
have been done in analytics-is)
02) You can use tool tips CSS class and write your own css to style.
03) This could be fixed by making its configurable
04) At the moment we have a basic legend, this needs to be improved.

The only major issue i see is the legend. As long as these could be fixed i
don't see these as limitations to replace the whole thing. If you face
issue report them or even you could fix it and contribute which is way
better. This is what we did when we implement analytics for products.  Also
VizGrammar is based on vega and which has helped a lot us to achieve event
signals such as mouse clicking and range selections.

On the other hand even for last DS with gadget generation framework its
allowed to create own charting templates based on any charting library by
technical users  and allows non technical users to generate charts based on
templates. So ultimately UUF also should support the same without sticking
to any charting library.

Regards,

On Tue, Oct 25, 2016 at 11:44 AM, Dinesh J Weerakkody 
wrote:

> Hi Udara,
> Noted.
>
> The major issues I had was,
>
>- When we have lower values (< 10) in line charts, X axis will have
>decimal values (known issue)
>- No much flexibility to customize the tooltips (styles etc.).
>- Cannot change the size of the data points in line charts
>- Cannot change the position of the legends in pie charts.
>
> These are the issues I can remember. I'll let Tharik know if I remember
> any other issues.
>
> Thanks
>
> *Dinesh J. Weerakkody*
> Senior Software Engineer
> WSO2 Inc.
> lean | enterprise | middleware
> M : +94 727 868676 | E : dine...@wso2.com | W : www.wso2.com
>
> On Tue, Oct 25, 2016 at 10:19 AM, Udara Rathnayake 
> wrote:
>
>> Hi Dinesh,
>>
>> On Tue, Oct 25, 2016 at 9:15 AM, Dinesh J Weerakkody 
>> wrote:
>>
>>> Hi Udara,
>>>
>>> If you are considering to revamp the charting library, I strongly
>>> believe that we need to reconsider the VizGrammer due to the limitations in
>>> this library (No offense :) ). This is based on what I experienced when I'm
>>> using it. If you are going to allow users of the product to create gadgets,
>>> this will be really helpful for them.
>>>
>>
>> ​Not really trying to replace/revamp the library, but trying to look at
>> rendering options which we can implement. Ideally we should not limit
>> anyone to use igviz or vizgrammer, rather provide an extension point so
>> anyone can plug there own library and visualize.​
>>
>> ​Right now gagdet is that extension point.
>>
>> Going forward we are planning to make an uuf component which represents a
>> gadget. So anyone can create there own component with any charting library.
>> BTW we might not have an extensive use case now, where users go and create
>> there own gadgets/components.
>>
>> Further it's better if you can explain those limitations so Tharik can
>> have a look and may be we can improve in future.
>> ​
>>
>>>
>>> If we want to be with D3 based library I think we can use nvd3, which is
>>> also published under Apache 2.0. Otherwise there are many JS libraries
>>> available.
>>>
>>> [1] http://nvd3.org/
>>>
>>> Thanks
>>>
>>> *Dinesh J. Weerakkody*
>>> Senior Software Engineer
>>> WSO2 Inc.
>>> lean | enterprise | middleware
>>> M : +94 727 868676 | E : dine...@wso2.com | W : www.wso2.com
>>>
>>> On Mon, Oct 24, 2016 at 5:23 PM, Udara Rathnayake 
>>> wrote:
>>>
>>>> Thanks Jerad and Tharik!
>>>>
>>>> Hi Tharik,
>>>>
>>>> So we do the configuration part in server-side and draw in client-side?
>>>> Please correct me if I'm wrong.
>>>>
>>>>
>>>>
>>>> On Mon, Oct 24, 2016 at 2:16 PM, Tharik Kanaka  wrote:
>>>>
>>>>> Hi Udara,
>>>>>
>>>>> Its not possible. Instead of generating HTML in server side,  can't
>>>>> you generate  a chart spec from the server side and use that spec to 
>>>>> render
>>>>> in the browser?
>>>>>
>>>>> Regards,
>>>>>
>>>>> On Mon, Oct 24, 2016 at 2:04 PM, Jerad Rutnam  wrote:
>>>>>
>>>>>> Hi Udara,
>>>>>>
>>>>>> AFAIK currently it's not possible.
>>>>>>
>>>>>> Cheers,
>&

Re: [Dev] [VizGrammar] igviz.plot/chart.draw alternatives

2016-10-24 Thread Tharik Kanaka
Hi Udara,

Its not possible. Instead of generating HTML in server side,  can't you
generate  a chart spec from the server side and use that spec to render in
the browser?

Regards,

On Mon, Oct 24, 2016 at 2:04 PM, Jerad Rutnam  wrote:

> Hi Udara,
>
> AFAIK currently it's not possible.
>
> Cheers,
> Jerad
>
> On Mon, Oct 24, 2016 at 1:14 PM, Udara Rathnayake  wrote:
>
>> ​Hi All,
>>
>> $subject? ​
>> Is there a way to directly get the html content itself rather pointing a
>> div and draw?
>>
>> I'm trying to figure out possibilities of rendering a gadget in
>> serverside.
>>
>> --
>> Regards,
>> UdaraR
>>
>
>
>
> --
> *Jerad Rutnam*
> *Software Engineer*
>
> WSO2 Inc.
> lean | enterprise | middleware
> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>
> <https://wso2.com/signature>
>



-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DS] Best Jquery / Javascript charting library to use in a gadget

2016-09-28 Thread Tharik Kanaka
Hi Indunil,

Its not about what is best but its all about what is most suitable for
internal developments. A lot libraries are based on d3 and its the main
core library so we cannot compare with it. As Damith has pointed out
Vizgrammer is written on top D3 and Vega and heavily used in internal chart
implementations such as analytics-esb, analytics-is and in DAS, CEP. Using
that will give you the same look and feel of other WSO2 products.

Regards,

On Wed, Sep 28, 2016 at 3:12 PM, Damith Wickramasinghe 
wrote:

> Hi,
>
> Vizgrammer is written on top D3 and Vega and and its much more easier to
> implement charts than D3. But with D3 you will have much more control but
> IMO its better to use Vizgrammer since we have used it to implement all our
> charts in our analytics effort. And you can also contribute it by adding
> the charts which are not already supported.
>
> Thanks,
> Damith.
>
> On Wed, Sep 28, 2016 at 3:03 PM, SajithAR Ariyarathna 
> wrote:
>
>> AFAIK, we use D3. We have used it in other products e.g. AppM, DS,
>> Analytics etc.
>>
>> On Wed, Sep 28, 2016 at 2:53 PM, Indunil Upeksha Rathnayake <
>> indu...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I am working on including several graphs into a gadget of an internal
>>> dashboard. Appreciate your help on identifying the best suitable
>>> jquery/javascript charting library which can be use for an internal
>>> purposes, which will be providing more user friendly environment and as
>>> well as easy to use. I have found several options as follows.
>>>
>>>- CanvasJs: Open source and Follows a simple "royalty-free"
>>>licensing model based on the number of developers, which allows to
>>>integrate & distribute CanvasJS in SaaS and Internal Applications without
>>>any royalties.
>>>- FushionCharts
>>>- D3.js: Open source and released under BSD license
>>> - Chart.js: Open source and available under the MIT license
>>>- VizGrammer: Open source and JavaScript library that based on d3.js
>>>
>>> Thanks and Regards
>>>
>>> --
>>> Indunil Upeksha Rathnayake
>>> Software Engineer | WSO2 Inc
>>> Emailindu...@wso2.com
>>> Mobile   0772182255
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sajith Janaprasad Ariyarathna
>> Software Engineer; WSO2, Inc.;  http://wso2.com/
>> <https://wso2.com/signature>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Software Engineer
> WSO2 Inc.; http://wso2.com
> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
> lean.enterprise.middleware
>
> mobile: *+94728671315 <%2B94728671315>*
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Location of chart-utils.js in DAS 3.1.0

2016-09-22 Thread Tharik Kanaka
Hi Chamila,

We have improved analytics-wso2 as analytics-wso2-2.0.0 to couple with
VizGrammar versions. For a beta pack if you have created gadgets referring
"analytics-wso2". When you migrate best option if to refer
"analytics-wso2-2.0.0". Since we have fixed a lot bugs and have done
improvements from beta if there are any issues for your gadgets, in that
case you can migrate your analytics-wso2 file to libs and refer it.
Ultimate goal is to maintain versions in that directory.

Regards,

On Fri, Sep 23, 2016 at 10:26 AM, Sachith Withana  wrote:

> +Tharik and Dunith
>
> On Fri, Sep 23, 2016 at 10:23 AM, Chamila De Alwis 
> wrote:
>
>> Hi,
>>
>> I noticed that in DAS 3.1.0 "repository/deployment/server/
>> jaggeryapps/portal/libs/analytics-wso2" is not there anymore (from DAS
>> 3.1.0-beta). Instead, the libraries are available as "analytics-wso2-2.0.0"
>> and "analytics-wso2_5.0.12".
>>
>> Doesn't this break gadget dependencies if dashboard features are upgraded?
>>
>>
>> Regards,
>> Chamila de Alwis
>> Committer and PMC Member - Apache Stratos
>> Senior Software Engineer | WSO2
>> Blog: https://medium.com/@chamilad
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sachith Withana
> Software Engineer; WSO2 Inc.; http://wso2.com
> E-mail: sachith AT wso2.com
> M: +94715518127
> Linked-In: <http://goog_416592669>https://lk.linkedin.com/in/
> sachithwithana
>



-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Vote] Release WSO2 Complex Event Processor (CEP) 4.2.0-RC2

2016-09-14 Thread Tharik Kanaka
 RDBMS
>>>>>>>>>>> event table does not work with new RDBMS database types
>>>>>>>>>>> [CEP-1516 <https://wso2.org/jira/browse/CEP-1516>] - Distinct
>>>>>>>>>>> Attribute Aggretaor for Siddhi
>>>>>>>>>>> [CEP-1517 <https://wso2.org/jira/browse/CEP-1517>] - Split
>>>>>>>>>>> Function for String Siddhi Extension
>>>>>>>>>>> [CEP-1520 <https://wso2.org/jira/browse/CEP-1520>] - Necessary
>>>>>>>>>>> improvement to ExternalTimeBatch window
>>>>>>>>>>> [CEP-1526 <https://wso2.org/jira/browse/CEP-1526>] - Improve
>>>>>>>>>>> event receiver/publisher JMS configuration to support Tibco EMS
>>>>>>>>>>> [CEP-1528 <https://wso2.org/jira/browse/CEP-1528>] - Provide
>>>>>>>>>>> support for string values to be used in line charts x axis in real 
>>>>>>>>>>> time
>>>>>>>>>>> gadets
>>>>>>>>>>> [CEP-1532 <https://wso2.org/jira/browse/CEP-1532>] - Add
>>>>>>>>>>> basicAuth enable property for http event receiver
>>>>>>>>>>> [CEP-1540 <https://wso2.org/jira/browse/CEP-1540>] - [Template
>>>>>>>>>>> Manager UI] JSP pages which are not invoked through Ajax are named 
>>>>>>>>>>> as
>>>>>>>>>>> *_ajaxprocessor.jsp
>>>>>>>>>>> [CEP-1574 <https://wso2.org/jira/browse/CEP-1574>] - JNDI
>>>>>>>>>>> Connector to Sonic MQ.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> *Fixed Issues in This Release*
>>>>>>>>>>>
>>>>>>>>>>>- Bug Fixes
>>>>>>>>>>><https://wso2.org/jira/browse/CEP-1570?filter=13164>
>>>>>>>>>>>
>>>>>>>>>>> *Known Issues*
>>>>>>>>>>>
>>>>>>>>>>>- Known Issues
>>>>>>>>>>><https://wso2.org/jira/browse/CEP-256?filter=13165>
>>>>>>>>>>>
>>>>>>>>>>> *Source and distribution packages:*
>>>>>>>>>>>
>>>>>>>>>>>- 
>>>>>>>>>>> *https://github.com/wso2/product-cep/releases/download/v4.2.0-rc2/wso2cep-4.2.0-RC2.zip
>>>>>>>>>>>
>>>>>>>>>>> <https://github.com/wso2/product-cep/releases/download/v4.2.0-rc2/wso2cep-4.2.0-RC2.zip>*
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Please download, test, and vote. The README file under the
>>>>>>>>>>> distribution contains guide and instructions on how to try it out 
>>>>>>>>>>> locally.
>>>>>>>>>>> [+] Stable - Go ahead and release [-] Broken - Do not release 
>>>>>>>>>>> (explain why)
>>>>>>>>>>> This vote will be open for 72 hours or as needed. Regards,
>>>>>>>>>>> WSO2 CEP Team
>>>>>>>>>>>
>>>>>>>>>>> ___
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> Tharindu Edirisinghe
>>>>>>>>>> Senior Software Engineer | WSO2 Inc
>>>>>>>>>> Platform Security Team
>>>>>>>>>> Blog : tharindue.blogspot.com
>>>>>>>>>> mobile : +94 775181586
>>>>>>>>>>
>>>>>>>>>> ___
>>>>>>>>>> Dev mailing list
>>>>>>>>>> Dev@wso2.org
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Tishan Dahanayakage
>>>>>>>>> Senior Software Engineer
>>>>>>>>> WSO2, Inc.
>>>>>>>>> Mobile:+94 716481328
>>>>>>>>>
>>>>>>>>> Disclaimer: This communication may contain privileged or other
>>>>>>>>> confidential information and is intended exclusively for the 
>>>>>>>>> addressee/s.
>>>>>>>>> If you are not the intended recipient/s, or believe that you may have
>>>>>>>>> received this communication in error, please reply to the sender 
>>>>>>>>> indicating
>>>>>>>>> that fact and delete the copy you received and in addition, you 
>>>>>>>>> should not
>>>>>>>>> print, copy, re-transmit, disseminate, or otherwise use the 
>>>>>>>>> information
>>>>>>>>> contained in this communication. Internet communications cannot be
>>>>>>>>> guaranteed to be timely, secure, error or virus-free. The sender does 
>>>>>>>>> not
>>>>>>>>> accept liability for any errors or omissions.
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Pamoda Wimalasiri
>>>>>>>> *Software Engineering Intern*
>>>>>>>> Mobile : 0713705814
>>>>>>>> Email : pam...@wso2.com
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Grainier Perera
>>>>>>> Software Engineer
>>>>>>> Mobile : +94716122384
>>>>>>> WSO2 Inc. | http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> [image: http://wso2.com/signature] <http://wso2.com/signature>
>>>>>>
>>>>>> *Thilini Anoratna*
>>>>>> Software Engineer
>>>>>> WSO2 Inc.; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> mobile: +94 778955654 <+94+778955654>
>>>>>>
>>>>>> * <http://lk.linkedin.com/in/thilinianoratna>*
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Tishan Dahanayakage
>>>>> Senior Software Engineer
>>>>> WSO2, Inc.
>>>>> Mobile:+94 716481328
>>>>>
>>>>> Disclaimer: This communication may contain privileged or other
>>>>> confidential information and is intended exclusively for the addressee/s.
>>>>> If you are not the intended recipient/s, or believe that you may have
>>>>> received this communication in error, please reply to the sender 
>>>>> indicating
>>>>> that fact and delete the copy you received and in addition, you should not
>>>>> print, copy, re-transmit, disseminate, or otherwise use the information
>>>>> contained in this communication. Internet communications cannot be
>>>>> guaranteed to be timely, secure, error or virus-free. The sender does not
>>>>> accept liability for any errors or omissions.
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Ashen Weerathunga*
>>>> Software Engineer
>>>> WSO2 Inc.: http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> Email: as...@wso2.com
>>>> Mobile: tel:94716042995 <94716042995>
>>>> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
>>>> <http://lk.linkedin.com/in/ashenweerathunga>*
>>>> <http://wso2.com/signature>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Dilini Muthumala*
> Senior Software Engineer,
> WSO2 Inc.
>
> *E-mail :* dil...@wso2.com
> *Mobile: *+94 713-400-029
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DS] Please review and merge this PR

2016-09-02 Thread Tharik Kanaka
Hi Suho and Ramindu,

Above fix is no needed as "else" block will be executed for realtime
providers (push mode)  [1].  There we call "draw" method of the chart which
draw the chart even without the data. Then only we register call back to
push. In that call back we don't redraw the chart we just update previously
drawn chart. If call draw() on callbacks there will be a chart refreshing
in the UI as it redraws.

Here he new provider is going to access DAS tables using query params which
is a pull mode operation [2]. There basically we draw the chart with pulled
data and then set interval to call draw method periodically. If its a such
operation in that particular provider getMode should be "PULL" as in the
batch provider [3] Also please refer the branch 2.0.x of carbon-dashboard which
is used cep and das packs instead of master branch.


[1]
https://github.com/wso2/carbon-dashboards/blob/2.0.x/apps/portal/templates/gadgets/gadget-generation-templates/js/gadget-core.js.hbs#L77

[2]
https://github.com/wso2/carbon-dashboards/blob/2.0.x/apps/portal/templates/gadgets/gadget-generation-templates/js/gadget-core.js.hbs#L72

[3]
https://github.com/wso2/carbon-analytics-common/blob/master/features/analytics-gadget-templates/org.wso2.carbon.analytics.gadget.batch.provider.template.feature/src/main/providers/batch/api.js#L126

Regards,

On Fri, Sep 2, 2016 at 12:16 PM, Sriskandarajah Suhothayan 
wrote:

> @Tharick how its working in Real-time provider without this fix?
>
> Regards
> Suho
>
> On Fri, Sep 2, 2016 at 11:02 AM, Ramindu De Silva 
> wrote:
>
>> Hi DS team,
>>
>> Could you please review and merger PR[1].
>> This was due to the new provider implemented to access DAS tables using
>> query params in the dashboard.
>> Since the "registerCallBackForPush" method calls for the "update" method
>> in the gadget, the gadget's view is not getting created using the schema
>> since there's no data . So I had to add extra parameter in-order to make
>> the gadget work.
>>
>> 1. https://github.com/wso2/carbon-dashboards/pull/368
>>
>> Best Regards,
>>
>> --
>> *Ramindu De Silva*
>> Software Engineer
>> WSO2 Inc.: http://wso2.com
>> lean.enterprise.middleware
>>
>> email: ramin...@wso2.com 
>> mob: +94 772339350
>> mob: +94 719678895
>>
>
>
>
> --
>
> *S. Suhothayan*
> Associate Director / Architect & Team Lead of WSO2 Complex Event Processor
> *WSO2 Inc. *http://wso2.com
> * <http://wso2.com/>*
> lean . enterprise . middleware
>
>
> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter:
> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in:
> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
>



-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Notification facility in Analytics Dashboard

2016-08-24 Thread Tharik Kanaka
Hi Aneela,


Alerting cannot be done at Visualising level but since these are real time
events, you can place a Siddhi execution plan with alerting logic (bar y
axis attributes threshold) for a certain output stream. Then you can add an
event publisher such as email or sms to alert.

Regards,

On Tue, Aug 23, 2016 at 11:28 PM, Aneela Safdar  wrote:

> Hi,
>
> I am generating a bar chart from some log files in dashboard, there are
> times when bar raises high due to huge amount of  network traffic and as it
> is happening in real time, there might come a scenario when some body would
> overlook those high bars as chart is continuously being updated. I was
> wondering is there any notification or alert service available that I can
> use if bar goes higher than a certain threshold value?? If so what are my
> options?
>
> Regards,
> Aneela Safdar
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Chart's coordinates of to be of string type

2016-08-24 Thread Tharik Kanaka
Hi Aneela,

If you are using CEP 4.2.0 RC pack in the chart generation wizard, when
selecting columns for X and Y, there is a field called "X type" which you
can explicitly select as "String".

Regards,

On Thu, Aug 25, 2016 at 12:20 AM, Aneela Safdar  wrote:

> Hi,
>
> I am processing network traffic in real time using CEP and dashboard. The
> problem is there are situations where I like to make use of different
> charts like, line, area, scatter etc and need axis to be represented as
> IP-addresses or timestamps which are basically strings.
>
> But most of these charts do not take axis as string except bar chart. How
> can I make use of other charts in that situation?
>
> Thanks
>
> Regards,
> Aneela Safdar
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Jaggery] Path/query parameter support in Jaggery Websocket Server

2016-08-24 Thread Tharik Kanaka
Hi Geesara,

Yes for normal websockets implementations you can pass as URL parameters,
but in jaggery WebSocketHostObject implementation there was no way to get
query string in the server end. We might need to include a js function like
getQueryString similar like in RequestHostObject [2].

[1]
https://github.com/wso2/jaggery/blob/master/components/hostobjects/org.jaggeryjs.hostobjects.web/src/main/java/org/jaggeryjs/hostobjects/web/WebSocketHostObject.java

[2]
https://github.com/wso2/jaggery/blob/master/components/hostobjects/org.jaggeryjs.hostobjects.web/src/main/java/org/jaggeryjs/hostobjects/web/RequestHostObject.java#L222

Regards,

On Wed, Aug 24, 2016 at 7:47 PM, Geesara Prathap  wrote:

> Hi Dilini,
>
>
> Is it possible for a Websocket client to send some parameters (as path
> params or as query params) to a Websocket Server at the time of creating
> the connection?
>
> Yes, you can send n number of query params, this reference
> implementation[1-2] will help you to figure it out how this is done. There
> are some compatibility issues with difference browsers as well as  browser
> versions. So referenced implementation addressed that kind of issues as
> well.
>
>
> 1. https://github.com/wso2/carbon-device-mgt-plugins/blob/
> master/components/iot-plugins/raspberrypi-plugin/org.wso2.
> carbon.device.mgt.iot.raspberrypi.ui/src/main/resour
> ces/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.
> raspberrypi.realtime.analytics-view/analytics-view.js#L30
> 2. https://github.com/wso2/carbon-device-mgt-plugins/blob/
> master/components/iot-plugins/raspberrypi-plugin/org.wso2.
> carbon.device.mgt.iot.raspberrypi.ui/src/main/resour
> ces/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.
> raspberrypi.realtime.analytics-view/public/js/device-stats.js
>
> Thanks,
> Geesara
>
> On Wed, Aug 24, 2016 at 7:13 PM, Dilini Muthumala  wrote:
>
>> Hi,
>>
>> Is it possible for a Websocket client to send some parameters (as path
>> params or as query params) to a Websocket Server at the time of creating
>> the connection?
>>
>> Right now, the Websocket client which I'm writing is sending parameters
>> after connecting to the Webocket server, in a message, as below (line no
>> 16):
>>
>>
>>1. 
>>2. var url = 'ws://localhost:9763/sample/ws/server.jag';
>>3. function start() {
>>4. ws = new WebSocket(url);
>>5. ws.onopen = function() {
>>6. //
>>7. };
>>8. //event handler for the message event in the case of text frames
>>9. ws.onmessage = function(event) {
>>10. //
>>11. };
>>12. ws.onclose = function() {
>>13. //
>>14. };
>>15. ws.onopen();
>>16. ws.send("parameter1,parameter2");
>>17. }
>>18. 
>>
>>
>> Is there any better way for a Websocket client to send parameters to a
>> server?
>>
>> Thanks,
>> Dilini
>>
>> --
>> *Dilini Muthumala*
>> Senior Software Engineer,
>> WSO2 Inc.
>>
>> *E-mail :* dil...@wso2.com
>> *Mobile: *+94 713-400-029
>>
>> _______
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Geesara Prathap Kulathunga
> Software Engineer
> WSO2 Inc; http://wso2.com
> Mobile : +940772684174
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Stroring event data in tables in addition to display

2016-08-14 Thread Tharik Kanaka
Hi Aneela,

At the moment gadget generation framework provides to select realtime or
database provider. So if you select database provider it will not push data
like in realtime provider but refresh the gadget after configured time
interval.

When it comes to WSO2 DAS there is a batch provider option in gadget
generation where as you can directly configure a DAS event table. These
event tables will be maintained for persisted streams. CEP is used to for
real time processing and those streams are not meant to persist event but
you can persist streams in DAS which could be configured to get events from
a Siddhi Execution plan and create a gadget on that persisted streams event
table.

Regards,

On Sun, Aug 14, 2016 at 4:57 PM, Aneela Safdar  wrote:

> Hi,
>
> I have been doing  a project in wso2cep to take some log files, perform
> queries in execution plans and then direct results to dashboard where a bar
> chart is displaying them.
>
> In addition to just showing bars of events, now I want to store the data
> in db too so I could see what happened previously and so. Till now I have
> only worked with streams and there are few questions I need to ask before
> moving to tables.
>
>
>- Should I be installing and configuring a new database as there are
>some options given in documentation or I will be able to work with default
>database and configurations?
>- Do tables and streams both work side by side or I have to shift to
>one of them as when I create a gadget, it first asks me about source that
>is it a stream or table?
>
>
> Thanks,
>
> Regards,
> Aneela Safdar
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS310] Adding the name value pair to tooltips of charts

2016-08-14 Thread Tharik Kanaka
Hi Sachith,

This can be achieved by adding following config. For content you can
specify colums/attributes you want to show.

tooltip: {"enabled":true, "color":"#e5f2ff", "type":"symbol",
"content":["EngineType","rpm"], "label":true}

@Kalpa; For your requirement is it fine to display as following where as
values are shown along with the columns/attributes ?

country: Sri Lanka
request count : 1234

Regards,

On Sun, Aug 14, 2016 at 10:10 AM, Kalpa Welivitigoda 
wrote:

> Hi,
>
> I too have a similar requirement where I want to customize the tooltip for
> a map, is it possible that we define our own pattern?
>
> Current tooptip is like 'Sri Lanka 1234"
>
> I want to have it like,
> 'Sri Lanka
> Request Count: 1234'
>
>
>
> On Sun, Aug 14, 2016 at 1:46 AM, Sachith Withana  wrote:
>
>> Hi Jerad,
>>
>> Yes I do agree with your first point. I have added a very cluttered graph
>> here. But it's not gonna be the case in the implementation cz I'm only
>> gonna show the top 10.
>>
>> But in the users perspective, rather than matching the colors, it might
>> help to have the name in the tool tip as well. That's what I meant.
>>
>> Thanks,
>> Sachith
>>
>> On Sat, Aug 13, 2016 at 12:54 AM, Jerad Rutnam  wrote:
>>
>>> Hi Sachith,
>>>
>>> In UX point of view & IMO, PIE chart is not a good solution for
>>> representing data that has large numbers. Is it something required or can
>>> we use some other chart type e.g. bar-chart ??
>>>
>>> Anyway for your question, i think it is possible to add the
>>> corresponding name of the value to the tooltip. But not sure about showing
>>> only the names which are in the legend.
>>>
>>> Regards,
>>> Jerad
>>>
>>>
>>> On Sat, Aug 13, 2016 at 1:46 AM, Sachith Withana 
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have a scenario where there's a possibility of having a lot of inputs
>>>> for the pie chart.
>>>> Added an example chart below.
>>>>
>>>> [image: Inline image 1]
>>>>
>>>> But the tooltip *only* shows the value for the highlighted potion.
>>>>
>>>> Is there a way of adding the corresponding name of the value to that
>>>> tool tip as well?
>>>>
>>>> And also can we show only the names of the top 10 values in the legend?
>>>> Since it's hard to show them all.
>>>>
>>>> Regards,
>>>> Sachith
>>>> --
>>>> Sachith Withana
>>>> Software Engineer; WSO2 Inc.; http://wso2.com
>>>> E-mail: sachith AT wso2.com
>>>> M: +94715518127
>>>> Linked-In: <http://goog_416592669>https://lk.linkedin.com/in/sac
>>>> hithwithana
>>>>
>>>
>>>
>>>
>>> --
>>> *Jerad Rutnam*
>>> *Software Engineer*
>>>
>>> WSO2 Inc.
>>> lean | enterprise | middleware
>>> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>>>
>>> <https://wso2.com/signature>
>>>
>>
>>
>>
>> --
>> Sachith Withana
>> Software Engineer; WSO2 Inc.; http://wso2.com
>> E-mail: sachith AT wso2.com
>> M: +94715518127
>> Linked-In: <http://goog_416592669>https://lk.linkedin.com/in/sac
>> hithwithana
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Best Regards,
>
> Kalpa Welivitigoda
> Senior Software Engineer, WSO2 Inc. http://wso2.com
> Email: kal...@wso2.com
> Mobile: +94776509215
>
> [image: http://wso2.com/signature] <http://wso2.com/signature>
>



-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [PC] Analytics charts visualization using VizGrammar

2016-08-11 Thread Tharik Kanaka
Hi Sameera,

I have tried this in VizGrammar sample and re ordered data, it worked. So i
have created a sample for you in jsfiddle [1]. You can use the same
approach for your scenario as well.

[1] https://jsfiddle.net/keizer619/cL45fsc8/2/

Regards,

On Wed, Aug 3, 2016 at 5:03 PM, Sameera Gunarathne 
wrote:

> Hi all,
>
> I have used VizGrammar js for chart generation for Process Center
> analytics. There I give data as follows,
>
>  [{
>   "metadata": {
> "names": [
>   "Task Instance Id",
>   "Execution Time"
> ],
> "types": [
>   "ordinal",
>   "linear"
> ]
>   },
>   "data": []
> }]
>
> where data is given as a json array with tulpes of (Task Instance
> Id,Execution Time) like ["15091",11455],["15069",11545] and they are
> given in the sorted order on execution time. But the visualization seems
> like it's sorted on Task Instance Id [1]. I need to visualize charts sorted
> by execution time. What can be cause for this? Any help is appreciated.
>
> [1]
>
>
> Thanks.
> Regards,
> --
> Sameera Gunarathne
> Software Engineer, WSO2 Inc. http://wso2.com
> <http://l.facebook.com/l.php?u=http%3A%2F%2Fwso2.com&h=gAQEswASa>
> Email: samee...@wso2.com
> Mobile: +94714155561
>



-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] IS Analytics - Handling zero values in Login Attempts over Time chart

2016-07-24 Thread Tharik Kanaka
Hi All,

I think we should display 0 as in second approach when there are no values.
In vizGrammar i have included an outline for the area chart, so this should
avoid the separation of areas. Please update the js [1].

[1] https://github.com/wso2/VizGrammar/tree/master/dist

Regards,

On Mon, Jul 25, 2016 at 11:14 AM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

> I prefer the figure [2] which shows 0 values since it gives more
> meaningful information to the user..
>
> @Prabath/Johann/Hasintha, wdyt ?
>
>
> Thanks,
> Mohan
>
>
> On Mon, Jul 25, 2016 at 11:08 AM, Manorama Perera 
> wrote:
>
>> Hi all,
>>
>> In Authentication dashboard we show login attempts using an area chart.
>> The current implementation of this chart doesn't show zero values when
>> there are no login attempts corresponding to some points of time within the
>> selected period of time.
>>
>> For example, as described in [1], consider following scenario where we
>> have login events from 10.10 AM to 10.25 AM
>>
>> From 10.10 - 10.13 - There are some login attempts
>> From 10.14 - 10.17 - *Zero login attempts*
>> From 10.18 - 10.25 - Some login attempts
>>
>> Currently we are showing the above information in the chart as follows,
>>
>> [image: Inline image 1]
>>
>> In this chart we are not showing the information about the zero login
>> attempts.
>>
>> In order to show these information, we have changed the chart as below,
>>
>> [image: Inline image 2]
>>
>> Now it is showing the zero login attempts. But the chart now is divided
>> into two areas.
>>
>> What is the better way to draw chart when we have zero login attempts.
>> Appreciate any suggestions and opinions on this.
>>
>> [1] https://wso2.org/jira/browse/ANLYIS-64
>>
>> Thanks
>> --
>> Manorama Perera
>> Software Engineer
>> WSO2, Inc.;  http://wso2.com/
>> Mobile : +94716436216
>>
>
>
>
> --
> *V. Mohanadarshan*
> *Associate Tech Lead,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com <http://wso2.com> *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [PC] VizGrammar svg transformation

2016-07-12 Thread Tharik Kanaka
Hi Sameera,

This cannot be adjusted dynamically without redrawing but you can configure
the padding by increasing left and bottom by adding following attribute to
the VizGrammar configuration.

padding: {"top": 10, "left": 80, "bottom": 80, "right": 0}

Regards,

On Tue, Jul 12, 2016 at 10:30 AM, Sameera Gunarathne 
wrote:

> Hi,
>
> I am using VizGrammar visualization library for render analytics charts in
> DS gadgets. There if the vertical axis data values are quite long and a
> part of the data would not be displayed[1] . This must be due to the
> default transformation of the svg and it is not enough to display all data
> values. Is there a way to configure the transformation of svg in vizg?
>
> [1]
>
>
> --
> Sameera Gunarathne
> Software Engineer, WSO2 Inc. http://wso2.com
> <http://l.facebook.com/l.php?u=http%3A%2F%2Fwso2.com&h=gAQEswASa>
> Email: samee...@wso2.com
> Mobile: +94714155561
>



-- 

*Tharik Kanaka*

WSO2, Inc | lean . enterprise . middleware

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Add zero values for missing data points in dashboard line charts

2016-06-27 Thread Tharik Kanaka
Hi Dinesh,

This cannot be handled by the charting library level as it plots given data
in a linear scale. Missing data could be a  day, hour, minute or even a
second. It depends on the datetime range of the data. Therefore we need to
handle these at data provider level.

In analytics implementations including ESB analytics, IS Analytics and etc,
this can done at date time picker selection level since there are options
last hour, day, month. Even in custom date ranges we determine aggregation
levels to load from DAS. We could have a configuration to enable or disable
this capability as this is an optional requirement.  At the moment this has
been done in log analyzer charts in data level.

When it comes to generic chart level in the portal wizard, it would be
little bit challenging to generalize this feature as data is dynamic. Date
ranges to be calculated with min and max values. This becomes worse in real
time gadgets as ranges could be drastically change and whole chart needs to
be redrawn with data changes.

Regards,

On Tue, Jun 28, 2016 at 7:22 AM, Chanaka Fernando  wrote:

> Hi Dinesh,
>
> Thank you for bringing this up. I think what you have pointed out needs to
> be corrected (if possible). In ESB use cases, this can be a common scenario
> where servers will get high traffic at a given time period and there can be
> time periods without any traffic. I think how google analytics handles this
> scenario is correct.
>
> Thanks,
> Chanaka
>
>
> On Mon, Jun 27, 2016 at 9:42 PM, Dinesh J Weerakkody 
> wrote:
>
>> Hi,
>>
>> When we add line charts in dashboards, there can be senarios where we
>> don't have any data in the given time period. For example lets say that we
>> following summerized dataset.
>>
>> *DateRequestCount*
>> Sun  5
>> Mon 3
>> Tue  4
>> Thu  6
>> Fri5
>> Sat   3
>>
>> Please note that Wednesday is missing in the data set since we don't have
>> any request on that day. If we visualize above dataset in a line chart it
>> will add a Wednesday to the chart without a data point. Chart simply draw
>> the line from Tue to Thu and it feels like Wed is also has data.
>>
>> In Google Analitics this is not the case. Please look at the chart beloe.
>>
>> [image: Inline image 1]
>>
>> In Above chart we have Zero value data points.
>>
>> Can we have the same thing with our dshboard also? Can we achive this by
>> writing a custom JS code for the underlaying JS libraries that are used in
>> the DS?
>>
>> @Chanaka,
>>
>> Please note that this issue is there even in ESB Analytics. Look at the
>> line charts in [1]. I'm not sure whether this behaviour is ok with you or
>> not :)
>>
>> [1]
>> https://docs.wso2.com/display/ESB500/Monitoring+WSO2+ESB+with+WSO2+Analytics
>>
>> Thanks
>>
>> *Dinesh J. Weerakkody*
>> Senior Software Engineer
>> WSO2 Inc.
>> lean | enterprise | middleware
>> M : +94 727 868676 | E : dine...@wso2.com | W : www.wso2.com
>>
>
>
>
> --
> Thank you and Best Regards,
> Chanaka Fernando
> Senior Technical Lead
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 773337238
> Blog : http://soatutorials.blogspot.com
> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
> Twitter:https://twitter.com/chanakaudaya
>
>
>
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] DASHBOARD: Bar chart isn't displaying results in expected manner

2016-06-24 Thread Tharik Kanaka
Hi Aneela,

Apparently "logins" attribute is a String type. For bar charts the y axis
needs to be linear scale that means you need to have an attribute type such
as int, long, double and float.

Regards,

On Fri, Jun 24, 2016 at 11:57 AM, Aneela Safdar  wrote:

> Hi all,
>
>
> I am using bar chart to display results outputted from execution plan.
>
> My output stream has results in form:
>
>tslogins
> 1.2016-05-08 08:591
> 2.2016-05-08 09:005
> 3.2016-05-08 09:011
> 4.2016-05-08 09:135
> 5.2016-05-08 09:142
>
>
> I set x-axis as ts and y-axis as logins
>
> Following are the problems I am dealing with:
>
> 1.y-axis values are in ascending order from top to bottom and I want
> vice versa.
> 2.Bars are not being displayed at all on graph. It just looks like a
> blank graph having intervals marked on it.
> Below is aforementioned chart.
>
> [image: Inline image]
> Thanks,
>
> Regards, Aneela Safdar
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API Requirements for EMM Dashboard

2016-04-23 Thread Tharik Kanaka
>> }
>>>>
>>>> ]
>>>>
>>>>
>>>> 4. Retrieve grouping: This has two types of requests request 1 without
>>>> mentioning any filters and request 2 with a filter
>>>>
>>>>
>>>>> *Request1: *POST /nonCompliantDevices
>>>>> *[]*
>>>>
>>>> *response1:*[
>>>>> {
>>>>> "context": "platforms",
>>>>> "data": [
>>>>> {
>>>>> "group": "ios",
>>>>> "label": "iOS",
>>>>> "count": randint(100, 500)
>>>>> },
>>>>> {
>>>>> "group": "android",
>>>>> "label": "Android",
>>>>> "count": randint(100, 500)
>>>>> }
>>>>> ]
>>>>> },
>>>>> {
>>>>> "context": "ownerships",
>>>>> "data": [
>>>>> {
>>>>> "group": "cope",
>>>>> "label": "COPE",
>>>>> "count": randint(100, 500)
>>>>> },
>>>>> {
>>>>> "group": "byod",
>>>>> "label": "BYOD",
>>>>> "count": randint(100, 500)
>>>>> }
>>>>> ]
>>>>> },
>>>>> {
>>>>> "context": "userGroups",
>>>>> "data": [
>>>>> {
>>>>> "group": "sales",
>>>>> "label": "Sales",
>>>>> "count": randint(100, 500)
>>>>> },
>>>>> {
>>>>> "group": "marketing",
>>>>> "label": "Marketing",
>>>>> "count": randint(100, 500)
>>>>> },
>>>>> {
>>>>> "group": "engineering",
>>>>> "label": "Engineering",
>>>>> "count": randint(100, 500)
>>>>> }
>>>>> ]
>>>>> }
>>>>
>>>> ]
>>>>
>>>>
>>>>
>>>>> *Request2: *POST /nonCompliantDevices
>>>>> {
>>>>> "filters": [
>>>>>{
>>>>> "filteringContext": "platform",
>>>>> "filteringGroups" : ["Android"]
>>>>>}
>>>>
>>>> ]
>>>>
>>>> }
>>>>>
>>>> *response2:*[
>>>>> {
>>>>> "context": "platforms",
>>>>> "data": [
>>>>> {
>>>>> "group": "ios",
>>>>> "label": "iOS",
>>>>> "count": randint(100, 500)
>>>>> },
>>>>> {
>>>>> "group": "android",
>>>>> "label": "Android",
>>>>> "count": randint(100, 500)
>>>>> }
>>>>> ]
>>>>> },
>>>>> {
>>>>> "context": "ownerships",
>>>>> "data": [
>>>>> {
>>>>> "group": "cope",
>>>>> "label": "COPE",
>>>>> "count": randint(100, 500)
>>>>> },
>>>>> {
>>>>> "group": "byod",
>>>>> "label": "BYOD",
>>>>> "count": randint(100, 500)
>>>>> }
>>>>> ]
>>>>> },
>>>>> {
>>>>> "context": "userGroups",
>>>>> "data": [
>>>>> {
>>>>> "group": "sales",
>>>>> "label": "Sales",
>>>>> "count": randint(100, 500)
>>>>> },
>>>>> {
>>>>> "group": "marketing",
>>>>> "label": "Marketing",
>>>>> "count": randint(100, 500)
>>>>> },
>>>>> {
>>>>> "group": "engineering",
>>>>> "label": "Engineering",
>>>>> "count": randint(100, 500)
>>>>> }
>>>>> ]
>>>>> }
>>>>
>>>> ]
>>>>
>>>> 5. Retrieve Device table:
>>>> *Request:*
>>>>
>>>>> POST /devices
>>>>> {
>>>>> "filters": [
>>>>> {
>>>>> "filter": "platform",
>>>>> "selections" : ["Android", "iOS"]
>>>>> },
>>>>> {
>>>>> "filteringContext": "NonCompliantDevices",
>>>>> "filteringGroups" : ["non-compliant-1"]
>>>>> }
>>>>> ],
>>>>> }
>>>>
>>>>
>>>>
>>>> *response:* [
>>>>
>>>>
>>>>
>>>> {
>>>>
>>>> "context": "devices",
>>>>
>>>> "data": [
>>>>
>>>> {
>>>>
>>>> "id": "001",
>>>>
>>>> "label": "Nexus P",
>>>>
>>>> "status": "Blocked",
>>>>
>>>> "platform": "Android",
>>>>
>>>> "model": "HNP001",
>>>>
>>>> "actions": "Action"
>>>>
>>>> },
>>>>
>>>> {
>>>>
>>>> "id": "002",
>>>>
>>>> "label": "Galaxy Note 5",
>>>>
>>>> "status": "Unmonitored",
>>>>
>>>> "platform": "Android",
>>>>
>>>> "model": "SGN002",
>>>>
>>>> "actions": "Action"
>>>>
>>>> },
>>>>
>>>> {
>>>>
>>>> "id": "003",
>>>>
>>>> "label": "iPhone 6",
>>>>
>>>> "status": "Compliant",
>>>>
>>>> "platform": "iOS",
>>>>
>>>> "model": "AIP003",
>>>>
>>>> "actions": "Action"
>>>>
>>>> }
>>>>
>>>> ]
>>>>
>>>> }
>>>>
>>>> ]
>>>>
>>>>
>>>> Best Regards,
>>>>
>>>>
>>>> -- Forwarded message --
>>>> From: Grainier Perera 
>>>> Date: Tue, Mar 29, 2016 at 11:59 AM
>>>> Subject: Re: API Requirements for IoT Snapshot Dashboard
>>>> To: WSO2 Developers' List , Sriskandarajah Suhothayan <
>>>> s...@wso2.com>, Dilan Udara Ariyaratne , Prabath
>>>> Abeysekera , Sumedha Rubasinghe 
>>>>
>>>>
>>>> Hi all,
>>>> As per offline discussion, following are the finalized request-response
>>>> structures for IoT snapshot dashboard API;
>>>>
>>>> 1. Retrieve security concerns for the given filters.
>>>>
>>>>>
>>>>> *Request: *POST /securityConcerns
>>>>> *[*
>>>>> {
>>>>> "*filteringContext*":"connectivityStatus",
>>>>> "*filteringGroups*":*[*"active"*]*
>>>>> },
>>>>> {
>>>>> "filteringContext":"alerts",
>>>>> "filteringGroups":["high"]
>>>>> }
>>>>> *]*
>>>>>
>>>>> *Response:**[*
>>>>> {
>>>>> "*context*": "securityConcerns",
>>>>> "*data*": *[*
>>>>> {
>>>>> "*group*": "non-compliant",
>>>>> "*label*": "Non Compliant",
>>>>> "*count*": 5
>>>>> },
>>>>> {
>>>>> "group": "no-passcode",
>>>>> "label": "No Passcode",
>>>>> "count": 18
>>>>> },
>>>>> {
>>>>> "group": "no-encryption",
>>>>> "label": "Non encrypted",
>>>>> "count": 23
>>>>> },
>>>>> {
>>>>> "group": "unmonitored",
>>>>> "label": "Unmonitored",
>>>>> "count": 12
>>>>> }
>>>>> *]*
>>>>> }
>>>>> *]*
>>>>
>>>>
>>>> 2. Retrieve all devices.
>>>>
>>>>>
>>>>> *Request:*POST /devices
>>>>> *[]*
>>>>>
>>>>> *Response:**[*
>>>>> {
>>>>> "*context*": "devices",
>>>>> "*data*": *[*
>>>>> {
>>>>> "*id*": "001",
>>>>> "*label*": "Nexus P",
>>>>> "*status*": "Blocked",
>>>>> "*platform*": "Android",
>>>>> "*model*": "HNP001",
>>>>> "*actions*": URL,
>>>>> },
>>>>> {
>>>>> "id": "002",
>>>>> "label": "iPad Mini",
>>>>> "status": "Inactive",
>>>>> "platform": "iOS",
>>>>> "model": "IPM005",
>>>>> "actions": URL,
>>>>> }
>>>>> *]*
>>>>> }
>>>>> *]*
>>>>
>>>>
>>>> 3. Retrieve devices count for the given filters.
>>>>
>>>>>
>>>>> *Request:*POST /devicesCount
>>>>> *[*
>>>>> {
>>>>> "*filteringContext*":"connectivityStatus",
>>>>> "*filteringGroups*":*[*"active"*]*
>>>>> },
>>>>> {
>>>>> "filteringContext":"alerts",
>>>>> "filteringGroups":["high"]
>>>>> }
>>>>> *]*
>>>>>
>>>>> *Response:**[*
>>>>> {
>>>>> "*context*": "deviceCount",
>>>>> "*data*": *[*
>>>>> {
>>>>> "*group*": "totalCount",
>>>>> "*label*": "Total Count",
>>>>> "*count*": 210
>>>>> },
>>>>> {
>>>>> "group": "filteredCount",
>>>>> "label": "Filtered Count",
>>>>>
>>>> ...
>
> [Message clipped]
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS][LA] Add multiple events to a single event

2016-04-19 Thread Tharik Kanaka
t;
>>>>> WDYM by adding multiple events into a single event?
>>>>>
>>>>> Regards,
>>>>> Sachith
>>>>>
>>>>> On Tue, Apr 19, 2016 at 2:52 PM, Nalaka Perera 
>>>>> wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> How do we send multiple results (events) from a lucene search and add
>>>>>> them as a single event to a publish stream to create one alert 
>>>>>> (ex.Email)?
>>>>>>
>>>>>> Thank you,
>>>>>> Nalaka
>>>>>> --
>>>>>> *Nalaka Perera*
>>>>>>
>>>>>> *Intern - Software Engineering*
>>>>>> *WSO2*
>>>>>>
>>>>>> *Mobile: * *+94 71 9165748 <%2B94%2071%209165748>*
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Sachith Withana
>>>>> Software Engineer; WSO2 Inc.; http://wso2.com
>>>>> E-mail: sachith AT wso2.com
>>>>> M: +94715518127
>>>>> Linked-In: <http://goog_416592669>
>>>>> https://lk.linkedin.com/in/sachithwithana
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Nalaka Perera*
>>>>
>>>> *Intern - Software Engineering*
>>>> *WSO2*
>>>>
>>>> *Mobile: * *+94 71 9165748 <%2B94%2071%209165748>*
>>>>
>>>
>>>
>>>
>>> --
>>> Sachith Withana
>>> Software Engineer; WSO2 Inc.; http://wso2.com
>>> E-mail: sachith AT wso2.com
>>> M: +94715518127
>>> Linked-In: <http://goog_416592669>
>>> https://lk.linkedin.com/in/sachithwithana
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Charini Vimansha Nanayakkara
>> Software Engineer at WSO2
>> Mobile: 0714126293
>>
>>
>
>
> --
> *Nalaka Perera*
>
> *Intern - Software Engineering*
> *WSO2*
>
> *Mobile: * *+94 71 9165748 <%2B94%2071%209165748>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Exception Handing Among JavaScript - Jaggery - Java

2016-03-29 Thread Tharik Kanaka
Hi Samitha,

Backend server should send a proper HTTP Error code instead of return a
value with error message. Here you can throw exception from Java and do the
log in jaggery level. In jaggery level you can detect exception type in
catch block by following approach in the code below.

if(e.javaException instanceof
org.wso2.carbon.apimgt.api.FaultGatewaysException){
 return {
error:true,
message:e.javaException.getFaultGateWayString()
};

 }

Regards,

On Wed, Mar 30, 2016 at 11:08 AM, Samitha Chathuranga 
wrote:

> Hi Sachith,
>
> So do you suppose to catch the error thrown from java, finally at the
> jaggery or even later at javascript?
> Anyway if we are printing the full stacktrace in Java side, what is the
> objective of throwing it to the jaggery ?
>
> Is it to indicate to the front end that an error was occurred in the back
> end? I guess this indication can also be done using a return value (boolean
> or something else) from java side function, but I'm afraid it is an
> accepted standard.
>
> Thanks,
> Samitha
>
> On Wed, Mar 30, 2016 at 10:45 AM, Sachith Withana 
> wrote:
>
>> Hi Samitha,
>>
>> From what I understand, you need to both print the full stack trace and
>> throw a proper message to the front end.
>>
>> If that so, you can catch the error, log it and throw a custom error from
>> the java side.
>>
>> Cheers,
>> Sachith
>>
>> On Wed, Mar 30, 2016 at 10:31 AM, Samitha Chathuranga 
>> wrote:
>>
>>> Hi,
>>>
>>> I am developing a feature in WSO2 PC and in it I have a JavaScript front
>>> end and a Java back end. To call java classes from the JavaScript I am
>>> using Jaggery in between the above two. So my question is what is the best
>>> practice in Exception handling and error logging in such a this scenario.
>>>
>>> As I understand I can come out with few options.
>>>
>>> Option 1- Catching the  exception in the Java class itself and log the
>>> complete error with an appropriate custom error message using 
>>> log.error(errMsg,
>>> e), without throwing exceptions from the method signature, using throws
>>> clause. (As we usually do in a sole java application). So here the
>>> exceptions are completely handled from the back end and doesn't come at
>>> least to the jaggery. And for the purpose of showing some error message to
>>> the front end user we can return a message or flag or something from the
>>> java function to the jaggery side. So at the jaggery side or even at the
>>> javascript, we can check that return value and show the error message as an
>>> alert and proceed depending conditionally on that return value.
>>>
>>> Option 2- We can throw the the exception in the catch block of java
>>> class using throw new ExceptionClassName("custom error message",e) and
>>> catch it in the jaggery file. But here I am getting the problem that we
>>> cannot log the complete long exception report using log.error(_ _) in
>>> jaggery. We can just print the custom error message set by us when throwing
>>> it from Java side. But I don't know is there any other way to trace that
>>> complete exception in jaggery. Anybody know something on it?
>>>
>>> Option 3- We can catch the error in the JavaScript, without catching in
>>> the Jaggery. But I don't think this is ok as we won't be able to print the
>>> exception in the server console if we do it so.
>>>
>>> I want to know what is the best practice in such a this scenario and if
>>> it is Option 2, what is the solution for the problem in it as mentioned
>>> there above. Appreciate support from somebody.
>>>
>>> Thanks,
>>> Samitha
>>>
>>> --
>>> Samitha Chathuranga
>>> Software Engineer, WSO2 Inc.
>>> lean.enterprise.middleware
>>> Mobile: +94715123761
>>>
>>> _______
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sachith Withana
>> Software Engineer; WSO2 Inc.; http://wso2.com
>> E-mail: sachith AT wso2.com
>> M: +94715518127
>> Linked-In: <http://goog_416592669>
>> https://lk.linkedin.com/in/sachithwithana
>>
>
>
>
> --
> Samitha Chathuranga
> Software Engineer, WSO2 Inc.
> lean.enterprise.middleware
> Mobile: +94715123761
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-04 Thread Tharik Kanaka
Hi Dinali,

I am talking about line chart where Trump is shown in blue colour. If you
are not going to use blue or red, still it has to be fixed before go live,
isn't it?

Regards,

On Fri, Mar 4, 2016 at 4:35 PM, Dinali Dabarera  wrote:

> Hi,
> @ Nirmal,
> It was a script scheduling problem. I fixed it.
>
> @Tharik
> US Parties have only two colors red or blue. So Its hard to figure out to
> whom this tweep tweets for most. As we want to show a clear picture on how
> tweeps relates each other with the candidates who are in for the
> election(who still remains in the battle) and also we are advised not to
> take dark blue or red in our UI in our previous meeting as we are not bias
> for any of the parties.
>
>
> Thanks.
>
> On Fri, Mar 4, 2016 at 3:43 PM, Tharik Kanaka  wrote:
>
>> Hi All,
>>
>> It would be great if we consider about political party colors of the
>> candidates. As an example in the line chart Trump is shown in blue color
>> but it has to be red color as he is a Republican. Candidates from same
>> party can be shown in different shade of same color.
>>
>> Regards,
>>
>>
>> On Fri, Mar 4, 2016 at 3:26 PM, Nirmal Fernando  wrote:
>>
>>> Hilary Clinton isn't listed as a top tweep, but the community graph
>>> suggests otherwise.
>>>
>>> On Fri, Mar 4, 2016 at 3:19 PM, Srinath Perera  wrote:
>>>
>>>> Feedback I gave is not included!
>>>>
>>>> Too much room between most popular links.
>>>> When we show tweets, make the text and tweet account names same size (
>>>> like twitter does)
>>>>
>>>> Look good otherwise.
>>>>
>>>> --Srinath
>>>>
>>>> On Fri, Mar 4, 2016 at 3:00 PM, Dinali Dabarera 
>>>> wrote:
>>>>
>>>>> Hi everyone,
>>>>>
>>>>>
>>>>> This is the latest update on US Election 2016 Analytic Dashboard.
>>>>> This is  running @
>>>>> https://52.77.25.83:9453/twitter-analyticsV3/index.html until this
>>>>> hosts.
>>>>>
>>>>> Thank you!
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Mar 4, 2016 at 11:29 AM, Yasara Dissanayake 
>>>>> wrote:
>>>>>
>>>>>> hi ,
>>>>>> adding Chehara
>>>>>>
>>>>>> On Mon, Feb 29, 2016 at 8:51 AM, Srinath Perera 
>>>>>> wrote:
>>>>>>
>>>>>>> We can. It will be our twitter toolbox.
>>>>>>>
>>>>>>> --Srinath
>>>>>>>
>>>>>>> On Mon, Feb 29, 2016 at 8:43 AM, Sachith Withana 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Srinath and all,
>>>>>>>>
>>>>>>>> I'm just wondering, can't we make this a generic tool/product to
>>>>>>>> analyze and visualize twitter data.
>>>>>>>>
>>>>>>>> Ex: User provides us with some keywords and our tool does the
>>>>>>>> analyzing/visualizing. The user can add more functionality if required 
>>>>>>>> (
>>>>>>>> customization)
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Sachith
>>>>>>>>
>>>>>>>> On Mon, Jan 25, 2016 at 5:04 PM, Thusitha Kalugamage <
>>>>>>>> thusi...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Update,
>>>>>>>>>
>>>>>>>>>1. Added assigned colors for candidate backgrounds as
>>>>>>>>>suggested.
>>>>>>>>>2. With Yasara's input on News tab, moved next to the
>>>>>>>>>Sentiment Analysis Graph.
>>>>>>>>>
>>>>>>>>>  Please visit http://thusithak.github.io/twitter-analytics/ to
>>>>>>>>> view changes.
>>>>>>>>>
>>>>>>>>> On Mon, Jan 25, 2016 at 4:00 PM, Thusitha Kalugamage <
>>>>>>>>> thusi...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Yudhanjaya,
>>>>>>>>>>
>>>>>>>>>> 1) Yes we could, but since the Image is appended dyn

Re: [Dev] US Election 2016 Tweet Analyze System

2016-03-04 Thread Tharik Kanaka
>>>>>>>>>>>>>>>>>>>>>>>> Wijeratne  wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> We'll have to talk to Srinath about that, I'm
>>>>>>>>>>>>>>>>>>>>>>>>>>>> afraid. Let's get the RT system rolling first. 
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Whatever we come up with the
>>>>>>>>>>>>>>>>>>>>>>>>>>>> replies will also have to be displayed as part of 
>>>>>>>>>>>>>>>>>>>>>>>>>>>> that graph, so let's get
>>>>>>>>>>>>>>>>>>>>>>>>>>>> the simpler stuff out of the way.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Nov 17, 2015 at 2:54 PM, Yasara
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Dissanayake  wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> hi,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> @Nipuna,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Dinali and me both are collecting retweets in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> same manner which she explained earlier. Since I 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> also consider the details
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> original tweets of retweets. Thank you for 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> comments and link it would be
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> very useful. And about favorite count, isn't it a 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> separate option something
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> like like to the post which can do even non 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> friends? Here I mean the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> publicity of tweet. that is initially when tweet 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> are published it will be
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> on friend

Re: [Dev] [Architecture] Creating Gadgets for Web Application Statistics Monitoring Dashboard - Application Server 6.0.0

2016-02-26 Thread Tharik Kanaka
Hi Lochana,

Are you going to use existing analytics API used in DAS? Apart from that
what are the javascript chart libraries are you going to use for these
gadgets?

Regards,

On Fri, Feb 26, 2016 at 3:46 PM, Lochana Ranaweera 
wrote:

>
> Hi KasunG,
>
> The final deliverable of the dashboard will be a set of gadgets that can
> be deployed in the DS separately. It was suggested that ideally with the AS
> build the gadgets could be packed as a car file.
>
> As of now, the gadgets are working along with an API that provides the
> gadgets with properly structured data obtained out of a mysql database. The
> table structure for the tables in the mysql database is to be provided
> using a spark script.
>
> The following will have to be done by a user in order view web application
> statistics by means of a dashboard created using these gadgets
>
> - Publish webapp statistics to the DAS using publisher valve at AS
> - Execute the given Spark script to summarize the event data in to a
> database
> - Configure the datasource definition in Dashboard Server to retrieve data
> from the database
> - Create and publish a dashboard using preferred HTTP monitoring gadgets
> through dashboard server portal
>
> Thanks.
>
> On Fri, Feb 26, 2016 at 2:08 PM, KasunG Gajasinghe 
> wrote:
>
>> +architecture
>>
>> Hi Lochana,
>>
>> Can you describe what is the final deliverable of the dashboard? Also,
>> please explain briefly how the users are going to use these gadgets as well
>> as all other dependencies these need. Based on that, we can figure out how
>> the folder structure should be.
>>
>> Btw, can you explain the overall effort required to port these gadgets?
>> What needs to be done?
>>
>> Thanks.
>>
>> On Fri, Feb 26, 2016 at 12:42 PM, Lochana Ranaweera 
>> wrote:
>>
>>> Hi all,
>>>
>>> This is regarding the HTTP Monitoring Dashboard for AS 6.0.0. It is to
>>> be deployed as a collection of user preferred set of gadgets in the
>>> Dashboard Server.
>>> As of now, I have ported the* basic* HTTP monitoring functionality as
>>> separate gadgets for DS.
>>>
>>> A typical HTTP monitoring gadget has the following structure:
>>>
>>> gadget-name
>>>├── css
>>>├── js
>>>├── fonts
>>>├── images
>>>├── index.xml
>>>└── gadget.json
>>>
>>> What will be the best structure to version control thus created gadgets
>>> in the given branch
>>> <https://github.com/wso2/product-as/tree/wso2as-6.0.0> of AS 6.0.0?
>>> Should it be in modules or should it be inside contents directory in the
>>> distribution module?
>>> The directory structure of the build for new AS 6.0.0 is given below:
>>>
>>>
>>> ​
>>> Appreciate your suggestions on this matter.
>>>
>>> Thanks and Regards,
>>> --
>>> Lochana Ranaweera
>>> Intern Software Engineer
>>> WSO2 Inc: http://wso2.com
>>> Blog: https://lochanaranaweera.wordpress.com/
>>> Mobile: +94716487055 <http://tel%2B716487055>
>>>
>>>
>>
>>
>> --
>>
>> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
>> email: kasung AT spamfree wso2.com
>> linked-in: http://lk.linkedin.com/in/gajasinghe
>> blog: http://kasunbg.org
>>
>>
>>
>
>
>
> --
> Lochana Ranaweera
> Intern Software Engineer
> WSO2 Inc: http://wso2.com
> Blog: https://lochanaranaweera.wordpress.com/
> Mobile: +94716487055 <http://tel%2B716487055>
>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Complex Event Processor 4.1.0 RC2

2016-02-23 Thread Tharik Kanaka
Tested Execution Manager and Siddhi Try it. No issues find

On Wed, Feb 24, 2016 at 12:35 AM, Sriskandarajah Suhothayan 
wrote:

>
> Tested the Execution Plan Creation.
>
> No issues found
> [x] Stable - Go ahead and release
>
> Thanks,
> Suho
>
> On Sun, Feb 21, 2016 at 10:02 PM, Lasantha Fernando 
> wrote:
>
>> Tested the Event Metrics feature and input part of arbitrary maps in
>> standalone mode.
>>
>> No issues found.
>> [x] Stable - Please go ahead and release
>>
>> Thanks,
>> Lasantha
>>
>> On 21 February 2016 at 07:00, Damith Wickramasinghe 
>> wrote:
>>
>>> Tested dashboard and related samples.
>>>
>>> No issues found.
>>> [+] Stable - Please go ahead and release..
>>>
>>> Regards,
>>> Damith.
>>>
>>> On Sun, Feb 21, 2016 at 4:42 PM, Grainier Perera 
>>> wrote:
>>>
>>>> Tested following scenarios/features.
>>>>
>>>> 1. Distributed deployment of CEP.
>>>> 2. High availability deployment of CEP.
>>>> 3. High availability deployment with state persistence (Single Node,
>>>> Clustered).
>>>> 4. Siddhi Extensions in Storm (Map, Reorder, Time Series, Event Table,
>>>> ML, Kalman, Geo).
>>>>
>>>> No issues found.
>>>> [x] Stable - Please go ahead and release.
>>>>
>>>> Regards,
>>>>
>>>> On Sun, Feb 21, 2016 at 4:04 PM, Mohanadarshan Vivekanandalingam <
>>>> mo...@wso2.com> wrote:
>>>>
>>>>> Tested following scenarios/features..
>>>>>
>>>>> 1. All Samples(-0022) related to Event Receivers
>>>>> 2. Basic end-to-end execution Flow
>>>>> 3. Execution Manager
>>>>> 4. Event Tracer
>>>>>
>>>>> No issues found.
>>>>> [x] Stable - Please go ahead and release..
>>>>>
>>>>> Thanks,
>>>>> Mohan
>>>>>
>>>>> On Fri, Feb 19, 2016 at 2:04 AM, Grainier Perera 
>>>>> wrote:
>>>>> > Hi Devs,
>>>>> >
>>>>> > This is the second release candidate of WSO2 Complex Event Processor
>>>>> 4.1.0.
>>>>> >
>>>>> > This release fixes the following issues:
>>>>> > https://wso2.org/jira/issues/?filter=12644
>>>>> >
>>>>> > Please download CEP 4.1.0 RC2 and test the functionality and vote.
>>>>> Vote will
>>>>> > be open for 72 hours or as needed.
>>>>> >
>>>>> > Source & binary distribution files:
>>>>> > https://github.com/wso2/product-cep/releases/tag/v4.1.0-RC2
>>>>> >
>>>>> > The tag to be voted upon:
>>>>> > https://github.com/wso2/product-cep/tree/release-4.1.0-RC2
>>>>> >
>>>>> > [+] Stable - go ahead and release
>>>>> > [-] Broken - do not release (explain why)
>>>>> >
>>>>> > Thanks and Regards,
>>>>> > WSO2 CEP Team.
>>>>> >
>>>>> > --
>>>>> > Grainier Perera
>>>>> > Software Engineer
>>>>> > Mobile : +94716122384
>>>>> > WSO2 Inc. | http://wso2.com
>>>>> > lean.enterprise.middleware
>>>>> >
>>>>> > ___
>>>>> > Dev mailing list
>>>>> > Dev@wso2.org
>>>>> > http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> V. Mohanadarshan
>>>>> Senior Software Engineer,
>>>>> Data Technologies Team,
>>>>> WSO2, Inc. http://wso2.com
>>>>> lean.enterprise.middleware.
>>>>>
>>>>> email: mo...@wso2.com
>>>>> phone:(+94) 771117673
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Grainier Perera
>>>> Software Engineer
>>>> Mobile : +94716122384
>>>> WSO2 Inc. | http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>> lean.enterprise.middleware
>>>
>>> mobile: *+94728671315 <%2B94728671315>*
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Lasantha Fernando*
>> Senior Software Engineer - Data Technologies Team
>> WSO2 Inc. http://wso2.com
>>
>> email: lasan...@wso2.com
>> mobile: (+94) 71 5247551
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *S. Suhothayan*
> Technical Lead & Team Lead of WSO2 Complex Event Processor
> *WSO2 Inc. *http://wso2.com
> * <http://wso2.com/>*
> lean . enterprise . middleware
>
>
> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter:
> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in:
> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Real time analysis or batch analysis ?

2015-12-10 Thread Tharik Kanaka
Hi Rushmin,

As suho has mentioned you can write a siddhi query with a window or even
you can use a rate limiter and count number of events then write it to an
output stream. Same kind of scenario is explained in this blog post [1]
where in that blog it is calculated the average but in your case it needs
to be count.

In the dashboard when you are selecting x and y axes, select TIMESTAMP for
x axis and count for y axis. Chart is capable of identifying TIMESTAMPs
seconds and plot them in X axis.

[1]
http://blog.tharik.org/2015/09/displaying-high-throughput-streams-in.html

Regards,

On Thu, Dec 10, 2015 at 11:25 PM, Sriskandarajah Suhothayan 
wrote:

> You can use the event time
> @Tharik please point it out
>
> Suho
>
> On Thu, Dec 10, 2015 at 2:57 PM, Rushmin Fernando 
> wrote:
>
>> Thanks Suho !
>>
>> Is it time window or time batch window ? How can we get the time points
>> to plot.
>>
>> e.g. 12.01 - 2
>>12.02 - 5
>>12.03 - 3
>>
>> And the function should be *count()* right ? :-)
>>
>> On Thu, Dec 10, 2015 at 9:17 AM, Sriskandarajah Suhothayan > > wrote:
>>
>>> Yes use a time window and calculate sum() and plot the results
>>>
>>> Suho
>>>
>>> On Thu, Dec 10, 2015 at 2:38 PM, Rushmin Fernando 
>>> wrote:
>>>
>>>>
>>>> Hi Devs,
>>>>
>>>> I need to address the following requirement.
>>>>
>>>> ---
>>>>
>>>> A server sends events upon each request, to DAS.
>>>>
>>>> There should a dashboard to show the number of request in each second.
>>>>
>>>> ---
>>>>
>>>> Since the time gap is small I am under the impression that batch
>>>> analysis is not the best fit.
>>>>
>>>> How can we address a requirement like this ? Real time analysis would
>>>> help ?
>>>>
>>>> Thanks
>>>> Rushmin
>>>>
>>>>
>>>> --
>>>> *Rushmin Fernando*
>>>> *Technical Lead*
>>>>
>>>> WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware
>>>>
>>>> email : rush...@wso2.com
>>>> mobile : +94772310855
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *S. Suhothayan*
>>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>> *WSO2 Inc. *http://wso2.com
>>> * <http://wso2.com/>*
>>> lean . enterprise . middleware
>>>
>>>
>>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>>> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter:
>>> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in:
>>> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
>>>
>>
>>
>>
>> --
>> *Rushmin Fernando*
>> *Technical Lead*
>>
>> WSO2 Inc. <http://wso2.com/> - Lean . Enterprise . Middleware
>>
>> email : rush...@wso2.com
>> mobile : +94772310855
>>
>>
>>
>
>
> --
>
> *S. Suhothayan*
> Technical Lead & Team Lead of WSO2 Complex Event Processor
> *WSO2 Inc. *http://wso2.com
> * <http://wso2.com/>*
> lean . enterprise . middleware
>
>
> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter:
> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in:
> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
>



-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Securing HTTP event receiver

2015-12-08 Thread Tharik Kanaka
Hi Udara,

I was mistaken in previous mail, it is possible to authenticate with HTTP
receiver https mode via 9443 port. When you are creating the receiver make
sure that you select https instead of all.

Please refer following CEP producer sample [1].
https://github.com/wso2/product-cep/tree/master/modules/samples/producers/http

Regards,

On Wed, Dec 9, 2015 at 9:20 AM, Tharik Kanaka  wrote:

> Hi Udara,
>
> There is no authentication take place HTTP receiver as i know. You can
> achieve authentication if you could use wso2event receiver with thrift.
>
> Regards,
>
> On Wed, Dec 9, 2015 at 8:10 AM, Udara Rathnayake  wrote:
>
>> Hi,
>>
>> Can we do the $subject?
>> After creating a HTTP event receiver[1] within DAS, anyone with the EP
>> and the stream definition can publish events. Is there any possibility to
>> accept events from a single authorized party?
>>
>> [1] https://docs.wso2.com/display/DAS300/HTTP+Event+Receiver
>>
>>
>> Regards,
>> UdaraR
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Tharik Kanaka*
>
> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>
> Email: tha...@wso2.com | Web: www.wso2.com
>



-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Securing HTTP event receiver

2015-12-08 Thread Tharik Kanaka
Hi Udara,

There is no authentication take place HTTP receiver as i know. You can
achieve authentication if you could use wso2event receiver with thrift.

Regards,

On Wed, Dec 9, 2015 at 8:10 AM, Udara Rathnayake  wrote:

> Hi,
>
> Can we do the $subject?
> After creating a HTTP event receiver[1] within DAS, anyone with the EP and
> the stream definition can publish events. Is there any possibility to
> accept events from a single authorized party?
>
> [1] https://docs.wso2.com/display/DAS300/HTTP+Event+Receiver
>
>
> Regards,
> UdaraR
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Maintaining layouts in a non-tenant-specific location

2015-10-09 Thread Tharik Kanaka
Hi Godkul,

+1. We could move default gadgets, widgets and layouts to separate
directory location instead placing them in carbon.super directory

Regards,

On Fri, Oct 9, 2015 at 3:01 PM, Gokul Balakrishnan  wrote:

> Hi Manu,
>
> In carbon-dashboards, we're maintaining all pre-built layouts in the
> carbon.super directory and copying them over to the tenant space when the
> tenant logs in [1]. The issue with this behaviour is that any custom
> layouts the supertenant might have are also copied over.
>
> In order to avoid this, shall we maintain the layouts in a different
> location and copy them to both supertenant and tenant spaces upon login?
>
> [1]
> https://github.com/wso2/carbon-dashboards/blob/master/apps/portal/controllers/login.jag#L36
>
> Thanks,
>
> --
> Gokul Balakrishnan
> Senior Software Engineer,
> WSO2, Inc. http://wso2.com
> Mob: +94 77 593 5789 | +1 650 272 9927
>



-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Line chart y-axis scale and range problems

2015-09-25 Thread Tharik Kanaka
Hi Thanuja,

I have already noticed this in CEP and reported in a JIRA  [1]. This only
happens when you multiple lines to chart. Root cause for this is that Vega
chart will draw the Y axis by considering only first column values. In your
case it has considered "CreatedInstanceCount" where as other lines are
plotted outside.

You will see decimals since Y axis meant to plot 10 points since maximum
value is 5, it is plotted by 0.5. It will not happen if maximum value
becomes large number such as 50 where as plotting will happen by 5, 10, 15
and so on.

[1] https://wso2.org/jira/browse/CEP-1387

On Fri, Sep 25, 2015 at 4:27 PM, Nipuna Chandradasa 
wrote:

> Hi Thanuja,
>
> Quick fix for few of these problems.
>
> For the 1st one check the domain which define the range of the y scale.
>  may be they are given in decimals.
>
> most of the time y axis value range is mapped with the height of the SVG
> element. if you can quickly look in to it and just adjust the width of the
> SVG element or change the range mapping value in y scale u may be able to
> solve 2nd issue.
>
>
> Thanks.
>
>
> On Fri, Sep 25, 2015 at 4:05 PM, Thanuja Uruththirakodeeswaran <
> thanu...@wso2.com> wrote:
>
>> Hi All,
>>
>> I'm generating a line chart to show details with DAS analytics dashboard
>> using Line Chart Gadgets as below. ​This line chart uses D3 library and
>> Vega.
>>
>>
>>
>> Here I'm facing following problems:
>> 1. Even though member count values (Y axis values) are integers, in this
>> chart axis values are populated as decimals and I tried to use 'round'
>> property for y axis configuration and couldn't fix it.
>>
>> 2. Also y axis value range is also limited to 5 as shown above
>>
>> 3. As shown in the below image, tool-tip pop y axis value shown as
>> undefined and sometimes tool-tips are not removed.
>>
>>
>>
>> I discussed these issues with Dunith also. It will be helpful if these
>> issues are fixed.
>>
>> Thanks.
>>
>> --
>> Thanuja Uruththirakodeeswaran
>> Software Engineer
>> WSO2 Inc.;http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 774363167
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nipuna Marcus
> *Software Engineer*
> WSO2 Inc.
> http://wso2.com/ - "lean . enterprise . middleware"
> Mobile : +94 (0) 713 667906
> nipu...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 CEP 4.0.0 RC4

2015-09-22 Thread Tharik Kanaka
Hi All,

I have tested Execution Manager and Analytics Dashboards.
+1

Regards,

On Tue, Sep 22, 2015 at 8:23 PM, Sajith Ravindra  wrote:

> +1
>
> Tested with the distributed setup
>
> Thanks
> *,Sajith Ravindra*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273550
> blog: http://sajithr.blogspot.com/
> <http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab>
>
> On Sat, Sep 19, 2015 at 10:15 AM, Sriskandarajah Suhothayan  > wrote:
>
>> Hi Devs,
>>
>> WSO2 CEP 4.0.0 RC4 Release Vote
>>
>> This release fixes the following issues:
>> https://wso2.org/jira/issues/?filter=12398
>>
>> Please download CEP 4.0.0 RC4 and test the functionality and vote. Vote
>> will be open for 72 hours or as needed.
>>
>> Binary distribution at:
>> http://svn.wso2.org/repos/wso2/people/suho/packs/cep/4.0.0/RC4/
>>
>> Maven staging repository:
>> *http://maven.wso2.org/nexus/content/repositories/orgwso2cep-129/
>> <http://maven.wso2.org/nexus/content/repositories/orgwso2cep-129/>*
>>
>> The tag to be voted upon :
>> *https://github.com/wso2/product-cep/releases/tag/v4.0.0-RC4
>> <https://github.com/wso2/product-cep/releases/tag/v4.0.0-RC4>*
>>
>>
>> [-] Broken - do not release (explain why)
>> [+] Stable - go ahead and release
>>
>> Thanks and Regards,
>> WSO2 CEP Team
>>
>> --
>>
>> *S. Suhothayan*
>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>> *WSO2 Inc. *http://wso2.com
>> * <http://wso2.com/>*
>> lean . enterprise . middleware
>>
>>
>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter:
>> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in:
>> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Clarifications on CEP

2015-09-07 Thread Tharik Kanaka
Hi All,

As Mohan mentioned gaining login session of management console is not
possible with current implementation of analytics dashboards.

Regards,

On Tue, Sep 8, 2015 at 9:28 AM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

>
>
> On Mon, Sep 7, 2015 at 10:50 PM, Shavantha Weerasinghe  > wrote:
>
>> Hi All
>>
>> Appreciate if I can get a clarification on the two below points.
>>
>> 1.Is there a way we can configure for the cep admin to gain access to the
>> analytic dashboard without entering the login again if he has logged into
>> the management console.
>>
>
> Hmm, I don't think this is possible as per current implementation..
> @Damith or Tharik, please confirm..
>
>
>>
>> 2. When we are accepting events from multiple sources (ex: soap/http)
>> into a single stream there may be a need to stop receiving events into a
>> specific events receiver. Is there away we can disable an event receiver
>> without deleting it. The same could apply to event publishers as well
>>
>> No, it is not possible in CEP 4.0.0 but it is in the roadmap. We already
> have jira [1] which is reported by you :)
>
> [1] https://wso2.org/jira/browse/CEP-506
>
> Thanks,
> Mohan
>
>
>
>>
>> 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 2145300
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *V. Mohanadarshan*
> *Senior Software Engineer,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com <http://wso2.com> *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673
>



-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Availability of layout definition files for tenants

2015-08-31 Thread Tharik Kanaka
Hi Dunith,

At the moment a directory for a new tenant domain will be created when
creating a Gadget. Therefor now we are copying layouts of carbon.super when
creating gadgets (if there are no layouts for that domain) so user can
continue creating a dashboard and selecting a layouts in tenant mode.

I think ideal solution would be creating those directories and copy layouts
when creating a new tenant.

Regards,

On Mon, Aug 31, 2015 at 6:30 AM, Dunith Dhanushka  wrote:

> Hi Manu,
>
> When creating a dashboard while logged in as a tenant, we come across [1].
> This is because there are no layout defintion files exist in the tenant's
> layout directory. But this works perfect for the super tenant scenario.
>
> There is a possibility to share super tenant's entire store with other
> tenants by setting "shareStore=true" in the designer.json. But that is not
> always recommended.
>
> There are few suggestions to fix this.
>
> 1. Maintain a default set of layout files and copy them into new tenant's
> layout directory once a tenant is created.
> 2. After logged into dashboard, copy default layouts into current tenant's
> layout directory if they do not exist.
> 3. Give the user an option to upload layouts files via UI.
>
> So which approach do you recommend? Please advise.
>
> [1] https://wso2.org/jira/browse/DAS-94
>
>
> Regards,
>
> Dunith Dhanushka,
> Senior Software Engineer
> WSO2 Inc,
>
> Mobile - +94 71 8615744
> Blog - dunithd.wordpress.com <http://blog.dunith.com>
> Twitter - @dunithd <http://twitter.com/dunithd>
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Test Automation Framework Support for MQTT Server

2015-08-10 Thread Tharik Kanaka
Hi All,

Kind reminder

Regards,

On Mon, Aug 3, 2015 at 4:54 PM, Tharik Kanaka  wrote:

> Hi All,
>
> I hope above fix has been released by now. Anyway i  have enabled CEP MQTT
> test cases and test frameworks activemq broker (5.9.1) getting started
> within test case. But I am getting following exception as "Unrecognized
> packet (32108)" when calling connect method. I manually downloaded and ran
> activemq broker (5.9.1), for that it is getting connected and messages will
> be sent.
>
> [java] [main] INFO  org.wso2.carbon.sample.mqttclient.MQTTClient  - Error
> while connecting to MQTT server
>
>  [java] Unrecognized packet (32108)
>
>  [java] at
> org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:31)
>
>  [java] at
> org.eclipse.paho.client.mqttv3.internal.wire.MqttInputStream.readMqttWireMessage(MqttInputStream.java:72)
>
>  [java] at
> org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:107)
>
>  [java] at java.lang.Thread.run(Thread.java:745)
>
>
> Regards,
>
> On Tue, May 19, 2015 at 1:07 PM, Krishantha Samaraweera <
> krishan...@wso2.com> wrote:
>
>> Hi Mohan,
>>
>> On Tue, May 19, 2015 at 10:49 AM, Mohanadarshan Vivekanandalingam <
>> mo...@wso2.com> wrote:
>>
>>>
>>>
>>> On Thu, May 14, 2015 at 12:18 PM, Nuwan Wimalasekara 
>>> wrote:
>>>
>>>> Hi Mohan,
>>>> We are planning to release the test-automation-framework 4.3.2 by end
>>>> of tomorrow(Friday).
>>>>
>>>
>>> @ Nuwan, Whether above is released ?
>>>
>>
>> This is not yet released publicly, but in staging -
>> http://maven.wso2.org/nexus/content/repositories/orgwso2carbonautomation-010/org/wso2/carbon/automation/
>>
>> Version - 4.4.0
>>
>> Thanks,
>> Krishantha.
>>
>>>
>>>
>>>>
>>>> Thanks,
>>>> Nuwanw
>>>>
>>>> On Thu, May 14, 2015 at 12:04 PM, Mohanadarshan Vivekanandalingam <
>>>> mo...@wso2.com> wrote:
>>>>
>>>>> By the Nuwan, when you guys planning to release the 4.3.2 automation
>>>>> framework ?
>>>>>
>>>>> Thanks,
>>>>> Mohan
>>>>>
>>>>>
>>>>> On Wed, May 13, 2015 at 5:44 PM, Mohanadarshan Vivekanandalingam <
>>>>> mo...@wso2.com> wrote:
>>>>>
>>>>>> Thanks Nuwan, I'll check that...
>>>>>>
>>>>>> Regards,
>>>>>> Mohan
>>>>>>
>>>>>>
>>>>>> On Wed, May 13, 2015 at 4:54 PM, Nuwan Wimalasekara 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Mohan,
>>>>>>> We have enabled the MQTT transport in Embedded ActiveMQ server
>>>>>>> started by Test Framework. Now you can use mqtt transport in integration
>>>>>>> test. This feature is available in test-automation-framework 
>>>>>>> 4.3.2-SNAPSHOT.
>>>>>>>
>>>>>>> Transport is enabled on mqtt://localhost:1883
>>>>>>>
>>>>>>> Use below code to start the server with MQTT transport and TCP
>>>>>>> transport
>>>>>>>
>>>>>>> JMSBrokerController  activeMqBroker = new
>>>>>>> JMSBrokerController("localhost",
>>>>>>>  JMSBrokerConfigurationProvider.getInstance().getTransportConnectors());
>>>>>>>
>>>>>>> activeMqBroker.start()
>>>>>>>
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Nuwanw
>>>>>>>
>>>>>>> On Mon, May 11, 2015 at 5:51 PM, Mohanadarshan Vivekanandalingam <
>>>>>>> mo...@wso2.com> wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, May 11, 2015 at 3:38 PM, Nuwan Wimalasekara <
>>>>>>>> nuw...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Mohan,
>>>>>>>>> Embedded broker only enable the tcp connector currently. We have
>>>>>>>>> to add the mqtt connector when the server is started.
>>>>>>>>> I am working on enabling the mqtt for embedded activeMQ server
>&

Re: [Dev] Test Automation Framework Support for MQTT Server

2015-08-03 Thread Tharik Kanaka
; wrote:
>>>>>>>>
>>>>>>>>> Thanks Krishantha...
>>>>>>>>>
>>>>>>>>> @Waruna, please let us know if you found any option..
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Mohan
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Thu, May 7, 2015 at 11:57 AM, Waruna Perera 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> HI Krishantha,
>>>>>>>>>>
>>>>>>>>>> Will check on that.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>>
>>>>>>>>>> On Thu, May 7, 2015 at 11:54 AM, Krishantha Samaraweera <
>>>>>>>>>> krishan...@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Waruna,
>>>>>>>>>>>
>>>>>>>>>>> I don't think we have enabled ActiveMQ broker for MQTT.  Can you
>>>>>>>>>>> check whether MQTT endpoint is exposed.  And any workaround to get 
>>>>>>>>>>> it
>>>>>>>>>>> started.
>>>>>>>>>>>
>>>>>>>>>>> The version we used is 5.9.1 and it should support for MQTT.
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Krishantha.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Tue, May 5, 2015 at 6:29 PM, Mohanadarshan Vivekanandalingam
>>>>>>>>>>>  wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>
>>>>>>>>>>>> We are planning to ship MQTT event adapter support with CEP
>>>>>>>>>>>> 4.0.0. We are done with the implementation but facing some issues 
>>>>>>>>>>>> in
>>>>>>>>>>>> writing integration tests.. To test this functionality, we have 
>>>>>>>>>>>> used the
>>>>>>>>>>>> ActiveMQ as the MQTT server. ActiveMQ version 5.9.0 and upwards 
>>>>>>>>>>>> contains a
>>>>>>>>>>>> mqtt endpoint. Based on [1], Automation framework has activemq 
>>>>>>>>>>>> 5.9.1
>>>>>>>>>>>> support. But when I am trying-out, I haven't seen a mqtt endpoint. 
>>>>>>>>>>>> It only
>>>>>>>>>>>> has below endpoint,
>>>>>>>>>>>>
>>>>>>>>>>>> INFO
>>>>>>>>>>>>  [org.apache.activemq.transport.TransportServerThreadSupport] - 
>>>>>>>>>>>> Listening
>>>>>>>>>>>> for connections at: tcp://localhost:61616
>>>>>>>>>>>> INFO  [org.apache.activemq.broker.TransportConnector] -
>>>>>>>>>>>> Connector tcp://127.0.0.1:61616 started
>>>>>>>>>>>> INFO  [org.apache.activemq.broker.BrokerService] - Apache
>>>>>>>>>>>> ActiveMQ 5.9.1 (testBroker, 
>>>>>>>>>>>> ID:mohan-ThinkPad-T530-35747-1430828992894-0:1)
>>>>>>>>>>>> started
>>>>>>>>>>>> INFO  [org.apache.activemq.broker.BrokerService] - For help or
>>>>>>>>>>>> more information please see: http://activemq.apache.org
>>>>>>>>>>>>
>>>>>>>>>>>> By default, ActiveMQ has mqtt endpoint in port 1883.. Can
>>>>>>>>>>>> someone from Automation team help on this.. This is a blocker to 
>>>>>>>>>>>> consider
>>>>>>>>>>>> the feature as done-done ..
>>>>>>>>>>>>
>>>>>>>>>>>> [1] https://wso2.org/jira/browse/TA-901
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> Mohan
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> *V. Mohanadarshan*
>>>>>>>>>>>> *Software Engineer,*
>>>>>>>>>>>> *Data Technologies Team,*
>>>>>>>>>>>> *WSO2, Inc. http://wso2.com <http://wso2.com> *
>>>>>>>>>>>> *lean.enterprise.middleware.*
>>>>>>>>>>>>
>>>>>>>>>>>> email: mo...@wso2.com
>>>>>>>>>>>> phone:(+94) 771117673
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Krishantha Samaraweera
>>>>>>>>>>> Senior Technical Lead - Test Automation
>>>>>>>>>>> Mobile: +94 77 7759918
>>>>>>>>>>> WSO2, Inc.; http://wso2.com/
>>>>>>>>>>> lean . enterprise . middlewear.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Waruna Perera
>>>>>>>>>> Senior Software Engineer - Test Automation
>>>>>>>>>> Mobile: +94 77 3867037
>>>>>>>>>> WSO2, Inc.; http://wso2.com/
>>>>>>>>>> lean . enterprise . middlewear.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *V. Mohanadarshan*
>>>>>>>>> *Software Engineer,*
>>>>>>>>> *Data Technologies Team,*
>>>>>>>>> *WSO2, Inc. http://wso2.com <http://wso2.com> *
>>>>>>>>> *lean.enterprise.middleware.*
>>>>>>>>>
>>>>>>>>> email: mo...@wso2.com
>>>>>>>>> phone:(+94) 771117673
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Dev mailing list
>>>>>>>>> Dev@wso2.org
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Nuwan Wimalasekara
>>>>>>>> Senior Software Engineer - Test Automation
>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>> lean. enterprise. middleware
>>>>>>>>
>>>>>>>> phone: +94 71 668 4620
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *V. Mohanadarshan*
>>>>>>> *Senior Software Engineer,*
>>>>>>> *Data Technologies Team,*
>>>>>>> *WSO2, Inc. http://wso2.com <http://wso2.com> *
>>>>>>> *lean.enterprise.middleware.*
>>>>>>>
>>>>>>> email: mo...@wso2.com
>>>>>>> phone:(+94) 771117673
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Nuwan Wimalasekara
>>>>>> Senior Software Engineer - Test Automation
>>>>>> WSO2, Inc.: http://wso2.com
>>>>>> lean. enterprise. middleware
>>>>>>
>>>>>> phone: +94 71 668 4620
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *V. Mohanadarshan*
>>>>> *Senior Software Engineer,*
>>>>> *Data Technologies Team,*
>>>>> *WSO2, Inc. http://wso2.com <http://wso2.com> *
>>>>> *lean.enterprise.middleware.*
>>>>>
>>>>> email: mo...@wso2.com
>>>>> phone:(+94) 771117673
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *V. Mohanadarshan*
>>>> *Senior Software Engineer,*
>>>> *Data Technologies Team,*
>>>> *WSO2, Inc. http://wso2.com <http://wso2.com> *
>>>> *lean.enterprise.middleware.*
>>>>
>>>> email: mo...@wso2.com
>>>> phone:(+94) 771117673
>>>>
>>>
>>>
>>>
>>> --
>>> Nuwan Wimalasekara
>>> Senior Software Engineer - Test Automation
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> phone: +94 71 668 4620
>>>
>>>
>>>
>>>
>>
>>
>> --
>> *V. Mohanadarshan*
>> *Senior Software Engineer,*
>> *Data Technologies Team,*
>> *WSO2, Inc. http://wso2.com <http://wso2.com> *
>> *lean.enterprise.middleware.*
>>
>> email: mo...@wso2.com
>> phone:(+94) 771117673
>>
>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unnecessary error message printing when realtime dashboard not displaying

2015-08-02 Thread Tharik Kanaka
Hi Damith,

I did above change, please review and merge the pull request [1]

[1] https://github.com/wso2/carbon-analytics-common/pull/90

Regards,

On Mon, Aug 3, 2015 at 8:40 AM, Damith Wickramasinghe 
wrote:

> Hi,
>
> +1. for printing it for only once. I will make the change.
>
> Thanks,
> Damith.
>
> On Mon, Aug 3, 2015 at 7:23 AM, Tharik Kanaka  wrote:
>
>> Hi Gihan,
>>
>> Yes it would be better to restrict printing error only once. Otherwise it
>> would fill the console with redundant logs as you have mentioned.
>>
>> Regards,
>>
>> On Sun, Aug 2, 2015 at 11:12 PM, Sriskandarajah Suhothayan > > wrote:
>>
>>> looping Tharik and Damith
>>>
>>> On Sun, Aug 2, 2015 at 9:06 PM, Gihan Anuruddha  wrote:
>>>
>>>> Hi CEP team,
>>>>
>>>> When we have a real time dashboard and dashboard not display in the
>>>> browser, below message is continuously printing. I think we can't assume
>>>> always realtime dashboards are displaying in the browser. So these
>>>> redundant messages are unnecessarly filling the logs. I think one error
>>>> message would enough and we need to avoid further printing those logs. 
>>>> WDYT?
>>>>
>>>> ​[2015-08-02 20:54:07,393] ERROR
>>>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>>>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>>>> [2015-08-02 20:54:08,057] ERROR
>>>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>>>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>>>> [2015-08-02 20:54:13,111] ERROR
>>>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>>>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>>>> [2015-08-02 20:54:13,126] ERROR
>>>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>>>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>>>> [2015-08-02 20:54:14,110] ERROR
>>>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>>>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>>>> [2015-08-02 20:54:16,053] ERROR
>>>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>>>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>>>> [2015-08-02 20:54:18,055] ERROR
>>>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>>>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>>>> ​
>>>> ​Regards,
>>>> Gihan​
>>>>
>>>> --
>>>> W.G. Gihan Anuruddha
>>>> Senior Software Engineer | WSO2, Inc.
>>>> M: +94772272595
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *S. Suhothayan*
>>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>> *WSO2 Inc. *http://wso2.com
>>> * <http://wso2.com/>*
>>> lean . enterprise . middleware
>>>
>>>
>>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>>> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter:
>>> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in:
>>> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
>>>
>>
>>
>>
>> --
>>
>> *Tharik Kanaka*
>>
>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>
>> Email: tha...@wso2.com | Web: www.wso2.com
>>
>
>
>
> --
> Software Engineer
> WSO2 Inc.; http://wso2.com
> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
> lean.enterprise.middleware
>
> mobile: *+94728671315 <%2B94728671315>*
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unnecessary error message printing when realtime dashboard not displaying

2015-08-02 Thread Tharik Kanaka
Hi Gihan,

Yes it would be better to restrict printing error only once. Otherwise it
would fill the console with redundant logs as you have mentioned.

Regards,

On Sun, Aug 2, 2015 at 11:12 PM, Sriskandarajah Suhothayan 
wrote:

> looping Tharik and Damith
>
> On Sun, Aug 2, 2015 at 9:06 PM, Gihan Anuruddha  wrote:
>
>> Hi CEP team,
>>
>> When we have a real time dashboard and dashboard not display in the
>> browser, below message is continuously printing. I think we can't assume
>> always realtime dashboards are displaying in the browser. So these
>> redundant messages are unnecessarly filling the logs. I think one error
>> message would enough and we need to avoid further printing those logs. WDYT?
>>
>> ​[2015-08-02 20:54:07,393] ERROR
>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>> [2015-08-02 20:54:08,057] ERROR
>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>> [2015-08-02 20:54:13,111] ERROR
>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>> [2015-08-02 20:54:13,126] ERROR
>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>> [2015-08-02 20:54:14,110] ERROR
>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>> [2015-08-02 20:54:16,053] ERROR
>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>> [2015-08-02 20:54:18,055] ERROR
>> {org.wso2.carbon.event.output.adapter.ui.UIEventAdapter} -  Event dropped
>> at Output Adapter 'jmx' for tenant id '-1234', No clients registered
>> ​
>> ​Regards,
>> Gihan​
>>
>> --
>> W.G. Gihan Anuruddha
>> Senior Software Engineer | WSO2, Inc.
>> M: +94772272595
>>
>
>
>
> --
>
> *S. Suhothayan*
> Technical Lead & Team Lead of WSO2 Complex Event Processor
> *WSO2 Inc. *http://wso2.com
> * <http://wso2.com/>*
> lean . enterprise . middleware
>
>
> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
> http://suhothayan.blogspot.com/ <http://suhothayan.blogspot.com/>twitter:
> http://twitter.com/suhothayan <http://twitter.com/suhothayan> | linked-in:
> http://lk.linkedin.com/in/suhothayan <http://lk.linkedin.com/in/suhothayan>*
>



-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: Code review on XML output mapper @ Wed Jul 29, 2015 3pm - 4pm (tha...@wso2.com)

2015-07-29 Thread Tharik Kanaka
Hi All,

Please refer following code review feedbacks.


   - Verify that XML parsing/JSON parsing is not needed for event publishing
   - Change implementation to build the event using strings with the help
   of pre-populated lists for better performance (for JSON, XML)
   - Check usage of TreeMap in EventPublisher and keep the data structure
   HashMap within the actual output adapter for performance considerations.
   - Use guava ThreadFactoryBuilder to put create named thread pools as we
   have used in ExecutionPlanParser.java of Siddhi.


Regards,

On Wed, Jul 29, 2015 at 3:07 PM, Ramindu De Silva  wrote:

> more details »
> <https://www.google.com/calendar/event?action=VIEW&eid=OWdtN2ZxZHBoZzZjdWNya3VqOWwxODZhMWcgdGhhcmlrQHdzbzIuY29t&tok=MTcjcmFtaW5kdXNAd3NvMi5jb21hOWQ4ZDNhNWU0M2NkYzM4MzMxMDc0MTZlMGNiZjg3NzQ4MmM3NDc3&ctz=Asia/Colombo&hl=en>
> Code review on XML output mapper
> *When*
> Wed Jul 29, 2015 3pm – 4pm Colombo
> *Where*
> LK Trace Ground Floor Meeting Room - Moria Ext:1036214 (map
> <https://maps.google.com/maps?q=LK+Trace+Ground+Floor+Meeting+Room+-+Moria+Ext:1036214&hl=en>
> )
> *Video call*
> https://plus.google.com/hangouts/_/wso2.com/code-review-on
> <https://plus.google.com/hangouts/_/wso2.com/code-review-on?hceid=cmFtaW5kdXNAd3NvMi5jb20.9gm7fqdphg6cucrkuj9l186a1g>
> *Calendar*
> tha...@wso2.com
> *Who*
> •
> Ramindu De Silva - organizer
> •
> Lasantha Fernando
> •
> Tharik Kanaka
> •
> Sriskandarajah Suhothayan
> •
> Dilini Muthumala
> •
> thili...@wso2.com
> •
> Thilina Rathnayake
> •
> saji...@wso2.com
>
> Going?   *Yes
> <https://www.google.com/calendar/event?action=RESPOND&eid=OWdtN2ZxZHBoZzZjdWNya3VqOWwxODZhMWcgdGhhcmlrQHdzbzIuY29t&rst=1&tok=MTcjcmFtaW5kdXNAd3NvMi5jb21hOWQ4ZDNhNWU0M2NkYzM4MzMxMDc0MTZlMGNiZjg3NzQ4MmM3NDc3&ctz=Asia/Colombo&hl=en>
> - Maybe
> <https://www.google.com/calendar/event?action=RESPOND&eid=OWdtN2ZxZHBoZzZjdWNya3VqOWwxODZhMWcgdGhhcmlrQHdzbzIuY29t&rst=3&tok=MTcjcmFtaW5kdXNAd3NvMi5jb21hOWQ4ZDNhNWU0M2NkYzM4MzMxMDc0MTZlMGNiZjg3NzQ4MmM3NDc3&ctz=Asia/Colombo&hl=en>
> - No
> <https://www.google.com/calendar/event?action=RESPOND&eid=OWdtN2ZxZHBoZzZjdWNya3VqOWwxODZhMWcgdGhhcmlrQHdzbzIuY29t&rst=2&tok=MTcjcmFtaW5kdXNAd3NvMi5jb21hOWQ4ZDNhNWU0M2NkYzM4MzMxMDc0MTZlMGNiZjg3NzQ4MmM3NDc3&ctz=Asia/Colombo&hl=en>*
> more options »
> <https://www.google.com/calendar/event?action=VIEW&eid=OWdtN2ZxZHBoZzZjdWNya3VqOWwxODZhMWcgdGhhcmlrQHdzbzIuY29t&tok=MTcjcmFtaW5kdXNAd3NvMi5jb21hOWQ4ZDNhNWU0M2NkYzM4MzMxMDc0MTZlMGNiZjg3NzQ4MmM3NDc3&ctz=Asia/Colombo&hl=en>
>
> Invitation from Google Calendar <https://www.google.com/calendar/>
>
> You are receiving this email at the account tha...@wso2.com because you
> are subscribed for invitations on calendar tha...@wso2.com.
>
> To stop receiving these emails, please log in to
> https://www.google.com/calendar/ and change your notification settings
> for this calendar.
>
> Forwarding this invitation could allow any recipient to modify your RSVP
> response. Learn More
> <https://support.google.com/calendar/answer/37135#forwarding>.
>



-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [CEP] Interested in Contributing to WSO2 CEP Product.

2015-07-06 Thread Tharik Kanaka
Hi Nirmali,

At the moment WSO2 CEP is about to release 4.0.0 and we have already
released beta version. You may have an idea since you have worked with CEP
but better to refer new documentation 4.0.0 [1] because there are
significant improvements from previous version.

CEP component and product source codes are available on github repositories
[2],[3],[4],[5] which you can refer and use to contribute. On the hand you
can use public JIRA issues [6] to report bugs, improvements and etc.

[1] https://docs.wso2.com/display/CEP400/CEP+Configuration+Overview
[2] https://github.com/wso2/siddhi
[3] https://github.com/wso2/carbon-event-processing
[4] https://github.com/wso2/carbon-analytics-common
[5] https://github.com/wso2/product-cep
[6] https://wso2.org/jira/browse/CEP

Regards,

On Mon, Jul 6, 2015 at 11:31 PM, Bhashinee Nirmali 
wrote:

> Hi All,
>
> I am Bhashinee Nirmali from Faculty of Information Technology, University
> of Moratuwa. I have done a traffic analysis project as my second year group
> project, based on WSO2 CEP. Further I am interested in contributing to CEP
> product. As a beginner how should I start?
>
> Thank You
>
> Bhashinee Nirmali
> Faculty of Information Technology
> University of Moratuwa.
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Thushara Ranawaka

2015-07-01 Thread Tharik Kanaka
Congratulations Thushara

On Thu, Jul 2, 2015 at 10:12 AM, Madhawa Gunasekara 
wrote:

> Congratulations Thushara !! :)
>
> On Thu, Jul 2, 2015 at 9:34 AM, Waruna De Silva  wrote:
>
>> Hi Devs,
>>
>> It's my pleasure to welcome Thushara Ranawaka as a WSO2 Committer.
>> Thushara, welcome aboard and keep up the good work!
>>
>> Thanks!
>> Waruna
>>
>> --
>>
>> --
>> Waruna De Silva.
>> Director of Engineering ; WSO2, Inc.;  http://wso2.com/
>> cell +94 777 316866
>>
>> Lean . Enterprise . Middleware
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Madhawa Gunasekara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 719411002 <+94+719411002>
> blog: *http://madhawa-gunasekara.blogspot.com
> <http://madhawa-gunasekara.blogspot.com>*
> linkedin: *http://lk.linkedin.com/in/mgunasekara
> <http://lk.linkedin.com/in/mgunasekara>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Maheeka Jayasuriya

2015-06-24 Thread Tharik Kanaka
Congradulations

On Wed, Jun 24, 2015 at 1:20 PM, Isuru Ranawaka  wrote:

> Congrats !!!
>
> On Wed, Jun 24, 2015 at 10:40 AM, Viraj Senevirathne 
> wrote:
>
>> Congratulations Maheeka .
>>
>> On Wed, Jun 24, 2015 at 10:36 AM, Dinithi De Silva 
>> wrote:
>>
>>> Congratzzz maheeka... :)
>>>
>>> On Wed, Jun 24, 2015 at 10:29 AM, Kasun Indrasiri 
>>> wrote:
>>>
>>>> Hi devs,
>>>>
>>>> Its my pleasure to welcome Maheeka Jayasuriya as a WSO2 Committer.
>>>> Maheeka, welcome aboard and keep up the good work!
>>>>
>>>> Thanks.
>>>> --
>>>> Kasun Indrasiri
>>>> Software Architect
>>>> WSO2, Inc.; http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> cell: +94 77 556 5206
>>>> Blog : http://kasunpanorama.blogspot.com/
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Dinithi De Silva*
>>> Associate Software Engineer, WSO2 Inc.
>>> m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com
>>> | a: #20, Palm Grove, Colombo 03
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Viraj Senevirathne
>> Software Engineer; WSO2, Inc.
>>
>> Mobile : +94 71 818 4742 <%2B94%20%280%29%20773%20451194>
>> Email : vir...@wso2.com 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Best Regards
> Isuru Ranawaka
> M: +94714629880
> Blog : http://isurur.blogspot.com/
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [CEP] Unable to create query in Siddhi Query Language

2015-06-22 Thread Tharik Kanaka
Make that averageLoad float parameter of processed_data  export stream as
double and try.
Average function will return a double value.

On Mon, Jun 22, 2015 at 7:17 PM, Maheshakya Wijewardena  wrote:

> Hi,
>
> I'm trying to create an execution plan similar to the following:
>
>
> ​
> It has a data receiver for an event stream called `streaming_data`, a data
> publisher for a event stream called `processed_data`.
> I have created an execution plan as follows:
>
> /* Enter a unique ExecutionPlan */
>> @Plan:name('ExecutionPlan')
>>
>> /* Enter a unique description for ExecutionPlan */
>> -- @Plan:description('ExecutionPlan')
>>
>> /* define streams/tables and write queries here ... */
>>
>> @Import('streaming_data:1.0.0')
>> define stream streaming_data (meta_type string, id int, timeStamp int,
>> value float, property bool, plugId int, householdId int, houseId string);
>>
>> @Export('processed_data:1.0.0')
>> define stream processed_data (averageLoad float);
>>
>> from streaming_data#window.length(5)
>> select avg(value) as averageLoad
>> insert into processed_data;
>>
>
> When I try to validate my query, I get the following error:
>
>> Different definition same as output stream definition
>> :StreamDefinition{id='processed_data',
>> attributeList=[Attribute{id='averageLoad', type=DOUBLE}], annotations=[]}
>> already exist as:StreamDefinition{id='processed_data',
>> attributeList=[Attribute{id='averageLoad', type=FLOAT}],
>> annotations=[Annotation{name='Export', elements=[Element{key='null',
>> value='processed_data:1.0.0'}]}]} in execution plan "ExecutionPlan"
>
>
> What might be the reason for this?
>
> What I want to do is reading a moving window from the `streaming_data`
> event stream, get the average value of the atribute `value` within that
> window and send that to the `processed_data` event stream.
>
> (I've built from the sources of product-cep master and running CEP in
> distributed mood with Storm)
>
> Best regards.
> --
> Pruthuvi Maheshakya Wijewardena
> Software Engineer
> WSO2 Lanka (Pvt) Ltd
> Email: mahesha...@wso2.com
> Mobile: +94711228855
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Http Event Receiver Endpoint

2015-06-17 Thread Tharik Kanaka
Hi Iranga,

Sorry i forgot receive with soap  and with http it should be following
format.

https://docs.wso2.com/display/CEP400/HTTP+Input+Event+Adapter

Regards,

On Thu, Jun 18, 2015 at 11:21 AM, Tharik Kanaka  wrote:

> Hi Iranga,
>
> I think this has been changed with CEP 4.0.0 release where endpoint will
> be adapterName/receive. "receive" word is common for any HTTP receiver. I
> guess we need to update documentations.
>
> Regards,
>
> On Thu, Jun 18, 2015 at 10:55 AM, Iranga Muthuthanthri 
> wrote:
>
>> Hi
>>
>> What would be the incoming endpoint be for Http Event receivers?. It used
>> to be
>>
>> https://localhost:9443/endpoints//
>> with an option in the console to provide the topic name.
>>
>> [1]https://docs.wso2.com/display/BAM250/Input+HTTP+Event+Adapter
>>
>>
>> --
>> Thanks & Regards
>>
>> Iranga Muthuthanthri
>> (M) -0777-255773
>> Team Product Management
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Tharik Kanaka*
>
> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>
> Email: tha...@wso2.com | Web: www.wso2.com
>



-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Http Event Receiver Endpoint

2015-06-17 Thread Tharik Kanaka
Hi Iranga,

I think this has been changed with CEP 4.0.0 release where endpoint will be
adapterName/receive. "receive" word is common for any HTTP receiver. I
guess we need to update documentations.

Regards,

On Thu, Jun 18, 2015 at 10:55 AM, Iranga Muthuthanthri 
wrote:

> Hi
>
> What would be the incoming endpoint be for Http Event receivers?. It used
> to be
>
> https://localhost:9443/endpoints//
> with an option in the console to provide the topic name.
>
> [1]https://docs.wso2.com/display/BAM250/Input+HTTP+Event+Adapter
>
>
> --
> Thanks & Regards
>
> Iranga Muthuthanthri
> (M) -0777-255773
> Team Product Management
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sam Sivayogam

2015-06-17 Thread Tharik Kanaka
gt;>>>>>>>>>>>> Committer. @Sam, congratulations and keep up the good work!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>> NuwanD.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Nuwan Dias
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Technical Lead - WSO2, Inc. http://wso2.com
>>>>>>>>>>>>>> email : nuw...@wso2.com
>>>>>>>>>>>>>> Phone : +94 777 775 729
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ___
>>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ___
>>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Vinuri Perera
>>>>>>>>>>>> Software Engineer | WSO2 Inc
>>>>>>>>>>>>
>>>>>>>>>>>> M : 0711518805
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ___
>>>>>>>>>>>> Dev mailing list
>>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>>
>>>>>>>>>>> Vimalanathan Rajeevan
>>>>>>>>>>> Software Engineer
>>>>>>>>>>> WSO2 Inc.:http://wso2.com
>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Mobile : +94 773090875
>>>>>>>>>>>
>>>>>>>>>>> ___
>>>>>>>>>>> Dev mailing list
>>>>>>>>>>> Dev@wso2.org
>>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Best Regards,
>>>>>>>>>>
>>>>>>>>>> *Thilini Cooray*
>>>>>>>>>> Software Engineer
>>>>>>>>>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20773%20451194>
>>>>>>>>>> E-mail : thili...@wso2.com
>>>>>>>>>>
>>>>>>>>>> WSO2 Inc. www.wso2.com
>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>
>>>>>>>>>> ___
>>>>>>>>>> Dev mailing list
>>>>>>>>>> Dev@wso2.org
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Senduran *
>>>>>>>>> Software Engineer,
>>>>>>>>> WSO2, Inc.;  http://wso2.com/ <http://wso2.com/>
>>>>>>>>> Mobile: +94 77 952 6548
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Dev mailing list
>>>>>>>>> Dev@wso2.org
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *S.Elilmatha*
>>>>>>> Associate  Software Engineer,
>>>>>>>
>>>>>>> WSO2 Inc.; http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> Mobile 0779842221.
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thanks & Regards,
>>>>>>
>>>>>> *Chamalee De Silva*
>>>>>> Software Engineer
>>>>>> *WS**O2* Inc. .:http://wso2.com
>>>>>> lean *.* enterprise *.* middleware
>>>>>>
>>>>>> Office   :- *+94 11 2145345 <%2B94%2011%202145345>*
>>>>>> mobile  :- *+94 7 <%2B94%2077%202782039>1 4315942*
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Harsha Kumara
>>>>> Software Engineer, WSO2 Inc.
>>>>> Mobile: +94775505618
>>>>> Blog:harshcreationz.blogspot.com
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Shiva Balachandran
>>> Software Engineer
>>> WSO2 Inc.
>>>
>>> Mobile - +94 774445788
>>> Blog - https://shivabalachandran.wordpress.com/
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Event streams folder is not there in Data Analytics Server?

2015-06-17 Thread Tharik Kanaka
Hi Nirmal,

Above same fix has been done at CEP [1] and will be available in beta pack

[1] https://wso2.org/jira/browse/CEP-1175

Regards,

On Wed, Jun 17, 2015 at 12:24 PM, Sinthuja Ragendran 
wrote:

> Hi Nirmal,
>
> This is fixed in master branch [1], and will be available in DAS beta pack.
>
> [1] https://wso2.org/jira/browse/BAM-2043
>
> Thanks,
> Sinthuja
>
>
> On Wed, Jun 17, 2015 at 12:21 PM, Nirmal Fernando  wrote:
>
>> Thanks Tharik. Why can't we have the empty directories? This would help
>> when someone automates the deployment.
>>
>> On Wed, Jun 17, 2015 at 12:17 PM, Tharik Kanaka  wrote:
>>
>>> Hi Nirmal,
>>>
>>> It will be available as once you create a stream
>>> (/repository/deployment/server/eventstreams).
>>> At the moment it will be same for eventpublishers and eventreceivers
>>> directories which will be created once you create them.
>>>
>>> There are unwanted directories for
>>> eventformatters, eventbuilders, outputeventadaptors and inputeventadaptors
>>> which also needs to be removed from the DAS.
>>>
>>> Regards,
>>>
>>> On Wed, Jun 17, 2015 at 11:52 AM, Nirmal Fernando 
>>> wrote:
>>>
>>>>
>>>>
>>>> On Wed, Jun 17, 2015 at 11:50 AM, Nirmal Fernando 
>>>> wrote:
>>>>
>>>>> $subject? I cannot see it in a vanilla Data Analytics Server pack.
>>>>>
>>>>> --
>>>>>
>>>>> Thanks & regards,
>>>>> Nirmal
>>>>>
>>>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>>>> Mobile: +94715779733
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Thanks & regards,
>>>> Nirmal
>>>>
>>>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>>>> Mobile: +94715779733
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Tharik Kanaka*
>>>
>>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>>
>>> Email: tha...@wso2.com | Web: www.wso2.com
>>>
>>
>>
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Sinthuja Rajendran*
> Associate Technical Lead
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Event streams folder is not there in Data Analytics Server?

2015-06-16 Thread Tharik Kanaka
Hi Nirmal,

It will be available as once you create a stream
(/repository/deployment/server/eventstreams).
At the moment it will be same for eventpublishers and eventreceivers
directories which will be created once you create them.

There are unwanted directories for
eventformatters, eventbuilders, outputeventadaptors and inputeventadaptors
which also needs to be removed from the DAS.

Regards,

On Wed, Jun 17, 2015 at 11:52 AM, Nirmal Fernando  wrote:

>
>
> On Wed, Jun 17, 2015 at 11:50 AM, Nirmal Fernando  wrote:
>
>> $subject? I cannot see it in a vanilla Data Analytics Server pack.
>>
>> --
>>
>> Thanks & regards,
>> Nirmal
>>
>> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
>> Mobile: +94715779733
>> Blog: http://nirmalfdo.blogspot.com/
>>
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cross Origin Request Blocked when using socket.io

2015-06-13 Thread Tharik Kanaka
Hi Sabra,

This happens because of same origin policy where that specific resource
hosted at some other domain and javascript is running on local machine. To
resolve that usually CORS headers needs to be added to the response from
the server side.

In your case did you try by moving *socket.io-1.2.0.js* file (where you
refer CDN hosted file in the code) to your local machine and refer it?

Regards,

On Sat, Jun 13, 2015 at 9:36 PM, Sabra Ossen  wrote:

> Hi All,
>
> I am following the tutorial mentioned in [1] and trying to create a chat
> application using socket.io and node js.
>
> I have installed express and socket.io on my machine. The versions are
> specified in the package.json below.
>
>
>
>
>
>
>
>
>
> *{  "name": "socket-chat-example",  "version": "0.0.1",  "description":
> "my first socket.io <http://socket.io> app",  "dependencies": {
> "express": "~4.10.2","socket.io <http://socket.io>": "~1.2.0"  }}*
>
> The node server code is specified below.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *var app = require('express')();var http = require('http').Server(app);var
> io = require('socket.io <http://socket.io>')(http);app.get('/',
> function(req, res){  res.sendFile(__dirname +
> '/index.html');});io.on('connection', function(socket){  socket.on('chat
> message', function(msg){io.emit('chat message', msg);
> });});http.listen(3000, function(){  console.log('listening on *:3000');});*
>
> The content of the html file being accessed is specified below.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *  Socket.IO chat
>   * { margin: 0; padding: 0; box-sizing: border-box; }  body
> { font: 13px Helvetica, Arial; }  form { background: #000; padding:
> 3px; position: fixed; bottom: 0; width: 100%; }  form input { border:
> 0; padding: 10px; width: 90%; margin-right: .5%; }  form button {
> width: 9%; background: rgb(130, 224, 255); border: none; padding: 10px;
> }  #messages { list-style-type: none; margin: 0; padding: 0; }
> #messages li { padding: 5px 10px; }  #messages li:nth-child(odd) {
> background: #eee; } id="messages">   autocomplete="off" />Send src="<a  rel="nofollow" href="https://cdn.socket.io/socket.io-1.2.0.js">https://cdn.socket.io/socket.io-1.2.0.js</a>
> <<a  rel="nofollow" href="https://cdn.socket.io/socket.io-1.2.0.js">https://cdn.socket.io/socket.io-1.2.0.js</a>>"> src="<a  rel="nofollow" href="http://code.jquery.com/jquery-1.11.1.js">http://code.jquery.com/jquery-1.11.1.js</a>
> <<a  rel="nofollow" href="http://code.jquery.com/jquery-1.11.1.js">http://code.jquery.com/jquery-1.11.1.js</a>>">  var
> socket = io();  $('form').submit(function(){socket.emit('chat
> message', $('#m').val());$('#m').val('');return false;
> });  socket.on('chat message', function(msg){
> $('#messages').append($('<li>').text(msg));  });
> *
>
> The code can also be found in [2].
>
> I am getting the following error in the firefox console with the app
> failing.
>
>
> *Cross-Origin Request Blocked: The Same Origin Policy disallows reading
> the remote resource at
> http://file/socket.io/?EIO=3&transport=polling&t=1434211017174-2
> <http://file/socket.io/?EIO=3&transport=polling&t=1434211017174-2>.
> (Reason: CORS request failed).GET XHR http://file/socket.io/
> <http://file/socket.io/>*
>
> I have exhaustively searched for a solution for the above issue but was
> unsuccessful. I highly appreciate any input on the above problem. Thanks in
> advance.
>
> [1] http://socket.io/get-started/chat/
> [2] https://github.com/rauchg/chat-example
>
> Regards.
> --
> Sabra Ossen <http://lk.linkedin.com/in/sabraossen>
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Sri Lanka
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [CEP][Siddi] Review PR: CI with Travis

2015-06-08 Thread Tharik Kanaka
Hi Thilina,

It is an interesting tool. In plans [1] it specifies that fair use is for
free plan, it seems like we can have 1 concurrent job for one Github
account. We might need paid version if we apply this to multiple
repositories where there could be many pull requests. Have we applied this
for any other WSO2 repository?

[1] https://travis-ci.com/plans

Regards,


On Tue, Jun 9, 2015 at 8:20 AM, Thilina Rathnayake 
wrote:

> Hi Suho !
>
> I tried adding CI support (Using Travis <https://travis-ci.org/>) for the
> Siddhi github repositroy in the following
> PR:
>
> https://github.com/wso2/siddhi/pull/54
>
> With Travis, we can test whether a given PR breaks the master before we
> merge it.
>
> Please have a look at the PR and see if this is a worthwhile addition.
>
> Thilina Rathnayake
> Software Engineer
> Mobile: +94 - 71 - 850 - 4827
> thili...@wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Dinithi De Silva

2015-05-27 Thread Tharik Kanaka
Congratulations Dinithi

On Thu, May 28, 2015 at 11:51 AM, Indunil Upeksha Rathnayake <
indu...@wso2.com> wrote:

> Hi Dinithi,
>
> Congratzzz.. :D
> --
> Indunil Upeksha Rathnayake
> Software Engineer | WSO2 Inc
> Emailindu...@wso2.com
> Mobile  +94713695179
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to open a carbon UI component in a new tab?

2015-05-27 Thread Tharik Kanaka
Hi Dunith,

Thanks for the workaround, it seems like this would be the last resort
since there are no any other nice way to do it with carbon. I hope this
should work in IE since it has basic javascript operations, will test it
and let you know.

I have done slight modification to the above code piece in order get rid of
showing the blank page in the management console (the dummy page we are
does not have anything, so i have redirected it to console index page for
now)

var executionUrl = window.location.origin +
"/carbon/execution-manager/domains_ajaxprocessor.jsp";
var consoleUrl = window.location.origin + "/carbon/admin/index.jsp";
var win = window.open(executionUrl, '_blank');
win.focus();
window.location.href = consoleUrl;

Regards,

On Wed, May 27, 2015 at 5:47 PM, Dunith Dhanushka  wrote:

> Hi Tharik,
>
> AFAIK there's no straightforward method available in Carbon UI for this.
> But you can try following approach.
>
> 1. Create a JSP file inside your UI component. Let's say dummy.jsp.
> 2. In the component.xml file, set
> *../execution-manager/dummy.jsp*
> 3. Add following content into dummy.jsp file
>
> 
> jQuery(document).ready(function(){
> var url = window.location.origin + "/{your_link_here}";
> var win = window.open(url, '_blank');
> win.focus();
> });
> 
>
>
> Please note that I didn't test this code with IE.
>
> Regards,
> Dunith
>
> On Wed, May 27, 2015 at 12:11 PM, Tharik Kanaka  wrote:
>
>> Hi All,
>>
>> I have written an UI component for WSO2 CEP which needs to be opened
>> separately in a new tab. At the moment for hyperlink in the management
>> console will be like below which will be created based on the link i have
>> specified on component.xml.
>>
>> > href="../execution-manager/domains_ajaxprocessor.jsp?region=region1&item=executionmgt_menu"
>> class="menu-default" style="background-image:
>> url(../execution-manager/images/icon.png);">Execution Manager
>>
>> In HTML in order to make a hyper link open in new tab we need to add
>> target="_blank" attribute. Is there any method to add that attribute
>> from the carbon component or is there any alternative way to open in new
>> tab?
>>
>> Thanks,
>> --
>>
>> *Tharik Kanaka* | Associate Software Engineer
>>
>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>
>> Email: tha...@wso2.com | Web: www.wso2.com
>>
>> _______
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
>
> Dunith Dhanushka,
> Senior Software Engineer - BAM,
> WSO2 Inc,
>
> Mobile - +94 71 8615744
> Blog - dunithd.wordpress.com <http://blog.dunith.com>
> Twitter - @dunithd <http://twitter.com/dunithd>
>



-- 

*Tharik Kanaka*

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Himasha Guruge

2015-05-27 Thread Tharik Kanaka
aEGCBxs6e9fBObg>
>>>>>>>> lean.enterprise.middleware
>>>>>>>>
>>>>>>>> mobile: *+94728671315 <%2B94728671315>*
>>>>>>>>
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Dinithi De Silva*
>>>>>>> Associate Software Engineer, WSO2 Inc.
>>>>>>> m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com
>>>>>>> | a: #20, Palm Grove, Colombo 03
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Milan Harindu Perera
>>>>>> Software Engineer
>>>>>> *WSO2, Inc*
>>>>>> (+94) 77 309 7088
>>>>>> lean . enterprise . middleware
>>>>>> <http://lk.linkedin.com/in/milanharinduperera>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thusitha Dayaratne
>>>>> Software Engineer
>>>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>>>
>>>>> Mobile  +94712756809
>>>>> Blog  alokayasoya.blogspot.com
>>>>> Abouthttp://about.me/thusithathilina
>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Rajith Vitharana
>>>>
>>>> Software Engineer,
>>>> WSO2 Inc. : wso2.com
>>>> Mobile : +94715883223
>>>> Blog : http://lankavitharana.blogspot.com/
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel  : +94 112 145 345
>> a nurudd...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vijitha Ekanayake
> Software Engineer*, *WSO2, Inc.; http://wso2.com/
> Mobile : +94 777 24 73 39 | +94 718 74 44 08
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to open a carbon UI component in a new tab?

2015-05-26 Thread Tharik Kanaka
Hi All,

I have written an UI component for WSO2 CEP which needs to be opened
separately in a new tab. At the moment for hyperlink in the management
console will be like below which will be created based on the link i have
specified on component.xml.

Execution Manager

In HTML in order to make a hyper link open in new tab we need to add
target="_blank"
attribute. Is there any method to add that attribute from the carbon
component or is there any alternative way to open in new tab?

Thanks,
--

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Adding custom UserOperationEventListener to Carbon Core

2015-05-25 Thread Tharik Kanaka
Didn't you try by adding an activate method register inside? Because
usually in osgi you need ComponentContext to register services which is
available in activate method.

Regards,

On Tue, May 26, 2015 at 10:36 AM, Damith Senanayake 
wrote:

> Hi,
>
> I am trying to make a custom UserOperationEventListener, and want to
> register it as an OSGI service in the carbon.user.core component.
>
> I referred to carbon.identity.mgt component to see how the Identity
> management listener is registered. I saw that it was instantiated and
> registered in the IdentityMgtServiceComponent.activate() method.
>
> However, the UMListenerComponent in carbon.user.core.internal doesn't have
> an activate method written or defined.
>
> In this case how can I register the custom listener as a service?
>
>
> Thanks
>
> --
> *-Damith Senanayake-*
> +94712205272
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: Invitation: [Code Review][CEP] Siddhi Try It Feature @ Mon May 18, 2015 12pm - 1pm (tha...@wso2.com)

2015-05-18 Thread Tharik Kanaka
Looping @Dev group

On Mon, May 18, 2015 at 2:09 PM, Tharik Kanaka  wrote:

> Hi All,
>
> Please refer following code review feedbacks.
>
> *Component.xml*
>
>- Use a "manage" permission for siddhi try it instead if using "login"
>permission
>
> *SiddhiTryItClient.java*
>
>- Change variable name beginTime to startTime to keep the consistency
>- Add data source support  and check extensions are working.
>- Do not check only for first annotations there could be multiple
>annotations in a siddhi query
>- Use the common method to use read annotation instead of getting by
>elements.
>- Define event related variables inside the for loop block since those
>are used inside the for loop
>- Test for two types of streams (such as a join of streams)
>- catch throwable since there could be execution plan validation
>exceptions
>- In the finally block check for null before checking shutdown
>execution plan runtime
>
> *pom.xml (tryit feature)*
>
>- Add siddhi dependencies of core, compiler and api
>
>
> Regards,
>
> On Fri, May 15, 2015 at 10:28 AM, Thilini Anoratna 
> wrote:
>
>> more details »
>> <https://www.google.com/calendar/event?action=VIEW&eid=ZXIyanU0NTNnNjcwbmxpc2VzNms4bW1zc2sgdGhhcmlrQHdzbzIuY29t&tok=MTcjdGhpbGluaWFAd3NvMi5jb20wZTYwNGYyZGMzYjc5YjA0ZDE5NTVhZDQzYThkZmUwNTE1YzU0ODky&ctz=Asia/Colombo&hl=en>
>> Invitation: [Code Review][CEP] Siddhi Try It Feature
>> *When*
>> Mon May 18, 2015 12pm – 1pm Colombo
>> *Where*
>> LK Trace Mezzanine Floor Meeting Room - Gondor Ext:1036212 (map
>> <https://maps.google.lk/maps?q=LK+Trace+Mezzanine+Floor+Meeting+Room+-+Gondor+Ext:1036212&hl=en>
>> )
>> *Video call*
>> https://plus.google.com/hangouts/_/wso2.com/invitation-code
>> <https://plus.google.com/hangouts/_/wso2.com/invitation-code?hceid=dGhpbGluaWFAd3NvMi5jb20.er2ju453g670nlises6k8mmssk>
>> *Calendar*
>> tha...@wso2.com
>> *Who*
>> •
>> Thilini Anoratna - organizer
>> •
>> Sachini Jayasekara
>> •
>> Dilini Muthumala
>> •
>> Sriskandarajah Suhothayan
>> •
>> Mohanadarshan Vivekanandalingam
>> •
>> Ramindu De Silva
>> •
>> Sajith Ravindra
>> •
>> Tharik Kanaka
>> •
>> Tishan Dahanayakage
>> •
>> Ayashkantha Ramasinghe
>> •
>> Damith Wickramasinghe
>> •
>> Lasantha Fernando
>> •
>> Rajeev Sampath
>>
>> Going?   *Yes
>> <https://www.google.com/calendar/event?action=RESPOND&eid=ZXIyanU0NTNnNjcwbmxpc2VzNms4bW1zc2sgdGhhcmlrQHdzbzIuY29t&rst=1&tok=MTcjdGhpbGluaWFAd3NvMi5jb20wZTYwNGYyZGMzYjc5YjA0ZDE5NTVhZDQzYThkZmUwNTE1YzU0ODky&ctz=Asia/Colombo&hl=en>
>> - Maybe
>> <https://www.google.com/calendar/event?action=RESPOND&eid=ZXIyanU0NTNnNjcwbmxpc2VzNms4bW1zc2sgdGhhcmlrQHdzbzIuY29t&rst=3&tok=MTcjdGhpbGluaWFAd3NvMi5jb20wZTYwNGYyZGMzYjc5YjA0ZDE5NTVhZDQzYThkZmUwNTE1YzU0ODky&ctz=Asia/Colombo&hl=en>
>> - No
>> <https://www.google.com/calendar/event?action=RESPOND&eid=ZXIyanU0NTNnNjcwbmxpc2VzNms4bW1zc2sgdGhhcmlrQHdzbzIuY29t&rst=2&tok=MTcjdGhpbGluaWFAd3NvMi5jb20wZTYwNGYyZGMzYjc5YjA0ZDE5NTVhZDQzYThkZmUwNTE1YzU0ODky&ctz=Asia/Colombo&hl=en>*
>> more options »
>> <https://www.google.com/calendar/event?action=VIEW&eid=ZXIyanU0NTNnNjcwbmxpc2VzNms4bW1zc2sgdGhhcmlrQHdzbzIuY29t&tok=MTcjdGhpbGluaWFAd3NvMi5jb20wZTYwNGYyZGMzYjc5YjA0ZDE5NTVhZDQzYThkZmUwNTE1YzU0ODky&ctz=Asia/Colombo&hl=en>
>>
>> Invitation from Google Calendar <https://www.google.com/calendar/>
>>
>> You are receiving this email at the account tha...@wso2.com because you
>> are subscribed for invitations on calendar tha...@wso2.com.
>>
>> To stop receiving these emails, please log in to
>> https://www.google.com/calendar/ and change your notification settings
>> for this calendar.
>>
>
>
>
> --
>
> *Tharik Kanaka* | Associate Software Engineer
>
> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>
> Email: tha...@wso2.com | Web: www.wso2.com
>



-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] getUsername methods returns null in carbon context

2015-05-12 Thread Tharik Kanaka
Hi Thusitha,

Above thread is 2 years old and now we don't have getCurrentContext in
carbon context. Anyway as a work around i have retrieved username from
session attributes.

Regards,

On Tue, May 12, 2015 at 9:36 AM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Tharik,
>
> Refer to the following mail thread, "[Dev]
> PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns
> 'null'"
> http://mail.wso2.org/mailarchive/dev/2013-January/014372.html
>
> Thanks
>
>
> On Tue, May 12, 2015 at 9:20 AM, Tharik Kanaka  wrote:
>
>> Hi All,
>>
>> I want to get logged in username and password inside one of my carbon
>> component written for WSO2 CEP product. I used following two methods to get
>> username from carbon context but both returned null. But getTenantId
>> returns -1234 for admin user with no issue. Is there alternative way to get
>> username?
>>
>> PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername()
>>
>> CarbonContext.getThreadLocalCarbonContext().getUsername()
>>
>> Thanks,
>> --
>>
>> *Tharik Kanaka* | Associate Software Engineer
>>
>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>
>> Email: tha...@wso2.com | Web: www.wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Location of logout_action.jsp file of carbon management console

2015-05-12 Thread Tharik Kanaka
Hi all,

I just found out that there is no physical page called logout_action.jsp in
carbon. If we access logout_action.jsp page it will do the action logout
and redirect to login page.

Regards,

On Tue, May 12, 2015 at 12:29 PM, Tharik Kanaka  wrote:

> Hi All,
>
> In carbon management console, the sign out hyper link is linked to
> page /carbon/admin/logout_action.jsp and from there it will redirected
> to /admin/login.jsp page. Inside logout_action.jsp the logging out user and
> handling cookies and sessions will be done.
>
> I need to take a look on that code to refer so i was searching the file in
> carbon4-kernel ui (since login.jsp is there) [1] , but its not located
> there. Does anyone knows the place where logout_action.jsp is located?
>
> [1]
> https://github.com/wso2/carbon4-kernel/tree/master/core/org.wso2.carbon.ui/src/main/resources/web/admin
>
> Thanks,
> --
>
> *Tharik Kanaka* | Associate Software Engineer
>
> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>
> Email: tha...@wso2.com | Web: www.wso2.com
>



-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] New Icon required for WSO2 CEP Execution Manager feature

2015-05-12 Thread Tharik Kanaka
Hi Chanaka,

We have added a new feature for WSO2 CEP called Execution Manager. We need
a new icon for this menu item of manage console. Menu item is located at
the top of event processor as shown in following image. Since this is
related Execution Plans, existing Execution Plans icon can be used and
modified accordingly (Execution Plans icon .gif is attached along with this
mail).


[image: Inline image 4]


Regards,

-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Location of logout_action.jsp file of carbon management console

2015-05-12 Thread Tharik Kanaka
Hi All,

In carbon management console, the sign out hyper link is linked to
page /carbon/admin/logout_action.jsp and from there it will redirected
to /admin/login.jsp page. Inside logout_action.jsp the logging out user and
handling cookies and sessions will be done.

I need to take a look on that code to refer so i was searching the file in
carbon4-kernel ui (since login.jsp is there) [1] , but its not located
there. Does anyone knows the place where logout_action.jsp is located?

[1]
https://github.com/wso2/carbon4-kernel/tree/master/core/org.wso2.carbon.ui/src/main/resources/web/admin

Thanks,
-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] getUsername methods returns null in carbon context

2015-05-11 Thread Tharik Kanaka
Hi All,

I want to get logged in username and password inside one of my carbon
component written for WSO2 CEP product. I used following two methods to get
username from carbon context but both returned null. But getTenantId
returns -1234 for admin user with no issue. Is there alternative way to get
username?

PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername()

CarbonContext.getThreadLocalCarbonContext().getUsername()

Thanks,
-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issues when installing ML features in CEP

2015-05-05 Thread Tharik Kanaka
Hi Lasantha,

I just checked ML is using adapters of carbon-event-processing of
2.0.4-SNAPSHOT
version. Now those adapters have been migrated to carbon-analytics-commons,
so thats why ui expecting 1.0.0 version of carbon-analytics-common. So
Manaroma needs to update CEP adapter adapter references in ML .

Regards,

On Tue, May 5, 2015 at 1:39 PM, Lasantha Fernando  wrote:

> Hi Manorama,
>
> Can you check whether the correct version of output.adapter.core is
> installed in ML? It seems the output.adapter.ui is expecting a 1.0.0 to
> 2.0.0 version of output.adapter.core.
>
> I think we recently did some changes in the version numbers of the output
> adapter components. In that case, can you check whether the current
> development version and the version imported by other output.adapter
> components is output.adapter.core-2.0.4-SNAPSHOT version. If it is a
> different version, pack that version to ML product instead of the
> 2.0.4-SNAPSHOT version.
>
> Thanks,
> Lasantha
>
> On 5 May 2015 at 13:30, Manorama Perera  wrote:
>
>> Hi Tharik,
>>
>> I've tried building product-cep as you mentioned. Issue still exists.
>>
>> Thanks.
>>
>> On Tue, May 5, 2015 at 11:44 AM, Tharik Kanaka  wrote:
>>
>>> Hi Manorama,
>>>
>>> Did you build the latest product-cep by building latest
>>>  carbon-event-processing and latest carbon-analytics-commons?
>>> Because all the CEP adapters has been moved to carbon-analytics-commons
>>> (Including org.wso2.carbon.event.output.adapter.core,
>>> org.wso2.carbon.event.output.adapter.ui and etc).
>>>
>>> Regards,
>>>
>>> On Tue, May 5, 2015 at 11:18 AM, Manorama Perera 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I've installed ML features on CEP. Exceptions [1] are thrown while the
>>>> CEP server is restarting.
>>>>
>>>> I've started CEP with -DosgiConsole and noticed some bundles are in
>>>> INSTALLED state
>>>>
>>>> 211INSTALLED
>>>> org.wso2.carbon.event.output.adapter.jms_1.0.0.SNAPSHOT
>>>> 212INSTALLED
>>>> org.wso2.carbon.event.output.adapter.kafka_1.0.0.SNAPSHOT
>>>> 213ACTIVE
>>>> org.wso2.carbon.event.output.adapter.logger_1.0.0.SNAPSHOT
>>>> 214INSTALLED
>>>> org.wso2.carbon.event.output.adapter.mqtt_1.0.0.SNAPSHOT
>>>> 215ACTIVE
>>>> org.wso2.carbon.event.output.adapter.rdbms_1.0.0.SNAPSHOT
>>>> 216INSTALLED
>>>> org.wso2.carbon.event.output.adapter.sms_1.0.0.SNAPSHOT
>>>> 217ACTIVE
>>>> org.wso2.carbon.event.output.adapter.soap_1.0.0.SNAPSHOT
>>>> 218INSTALLED
>>>> org.wso2.carbon.event.output.adapter.ui_1.0.0.SNAPSHOT
>>>> 219INSTALLED
>>>> org.wso2.carbon.event.output.adapter.websocket_1.0.0.SNAPSHOT
>>>> 220INSTALLED
>>>> org.wso2.carbon.event.output.adapter.websocket.local_1.0.0.SNAPSHOT
>>>> 221INSTALLED
>>>> org.wso2.carbon.event.output.adapter.wso2event_1.0.0.SNAPSHOT
>>>>
>>>> I tried *start 218* and got the following exception
>>>>
>>>> *BundleException: The bundle
>>>> "org.wso2.carbon.event.output.adapter.ui_1.0.0.SNAPSHOT [218]" could not be
>>>> resolved. Reason: Missing Constraint: Import-Package:
>>>> org.wso2.carbon.event.output.adapter.core.exception;
>>>> version="[1.0.0,2.0.0)"osgi>*
>>>>
>>>> org.wso2.carbon.event.output.adapter.core_2.0.4.SNAPSHOT is installed
>>>> with ML.
>>>> Seems the exception is due to version conflicts of the installed
>>>> features.
>>>>
>>>> How to solve this issue?
>>>>
>>>> Thanks
>>>>
>>>> [1]
>>>>
>>>> [2015-05-05 10:56:05,440]  INFO
>>>> {org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer} -  Deployed
>>>> webapp:
>>>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/inputwebsocket].File[/home/manorama/Products/CEP/wso2cep-4.0.0-SNAPSHOT/repository/deployment/server/webapps/inputwebsocket.war]
>>>> java.lang.reflect.InvocationTargetException
>>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>>>> Method)
>>>> at
>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>>>> at
>>>> sun.reflect.DelegatingConstructorAcc

Re: [Dev] Issues when installing ML features in CEP

2015-05-04 Thread Tharik Kanaka
tImpl.registerService(BundleContextImpl.java:451)
> at
> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
> at
> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
> at
> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:88)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:601)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
> at
> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
> at
> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
> at
> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
> at
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
> at
> org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
> at
> org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
> at
> org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
> at
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1279)
> at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1192)
> at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
> at
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210)
> at
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493)
> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
> at
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> at java.lang.Thread.run(Thread.java:722)
> Caused by: java.lang.NoClassDefFoundError:
> org/wso2/carbon/event/output/adapter/ui/UIOutputCallbackControllerService
> at
> org.wso2.carbon.servlet.TenantEventRetrievalEndpoint.(TenantEventRetrievalEndpoint.java:49)
> ... 108 more
> Caused by: java.lang.ClassNotFoundException:
> org.wso2.carbon.event.output.adapter.ui.UIOutputCallbackControllerService
> at
> org.wso2.carbon.webapp.mgt.loader.CarbonWebappClassLoader.loadClass(CarbonWebappClassLoader.java:154)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1569)
> ... 109 more
>
> --
> Manorama Perera
> Software Engineer
> WSO2, Inc.;  http://wso2.com/
> Mobile : +94716436216
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-27 Thread Tharik Kanaka
Congratulations Mahesh.

On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
wrote:

> Hi all,
>
> It is with great pleasure that WSO2 welcomes Mahesh Chinthaka as WSO2
> committer!
>
> Thank you for your hard work. Congratulation!
>
> thanks,
> dimuthu
>
> --
> Dimuthu Leelarathne
> Architect & Product Lead of App Factory
>
> WSO2, Inc. (http://wso2.com)
> email: dimut...@wso2.com
> Mobile : 0773661935
>
> Lean . Enterprise . Middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Running changed code on Identity Server.

2015-04-23 Thread Tharik Kanaka
Hi damith,

I believe org.wso2.carbon.user.mgt.ui belongs to carbon-commons is updated
version 4.4.0 and carbon-identity has to be updated to use version 4.4.0.
The jar your dealing version 4.3.6, if you doing changes on a fork of
carbon-commons if you updated by pulling latest chages versions should be
resolved. Could you try by changing 4.3.6 versions to version 4.4.0?

Regards,

On Fri, Apr 24, 2015 at 11:20 AM, Damith Senanayake 
wrote:

> Hi,
>
> I have made some changes to the code in org.wso2.carbon.user.mgt.ui
> (specifically the bulk-import.jsp file in the web resources) and when I
> added the changed and compiled code to the IS 5.1.0_SNAPSHOT server, the
> package gets installed, and doesn't get activated. When ran an OSGI
> Diagnosis, it shows that some of the packages imported are missing. The
> steps and the output is as below.
>
>
>1. change the version tag in the pom.xml in
>org.wso2.carbon.user.mgt.ui to 4.3.6.SNAPSHOT
>2. Create new patch folder in the instance of the IS
>($carbonHome/repository/components/patches/patch)
>3. copy the new "org.wso2.carbon.user.mgt.ui_4.3.6.SNAPSHOT.jar" to
>the said patch folder.
>4. start the server
>5. check the active components to find that
>"org.wso2.carbon.user.mgt.ui" is 'INSTALLED" but not "ACTIVE"
>6. run diagnosis on module to find the following output. :
>1. reference:file:../plugins/org.wso2.carbon.user.mgt.ui_4.3.6.SNAPSHOT.jar
>   [363]
> Direct constraints which are unresolved:
>   Missing imported package
>   org.wso2.carbon.user.mgt.stub_[4.4.0,4.5.0).
>   Missing imported package
>   org.wso2.carbon.user.mgt.stub.types.axis2_[4.4.0,4.5.0).
>   Missing imported package
>   org.wso2.carbon.user.mgt.stub.types.carbon_[4.4.0,4.5.0).
>   Missing optionally imported package
>   javax.activation_[1.1.0,2.0.0).
>
>   7. Now, I changed the part in the pom.xml containing the
>dependencies to not include the ";version=" section. However, the same
>results is shown.
>
> On a high level, due to this malfunction, the "users and roles" section of
> the management console is not shown. and manual navigating by typing the
> URL still shows null content.
>
>
> Any help and input regarding this will be highly appreciated. Thanks.
>
>
> --
> *-Damith Senanayake-*
> +94712205272
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon-mediation MQTT inbound

2015-04-23 Thread Tharik Kanaka
Hi Elilmatha,

Did you try by changing version to 0.4.0 and building it? because in nexus
directory there is mqtt client 4.0.0 [1]

[1]
http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/paho/mqtt-client/

Regards,

On Fri, Apr 24, 2015 at 9:14 AM, Elilmatha Sivanesan 
wrote:

> Hi,
>
> I'm working on MQTT Inbound on PR
> https://github.com/wso2-dev/carbon-mediation/pull/105 after merging this
> code manually with the carbon-mediation code base now I get error like this.
>
> [ERROR] Failed to execute goal on project
> org.wso2.carbon.inbound.endpoint: Could not resolve dependencies for
> project
> org.wso2.carbon.mediation:org.wso2.carbon.inbound.endpoint:bundle:4.3.3-SNAPSHOT:
> Failure to find
> org.eclipse.paho:org.eclipse.paho.client.mqttv3:jar:0.4.0.wso2v1 in
> http://maven.wso2.org/nexus/content/groups/wso2-public/
> <http://www.google.com/url?q=http%3A%2F%2Fmaven.wso2.org%2Fnexus%2Fcontent%2Fgroups%2Fwso2-public%2F&sa=D&sntz=1&usg=AFQjCNEcRLYnfq2mRs2M2tWN3CQzM-G4cg>
>  was
> cached in the local repository, resolution will not be reattempted until
> the update interval of wso2-nexus has elapsed or updates are forced ->
>
> 
> org.eclipse.paho
> org.eclipse.paho.client.mqttv3
> 0.4.0.wso2v1
> 
>
> Can any one suggest me with correct version to use
>
> Thank you.
> --
> *S.Elilmatha*
> Associate  Software Engineer,
>
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> Mobile 0779842221.
>
>
> _______
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Code Review Feedbacks - Fwd: Updated Invitation: RDBMS Event Table Code Review / Discussion @ Thu Apr 23, 2015 2pm - 3pm (tha...@wso2.com)

2015-04-23 Thread Tharik Kanaka
Adding Dev group


Hi All,

Following are the code review feedbacks for  RDBMS Event Table.

   - Use Execution creation exception when adding event table which is a
   runtime exception


   - Use bloom filter enabled instead to making value true


   - Load configurations in a static block instead of loading inside the
   init method


   - When there are aliases for streams, there will be a high priority for
   aliases than the name of the stream (specially when joining 2 streams


   - Remove cloning event when deletion of bloom filter (It is expensive
   and it is done in cache)


   - Partial updates (On specified properties) should be able to done
   instead of updating all the properties


   - No need to synchronise methods (In bloom filter) since Siddhi is not
   concurrently accessed.

Regards,

On Thu, Apr 23, 2015 at 10:27 AM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

> This event has been changed.
> more details »
> <https://www.google.com/calendar/event?action=VIEW&eid=YTRyaGl0dG9tMzY1cHJsdXRmbDdsNmZydDQgdGhhcmlrQHdzbzIuY29t&tok=MTQjbW9oYW5Ad3NvMi5jb204NGVkZDBhYjEyNjdhNWVmMWNmZjlhNDQ1NDhmYzkwM2I0YzhkZTA4&ctz=Asia/Colombo&hl=en>
> RDBMS Event Table Code Review / Discussion
> *When*
> *Changed: *Thu Apr 23, 2015 2pm – 3pm Colombo
> *Where*
> LK Trace Mezzanine Floor Board Room - Mordor Ext:1036211 (map
> <https://maps.google.lk/maps?q=LK+Trace+Mezzanine+Floor+Board+Room+-+Mordor+Ext:1036211&hl=en>
> )
> *Video call*
> https://plus.google.com/hangouts/_/wso2.com/mohan
> <https://plus.google.com/hangouts/_/wso2.com/mohan?hceid=bW9oYW5Ad3NvMi5jb20.a4rhittom365prlutfl7l6frt4>
> *Calendar*
> tha...@wso2.com
> *Who*
> •
> Mohanadarshan Vivekanandalingam - organizer
> •
> Dilini Muthumala
> •
> Sachini Jayasekara
> •
> Tharik Kanaka
> •
> Rajeev Sampath
> •
> Damith Wickramasinghe
> •
> Sriskandarajah Suhothayan
> •
> Thilini Anoratna
> •
> Ramindu De Silva
> •
> Lasantha Fernando
>
> Going?   *Yes
> <https://www.google.com/calendar/event?action=RESPOND&eid=YTRyaGl0dG9tMzY1cHJsdXRmbDdsNmZydDQgdGhhcmlrQHdzbzIuY29t&rst=1&tok=MTQjbW9oYW5Ad3NvMi5jb204NGVkZDBhYjEyNjdhNWVmMWNmZjlhNDQ1NDhmYzkwM2I0YzhkZTA4&ctz=Asia/Colombo&hl=en>
> - Maybe
> <https://www.google.com/calendar/event?action=RESPOND&eid=YTRyaGl0dG9tMzY1cHJsdXRmbDdsNmZydDQgdGhhcmlrQHdzbzIuY29t&rst=3&tok=MTQjbW9oYW5Ad3NvMi5jb204NGVkZDBhYjEyNjdhNWVmMWNmZjlhNDQ1NDhmYzkwM2I0YzhkZTA4&ctz=Asia/Colombo&hl=en>
> - No
> <https://www.google.com/calendar/event?action=RESPOND&eid=YTRyaGl0dG9tMzY1cHJsdXRmbDdsNmZydDQgdGhhcmlrQHdzbzIuY29t&rst=2&tok=MTQjbW9oYW5Ad3NvMi5jb204NGVkZDBhYjEyNjdhNWVmMWNmZjlhNDQ1NDhmYzkwM2I0YzhkZTA4&ctz=Asia/Colombo&hl=en>*
> more options »
> <https://www.google.com/calendar/event?action=VIEW&eid=YTRyaGl0dG9tMzY1cHJsdXRmbDdsNmZydDQgdGhhcmlrQHdzbzIuY29t&tok=MTQjbW9oYW5Ad3NvMi5jb204NGVkZDBhYjEyNjdhNWVmMWNmZjlhNDQ1NDhmYzkwM2I0YzhkZTA4&ctz=Asia/Colombo&hl=en>
>
> Invitation from Google Calendar <https://www.google.com/calendar/>
>
> You are receiving this email at the account tha...@wso2.com because you
> are subscribed for updated invitations on calendar tha...@wso2.com.
>
> To stop receiving these emails, please log in to
> https://www.google.com/calendar/ and change your notification settings
> for this calendar.
>







-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Carbon 4.4.0 is not starting on my computer

2015-04-22 Thread Tharik Kanaka
> at
>>> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816)
>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>> ... 6 more
>>> [2015-04-23 09:51:34,757] ERROR
>>> {org.wso2.carbon.tomcat.internal.ServerManager} -  tomcat life-cycle
>>> exception
>>> org.apache.catalina.LifecycleException: Failed to start component
>>> [StandardServer[8005]]
>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>>> at
>>> org.wso2.carbon.tomcat.internal.CarbonTomcat.start(CarbonTomcat.java:103)
>>> at
>>> org.wso2.carbon.tomcat.internal.ServerManager$1.run(ServerManager.java:99)
>>> at java.lang.Thread.run(Thread.java:745)
>>> Caused by: org.apache.catalina.LifecycleException: Failed to start
>>> component [StandardService[Catalina]]
>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>>> at
>>> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:739)
>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>> ... 3 more
>>> Caused by: org.apache.catalina.LifecycleException: Failed to start
>>> component [StandardEngine[Catalina]]
>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
>>> at
>>> org.wso2.carbon.tomcat.ext.service.ExtendedStandardService.startInternal(ExtendedStandardService.java:49)
>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>> ... 5 more
>>> Caused by: org.apache.catalina.LifecycleException: A child container
>>> failed during start
>>> at
>>> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1131)
>>> at
>>> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:300)
>>> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>> ... 7 more
>>>
>>>
>>>
>>> *Madhuranga Sampath Bandara*
>>> Software Engineer
>>>
>>> WSO2, Inc.;http://wso2.com/
>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ>
>>> lean.enterprise.middleware
>>> Mobile: +94722241065
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Lasitha Wattaladeniya
>> Software Engineer
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +94719397528
>> Blog : techreadme.blogspot.com
>>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Complex Event Processor 4.0.0 Milestone 5 Released

2015-04-20 Thread Tharik Kanaka
lt;https://wso2.org/jira/browse/CEP-1086>] - Removing
   AxisConfiguration Parameters in Event Processor Service
   - [CEP-1088 <https://wso2.org/jira/browse/CEP-1088>] - Improve Event
   Receivers' WSO2 Event mapping to add Stream Name and Version
   - [CEP-1094 <https://wso2.org/jira/browse/CEP-1094>] - Removing TenantId
   Parameters in Event Processor Service

New Feature

   - [CEP-985 <https://wso2.org/jira/browse/CEP-985>] - Stationery Alert is
   one of the Geo Dashboard features which enable users to recieve alerts if a
   spatial object stayes in a specified area for a given specified time.
   - [CEP-993 <https://wso2.org/jira/browse/CEP-993>] - Exchangeable views
   between form view and source view when creating event streams
   - [CEP-1031 <https://wso2.org/jira/browse/CEP-1031>] - Adding Geo/NLP/R
   Extension for Siddhi
   - [CEP-1095 <https://wso2.org/jira/browse/CEP-1095>] - Domain Specific
   Execution Manager

Task

   - [CEP-878 <https://wso2.org/jira/browse/CEP-878>] - Make sure whether
   product builds when building mvn eclipse:eclipse
   - [CEP-1043 <https://wso2.org/jira/browse/CEP-1043>] - Remove "All Event
   Builders" and "All Event Formatters" links in Event Stream UI
   - [CEP-1050 <https://wso2.org/jira/browse/CEP-1050>] - Create features
   for Event Receivers
   - [CEP-1097 <https://wso2.org/jira/browse/CEP-1097>] - Migrating event
   receiver, publisher and monitor from carbon event processor to carbon
   analytics common


Thanks,
-WSO2 CEP Team-

*References:*
​[1] http://svn.wso2.org/repos/wso2/people/suho/packs/cep/4.0.0/M5/
<http://www.google.com/url?q=http%3A%2F%2Fsvn.wso2.org%2Frepos%2Fwso2%2Fpeople%2Fsuho%2Fpacks%2Fcep%2F4.0.0%2FM5%2F&sa=D&sntz=1&usg=AFQjCNH-kpcrlWnsegqWI-g8biuDi7IvdQ>

-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting all reources from a specified registry path

2015-04-16 Thread Tharik Kanaka
Thank you all Inshaf, Aruna and Chandana for the support. I could be able
to resolve the matter by treating directory as a collection resource.

On Fri, Apr 17, 2015 at 11:05 AM, Chandana Napagoda 
wrote:

> Hi Tharik,
>
> You can get all the resource under a given collection as below.
>
> Resource resource = registry.get(path);
>
> if (resource instanceof Collection) {
> Collection collection = (Collection) resource;
> String[] resources = collection.getChildren();
> }
>
> Regards,
> Chandana
>
>
>
> On Fri, Apr 17, 2015 at 10:37 AM, Tharik Kanaka  wrote:
>
>> Hi All,
>>
>> In WSO2 core Registry we can get any Resource by specifying file path of
>> resource as following code line.
>>
>> Resource configFile = registry.get(path);
>>
>> Is there any method available in registry to get all the resources (into
>> a Resource array or any collection) from a specified registry directory
>> path? I could not find a method.
>>
>> Thanks,
>> --
>>
>> *Tharik Kanaka* | Associate Software Engineer
>>
>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>
>> Email: tha...@wso2.com | Web: www.wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Chandana Napagoda*
> Senior Software Engineer
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile : +94718169299
> <%2B94718169299>*
>
> *Blog  :http://cnapagoda.blogspot.com <http://cnapagoda.blogspot.com>*
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Getting all reources from a specified registry path

2015-04-16 Thread Tharik Kanaka
Hi All,

In WSO2 core Registry we can get any Resource by specifying file path of
resource as following code line.

Resource configFile = registry.get(path);

Is there any method available in registry to get all the resources (into a
Resource array or any collection) from a specified registry directory path?
I could not find a method.

Thanks,
-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Error occurs in carbon-registry feature when building product-cep after updating to kernel 4.4.0

2015-04-01 Thread Tharik Kanaka
Hi All,

I am updating product-cep to support carbon4 kernel 4.4.0. First i got the
following error on several modules when building product-cep.

* requires 'org.wso2.carbon.core.server.feature.group [4.3.0,4.4.0)' but it
could not be found*


I have resolved that by building dependency modules on java8support branch.
Finally i got following error  when building product-cep. (before that i
have built the carbon-registry on java8support branch and updated the
product-cep reference version of carbon-registry accordingly)


*Installation failed.*
*Cannot complete the install because one or more required items could not
be found.*
* Software being installed: WSO2 Carbon - Registry Resource Properties
Feature 4.3.2.SNAPSHOT
(org.wso2.carbon.registry.resource.properties.feature.group 4.3.2.SNAPSHOT)*
* Missing requirement: org.wso2.carbon.registry.resource 4.3.2.SNAPSHOT
(org.wso2.carbon.registry.resource 4.3.2.SNAPSHOT) requires 'package
org.apache.commons.io <http://org.apache.commons.io> 2.4.0' but it could
not be found*
* Cannot satisfy dependency:*
*  From: WSO2 Carbon - Registry Core Server Feature 4.3.2.SNAPSHOT
(org.wso2.carbon.registry.core.server.feature.group 4.3.2.SNAPSHOT)*
*  To: org.wso2.carbon.registry.resource [4.3.2.SNAPSHOT]*
* Cannot satisfy dependency:*
*  From: WSO2 Carbon - Registry Resource Properties Feature 4.3.2.SNAPSHOT
(org.wso2.carbon.registry.resource.properties.feature.group 4.3.2.SNAPSHOT)*
*  To: org.wso2.carbon.registry.core.server.feature.group
[4.3.2.SNAPSHOT,4.4.0)*
*Application failed, log file location:
/Users/tharik/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1427941663867.log*



Any idea to resolving this issue?

Thanks,

-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [FastTrackTraining][Carbon] Compilation Error in Carbon Component

2015-03-26 Thread Tharik Kanaka
>>
>> [INFO] BUILD FAILURE
>>
>> [INFO]
>> 
>>
>> [INFO] Total time: 1.745 s
>>
>> [INFO] Finished at: 2015-03-27T11:22:28+05:30
>>
>> [INFO] Final Memory: 21M/982M
>>
>> [INFO]
>> 
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
>> (default-compile) on project org.wso2.carbon.order.mgt.ui: Compilation
>> failure: Compilation failure:
>>
>> [ERROR]
>> /Users/chamin_dias/IdeaProjects/order-manager/order-manager-components/org.wso2.carbon.order.mgt.ui/src/main/java/org/wso2/carbon/mgt/ui/OrderManagerClient.java:[6,42]
>> package org.wso2.carbon.order.mgt.data.xsd does not exist
>>
>> [ERROR]
>> /Users/chamin_dias/IdeaProjects/order-manager/order-manager-components/org.wso2.carbon.order.mgt.ui/src/main/java/org/wso2/carbon/mgt/ui/OrderManagerClient.java:[7,38]
>> package org.wso2.carbon.order.mgt.stub does not exist
>>
>> [ERROR]
>> /Users/chamin_dias/IdeaProjects/order-manager/order-manager-components/org.wso2.carbon.order.mgt.ui/src/main/java/org/wso2/carbon/mgt/ui/OrderManagerClient.java:[13,13]
>> cannot find symbol
>>
>> [ERROR] symbol:   class OrderManagerStub
>>
>> [ERROR] location: class org.wso2.carbon.mgt.ui.OrderManagerClient
>>
>> [ERROR]
>> /Users/chamin_dias/IdeaProjects/order-manager/order-manager-components/org.wso2.carbon.order.mgt.ui/src/main/java/org/wso2/carbon/mgt/ui/OrderManagerClient.java:[24,12]
>> cannot find symbol
>>
>> [ERROR] symbol:   class Order
>>
>> [ERROR] location: class org.wso2.carbon.mgt.ui.OrderManagerClient
>>
>> [ERROR]
>> /Users/chamin_dias/IdeaProjects/order-manager/order-manager-components/org.wso2.carbon.order.mgt.ui/src/main/java/org/wso2/carbon/mgt/ui/OrderManagerClient.java:[17,20]
>> cannot find symbol
>>
>> [ERROR] symbol:   class OrderManagerStub
>>
>> [ERROR] location: class org.wso2.carbon.mgt.ui.OrderManagerClient
>>
>> [ERROR]
>> /Users/chamin_dias/IdeaProjects/order-manager/order-manager-components/org.wso2.carbon.order.mgt.ui/src/main/java/org/wso2/carbon/mgt/ui/OrderManagerClient.java:[25,9]
>> cannot find symbol
>>
>> [ERROR] symbol:   class Order
>>
>> [ERROR] location: class org.wso2.carbon.mgt.ui.OrderManagerClient
>>
>> [ERROR] -> [Help 1]
>>
>> [ERROR]
>>
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>>
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>
>> [ERROR]
>>
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>>
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>>
>>
>> Any help is appreciated to solve this.
>>
>> Thanks.
>>
>>
>> [1]
>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>>
>>
>> --
>> Chamin Dias
>> *Software Engineer*
>> Mobile : +94 (0) 716 097455 <%2B94%20%280%29%20773%20451194>
>> cham...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] wso2 application server source code

2015-03-26 Thread Tharik Kanaka
Hi Bill,

As Chanaka mention you can refer the documentation build source from SVN.
On the other hand if you are familiar with Github you can clone application
server repository [1] and build from there as well.

[1] https://github.com/wso2/product-as

Regards,
Tharik

On Fri, Mar 27, 2015 at 5:46 AM, Chanaka Fernando  wrote:

> Hi Bill,
>
> You can follow the documentation link mentioned in[1] to build the binary
> from source.
>
> [1] https://docs.wso2.com/display/AS521/Building+from+Source
>
> Thanks,
> Chanaka
>
> On Fri, Mar 27, 2015 at 1:55 AM, Bill Liu  wrote:
>
>>  Hi All:
>>
>>
>>
>> Kind of new here.  Some Simple questions.
>>
>> I know the place to download wso2 application server.:
>> http://wso2.com/products/application-server/.  But where can I download
>> the source code for wso2 application server? Also I want to build binary
>> myself. Any instructions for that?
>>
>>
>>
>> Thanks,
>>
>> Bill
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> --
> Chanaka Fernando
> Technical Lead
> WSO2, Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 773337238
> Blog : http://soatutorials.blogspot.com
> LinkedIn:http://www.linkedin.com/pub/chanaka-fernando/19/a20/5b0
> Twitter:https://twitter.com/chanakaudaya
> Wordpress:http://chanakaudaya.wordpress.com
>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [dev]Accessing cookies of a different domain using iFrames

2015-03-26 Thread Tharik Kanaka
I saw similar kind of mail thread sometime ago [1]. Porthole was suggested
[2] for secure cross-domain iFrame communication.

[1] https://www.marc.info/?l=esb-java-dev&m=142596203617332&w=4

[2] https://github.com/ternarylabs/porthole

On Thu, Mar 26, 2015 at 3:03 PM, Hasanthi Purnima Dissanayake <
hasan...@wso2.com> wrote:

> I have two applications running in two servers(First web app is hosted in
> tomcat and second web app is hosted in IS). I need to access browser
> cookies of the second web application(IS) from the first web
> application(Tomcat). For that I'm going to implement an iFrame of the
> second application in my first web application. Is it able to access
> cookies of a web app from a different domain?
>
> Thanks and regards,
>
> Hasanthi Dissanayake
>
> Software Engineer | WSO2
>
> E: hasan...@wso2.com 
> M :0718407133| http://wso2.com <http://wso2.com/>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Help : Got error on WSO2 CEP installation

2015-03-24 Thread Tharik Kanaka
Hi Nirfas,

Did you try sh wso2server.sh command as well? Can you please mention the
CEP version you are trying?

Regards,

On Tue, Mar 24, 2015 at 7:21 PM, NIFRAS ISMAIL 
wrote:

> Hi,
> This is Nifras from UOJ. I am trying to install wso2 cep got this error
>
> ./wso2server.sh: 182: export: drive/wso2_cep: bad variable name
>
> My Steps :
> 1. Set the JAVA_HOME was set fine.
> 2. run wso2server.sh start command
>
> How to resolve this
>
>
> *Best Regards.*
>
> *M. Nifras Ismail*
> [image: LinkedIn] <http://lk.linkedin.com/pub/nifras-ismail/54/343/94b>
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Amila Godwin Shrimal

2015-03-20 Thread Tharik Kanaka
Congratulations Godwin

On Fri, Mar 20, 2015 at 3:11 PM, Chanuka Dissanayake 
wrote:

> Congratulation Godwin.. :)
>
> On Fri, Mar 20, 2015 at 3:09 PM, Farasath Ahamed 
> wrote:
>
>> Congratulations Godwin !!!
>>
>> On Fri, Mar 20, 2015 at 3:06 PM, Pulasthi Mahawithana > > wrote:
>>
>>> Congrats Godwin !
>>>
>>> On Fri, Mar 20, 2015 at 3:04 PM, Johann Nallathamby 
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> It's my pleasure to announce Amila Godwin Shrimal as a WSO2 Committer.
>>>> Godwin has been a valuable contributor for WSO2 Identity Server
>>>> product, and in recognition of his contribution to WSO2, he has been voted
>>>> as a WSO2 Committer.
>>>>
>>>> Godwin, congratulations and keep up the good work!
>>>>
>>>> Thanks & Regards.
>>>>
>>>> --
>>>>
>>>> *Johann Dilantha Nallathamby*
>>>> Associate Technical Lead & Product Lead of WSO2 Identity Server
>>>> Integration Technologies Team
>>>> WSO2, Inc.
>>>> lean.enterprise.middleware
>>>>
>>>> Mobile - *+9476950*
>>>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Pulasthi Mahawithana*
>>> Software Engineer
>>> WSO2 Inc., http://wso2.com/
>>> Mobile: +94-71-5179022
>>> Blog: http://blog.pulasthi.org
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Farasath Ahamed*
>> Software Engineering Intern
>> WSO2 Inc.; http://wso2.com
>>
>> Mobile: +94 777 603 866
>> E-Mail:  farasath <http://goog_1999535192>a...@wso2.com
>> Blog: http://thepseudocode.blogspot.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chanuka Dissanayake
> *Software Engineer | **WSO2 Inc.*; http://wso2.com
>
> Mobile: +94 71 33 63 596
> Email: chan...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Malithi Edirisinghe

2015-03-20 Thread Tharik Kanaka
Congratulations Malithi

On Fri, Mar 20, 2015 at 3:10 PM, Lasitha Wattaladeniya 
wrote:

> Congratulations Malithi :)
>
> On Fri, Mar 20, 2015 at 3:06 PM, Pulasthi Mahawithana 
> wrote:
>
>> Congrats Malithi !
>>
>> On Fri, Mar 20, 2015 at 3:04 PM, Johann Nallathamby 
>> wrote:
>>
>>> Hi All,
>>>
>>> It's my pleasure to announce Malithi Edirisinghe as a WSO2 Committer.
>>> Malithi has been a valuable contributor for WSO2 Identity Server
>>> product, and in recognition of her contribution to WSO2, she has been voted
>>> as a WSO2 Committer.
>>>
>>> Malithi, congratulations and keep up the good work!
>>>
>>> Thanks & Regards.
>>>
>>> --
>>>
>>> *Johann Dilantha Nallathamby*
>>> Associate Technical Lead & Product Lead of WSO2 Identity Server
>>> Integration Technologies Team
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - *+9476950*
>>> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Pulasthi Mahawithana*
>> Software Engineer
>> WSO2 Inc., http://wso2.com/
>> Mobile: +94-71-5179022
>> Blog: http://blog.pulasthi.org
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Lasitha Wattaladeniya
> Software Engineer
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94719397528
> Blog : techreadme.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unsupported AMQP version error when connecting WSO2 CEP and MB

2015-03-17 Thread Tharik Kanaka
Hi Akalanka,

Thank you for the support. The error is little bit misleading, and it was a
configuration issue which causes the error. In jndi properties topic name
is "example.MyTopic", but specifying topic name in CEP end, it has to be
just "MyTopic".

Thanks

On Wed, Mar 18, 2015 at 10:53 AM, Akalanka Pagoda Arachchi <
darsha...@wso2.com> wrote:

> Hi Tharik,
>
> Please check the AMQP version used in CEP for this connection. Currently
> MB only supports up to AMQP 0.9.1 and it looks like CEP is using a later
> version than that for this connection.
>
> Thanks,
> Akalanka.
>
> On Wed, Mar 18, 2015 at 10:22 AM, Tharik Kanaka  wrote:
>
>>
>> Hi all,
>>
>> I am trying to connect MB (2.2.0) as producer and CEP (4.0.0) as consumer
>> using input adapters. I am getting following error continously once i have
>> connected the CEP with MB.
>>
>> ERROR - {NativeWorkerPool}  Uncaught exception
>> java.lang.UnsupportedOperationException: The new addressing based sytanx
>> is not supported for AMQP 0-8/0-9 versions
>> at
>> org.wso2.andes.client.AMQSession_0_8.handleAddressBasedDestination(AMQSession_0_8.java:577)
>> at org.wso2.andes.client.AMQSession.registerConsumer(AMQSession.java:2868)
>> at org.wso2.andes.client.AMQSession.access$500(AMQSession.java:109)
>> at org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2061)
>> at org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2027)
>> at
>> org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:315)
>> at
>> org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:621)
>> at
>> org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
>> at
>> org.wso2.andes.client.AMQSession.createConsumerImpl(AMQSession.java:2025)
>> at org.wso2.andes.client.AMQSession.createConsumer(AMQSession.java:1028)
>> at
>> org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSUtils.createConsumer(JMSUtils.java:472)
>> at
>> org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSTaskManager$MessageListenerTask.createConsumer(JMSTaskManager.java:982)
>> at
>> org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSTaskManager$MessageListenerTask.getMessageConsumer(JMSTaskManager.java:850)
>> at
>> org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSTaskManager$MessageListenerTask.receiveMessage(JMSTaskManager.java:599)
>> at
>> org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSTaskManager$MessageListenerTask.run(JMSTaskManager.java:520)
>> at
>> org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>> at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>> at java.lang.Thread.run(Thread.java:695)
>>
>>
>> Following are CEP jndi properties
>>
>> # register some connection factories
>> # connectionfactory.[jndiname] = [ConnectionURL]
>> connectionfactory.TopicConnectionFactory = amqp://admin:admin@clientID
>> /carbon?brokerlist='tcp://localhost:5674'
>>
>> connectionfactory.QueueConnectionFactory = amqp://admin:admin@clientID
>> /carbon?brokerlist='tcp://localhost:5674''
>>
>> # register some queues in JNDI using the form
>> # queue.[jndiName] = [physicalName]
>> queue.MyQueue = example.MyQueue
>>
>> # register some topics in JNDI using the form
>> # topic.[jndiName] = [physicalName]
>> topic.MyTopic = example.MyTopic
>>
>>
>> This the CEP input adapter
>>
>> >   trace="disable" type="jms" xmlns="
>> http://wso2.org/carbon/eventadaptormanager";>
>>   > name="java.naming.provider.url">repository/conf/jndi.properties
>>   > name="java.naming.factory.initial">org.wso2.andes.jndi.PropertiesFileInitialContextFactory
>>   > name="transport.jms.ConnectionFactoryJNDIName">TopicConnectionFactory
>>   topic
>> 
>>
>>
>> Is it causing due to mismatching of AMQP version?
>>
>>
>> --
>>
>> *Tharik Kanaka* | Associate Software Engineer
>>
>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>
>> Email: tha...@wso2.com | Web: www.wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Darshana Akalanka Pagoda Arachchi,*
> *Software Engineer*
> *078-4721791*
>



-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Unsupported AMQP version error when connecting WSO2 CEP and MB

2015-03-17 Thread Tharik Kanaka
Hi all,

I am trying to connect MB (2.2.0) as producer and CEP (4.0.0) as consumer
using input adapters. I am getting following error continously once i have
connected the CEP with MB.

ERROR - {NativeWorkerPool}  Uncaught exception
java.lang.UnsupportedOperationException: The new addressing based sytanx is
not supported for AMQP 0-8/0-9 versions
at
org.wso2.andes.client.AMQSession_0_8.handleAddressBasedDestination(AMQSession_0_8.java:577)
at org.wso2.andes.client.AMQSession.registerConsumer(AMQSession.java:2868)
at org.wso2.andes.client.AMQSession.access$500(AMQSession.java:109)
at org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2061)
at org.wso2.andes.client.AMQSession$5.execute(AMQSession.java:2027)
at
org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:315)
at
org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:621)
at
org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
at org.wso2.andes.client.AMQSession.createConsumerImpl(AMQSession.java:2025)
at org.wso2.andes.client.AMQSession.createConsumer(AMQSession.java:1028)
at
org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSUtils.createConsumer(JMSUtils.java:472)
at
org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSTaskManager$MessageListenerTask.createConsumer(JMSTaskManager.java:982)
at
org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSTaskManager$MessageListenerTask.getMessageConsumer(JMSTaskManager.java:850)
at
org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSTaskManager$MessageListenerTask.receiveMessage(JMSTaskManager.java:599)
at
org.wso2.carbon.event.input.adaptor.jms.internal.util.JMSTaskManager$MessageListenerTask.run(JMSTaskManager.java:520)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)


Following are CEP jndi properties

# register some connection factories
# connectionfactory.[jndiname] = [ConnectionURL]
connectionfactory.TopicConnectionFactory = amqp://admin:admin@clientID
/carbon?brokerlist='tcp://localhost:5674'

connectionfactory.QueueConnectionFactory = amqp://admin:admin@clientID
/carbon?brokerlist='tcp://localhost:5674''

# register some queues in JNDI using the form
# queue.[jndiName] = [physicalName]
queue.MyQueue = example.MyQueue

# register some topics in JNDI using the form
# topic.[jndiName] = [physicalName]
topic.MyTopic = example.MyTopic


This the CEP input adapter

http://wso2.org/carbon/eventadaptormanager";>
  repository/conf/jndi.properties
  org.wso2.andes.jndi.PropertiesFileInitialContextFactory
  TopicConnectionFactory
  topic



Is it causing due to mismatching of AMQP version?


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Hemika Kodikara

2015-03-17 Thread Tharik Kanaka
Congratulations Hemika !!

On Tue, Mar 17, 2015 at 2:06 PM, Lasitha Wattaladeniya 
wrote:

> Congratulations Hemika !
>
> On Tue, Mar 17, 2015 at 1:41 PM, Ramith Jayasinghe 
> wrote:
>
>> Hi Hemika,
>> Congratulations!
>> It is with great pleasure that we welcome you as a WSO2 committer. Keep
>> up the good work!
>> regards,
>>
>> --
>> Ramith Jayasinghe
>> Technical Lead
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> E: ram...@wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Lasitha Wattaladeniya
> Software Engineer
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94719397528
> Blog : techreadme.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Code Review on ToodleDo Connector

2015-03-17 Thread Tharik Kanaka
Hi Rajeenthini,

Now above dependency group Id's have been updated. Please use following
dependencies. I have included test automation dependencies as well.


org.wso2.carbon.automation
org.wso2.carbon.automation.test.utils
${carbon.automation.version}


org.wso2.carbon.automation
org.wso2.carbon.automation.engine
${carbon.automation.version}


org.wso2.carbon.automation
org.wso2.carbon.automation.extensions
${carbon.automation.version}



org.wso2.carbon.automationutils
org.wso2.carbon.integration.common.extensions
${carbon.automationutils.version}


org.wso2.carbon.automationutils
org.wso2.carbon.integration.common.utils
${carbon.automationutils.version}


org.wso2.carbon.automationutils
org.wso2.carbon.integration.common.admin.client
${carbon.automationutils.version}

4.3.1
4.3.0


On Tue, Mar 17, 2015 at 12:31 PM, Rajeenthini Satkunam  wrote:

> HI,
>
> We have tried to maven install with skip testing I could not build it
> because of some dependencies are not resolved or may be permanently moved
> from maven repository.
>
> Non re-solved dependencies
>
>
> 1) groupId - org.wso2.carbon
> artifactId - org.wso2.carbon.integration.common.extensions
> version - 4.3.0
> 2) groupId - org.wso2.carbon
> artifactId - org.wso2.carbon.integration.common.admin.client
> version - 4.3.0
>
>
> So can you please tell how can I solve the failed dependencies which are
> non re-solved and what are the dependencies I need to add in POM file to
> overcome this failure.I have attached our POM file also.
>
>
> On Mon, Mar 16, 2015 at 5:28 PM, Rajeenthini Satkunam <
> rajeenth...@wso2.com> wrote:
>
>> Hi,
>>
>> Noted.
>>
>> On Mon, Mar 16, 2015 at 1:29 PM, Elilmatha Sivanesan 
>> wrote:
>>
>>> Hi Dinithi and Rajeenthini,
>>>
>>> Can you please check on this an give the pull request to
>>> https://github.com/wso2/esb-connectors .
>>>
>>> Thank you.
>>>
>>>
>>> On Wed, Feb 25, 2015 at 10:56 PM, Dinithi De Silva 
>>> wrote:
>>>
>>>> Hi Elil,
>>>>
>>>> AFAIK some of the dependencies are moved to a new location from the old
>>>> location. That must be the reason for the test failure. I'll check what are
>>>> the dependencies missing and inform you soon.
>>>>
>>>> Thanks
>>>>
>>>> On Wed, Feb 25, 2015 at 5:17 PM, Elilmatha Sivanesan <
>>>> elilma...@wso2.com> wrote:
>>>>
>>>>> Hi Dinithi and Rajeenthini,
>>>>>
>>>>> I'm testing ToodleDo Connector[1] and all the tests are failed, and
>>>>> when i test mannually I'm unable to upload the ToodleDo.zip error log [2]
>>>>>
>>>>> Your opinions are appreciated.
>>>>>
>>>>> [1] https://github.com/dinithiviranga/ToodledoESBConnector
>>>>> [2]
>>>>>  
>>>>> https://docs.google.com/a/wso2.com/document/d/1YA-rg9WIbwb5bsh3LoCdfLdwVmA4A1zQ_pmAgEc0RlA/edit
>>>>> <https://docs.google.com/a/wso2.com/document/d/1YA-rg9WIbwb5bsh3LoCdfLdwVmA4A1zQ_pmAgEc0RlA/edit>
>>>>>
>>>>> Thank you.
>>>>> --
>>>>> *S.Elilmatha*
>>>>> Associate  Software Engineer,
>>>>>
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> Mobile 0779842221.
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Dinithi De Silva*
>>>> Associate Software Engineer, WSO2 Inc.
>>>> m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com
>>>> | a: #20, Palm Grove, Colombo 03
>>>>
>>>
>>>
>>>
>>> --
>>> *S.Elilmatha*
>>> Associate  Software Engineer,
>>>
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> Mobile 0779842221.
>>>
>>>
>>
>>
>> --
>>
>> *Thank You.*
>>
>> *Rajeenthini Satkunam*
>>
>> *Associate Software Engineer | WSO2*
>>
>>
>> *E:rajeenth...@wso2.com *
>>
>> *M :+94770832823 <%2B94770832823>   *
>>
>>
>
>
> --
>
> *Thank You.*
>
> *Rajeenthini Satkunam*
>
> *Associate Software Engineer | WSO2*
>
>
> *E:rajeenth...@wso2.com *
>
> *M :+94770832823 <%2B94770832823>   *
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Dinesh J Weerakkody

2015-03-11 Thread Tharik Kanaka
Congratulations Dinesh

On Thu, Mar 12, 2015 at 8:33 AM, Ravindra Ranwala  wrote:

> Congratulations Dinesh !
>
> On Thu, Mar 12, 2015 at 8:30 AM, Chamalee De Silva 
> wrote:
>
>> congrats!
>>
>> On Thu, Mar 12, 2015 at 8:24 AM, Abimaran Kugathasan 
>> wrote:
>>
>>> Congrats!
>>>
>>> On Thu, Mar 12, 2015 at 8:17 AM, Nuwan Dias  wrote:
>>>
>>>> Hi,
>>>>
>>>> It is with great pleasure we welcome DineshW as a WSO2 Committer.
>>>> @Dinesh, congratulations and keep up the good work!
>>>>
>>>> Thanks,
>>>> NuwanD.
>>>>
>>>> --
>>>> Nuwan Dias
>>>>
>>>> Associate Tech Lead - WSO2, Inc. http://wso2.com
>>>> email : nuw...@wso2.com
>>>> Phone : +94 777 775 729
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks
>>> Abimaran Kugathasan
>>>
>>> Software Engineer | WSO2 Inc
>>> Data & APIs Technologies Team
>>> Mobile : +94 773922820
>>>
>>> <http://stackoverflow.com/users/515034>
>>> <http://lk.linkedin.com/in/abimaran>
>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimaran>
>>> <https://twitter.com/abimaran>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Chamalee De Silva
>>
>> Software Engineer | WSO2
>>
>> E:chama...@wso2.com 
>> M :0711540738| http://wso2.com <http://wso2.com/>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ravindra Ranwala
> Software Engineer
> WSO2, Inc: http://wso2.com
> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
> Mobile: +94714198770
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Irham Iqbal

2015-03-10 Thread Tharik Kanaka
congratulations Irham

On Tue, Mar 10, 2015 at 1:40 PM, Harsha Kumara  wrote:

> Congratulation Irham.
>
> On Tue, Mar 10, 2015 at 1:38 PM, Pirinthapan Mahendran <
> pirintha...@wso2.com> wrote:
>
>> Congratulation Irham.
>>
>>
>>
>> Mahendran Pirinthapan
>> Software Engineer | WSO2 Inc.
>> Mobile +94772378732.
>>
>> On Tue, Mar 10, 2015 at 1:35 PM, Jagath Sisirakumara Ariyarathne <
>> jaga...@wso2.com> wrote:
>>
>>> Congratulations Irham
>>>
>>> On Tue, Mar 10, 2015 at 1:29 PM, Dimuthu De Lanerolle >> > wrote:
>>>
>>>> Congratz Irham !!!
>>>>
>>>> On Tue, Mar 10, 2015 at 1:27 PM, Saneth Dharmakeerthi >>> > wrote:
>>>>
>>>>> Congratulations Irham...
>>>>>
>>>>> Thanks and Best Regards,
>>>>>
>>>>> Saneth Dharmakeerthi
>>>>> Senior Software Engineer
>>>>> WSO2, Inc.
>>>>> Mobile: +94772325511
>>>>>
>>>>> On Tue, Mar 10, 2015 at 1:23 PM, Malintha Adikari 
>>>>> wrote:
>>>>>
>>>>>> Congratulations Irham!
>>>>>>
>>>>>> On Tue, Mar 10, 2015 at 7:51 AM, Krishantha Samaraweera <
>>>>>> krishan...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> It's my pleasure to welcome Irham Iqbal as a WSO2 Committer.
>>>>>>>
>>>>>>> Irham, welcome aboard and keep up the good work!
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Krishantha.
>>>>>>>
>>>>>>> --
>>>>>>> Krishantha Samaraweera
>>>>>>> Senior Technical Lead - Test Automation
>>>>>>> Mobile: +94 77 7759918
>>>>>>> WSO2, Inc.; http://wso2.com/
>>>>>>> lean . enterprise . middlewear.
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Malintha Adikari*
>>>>>>  Software Engineer
>>>>>> WSO2 Inc.; http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> Mobile: +94 71 2312958
>>>>>> Blog:http://malinthas.blogspot.com
>>>>>> Page:   http://about.me/malintha
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Dimuthu De Lanerolle
>>>> Software Engineer
>>>> WSO2 Inc.
>>>> lean . enterprise . middlewear.
>>>> http://wso2.com/
>>>> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Jagath Ariyarathne
>>> Technical Lead
>>> WSO2 Inc.  http://wso2.com/
>>> Email: jaga...@wso2.com
>>> Mob  : +94 77 386 7048
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618
> Blog:harshcreationz.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Announce] WSO2 Committers += Asok Perera

2015-03-09 Thread Tharik Kanaka
Congratulations Asok.

On Tue, Mar 10, 2015 at 9:25 AM, Lahiru Cooray  wrote:

> Congratz Asok...
>
> On Tue, Mar 10, 2015 at 9:23 AM, Sameera Perera  wrote:
>
>> Hi all,
>>
>> It is with great pleasure that WSO2 welcomes Asok Perera as a WSO2
>> committer!
>>
>> Congratulations!
>>
>> --
>>
>> --
>>
>> *Sameera Perera*
>> Director of Engineering
>> gtalk: samee...@wso2.com
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> *WSO2, Inc.* <http://wso2.com/>
>> lean.enterprise.middleware
>>
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Lahiru Cooray*
> Software Engineer
> WSO2, Inc.;http://wso2.com/
> lean.enterprise.middleware
>
> Mobile: +94 715 654154
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Can anyone login to IS admin dashboard?

2015-03-09 Thread Tharik Kanaka
Hi Lakshani,

It has a role base authorisation. Any user can be get authenticated and
allowed to logged into management console but authorisation will be done
based on the role of the user and several functionalities may not
available. Check weather other user has admin privileges after log in.

Regards,

On Mon, Mar 9, 2015 at 1:35 PM, Lakshani Gamage  wrote:

> Hi all,
>
> I thought, only admin have privilege to login to IS admin dashboard. But
> other users (who only have login permission)  can also login to IS admin
> dashboard. Is this the expected behavior?
> Thank you.
>
> --
> Lakshani Gamage
>
> *Software Engineer*
> Mobile : +94 (0) 71 5478184 <%2B94%20%280%29%20773%20451194>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Importance of datasources.properties file

2015-03-08 Thread Tharik Kanaka
Hi Sohani,

Generally as a practice as i know property files are used to store default
values and let users to edit configurations using a xml file. If xml file
configuration is available application will use those or else properties.
Generally our configurations should be done using xml file. This might be
changed in your specific scenario.

Regards,

On Mon, Mar 9, 2015 at 11:48 AM, Susinda Perera  wrote:

> Recently i was happend to configure a BPS database using
> datasources.properties, however as i heard from the team that this will be
> moved to configured based on master-datasources.xml.
> May be this is an earlier way of defining data source.
>
> On Mon, Mar 9, 2015 at 11:43 AM, Sohani Weerasinghe 
> wrote:
>
>> Hi All,
>>
>> Since we can configure datasource configuration parameters such as
>> maxActive, maxWait, maxIdle via UI or in master-datasources.xml file, can
>> someone explain the purpose of having the datasources.properties file at
>> repository/conf?
>>
>> Even though I edit the config in datasources.properties, it seems the
>> parameter values are not getting updated. What is the recommended way of
>> editing the datasource configuration parameters?
>>
>> Can someone please provide an input on this?
>>
>> Thanks.
>> Sohani
>>
>> Sohani Weerasinghe
>> Software Engineer
>> WSO2, Inc: http://wso2.com
>>
>> Mobile  : +94 716439774
>> Blog :http://christinetechtips.blogspot.com/
>> Twitter  : https://twitter.com/sohanichristine
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Susinda Perera*
> Software Engineer
> Mobile:(+94)716049075
>
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Announce] WSO2 Committers += Dulitha Wijewantha

2015-03-08 Thread Tharik Kanaka
t;>>>>>>>> Dev@wso2.org
>>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ___
>>>>>>>>> Dev mailing list
>>>>>>>>> Dev@wso2.org
>>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Gayan Gunawardana
>>>>>>>> Software Engineer; WSO2 Inc.; http://wso2.com/
>>>>>>>> Email: ga...@wso2.com
>>>>>>>> Mobile: +94 (71) 8020933
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Harsha Kumara
>>>>>>> Software Engineer, WSO2 Inc.
>>>>>>> Mobile: +94775505618
>>>>>>> Blog:harshcreationz.blogspot.com
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Inosh Perera
>>>>>> Software Engineer, WSO2 Inc.
>>>>>> Tel: 0785293686
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Software Engineer
>>>> WSO2 Inc.; http://wso2.com
>>>> <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
>>>> lean.enterprise.middleware
>>>>
>>>> mobile: *+94728671315 <%2B94728671315>*
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Kasun Dananjaya Delgolla
>>>
>>> Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>> Tel:  +94 11 214 5345
>>> Fax: +94 11 2145300
>>> Mob: + 94 771 771 015
>>> Blog: http://kddcodingparadise.blogspot.com
>>> Linkedin: *http://lk.linkedin.com/in/kasundananjaya
>>> <http://lk.linkedin.com/in/kasundananjaya>*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Best Regards,
>>
>> Kalpa Welivitigoda
>> Software Engineer, WSO2 Inc. http://wso2.com
>> Email: kal...@wso2.com
>> Mobile: +94776509215
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Isuruwan Herath
> Technical Lead
>
> Contact: +94 776 273 296
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CodePlex ESB connector review

2015-02-24 Thread Tharik Kanaka
Hi Shakila,

We have removed and updated the Snapshot dependencies of the automation and
integration. Since automation and integration dependencies have been
updated recently our old test cases (which were working in last year) are
getting failed now. So we will update test automation code accordingly and
send a pull request.

Regards,

On Fri, Feb 20, 2015 at 3:26 PM, Shakila Sivagnanarajah 
wrote:

> Hi Tharik and Pumudu,
>
> Please find the feedbacks regarding the CodePlex connector.
>
>1. Some dependencies need to be changed.
>2. Instead of SNAPSHOT versions, use stable versions for libraries.
>3. Please modify the pom to run the test cases in a single build.
>4. Format the code and send the pull request to
>https://github.com/wso2/esb-connectors.
>
>
> Thank you
>
> --
> Shakila Sivagnanarajah
> Associate Software Engineer
> Mobile :+94 (0) 770 760240
> shak...@wso2.com
>



-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Integration Common dependencies are not found under 4.3.0

2015-02-23 Thread Tharik Kanaka
Hi Irham,

Thank you very much now its being built successfully. Actually those
dependencies were included in last year, anyway i replaced them.

Regards,

On Tue, Feb 24, 2015 at 11:26 AM, Irham Iqbal  wrote:

> Hi Tharik,
>
> I think your dependency group ids are wrong(i.e org.wso2.carbon). Please
> use the dependencies as following .
>
> 
> org.wso2.carbon.automation
> org.wso2.carbon.automation.test.utils
> ${carbon.automation.version}
> 
>
> 
> org.wso2.carbon.automation
> org.wso2.carbon.automation.engine
> ${carbon.automation.version}
>
> 
>
> 
>
> org.wso2.carbon.automation
> org.wso2.carbon.automation.extensions
> ${carbon.automation.version}
> 
>
>
> 
> org.wso2.carbon.automationutils
> org.wso2.carbon.integration.common.extensions
> ${carbon.automationutils.version}
> 
> 
> org.wso2.carbon.automationutils
> org.wso2.carbon.integration.common.utils
> ${carbon.automationutils.version}
> 
>
> 
>
> org.wso2.carbon.automationutils
> org.wso2.carbon.integration.common.admin.client
> ${carbon.automationutils.version}
> 
>
> 4.3.1
>
> 4.3.0
>
>  Thanks,
>
>  Iqbal
>
> On Tue, Feb 24, 2015 at 11:16 AM, Tharik Kanaka  wrote:
>
>> Hi All,
>>
>> I am rebuilding an CodePlex ESB connector i am getting following error.
>> Please refer the pom file [1]. This was built in last year for
>> 4.3.0-SNAPSHOt version.
>>
>> Failed to execute goal on project org.wso2.carbon.connector.codeplex:
>> Could not resolve dependencies for project
>> org.wso2.carbon.connector:org.wso2.carbon.connector.codeplex:jar:1.0.0: The
>> following artifacts could not be resolved:
>> org.wso2.carbon:org.wso2.carbon.integration.common.extensions:jar:4.3.0,
>> org.wso2.carbon:org.wso2.carbon.integration.common.admin.client:jar:4.3.0:
>> Could not find artifact
>> org.wso2.carbon:org.wso2.carbon.integration.common.extensions:jar:4.3.0 in
>> wso2-maven2-repository (http://dist.wso2.org/maven2)
>>
>> [1]
>> https://github.com/keizer619/esb-connectors/blob/master/codeplex/pom.xml
>>
>> --
>>
>> *Tharik Kanaka* | Associate Software Engineer
>>
>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>
>> Email: tha...@wso2.com | Web: www.wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Irham Iqbal
> Software Engineer - Test Automation
>  WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
> phone: +94 777888452
>



-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Integration Common dependencies are not found under 4.3.0

2015-02-23 Thread Tharik Kanaka
Hi All,

I am rebuilding an CodePlex ESB connector i am getting following error.
Please refer the pom file [1]. This was built in last year for
4.3.0-SNAPSHOt version.

Failed to execute goal on project org.wso2.carbon.connector.codeplex: Could
not resolve dependencies for project
org.wso2.carbon.connector:org.wso2.carbon.connector.codeplex:jar:1.0.0: The
following artifacts could not be resolved:
org.wso2.carbon:org.wso2.carbon.integration.common.extensions:jar:4.3.0,
org.wso2.carbon:org.wso2.carbon.integration.common.admin.client:jar:4.3.0:
Could not find artifact
org.wso2.carbon:org.wso2.carbon.integration.common.extensions:jar:4.3.0 in
wso2-maven2-repository (http://dist.wso2.org/maven2)

[1] https://github.com/keizer619/esb-connectors/blob/master/codeplex/pom.xml

-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Akalanka Darshana Pagoda Arachchi

2015-01-05 Thread Tharik Kanaka
Congratulations Akalanka..

On Mon, Jan 5, 2015 at 2:59 PM, Madusanka Premaratne 
wrote:

> Congrats Aka..!! :)
>
> On Mon, Jan 5, 2015 at 2:58 PM, Hasitha Amal De Silva 
> wrote:
>
>> Congrats Akalanka ! :)
>>
>> On Mon, Jan 5, 2015 at 2:51 PM, Harsha Kumara  wrote:
>>
>>> Congratulations Akalanka!
>>>
>>> On Mon, Jan 5, 2015 at 2:47 PM, Abimaran Kugathasan 
>>> wrote:
>>>
>>>> Congrats!
>>>>
>>>> On Mon, Jan 5, 2015 at 2:39 PM, Kalpa Welivitigoda 
>>>> wrote:
>>>>
>>>>> Congratulations Akalanka !
>>>>>
>>>>> On Mon, Jan 5, 2015 at 2:38 PM, Pranavan Theivendram <
>>>>> pranav...@wso2.com> wrote:
>>>>>
>>>>>> Congratz Akalanka :)
>>>>>>
>>>>>> On Mon, Jan 5, 2015 at 2:34 PM, Lasitha Wattaladeniya <
>>>>>> lasit...@wso2.com> wrote:
>>>>>>
>>>>>>> Congratulations Akalanka :)
>>>>>>>
>>>>>>> On Mon, Jan 5, 2015 at 2:32 PM, Ramith Jayasinghe 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Akalanka,
>>>>>>>> Congratulations!
>>>>>>>> It is with great pleasure that we welcome you as a WSO2 committer.
>>>>>>>> Keep up the good work!
>>>>>>>> regards
>>>>>>>> --
>>>>>>>> Ramith Jayasinghe
>>>>>>>> Technical Lead
>>>>>>>> WSO2 Inc., http://wso2.com
>>>>>>>> lean.enterprise.middleware
>>>>>>>>
>>>>>>>> E: ram...@wso2.com
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Lasitha Wattaladeniya
>>>>>>> Software Engineer
>>>>>>> WSO2, Inc. | http://wso2.com
>>>>>>> lean. enterprise. middleware
>>>>>>>
>>>>>>> Mobile : +94719397528
>>>>>>> Blog : techreadme.blogspot.com
>>>>>>>
>>>>>>> ___
>>>>>>> Dev mailing list
>>>>>>> Dev@wso2.org
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Regards,*
>>>>>>
>>>>>> *T.Pranavan*
>>>>>>
>>>>>> *Software Engineering intern, WSO2*
>>>>>> *Mobile - +94775136836 <%2B94775136836>*
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>>
>>>>> Kalpa Welivitigoda
>>>>> Software Engineer, WSO2 Inc. http://wso2.com
>>>>> Email: kal...@wso2.com
>>>>> Mobile: +94776509215
>>>>>
>>>>> ___
>>>>> Dev mailing list
>>>>> Dev@wso2.org
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks
>>>> Abimaran Kugathasan
>>>>
>>>> Software Engineer | WSO2 Inc
>>>> Data & APIs Technologies Team
>>>> Mobile : +94 773922820
>>>>
>>>> <http://stackoverflow.com/users/515034>
>>>> <http://lk.linkedin.com/in/abimaran>
>>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimaran>
>>>> <https://twitter.com/abimaran>
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Harsha Kumara
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94775505618
>>> Blog:harshcreationz.blogspot.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Cheers,
>>
>> Hasitha Amal De Silva
>>  Software Engineer
>> Mobile : 0772037426
>> Blog: http://devnutshell.tumblr.com/
>> WSO2 Inc.: http://wso2.com ( lean.enterprise.middleware. )
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Madusanka Premaratne* | Associate Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 835 70 73| Work: +94 112 145 345
> Email: madusan...@wso2.com | Web: www.wso2.com
>
> [image: Facebook] <https://www.facebook.com/rmmpremaratne> [image:
> Twitter] <https://twitter.com/rmmpremaratne> [image: Google Plus]
> <https://plus.google.com/u/0/+MadusankaPremaratnemaduz/about/p/pub> [image:
> Linkedin] <http://lk.linkedin.com/in/madusanka/> [image: Instagram]
> <http://instagram.com/madusankapremaratne> [image: Skype]
> <http://@rmmpremaratne>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sajini De Silva

2014-11-18 Thread Tharik Kanaka
Congratulations Sajini...

On Tue, Nov 18, 2014 at 1:26 PM, Ramith Jayasinghe  wrote:

> Hi Sajini,
> Congratulations!
> It is with great pleasure that we welcome you as a WSO2 committer. Keep
> up the good work!
>
> thanks and best regards
>
> Ramith Jayasinghe
> Technical Lead
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> E: ram...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 ESB 4.8.1 HTTP Patch support

2014-09-12 Thread Tharik Kanaka
Hi all,

The above problem HTTP Patch support can be resolved in WSO2 ESB 4.8.1 by
applying patches synapse-core_2.1.2.wso2v4.jar [1] and
synapse-nhttp-transport_2.1.2.wso2v4.jar [2]

[1]
https://www.dropbox.com/sh/ma5faphwjv4f5zm/AABdj4MMwAU-9FvSEmmrP0Ita/synapse-pathces/synapse-core_2.1.2.wso2v4.jar

[2]
https://www.dropbox.com/sh/ma5faphwjv4f5zm/AACO_tVmFHNX0F2yQGXVEX7Aa/synapse-pathces/synapse-nhttp-transport_2.1.2.wso2v4.jar

On Thu, Sep 11, 2014 at 11:36 AM, Tharik Kanaka  wrote:

> Hi all,
>
> I got request POST on wire situation when i am trying call a  PATCH
> operation to codeplex API from my esb connector. Then I came to know that
> 4.8.1 does not support for http patch and there is a patch for that from
> following mail thread [1].
>
> [1]
> http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-HTTP-Patch-support-by-ESB-4-8-1-td95288.html
>
> So i applied following mentioned patches to current ESB 4.8.1 but still it
> sends POST instead of PATCH. Is there any more work around for that i
> should follow?
>
> synapse-core_2.1.2.wso2v4
> synapse-nhttp-transport_2.1.2.wso2v4
> synapse-extensions_2.1.2.wso2v4
> org.wso2.carbon.mediation.library_4.2.0
>
> --
>
> *Tharik Kanaka* | Associate Software Engineer
>
> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>
> Mobile: +94 77 1616060   | Work: +94 112145345
>
> Email: tha...@wso2.com | Web: www.wso2.com
>



-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Mobile: +94 77 1616060   | Work: +94 112145345

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 ESB 4.8.1 HTTP Patch support

2014-09-10 Thread Tharik Kanaka
Hi all,

I got request POST on wire situation when i am trying call a  PATCH
operation to codeplex API from my esb connector. Then I came to know that
4.8.1 does not support for http patch and there is a patch for that from
following mail thread [1].

[1]
http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-HTTP-Patch-support-by-ESB-4-8-1-td95288.html

So i applied following mentioned patches to current ESB 4.8.1 but still it
sends POST instead of PATCH. Is there any more work around for that i
should follow?

synapse-core_2.1.2.wso2v4
synapse-nhttp-transport_2.1.2.wso2v4
synapse-extensions_2.1.2.wso2v4
org.wso2.carbon.mediation.library_4.2.0

-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Mobile: +94 77 1616060   | Work: +94 112145345

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Best approach to send json array from ESB Connector

2014-09-09 Thread Tharik Kanaka
Hi all,

At the moment myself and pumudu (pum...@wso2.org) are developing wso2 esb
connector for codeplex. It has an operation to create subscription where we
need to send json array like below.

{
  "Events": [
{
  "Name": "Code Change",
  "Enabled": true,
  "Properties": [
{
  "Name": "summary",
  "Value": "True"
}
  ]
}
  ],
  "Properties": [
{
  "Name": "url",
  "Value": "http://test.com";
}
  ]

}

In that case what would be the best approach to handle json array?

01. get whole json array as a parameter from user
02. get properties as parameters from user and create json array inside
connector.

-- 

*Tharik Kanaka* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

Mobile: +94 77 1616060   | Work: +94 112145345

Email: tha...@wso2.com | Web: www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev