Re: [Dev] [Architecture][VOTE] Release Streaming Integrator Tooling 1.1.0-RC3

2020-08-08 Thread Sajith Ravindra
Hi everyone,

I've tested the following
- Error store explorer
- Extension installer
- Feed simulator.

No blockers were found. +1 to proceed.

Thanks
*,Sajith Ravindra*
Technical Lead
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 Thu, Aug 6, 2020 at 8:32 PM Anusha Jayasundara  wrote:

> Hi all,
>
> We are pleased to announce the Third Release Candidates of WSO2 Streaming
> Integrator Tooling 1.1.0
> What's new in WSO2 Streaming Integrator Tooling 1.1.0-RC3
>
>
>-
>
>Error Handling capabilities,
>- Error Store UI which can browse failed events.
>   - Event replay capability with or without changing the event.
>- Streaming ETL Task wizard,
>   - Wizard to generate an ETL task with the following capabilities.
>   - Configure Source.
>   - Map Input data.
>   - Process input data using filters and aggregations.
>   - Configure destination.
>   - Map process data to the destination.
>- Improvements To Design View.
>- Extensive support for CDC and File connectors with Cron expression
>generation UI.
>- Bug fixes in ETL Task Wizard
>
>
> *Complete Changes*
>
>
> Please find the complete changes here
> <https://github.com/wso2/streaming-integrator-tooling/compare/v1.0.1...v1.1.0-rc3>
> .
> DistributionsWSO2 WSO2 Streaming Integrator Tooling 1.1.0-rc3 distribution
> can be download from the following location
>
>- Streaming Integrator Tooling 1.1.0-rc3 -Download
>
> <https://github.com/wso2/streaming-integrator-tooling/releases/download/v1.1.0-rc3/wso2si-tooling-1.1.0-rc3.zip>
>
> Documentation*Streaming Integrator Tooling Documentation *
>
>
>-
>
>
>https://github.com/wso2/streaming-integrator-tooling/blob/master/README.md
>-
>
>
>
> https://ei.docs.wso2.com/en/7.1.0/streaming-integrator/develop/streaming-integrator-studio-overview/
>
> Known Issues
>
> WSO2 Streaming Integrator Tooling -
> https://github.com/wso2/streaming-integrator-tooling/issues
>
>
> Please test and vote as follows:
>
> [+] Stable - go ahead and release
>
> [-] Broken - do not release (explain why)
>
>
> ~ The WSO2 Enterprise Integration Team ~
>
>
> --
>
> *Anusha Jayasundara*
> Senior Software Engineer | WSO2
> (m) +94(0)772601160 <+94772601160>   (e) anus...@wso2.com  (w)
> http://wso2.com
>
> <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


Re: [Dev] [Architecture] [VOTE] Release WSO2 Streaming Integrator 1.1.0-RC2

2020-08-04 Thread Sajith Ravindra
Hi

I've tested the following
- CDC with MySQL
- Publishing and receiving from Kafka

No issues found. Therefore +1 to proceed.

Thanks
*,Sajith Ravindra*
Technical Lead
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 Tue, Aug 4, 2020 at 11:27 PM Damith Wickramasinghe 
wrote:

> Hi all,
>
> Tested http source/ sink and RDBMS store and found no blockers. Hence +1
> to proceed with the release.
>
> Regards,
> Damith
>
> On Tue, Aug 4, 2020 at 11:05 PM Ramindu De Silva 
> wrote:
>
>> Hi all,
>>
>> I tested the following and found no blockers. Hence +1 to proceed with
>> the release.
>>
>>1. Siddhi-IO-Kafka
>>2. Siddhi-IO-File
>>3. Siddhi-IO-HTTP with all source, sink, http-request, response,
>>http-service, response
>>4. HA scenario with HTTP and Kafka
>>
>> Best Regards,
>> Ramindu.
>>
>> On Tue, Aug 4, 2020 at 7:41 PM Anusha Jayasundara 
>> wrote:
>>
>>> Hi Chamath,
>>>
>>> Thank you for pointing this out. Please refer to the document mentioned
>>> here[1] in order to migrate from SI 1.0.0.
>>> We don't have documentation comparing the performance with SI 1.0.0
>>> since we don't have a huge performance gap between SI 1.0.0 and 1.1.0.
>>> But the following document[2] contains the performance details for a few
>>> common streaming integrator usecases.
>>>
>>> [1]
>>> https://ei.docs.wso2.com/en/7.1.0/streaming-integrator/setup/upgrading-from-previous-version/
>>> [2]
>>> https://ei.docs.wso2.com/en/7.1.0/streaming-integrator/ref/performance-analysis-results/
>>>
>>> Thank You,
>>> Anusha
>>>
>>> On Tue, Aug 4, 2020 at 8:38 AM Chamath Gunawardana 
>>> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> Regarding migration from previous releases, I could find the following
>>>> [1], which is migrating from SP 4.4.0. Could you please point me to the
>>>> migration documentation from SI 1.0?
>>>> Also please share the performance test comparison with the
>>>> previous version as well.
>>>>
>>>> [1] -
>>>> https://ei.docs.wso2.com/en/7.1.0/streaming-integrator/setup/migrating-from-stream-processor/#!
>>>>
>>>>
>>>> Thanks,
>>>> Chamath
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>>
>>> *Anusha Jayasundara*
>>> Senior Software Engineer | WSO2
>>> (m) +94(0)772601160 <+94772601160>   (e) anus...@wso2.com  (w)
>>> http://wso2.com
>>>
>>> <http://wso2.com/signature>
>>> ___
>>> Architecture mailing list
>>> architect...@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>
>>
>> --
>> *Ramindu De Silva* | Associate Technical Lead | WSO2 Inc.
>> (m) 94710351340 | (e) ramin...@wso2.com
>> <http://wso2.com/signature>
>> ___
>> Architecture mailing list
>> architect...@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>
>
> --
> Associate Technical Lead | WSO2 Inc.
> lean.enterprise.middleware
>
> mobile: *+94728671315*
>
> ___
> 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


Re: [Dev] WSO2 Streaming Integrator 1.10.0 M1 Released!

2020-05-10 Thread Sajith Ravindra
Hi everyone,

Please note that the correct version of this streaming integrator Mile
stone release is 1.1.0.

Please ignore the version mentioned in the subject line. Sorry for the
inconvenience.

On Wed, May 6, 2020 at 8:38 PM Sahan Dilshan  wrote:

> WSO2 Enterprise Integrator Team is pleased to announce the release of SI
> 1.1.0 M1
> Download
>
> You can download WSO2 SI 1.1.0 M1 from here
> <https://github.com/wso2/streaming-integrator/releases/download/v1.1.0-m1/wso2si-1.1.0-m1.zip>
> .
> How to run
>
>1.
>
>Extract the downloaded zip file.
>2.
>
>Go to the bin directory in the extracted folder.
>3.
>
>Run the server.sh, file if you are on a Linux/Mac OS or run the
>server.bat file if you are on a Windows OS.
>
> What's new
>
>- *Extension Installer CLI tool*
>- Auto Extension Installation Support
>- *Dashboard support for File & CDC extensions *
>
>
>- *File Extension*
>  -
> *File Statistics Dashboard *
>  -
> *File Source Statistics Dashboard *
>  - *File Sink Statistics Dashboard *
>   -
> *CDC Extension *
>  - *CDC Statistics dashboard *
>  -
> *CDC Streaming Statistics Dashboard *
>  -
> *CDC Scheduled Statistics Dashboard *
>
> Known Issues
>
> All the open issues pertaining to WSO2 Streaming Integrator are reported
> at the following locations:
>
>-
>
>Streaming Integrator
><https://github.com/wso2/streaming-integrator/issues>
>
>
> Contribute to WSO2 Streaming Integrator
> Mailing Lists
>
> Join our mailing lists and correspond with the developers directly. We
> also encourage you to take part in discussions related to the product in
> the architecture mailing list. If you have any questions regarding the
> product you can use our StackOverflow forum to raise them as well.
>
>-
>
>Developer List: dev@wso2.org
>-
>
>Architecture List: architect...@wso2.org
>-
>
>User Forum: StackOverflow
><https://stackoverflow.com/questions/tagged/wso2si>
>
>
> Reporting Issues
>
> We encourage you to report issues, improvements, and feature requests
> regarding WSO2 Identity Server through our public WSO2 Streaming
> Integrator GIT Issues
> <https://github.com/wso2/streaming-integrator/issues>.
>
> Important: Please be advised that security issues must be reported to
> secur...@wso2.com, not as GitHub issues, in order to reach the proper
> audience. We strongly advise following the WSO2 Security Vulnerability
> Reporting Guidelines
> <https://docs.wso2.com/display/Security/WSO2+Security+Vulnerability+Reporting+Guidelines>
> when reporting the security issues.
> ~ The Enterprise Integrator Team ~
>
> --
> *Sahan Dilshan* | Engineering Intern | WSO2.Inc
> +94 763960868 | sah...@wso2.com
> [image: https://wso2.com/signature] <https://wso2.com/signature>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
-- 
Thanks
*,Sajith Ravindra*
Technical Lead
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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [VOTE] Release WSO2 Analytics Dashboard 1.0.0 RC2

2020-04-22 Thread Sajith Ravindra
Hi Devs,

I've tested the following in java 11
- Wiget generation wizard with RDBMS provider
- Creating a dashboard with existing widgets
- Monitor profile

No issues were found therefore,

[+] Stable - go ahead and release


Thanks
*,Sajith Ravindra*
Technical Lead
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 Wed, Apr 22, 2020 at 10:13 AM Charuka Karunanayake 
wrote:

> Hi all,
>
> The WSO2 Streaming Integrator team is pleased to announce WSO2 Analytics
> Dashboard 1.0.0 Release Candidate 2
>
> *What's new in WSO2 Analytics Dashboard 1.0.0-RC2*
>
>- Added support for Siddhi 5
>- Added the Status Dashboard feature
>- Bug fixes and improvements
>
> *Documentation*
> Documentation can be found at,
>
>-
>
> https://ei.docs.wso2.com/en/latest/streaming-integrator/admin/monitoring-the-streaming-integrator/
>
> *Reporting*
> We encourage you to report issues, improvements, and feature requests
> regarding WSO2 Analytics Dashboard through our public WSO2 Analytics
> Dashboard Git Issues <https://github.com/wso2/analytics-dashboard/issues>
>
> Download and Location of the distribution
>
>- Analytics Dashboard distribution:
>
> https://github.com/wso2/analytics-dashboard/releases/download/v1.0.0-RC2/wso2ad-1.0.0.zip
>- *The tags to be voted upon*
>   -
>   https://github.com/wso2/analytics-dashboard/releases/tag/v1.0.0-RC2
>   - Please download and test the features and vote
>
> [+] Stable - go ahead and release
>
> [-] Broken - do not release(explain why)
>
>
> ~ The WSO2 Enterprise Integrator Team ~
> --
> *Charuka Karunanayake*
> Software Engineer | WSO2
>
> E-mail: char...@wso2.com
> Mobile: +94711611848
> Web: http://wso2.com
>
> <http://wso2.com/signature>
>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Streaming Integrator tooling 1.0.1 RC2

2020-03-18 Thread Sajith Ravindra
Hi Devs,

I've tested
- Stream Generation with a file
- Stream generation with a DB
- Extension Installer
And all are working as expected.

 [+] Stable - go ahead and release


Thanks
*,Sajith Ravindra*
Technical Lead
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 Tue, Mar 17, 2020 at 8:02 PM Damith Wickramasinghe 
wrote:

> Hi all,
>
>
>
> We are pleased to announce the second release candidate of the WSO2
> Streaming Integrator tooling 1.0.1 release.
> Key features of this release:
>
>-
>
>Extension installer support
>-
>
>Streaming generator support
>
>
> Also it contains the bug fixes found.
> Documentation
>
> Documentation is available at,
>
>-
>
>https://github.com/wso2/streaming-integrator/blob/master/README.md
>-
>
>
>https://ei.docs.wso2.com/en/latest/streaming-integrator/overview/overview/
>
>
> You can download the SI Tooling from here.
>
>-
>
>
>
> https://github.com/wso2/streaming-integrator-tooling/releases/download/v1.0.1-RC2/wso2si-tooling-1.0.1-RC2.zip
>
> The tag that you need to refer for voting:
>
>-
>
>
>
> https://github.com/wso2/streaming-integrator-tooling/releases/tag/v1.0.1-RC2
>
> Please download, and test the features and vote.
>
>[+] Stable - go ahead and release
>
>[-] Broken - do not release (explain why)
>
> ~ The Enterprise Integrator Team ~
>
>
> --
> Associate Technical Lead | WSO2 Inc.
> lean.enterprise.middleware
>
> mobile: *+94728671315*
>
> ___
> 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] [Announcement]WSO2 Enterprise Integrator 7.0.0 Release

2019-10-08 Thread Sajith Ravindra
 4.4.0 except dashboards.
Key Features

   -

   Amazon S3 and Google cloud storage connector, introducing cloud data
   integration
   -

   Siddhi K8s operator support for Streaming integrator enabling easy
   deployment of SI in a Kubernetes cluster
   -

   Support to export siddhi apps as Docker images or K8s artifacts via
   tooling
   -

   GRPC connector for low latency RPCs
   -

   Seamless integration with micro integrator
   -

   Enhanced file connector for efficient real-time ETL with large files
   -

   JDK11 support.

List of tasks/bug fixes and improvements shipped with this release can be
found below:

   -

   Tasks/Bug Fixes and Improvements
   <https://github.com/wso2/ballerina-integrator/milestone/12?closed=1>

Streaming Integrator Tooling 1.0.0
Key Features

   -

   On-demand query to run store queries against window and databases
   -

   An interactive tour which guides through editor capabilities
   -

   Operator finder which enables to quickly insert various extensions to
   the integration flow
   -

   Deploy created siddhi apps to a remote server
   -

   Export siddhi apps and configurations as docker and Kubernetes artifacts
   -

   JDK11 support.



~ The Enterprise Integrator Team ~

Thanks
*,Sajith Ravindra*
Technical Lead
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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [VOTE] Release WSO2 Enterprise Integrator 7.0.0 RC1

2019-10-07 Thread Sajith Ravindra
Hi All,

Thanks for testing WSO2 Enterprise Integrator 7.0.0-RC1.

Since this vote has passed with 24 [+1]s and 0 [-1]s, we’re hereby closing
this vote and proceeding with the WSO2 Enterprise Integrator 7.0.0 GA
release.

Best Regards,
~ WSO2 Enterprise Integrator Team ~


Thanks
*,Sajith Ravindra*
Technical Lead
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 Tue, Oct 8, 2019 at 6:43 AM Isuru Udana  wrote:

> Hi All,
>
> Did some basic smoke tests. No blockers found.
>
>[+] Stable - go ahead and release
>
> Thanks.
>
>
> On Mon, Oct 7, 2019 at 7:31 PM Mathuriga Thavarajah 
> wrote:
>
>> Hi All,
>>
>> Security Scanning reports (Static and Dynamic) were analyzed and
>> reviewed. Hence +1 from the Platform Security Team for proceeding with
>> the release.
>>
>> Thanks.
>>
>> Regards,
>> Mathuriga.
>>
>> On Mon, Oct 7, 2019 at 6:43 PM Ridmi Lokumudali  wrote:
>>
>>> Hi all,
>>>
>>> I have tested the following in RC1 pack in windows.
>>>
>>>- Tested CLI tool command and a smoke test on CLI tool
>>>- Pack startup
>>>
>>> No blocker found.
>>>
>>> +1 go ahead and release.
>>>
>>>
>>> On Mon, Oct 7, 2019 at 9:58 AM Niruhan Viswarupan 
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have tested the gRPC Inbound endpoint in MI and gRPC io in SI. Tested
>>>> the sample interconnecting SI and MI. No blockers were found.
>>>> Hence +1 Stable, go ahead and release from me.
>>>>
>>>> Kind Regards,
>>>>
>>>> On Sun, Oct 6, 2019 at 10:55 PM Senthuran Ambalavanar <
>>>> senthu...@wso2.com> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I have tested the Quick Start Guide of Streaming Integrator, and no
>>>>> blockers were found.
>>>>> Hence, *+1 - Stable - Go ahead and release*, from me.
>>>>>
>>>>> Regards,
>>>>> Senthuran.
>>>>>
>>>>> --
>>>>> *Senthuran Ambalavanar *| Software Engineer | WSO2 Inc.
>>>>> (m) +94 757 875 887 | (e) senthu...@wso2.com |
>>>>> Linkedin: https://www.linkedin.com/in/senthuran-ambalavanar-001122139/
>>>>>  |
>>>>> Blog: https://medium.com/@senthuran16
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> *V. Niruhan* | Software Engineer | WSO2 Inc. <http://wso2.com/>
>>>> (M)+94 776468013 | (E) niru...@wso2.com
>>>> Blog: https://medium.com/@niruhan
>>>> LinkedIn: https://www.linkedin.com/in/niruhan/
>>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Ridmi Rangika
>>> Software Engineer, WSO2, Inc.
>>> E-mail : ri...@wso2.com
>>> ___
>>> Architecture mailing list
>>> architect...@wso2.org
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>
>>
>> --
>>
>> *Mathuriga Thavarajah*
>> Software Engineer
>> WSO2 Inc. - http ://wso2.com
>>
>> Email : mathur...@wso2.com
>> Mobile  : +94778191300
>>
>>
>>
>> *[image: http://wso2.com/signature] <http://wso2.com/signature>*
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>
>
> --
> *Isuru Udana*
> Associate Director / Architect
> WSO2 Inc.; http://wso2.com
> email: isu...@wso2.com cell: +94 77 3791887
> ___
> 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] [VOTE] Release WSO2 Enterprise Integrator 7.0.0 RC1

2019-10-05 Thread Sajith Ravindra
Hi all


We are pleased to announce the release candidate of WSO2 Enterprise
Integrator 7.0.0 release.


WSO2 Enterprise Integrator 7.0.0 consists of three runtimes providing a
comprehensive set of functionalities and features required to fulfill any
integration requirement, following are the key features of each runtime.


Ballerina Integrator 1.0.0
Key Features

   -

   Based on Ballerina 1.0.1, which consists of improvements to the language
   syntax and semantics based on the stable language specification version
   2019R3
   -

   Connectors for protocols like HTTP, File, FTP
   , Samba
   , gRPC, NATS and Kafka.
   -

   EI Connectors for well known SaaS applications like Salesforce
   , Amazon SQS
   , Amazon S3
   , Google Sheets
    and Gmail
   . You can pull them from Ballerina
   Central .
   -

   Improved support for EIP’s (Enterprise Integration Patterns) with
   tailor-made EI connectors and template support for tooling.
   -

   Java interoperability (allows you to call Java code from Ballerina)
   -

   Project Templates for widely used integration use cases. With this, we
   expect to save time spent on bootstrapping a new integration project. You
   can pull them from Ballerina Central .
   -

   VS Code based tooling support to discover and create projects using
   templates.

List of tasks/bug fixes and improvements shipped with this release can be
found below:

   -

   Tasks/Bug Fixes and Improvements
   

Micro Integrator 1.1.0

This is the successor of Micro Integrator 1.0.0, which is the cloud-native
version of WSO2 Enterprise Integrator 6.5.0 integrator profile containing
all its key capabilities.
Key Features

   -

   Builtin unit testing framework for writing unit tests for synapse
   configuration artifacts
   -

   Support for JDK 11
   -

   All new Micro Integrator Dashboard to monitor the synapse runtime
   artifacts
   -

   Management API with improved functionalities such as JWT based
   authentication
   -

   Improved Micro Integrator CLI


   -

   ODATA support for Data Services
   -

   JDBC User store support
   -

   Seamless integration with WSO2 Streaming Integrator through gRPC
   -

   Single file (TOML based) configuration approach that makes runtime
   configuration much simpler and intuitive
   -

   System variable support for all environment-dependent parameters of
   synapse configurations

A list of tasks/bug fixes and improvements shipped with this release can be
found below:

   -

   Tasks/bug fixes and improvements
   


Streaming Integrator 1.0.0

WSO2 Streaming integrator is powered by siddhi.io and inherits all its
features and characteristics. It’s a successor of WSO2 Stream Processor
4.4.0 and includes all key features of WSO2 SP 4.4.0 except dashboards.
Key Features

   -

   Amazon S3 and Google cloud storage connector, introducing cloud data
   integration
   -

   Siddhi K8s operator support for Streaming integrator enabling easy
   deployment of SI in a Kubernetes cluster
   -

   Support to export siddhi apps as Docker images or K8s artifacts via
   tooling
   -

   GRPC connector for low latency RPCs
   -

   Seamless integration with micro integrator
   -

   Enhanced file connector for efficient real-time ETL with large files
   -

   JDK11 support.

List of tasks/bug fixes and improvements shipped with this release can be
found below:

   -

   Tasks/Bug Fixes and Improvements
   


Download and Location of the distribution

Please use the Installer to download and install WSO2 EI7


Installer location:
https://drive.google.com/drive/folders/10Iqt4g_djJQsOtoEPzFCz8WX42uMu50P?usp=sharing

Separate runtimes can be downloaded from,

   -

   Ballerina Integrator:
   https://github.com/wso2/ballerina-integrator/releases/tag/v1.0.0-rc1
   -

   Micro Integrator:
   https://github.com/wso2/micro-integrator/releases/tag/v1.0.0-rc1
   -

   Streaming Integrator:
   https://github.com/wso2/streaming-integrator/releases/tag/v1.0.0-rc1

Documentation

Please find the official documentation at
https://ei.docs.wso2.com/en/latest/

The tags to be voted upon

   -

   Ballerina Integrator:
   https://github.com/wso2/ballerina-integrator/tree/v1.0.0-rc1
   -

   Micro Integrator:
   https://github.com/wso2/micro-integrator/tree/v1.1.0-rc1
   -

   Streaming Integrator:
   https://github.com/wso2/streaming-integrator/tree/v1.0.0-rc1



Please down

Re: [Dev] [Architecture] [VOTE] Release of WSO2 Stream Processor 4.2.0 RC2

2018-06-25 Thread Sajith Ravindra
Hi all,

I have tested,

- Editor designer view, stream/feed simulation
- Business rule editor and template editor
- HTTP analytics dashboard
- Tracing

[+] - Stable - go ahead and release.

Thanks
*,Sajith Ravindra*
Associate Technical Lead
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 Mon, Jun 25, 2018 at 4:59 PM, Moiz Mansoor  wrote:

> Hi All,
>
> I have tested the following functionality and found no issues.
>
>- Drag and drop function - From Design to Code view
>
> [+] Stable - go ahead and release
>
> Best Regards,
> Moiz.
>
>
> On Mon, Jun 25, 2018 at 3:31 PM Nisala Nanayakkara 
> wrote:
>
>> Hi all,
>>
>> I have tested the following functionality and found no issues.
>>
>>- Dashboard creation/deletion/modification
>>- Creating widgets with Dynamic queries
>>- Tested the editor samples
>>- Tested the HA setup with DB & File persistence
>>
>> [+] Stable - go ahead and release
>>
>> Thanks,
>> Nisala
>>
>> On Fri, Jun 22, 2018 at 12:32 PM Raveen Rathnayake 
>> wrote:
>>
>>> Hi all,
>>>
>>> I have tested the following functionality and found no issues.
>>>
>>>- Siddhi Editor basic functions
>>>- Drag and drop function - From Design to Code view
>>>
>>> [+] Stable - go ahead and release
>>>
>>> Thanks,
>>> Raveen.
>>>
>>> On Fri, Jun 22, 2018 at 10:57 AM Maduranga Siriwardena <
>>> madura...@wso2.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I have tested the following functionality,
>>>>
>>>>- HTTP source (with/without authentication, with/without ssl)
>>>>- HTTP request source and response sink (with/without
>>>>authentication, with/without ssl)
>>>>- Custom json mapping with json path and trp properties
>>>>
>>>> [+] Stable - go ahead and release
>>>>
>>>> Thanks,
>>>> Maduranga.
>>>>
>>>>
>>>> On Fri, Jun 22, 2018 at 9:23 AM Charuka Karunanayake 
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I tested the following
>>>>>
>>>>>- Widget generation wizard with Websocket provider
>>>>>- Dashboard Designer and Viewer
>>>>>- Mongo DB sample with Mongo db v3.6.5
>>>>>- Websocket Sink
>>>>>
>>>>> [+] Stable - go ahead and release
>>>>>
>>>>> Regards,
>>>>> Charuka
>>>>>
>>>>> On Fri, Jun 22, 2018 at 12:48 AM Ramindu De Silva 
>>>>> wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I tested the following
>>>>>>
>>>>>>- Event simulator - Regular, CSV, Database
>>>>>>- Dashboard
>>>>>>- Template Manager
>>>>>>- Kafka Source and Sink (Hello Kafka Sample) with Kafka version,
>>>>>>0.11 and 1.1.0
>>>>>>
>>>>>> [+] Stable - go ahead and release
>>>>>>
>>>>>> Best Regards,
>>>>>> Ramindu.
>>>>>>
>>>>>> On Thu, Jun 21, 2018 at 8:12 PM, Chiran Fernando 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I have  tested Fully Distributed Deployment functionality locally
>>>>>>> and on kubernetes.
>>>>>>>
>>>>>>> [+] Stable - go ahead and release
>>>>>>>
>>>>>>> On Thu, Jun 21, 2018 at 5:00 PM Eranga Liyanage 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi All
>>>>>>>>
>>>>>>>> I have tested the basic functionality of the following on Windows
>>>>>>>> 10.
>>>>>>>>
>>>>>>>>- Editor simulator/debug/drag & drop
>>>>>>>>- Dashboard
>>>>>>>>- Portal
>>>>>>>>
>>>>>>>> [+] Stable - go ahead and release
>>>>>>>>
>>>>>>>> Best regards
>>>>>>>> E

Re: [Dev] [VOTE] Release WSO2 Stream Processor 4.1.0 RC2

2018-03-15 Thread Sajith Ravindra
[-architecture-team, + architecture]

Thanks
*,Sajith Ravindra*
Associate Technical Lead
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 Fri, Mar 16, 2018 at 4:35 AM, Sajith Ravindra  wrote:

> Hi Devs,
>
> We are pleased to announce the release candidate of WSO2 Stream Processor
> 4.1.0.
>
> This is the Release Candidate version 2 of the WSO2 Stream Processor
> 4.1.0.
>
> Please download, test the product and vote. The vote will be open for 72
> hours or as needed.
>
> *Known issues*: https://github.com/wso2/product-sp/issues
> <https://github.com/wso2/product-das/issues>
> *Source and binary distribution files*: https://github.com/
> wso2/product-sp/releases/tag/v4.1.0-RC2
>
> *The tag to be voted upon:* https://github.com/wso2/
> product-sp/tree/v4.1.0-RC2
>
> Please vote as follows.
> [+] Stable - go ahead and release
> [-] Broken - do not release (explain why)
>
> ~ The WSO2 Analytics Team ~
>
> Thanks
> *,Sajith Ravindra*
> Associate Technical Lead
> 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>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [VOTE] Release WSO2 Stream Processor 4.1.0 RC2

2018-03-15 Thread Sajith Ravindra
Hi Devs,

We are pleased to announce the release candidate of WSO2 Stream Processor
4.1.0.

This is the Release Candidate version 2 of the WSO2 Stream Processor 4.1.0.

Please download, test the product and vote. The vote will be open for 72
hours or as needed.

*Known issues*: https://github.com/wso2/product-sp/issues
<https://github.com/wso2/product-das/issues>
*Source and binary distribution files*:
https://github.com/wso2/product-sp/releases/tag/v4.1.0-RC2

*The tag to be voted upon:*
https://github.com/wso2/product-sp/tree/v4.1.0-RC2

Please vote as follows.
[+] Stable - go ahead and release
[-] Broken - do not release (explain why)

~ The WSO2 Analytics Team ~

Thanks
*,Sajith Ravindra*
Associate Technical Lead
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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Data Analytics Server 3.2.0 RC2

2018-03-15 Thread Sajith Ravindra
Hi all

I tested the DAS 3.2.0-RC2 pack for the following functionality
- Event Simulator
- Event receiving and publishing with HTTP transport
- Adding/listing users
- Creating dashboards
- Exisitance of cookie and privacy policy

Therefore,

[+] Stable go ahead and release.

Thanks
*,Sajith Ravindra*
Associate Technical Lead
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 Fri, Mar 16, 2018 at 2:39 AM, Chiran Fernando  wrote:

> Hi Devs,
>
> We are pleased to announce the release candidate of WSO2 Data Analytics
> Server 3.2.0.
>
> This is the Release Candidate version 2 of the WSO2 Data Analytics Server
> 3.2.0
>
> Please download, test the product and vote. The vote will be open for 72
> hours or as needed.
>
> *Known issues*: https://github.com/wso2/product-das/issues
>
> *Source and binary distribution files*: https://github.com/wso2/
> product-das/releases/tag/v3.2.0-RC2
>
> The tag to be voted upon: https://github.com/wso2/
> product-das/tree/v3.2.0-RC2
>
> Please vote as follows.
> [+] Stable - go ahead and release
> [-] Broken - do not release (explain why)
>
> ~ The WSO2 Analytics Team ~
> --
> *Chiran Fernando*
> Software Engineer | WSO2
>
> Email : chi...@wso2.com
> Mobile : +94716007376 <+94%2071%20600%207376>
>
> <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


Re: [Dev] [DAS] Inferring actual table name from the table's encoded name

2018-01-11 Thread Sajith Ravindra
Have to agree with Sinthuja on this.

IMO this is a simple utility function. People will be mostly using this
while debugging an issue to get the actual table name. Having script makes
things much easy and simple IMO.

Thanks
*,Sajith Ravindra*
Associate Technical Lead
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 Thu, Jan 11, 2018 at 12:21 AM, Sinthuja Rajendran 
wrote:

> Hi Gokul,
>
> On Thu, Jan 11, 2018 at 11:41 AM, Gokul Balakrishnan 
> wrote:
>
>> Hi Sinthuja,
>>
>> Agree with your point. However, a new script will come with its own
>> complexities such as segregating permissions and preventing users from
>> retrieving names of tables not belonging to their tenant.
>>
>
> Anyhow, this is devops/advanced user related work, and not a general user
> related operation. Because inorder to get the encoded table name, the user
> should have the access to the database and knowing the table name/schema
> will not impose any security threat. So I don't think having shell script
> will reveal any additional security threat, given that the user who will be
> using this feature will be already having the db level access.
>
>
>> In addition, we already have a REST API operation for doing it the other
>> way (human-readable name to encoded name) already, hence the decision to
>> add this to the REST API too.
>>
>
> Hmm.. Ok..
>
> Thanks,
> Sinthuja.
>
> Best,
>>
>> On 11 January 2018 at 11:17, Sinthuja Rajendran 
>> wrote:
>>
>>> Hi Gokul,
>>>
>>> +1 to have a feature which returns the actual table name from the
>>> encoded table name that exists in the data storage.
>>>
>>> But IMHO, having REST API for this is not a correct way of doing,
>>> because REST APIs are intended to integrate this with external systems, and
>>> hence core analytics data operations need to be exposed via the REST API.
>>> But this feature is kind of a utility operation for debugging and not meant
>>> to be used by the users for normal table operations and also AFAIR it's
>>> applicable for RDBMS analytics data sources, not for others such as HBase.
>>>
>>> Therefore I propose, we'll have a utility shell script like a tool,
>>> which will take the encoded table name, and the data source type as params,
>>> and prompt the user-defined table name.
>>>
>>> Thanks,
>>> Sinthuja.
>>>
>>> On Thu, Jan 11, 2018 at 11:01 AM, Gokul Balakrishnan 
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> We have come across many cases where DAS tables stored in the EVENT or
>>>> PROCESSED stores (which have encoded names to comply with DB vendor
>>>> limitations) cannot be identified as representing which actual table just
>>>> by looking at them. This is a very useful functionality to have, especially
>>>> when debugging issues.
>>>>
>>>> In order to address this, I've implemented a DAS REST API operation
>>>> which will simply examine the calling user's tables and print out the name
>>>> of the actual table if a match is found.
>>>>
>>>> The usage will be as follows:
>>>>
>>>> GET (with auth) https://:9443/analyt
>>>> ics/tables//actualName
>>>>
>>>> Example cURL command:
>>>>
>>>> curl -k -H "Authorization: Basic YWRtaW46YWRtaW4="
>>>> https://localhost:9443/analytics/tables/ANX___7Lleafa0_/actualName
>>>>
>>>> We're planning to release this as a WUM update for DAS 3.1.0 and
>>>> related products.
>>>>
>>>> --
>>>> Gokul Balakrishnan
>>>> Senior Software Engineer,
>>>> WSO2, Inc. http://wso2.com
>>>> M +94 77 5935 789 | +44 7563 570502 <+44%207563%20570502>
>>>>
>>>>
>>>
>>>
>>> --
>>> *Sinthuja Rajendran*
>>> Senior Technical Lead
>>> WSO2, Inc.:http://wso2.com
>>>
>>> Blog: http://sinthu-rajan.blogspot.com/
>>> Mobile: +94774273955 <+94%2077%20427%203955>
>>>
>>>
>>>
>>
>>
>> --
>> Gokul Balakrishnan
>> Senior Software Engineer,
>> WSO2, Inc. http://wso2.com
>> M +94 77 5935 789 | +44 7563 570502 <+44%207563%20570502>
>>
>>
>
>
> --
> *Sinthuja Rajendran*
> Senior Technical Lead
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955 <+94%2077%20427%203955>
>
>
>
> ___
> 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


Re: [Dev] [DAS][Spark] Is it valid to use INSERT OVERWRITE with incremental processing?

2017-11-13 Thread Sajith Ravindra
<http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab>

On Mon, Nov 13, 2017 at 5:43 PM, Gihan Anuruddha  wrote:

> ​Keeping a last processed data set in a separate table might be a valid
> use case for some scenario. ​Users can run an one job per day and gather
> last process data and could do some operations. This avoids the overhead to
> go through the entire data set.
>

@Gihan, Gimanatha:  But, is this a direct or intended use case of using
these two construts together. Isn't it more of a by product?

If some user wants to process only subset of data wouldn't the user use a
"WHERE" clause?

>
> On Mon, Nov 13, 2017 at 4:57 PM, Gimantha Bandara 
> wrote:
>
>> Hi,
>>
>> I don't think we have a valid use case of using OVERWRITE with
>> incremental processing unless we want to keep the last processed data set
>> in a separate table.
>>
>> On Mon, Nov 13, 2017 at 4:30 PM, Sajith Ravindra 
>> wrote:
>>
>>> Hi all,
>>>
>>> Can there be a valid use case where we do an INSERT OVERWRITE to a table
>>> and then do incremental table commit?
>>>
>>> AFAIU, it leads to loss of data as incremental processing processes only
>>> unprocessed data and OVERWRITE statement drops previously processed data.
>>>
>>> Please advice.
>>>
>>> Thanks
>>> *,Sajith Ravindra*
>>> Associate Technical Lead
>>> 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>
>>>
>>
>>
>>
>> --
>> Gimantha Bandara
>> Software Engineer
>> WSO2. Inc : http://wso2.com
>> Mobile : +94714961919 <071%20496%201919>
>>
>
>
>
> --
> W.G. Gihan Anuruddha
> Associate Technical Lead | WSO2, Inc.
> M: +94772272595
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DAS][Spark] Is it valid to use INSERT OVERWRITE with incremental processing?

2017-11-13 Thread Sajith Ravindra
Hi all,

Can there be a valid use case where we do an INSERT OVERWRITE to a table
and then do incremental table commit?

AFAIU, it leads to loss of data as incremental processing processes only
unprocessed data and OVERWRITE statement drops previously processed data.

Please advice.

Thanks
*,Sajith Ravindra*
Associate Technical Lead
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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [SIDDHI] Handling transport properties which have not been provided in source configuration.

2017-07-09 Thread Sajith Ravindra
Can't we adding default values when possible ?

For an example, localhost for URL?

On Sun, Jul 9, 2017 at 4:49 PM Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

> On Sun, Jul 9, 2017 at 4:37 PM, Minudika Malshan 
> wrote:
>
>> Hi,
>>
>> @Mohan : In that case, are we going to use *fail.on.missing.attribute*
>> parameter in siddhi-io level. AFAIK it is used only in mapper level now.
>>
>
> OK, I am confused with $trp in mapping configuration and trp:uri in source
> configuration.
>
> Now, regarding your actual question. If we are defining a source
> configuration property as a mandatory property, then it means we cannot
> continue without that property. In this case, we need to throw an
> exception. If we can continue with a null value then that property cannot
> be a required property and it is an optional property.
>
> Thanks,
> Mohan
>
>
>>
>> Thanks and regards!
>>
>> On Sun, Jul 9, 2017 at 4:24 PM, Mohanadarshan Vivekanandalingam <
>> mo...@wso2.com> wrote:
>>
>>> @Minudika, I believe you are aware about the property 
>>> 'fail.on.missing.attributes'.
>>> Let's decide whether to set null or throw exception as per the value that
>>> defined for this property..
>>>
>>> Thanks,
>>> Mohan
>>>
>>> On Sun, Jul 9, 2017 at 4:13 PM, Sajith Ravindra 
>>> wrote:
>>>
>>>> either we should, assign a default value or throw and exceptions
>>>>
>>>> AFAIU, we can proceed with out and url for sources there for it will
>>>> not be possible to assign null and proceed.
>>>>
>>>> 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 Sun, Jul 9, 2017 at 4:04 PM, Minudika Malshan 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> In source, when a required transport property *(eg. trp:uri)* is not
>>>>> present in the source configuration, should we assign null for that
>>>>> property and proceed or should we throw an exception?
>>>>>
>>>>> Thanks and regards!
>>>>>
>>>>> --
>>>>> *Minudika Gammanpila*
>>>>> Software Engineer - WSO2
>>>>>
>>>>> Email   :  minud...@wso2.com
>>>>> Mobile :  +94715659887 <+94%2071%20565%209887>
>>>>> Web :  http://wso2.com <http://wso2.com/signature>
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *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 <+94%2077%20111%207673>
>>>
>>
>>
>>
>> --
>> *Minudika Gammanpila*
>> Software Engineer - WSO2
>>
>> Email   :  minud...@wso2.com
>> Mobile :  +94715659887 <+94%2071%20565%209887>
>> Web :  http://wso2.com <http://wso2.com/signature>
>>
>
>
>
> --
> *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
>
-- 
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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] [SIDDHI] Handling transport properties which have not been provided in source configuration.

2017-07-09 Thread Sajith Ravindra
either we should, assign a default value or throw and exceptions

AFAIU, we can proceed with out and url for sources there for it will not be
possible to assign null and proceed.

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 Sun, Jul 9, 2017 at 4:04 PM, Minudika Malshan  wrote:

> Hi,
>
> In source, when a required transport property *(eg. trp:uri)* is not
> present in the source configuration, should we assign null for that
> property and proceed or should we throw an exception?
>
> Thanks and regards!
>
> --
> *Minudika Gammanpila*
> Software Engineer - WSO2
>
> Email   :  minud...@wso2.com
> Mobile :  +94715659887 <+94%2071%20565%209887>
> Web :  http://wso2.com <http://wso2.com/signature>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2017 : Python API for Siddhi CEP

2017-03-09 Thread Sajith Ravindra
[Adding Suho who could possibly mentor you through this project]

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 Thu, Mar 9, 2017 at 9:23 PM, Roshan Alwis 
wrote:

> Hi all,
>
> I am Roshan from University of Moratuwa. I did my internship at WSO2 in
> Research Team under the supervision of Dr. Srinath Perera.
>
> I am very much familiar with Python and implemented an extension for WSO2
> CEP for real-time prediction with H2O.ai <http://h2o.ai> while I was
> working there.
>
> I think I fit best in $subject and would like to know more about the scope
> of the project.
>
> Thanks & Regards,
>
> Roshan Madhushanka
>
> Batch Representative (CSE 13),
> Department of Computer Science and Engineering
> University of Moratuwa.
>
> alwisroshan...@cse.mrt.ac.lk | 0715894672
> <https://lk.linkedin.com/in/roshanalwis>[image: Facebook]
>
> ___
> 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


Re: [Dev] WSO2 Committers += Sajith Perera

2017-01-04 Thread Sajith Ravindra
Congratz Sajith!!!

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 Thu, Jan 5, 2017 at 8:32 AM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

> Hi Devs,
>
> It is my pleasure to welcome Sajith Perera as a WSO2 Committer. Sajith has
> been a valuable contributor in WSO2 analytics space and performed enormous
> tasks on CEP tooling, CEP HA and Log Analyzer.
>
> SajithD, welcome aboard and keep up the good work.
>
>
> Thanks,
> Mohan
>
>
> --
> *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 <+94%2077%20111%207673>
>
> ___
> 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


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

2016-09-13 Thread Sajith Ravindra
Hi all,

I've tested
 - The distributed setup with sample 0501 and 0504
 - Tested the sample 0060
 - Tested
 [CEP-1526] - Improve event receiver/publisher JMS configuration to
support Tibco EMS
 [CEP-1574] - JNDI Connector to Sonic MQ.


[+] Stable - Go ahead and release

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 Tue, Sep 13, 2016 at 4:47 PM, Ashen Weerathunga  wrote:

> Hi all,
>
> I have tested the following and found no issues.
>
>- CAR Deployment
>- Dashboard and gadget generation
>- Publishing data through an ui publisher to the gadgets
>- New Features and improvements
>- [CEP-1507] - Siddhi Extension for calculate percentile values
>   - [CEP-1476] - Siddhi Map Extension : map:CreateFromXML() only
>   support XML with root element
>
> [+] Stable - Go ahead and release
>
> Thanks,
> Ashen
>
> On Tue, Sep 13, 2016 at 3:49 PM, Tishan Dahanayakage 
> wrote:
>
>> HI all,
>>
>> I have tested the following and works without no issues.
>>
>> - HA functionality with 3 nodes
>> - Sample 0503
>> - Persistence service
>>
>> Raised documentation jira[1] for documentation improvements.
>>
>> [+] - Stable. Go ahead and release
>>
>> [1] https://wso2.org/jira/browse/DOCUMENTATION-3881
>>
>> Thanks,
>> /Tishan
>>
>> On Tue, Sep 13, 2016 at 3:19 PM, Thilini Anoratna 
>> wrote:
>>
>>> Hi all,
>>>
>>> I've tested the following and found no issues;
>>>
>>>- Processing samples : 0101 - 0116
>>>- New Features / Bug Fixes
>>>   - [CEP-1532] - Add basicAuth enable property for http event
>>>   receiver
>>>   - [CEP-1528] - Provide support for string values to be used in
>>>   line charts x axis in real time gadets
>>>
>>> [+] Stable - go ahead and release
>>>
>>> Thanks.
>>> Thilini
>>>
>>> On Tue, Sep 13, 2016 at 3:10 PM, Grainier Perera 
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I've tested the following and found no issues;
>>>>
>>>>- Siddhi Try it, Event Simulator
>>>>- Event Tracer
>>>>- CEP Monitoring (JMX-Based, System Statistics, Carbon Metrics)
>>>>- New Features / Bug Fixes [CEP-1488, CEP-1510, CEP-1517, CEP-1520]
>>>>- Storm dependencies jar against dependencies used in Siddhi
>>>>extensions.
>>>>
>>>> [+1] stable - go ahead and release.
>>>>
>>>> Regards,
>>>>
>>>> On Tue, Sep 13, 2016 at 1:50 PM, Pamoda Wimalasiri 
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I have tested the following samples of CEP 4.2 RC2
>>>>>
>>>>>
>>>>>- Samples 0101-0119
>>>>>- Sample 0301
>>>>>- Sample 0502
>>>>>
>>>>> +1 for proceeding with the release
>>>>>
>>>>>
>>>>> On Tue, Sep 13, 2016 at 1:05 PM, Tishan Dahanayakage 
>>>>> wrote:
>>>>>
>>>>>> [Adding Pamoda]
>>>>>>
>>>>>> On Thu, Sep 8, 2016 at 2:54 PM, Tharindu Edirisinghe <
>>>>>> tharin...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> Platform Security Team has reviewed all security reports against CEP
>>>>>>> 4.2.0 and verified.
>>>>>>>
>>>>>>> Here's the +1 for proceeding with the release.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Tharindu
>>>>>>>
>>>>>>> On Tue, Sep 6, 2016 at 10:23 PM, Dilini Muthumala 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Devs,
>>>>>>>>
>>>>>>>> This is the second release candidate (RC2) of WSO2 Complex Event
>>>>>>>> Processor version 4.2.0.
>>>>>>>>
>>>>>>>> *New Features / Improvements in This Release*
>>>>>>>>
>>>>>>>> [CEP-322 <https://wso2.org/jira/browse/CEP-322>] - Unique time
>>>>>>>> win

Re: [Dev] Issues with log analyzer common gadgets

2016-09-04 Thread Sajith Ravindra
Hi Indika,

I have removed previously copied log analyzer gadgets from analytics-mb
> capp and started to recreate mb log analyzer dashboard by installing
> org.wso2.carbon.analytics.shared.la.common.feature:1.0.2-SNAPSHOT. It was
> copied all log analyzer related gadgets to the distribution. Then created a
> new dashboard and added Log Event Chart and set Gadget Type to MB. It
> didn't load properly even though analytics-mb distribution has all
> necessary artifacts (jaggery file and data streams). But if I set Gadget
> Type to ESB, chart loading properly. It seems there is some logic written
> to load charts based on the value set in Gadget Type.
>

Currently common we share the common gadgets among ESB and APIM dashboards.
Therefore we provided a mechanism to specify product specific settings, you
can think of it as a profile. That's the reason why you need to specify the
gadget type. In your case, the gadget type is used to the load the server
URL  (ESB and APIM have different URLs for the log-analyzer-proxy.jag).

In many cases even we can share the gadget among the two products,
sometimes we need minor changes in each product when displaying the
gadget(e.g. a column name in a chart). Such options are provided through
the gadget type.

Ideally, we should have a type called "common" where you can use when no
customizations are required + product specific types to customize the view
of the gadget when necessary.

IMO, these gadgets shouldn't load based on the Gadget Type attribute since
> all gadgets copied from a common feature. It would be great if you can
> create a common capp including a dashboard with necessary gadgets for
> common log analyzing stuff. If there is any product-specific stuff, then
> product team can create a separate dashboard with special gadgets relevant
> to their use-case. Could you please look into this and provide us a
> solution because we have to do our alpha release soon.


I agree that we need to re-organize the gadgets and provide with a generic
feature for products where they can build upon. But this requires some
considerable effort as per the current state. We will be working on this
once the ongoing efforts on ESB and APIM is over.

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 Sun, Sep 4, 2016 at 12:12 AM, Indika Sampath  wrote:

> Hi MiyuruD/SajithR,
>
> I have removed previously copied log analyzer gadgets from analytics-mb
> capp and started to recreate mb log analyzer dashboard by installing
> org.wso2.carbon.analytics.shared.la.common.feature:1.0.2-SNAPSHOT. It was
> copied all log analyzer related gadgets to the distribution. Then created a
> new dashboard and added Log Event Chart and set Gadget Type to MB. It
> didn't load properly even though analytics-mb distribution has all
> necessary artifacts (jaggery file and data streams). But if I set Gadget
> Type to ESB, chart loading properly. It seems there is some logic written
> to load charts based on the value set in Gadget Type.
>
> IMO, these gadgets shouldn't load based on the Gadget Type attribute since
> all gadgets copied from a common feature. It would be great if you can
> create a common capp including a dashboard with necessary gadgets for
> common log analyzing stuff. If there is any product-specific stuff, then
> product team can create a separate dashboard with special gadgets relevant
> to their use-case. Could you please look into this and provide us a
> solution because we have to do our alpha release soon.
>
> Cheers!
>
> --
> Indika Sampath
> Senior Software Engineer
> WSO2 Inc.
> http://wso2.com
>
> Phone: +94 716 424 744
> Blog: http://indikasampath.blogspot.com/
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Orbit] Adding Storm 00.10.1 orbit bundle

2016-08-24 Thread Sajith Ravindra
Hi Jayanga/Thusitha,

I made the suggested changes. Could you please review and merge.

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 Wed, Aug 24, 2016 at 10:38 AM, Jayanga Dissanayake 
wrote:

> Hi Sajith,
>
> Thusitha has put some inline comments in the PR.
> Can you please make the necessary changes and send the PR back.
>
> Thanks,
> Jayanga.
>
> *Jayanga Dissanayake*
> Associate Technical Lead
> WSO2 Inc. - http://wso2.com/
> lean . enterprise . middleware
> email: jaya...@wso2.com
> mobile: +94772207259
> <http://wso2.com/signature>
>
> On Wed, Aug 24, 2016 at 10:34 AM, Sajith Ravindra 
> wrote:
>
>> ping
>>
>> 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 Mon, Aug 22, 2016 at 11:22 AM, Sajith Ravindra 
>> wrote:
>>
>>> Hi Kernal team,
>>>
>>> Could you please review and merge the pull request
>>> https://github.com/wso2/orbit/pull/226 to add the new storm version
>>> 0.10.1.
>>>
>>> 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>
>>>
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Orbit] Adding Storm 00.10.1 orbit bundle

2016-08-23 Thread Sajith Ravindra
ping

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 Mon, Aug 22, 2016 at 11:22 AM, Sajith Ravindra  wrote:

> Hi Kernal team,
>
> Could you please review and merge the pull request
> https://github.com/wso2/orbit/pull/226 to add the new storm version
> 0.10.1.
>
> 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>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Orbit] Adding Storm 00.10.1 orbit bundle

2016-08-21 Thread Sajith Ravindra
Hi Kernal team,

Could you please review and merge the pull request
https://github.com/wso2/orbit/pull/226 to add the new storm version 0.10.1.

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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Using a filter in event receivers to validate incoming data stream

2016-08-10 Thread Sajith Ravindra
Hi Dinesh,

I'm afraid you can't do that in the event receiver itself. Event receivers
will pass all the events for processing without doing any filtering.

You can do this with a simple Execution plan. Please refer[1] on the regex
extension for siddhi.

[1] -
https://docs.wso2.com/display/CEP420/Siddhi+Extensions#SiddhiExtensions-regexregex

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 Wed, Aug 10, 2016 at 11:30 PM, Dinesh J Weerakkody 
wrote:

> Hi,
>
> Is it possible to validate the incoming data stream values in DAS? for
> example let's say I have a stream which has date as a attribute. I need to
> validate the date format with a regex and ignore the event if the format
> doesn't match. Can we do something like this in WSO2 DAS event receivers?
>
> Thanks
>
> *Dinesh J. Weerakkody*
> Senior Software Engineer
> WSO2 Inc.
> lean | enterprise | middleware
> M : +94 727 868676 | E : dine...@wso2.com | W : www.wso2.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


Re: [Dev] [Orbit] Adding Storm 0.9.6 orbit bundle

2016-07-26 Thread Sajith Ravindra
Thanks, Mahesika.

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 Tue, Jul 26, 2016 at 3:41 PM, Maheshika Goonetilleke 
wrote:

> Hi Sajith
>
> Deployed successfully.
>
> On Tue, Jul 26, 2016 at 3:34 PM, Sajith Ravindra  wrote:
>
>> @Mahesika, could you please release it.
>>
>> 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 Tue, Jul 26, 2016 at 3:30 PM, Manoj Kumara  wrote:
>>
>>> Merged the PR.
>>>
>>> Regards,
>>> Manoj
>>>
>>> *Manoj Kumara*
>>> WSO2 Inc. *| **lean. enterprise. middleware.*
>>> *Mobile:* +94 713 448188
>>>
>>> On Tue, Jul 26, 2016 at 2:28 PM, Sajith Ravindra 
>>> wrote:
>>>
>>>> H Manoj,
>>>>
>>>> Did the changes. Please check.
>>>>
>>>> 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 Mon, Jul 25, 2016 at 5:31 PM, Manoj Kumara  wrote:
>>>>
>>>>> Added some comments. Please check.
>>>>>
>>>>> Regards,
>>>>> Manoj
>>>>>
>>>>> *Manoj Kumara*
>>>>> WSO2 Inc. *| **lean. enterprise. middleware.*
>>>>> *Mobile:* +94 713 448188
>>>>>
>>>>> On Mon, Jul 25, 2016 at 2:41 PM, Sajith Ravindra 
>>>>> wrote:
>>>>>
>>>>>> Hi Kernal team,
>>>>>>
>>>>>> Can you please review and merge the pull request
>>>>>> https://github.com/wso2/orbit/pull/221 to add the new strom version
>>>>>> 0.9.6.
>>>>>>
>>>>>> 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>
>>>>>>
>>>>>> ___
>>>>>> Dev mailing list
>>>>>> Dev@wso2.org
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>
>
> --
>
> Thanks & Best Regards,
>
> Maheshika Goonetilleke
> Senior Engineering Process Coordinator
>
> *WSO2 Inc*
> *email   : mahesh...@wso2.com *
> *mobile : +94 773 596707 <%2B94%20773%20596707>*
> *www: :http://wso2.com <http://wso2.com/>*lean . enterprise . middleware
>
>
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Orbit] Adding Storm 0.9.6 orbit bundle

2016-07-26 Thread Sajith Ravindra
@Mahesika, could you please release it.

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 Tue, Jul 26, 2016 at 3:30 PM, Manoj Kumara  wrote:

> Merged the PR.
>
> Regards,
> Manoj
>
> *Manoj Kumara*
> WSO2 Inc. *| **lean. enterprise. middleware.*
> *Mobile:* +94 713 448188
>
> On Tue, Jul 26, 2016 at 2:28 PM, Sajith Ravindra  wrote:
>
>> H Manoj,
>>
>> Did the changes. Please check.
>>
>> 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 Mon, Jul 25, 2016 at 5:31 PM, Manoj Kumara  wrote:
>>
>>> Added some comments. Please check.
>>>
>>> Regards,
>>> Manoj
>>>
>>> *Manoj Kumara*
>>> WSO2 Inc. *| **lean. enterprise. middleware.*
>>> *Mobile:* +94 713 448188
>>>
>>> On Mon, Jul 25, 2016 at 2:41 PM, Sajith Ravindra 
>>> wrote:
>>>
>>>> Hi Kernal team,
>>>>
>>>> Can you please review and merge the pull request
>>>> https://github.com/wso2/orbit/pull/221 to add the new strom version
>>>> 0.9.6.
>>>>
>>>> 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>
>>>>
>>>> ___
>>>> 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


Re: [Dev] [Orbit] Adding Storm 0.9.6 orbit bundle

2016-07-26 Thread Sajith Ravindra
H Manoj,

Did the changes. Please check.

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 Mon, Jul 25, 2016 at 5:31 PM, Manoj Kumara  wrote:

> Added some comments. Please check.
>
> Regards,
> Manoj
>
> *Manoj Kumara*
> WSO2 Inc. *| **lean. enterprise. middleware.*
> *Mobile:* +94 713 448188
>
> On Mon, Jul 25, 2016 at 2:41 PM, Sajith Ravindra  wrote:
>
>> Hi Kernal team,
>>
>> Can you please review and merge the pull request
>> https://github.com/wso2/orbit/pull/221 to add the new strom version
>> 0.9.6.
>>
>> 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>
>>
>> ___
>> 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] [Orbit] Adding Storm 0.9.6 orbit bundle

2016-07-25 Thread Sajith Ravindra
Hi Kernal team,

Can you please review and merge the pull request
https://github.com/wso2/orbit/pull/221 to add the new strom version 0.9.6.

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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [CEP] wso2 cep java.lang.OutOfMemoryError: GC overhead limit exceeded

2016-06-19 Thread Sajith Ravindra
Hi Charini,

How large are these events ? It's unlikely that Max attribute aggregator
has caused this since it only keeps the values. The most probable reason is
memory is not enough to hold the 3min window. We should be able to confirm
this by analyzing the generated hepdump.

As Abimaran has mentioned you should be able to overcome this issue by
increasing the Xms and Xmx values. I assume you have used the default
values for Xms and Xmx.

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 Mon, Jun 20, 2016 at 10:32 AM, Abimaran Kugathasan 
wrote:

> Hi Charini,
>
> You have to either increase the allocated heap size (-Xmx) or the limit
> check can be disabled by adding the option -XX:-UseGCOverheadLimit to the
> command line.
>
> More information can be found here [1]
>
>
> [1] :
> http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html#par_gc.oom
>
> On Mon, Jun 20, 2016 at 10:02 AM, Charini Nanayakkara 
> wrote:
>
>> Hi,
>>
>> I get $subject when attempting to execute Max aggregate function when a 3
>> min duration is considered on an external time stamp. The overhead limit is
>> likely to have exceeded due to 9 000 000  events arriving within this 3 min
>> duration. Any suggestions on resolving this issue are appreciated.
>>
>> Thank you
>> Charini
>>
>> --
>> Charini Vimansha Nanayakkara
>> Software Engineer at WSO2
>> Mobile: 0714126293
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer
>
> Email : abima...@wso2.com
> Mobile : +94 773922820
>
> <http://stackoverflow.com/users/515034>
> <http://lk.linkedin.com/in/abimaran>
> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimarank>
> <https://twitter.com/abimaran>
>
>
> ___
> 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


Re: [Dev] [DAS][IS-ANALYTICS]May threads are blocked on Event Sink Queue

2016-06-16 Thread Sajith Ravindra
Gihan, it's true that IO for database operations is also a bottleneck. But if 
you take a look at the thread dump many data receiving threads(to persist 
events of incoming streams) and processing threads (to persist events of output 
streams) are just blocked on this lock trying to insert events to the queue. 
From what I see it's not that threads are blocked because queue is full.

Apparently at this point, blocking of these receiving and processing threads 
seems to degrade the performance. 


> On Jun 16, 2016, at 3:48 PM, Gihan Anuruddha  wrote:
> 
> Actually bottleneck is coming from the database. Data insertion back-pressure 
> shows at this level. What is the exact data insertion rate for database(not 
> the server TPS).  Btw Innodb give poor performance than MyISAM. Also, in 
> MySQL TPS gets degraded with the data growth. 
> 
>> On Thu, Jun 16, 2016 at 2:23 PM, Sajith Ravindra  wrote:
>> Thread dump for reference 
>> 
>> https://drive.google.com/a/wso2.com/file/d/0B92QGepCpPD9SFdjQi1OeV9DUUk/view?usp=sharing
>> 
>> Thanks,
>> Sajith Ravindra
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>> 
>> mobile: +94 77 2273550
>> blog: http://sajithr.blogspot.com/
>> 
>>> On Thu, Jun 16, 2016 at 2:18 PM, Sajith Ravindra  wrote:
>>> Hi all,
>>> 
>>> We are doing a performance test on IS analytics server. While we keep 
>>> pumping data to the server we can see that throughput gradually decreases 
>>> to a very low (< 1K) TPS. We used MySQL with InnoDB with tuned parameters. 
>>> And set Xms2g and Xmx4g in DAS.
>>> 
>>> When looked at the thread dumps we can see that more than 100 threads  
>>> BLOCKED/TIMED_WATING at AnalyticsEventQueueManager.put() on a single lock 
>>> object(i.e. on the same reference). Many threads are just waiting to get 
>>> the lock without processing events which seem to be the reason for degraded 
>>> performance. 
>>> 
>>> Are there any parameters that we can tune to gain better performance to 
>>> overcome this bottleneck ?
>>> 
>>> I had a look at the code and AFAIU all events of a particular tenant are 
>>> persisted through a single synchronized queue. According to my 
>>> understanding, this synchronized queue is a performance bottleneck since 
>>> all threads pertaining to a persisted event stream will need to block on 
>>> this queue.  
>>> 
>>> IMO if we can have a queue per event-sink(i.e per persisted stream)  it 
>>> should give a better performance than this. Any implications if we do that 
>>> or is there a better option?
>>> 
>>> 
>>> Thanks,
>>> Sajith Ravindra
>>> Senior Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>> 
>>> mobile: +94 77 2273550
>>> blog: http://sajithr.blogspot.com/
> 
> 
> 
> -- 
> W.G. Gihan Anuruddha
> Senior Software Engineer | WSO2, Inc.
> M: +94772272595
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS][IS-ANALYTICS]May threads are blocked on Event Sink Queue

2016-06-16 Thread Sajith Ravindra
Thread dump for reference

https://drive.google.com/a/wso2.com/file/d/0B92QGepCpPD9SFdjQi1OeV9DUUk/view?usp=sharing

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 Thu, Jun 16, 2016 at 2:18 PM, Sajith Ravindra  wrote:

> Hi all,
>
> We are doing a performance test on IS analytics server. While we keep
> pumping data to the server we can see that throughput gradually decreases
> to a very low (< 1K) TPS. We used MySQL with InnoDB with tuned parameters.
> And set Xms2g and Xmx4g in DAS.
>
> When looked at the thread dumps we can see that more than 100 threads
> BLOCKED/TIMED_WATING at AnalyticsEventQueueManager.put() on a single lock
> object(i.e. on the same reference). Many threads are just waiting to get
> the lock without processing events which seem to be the reason for degraded
> performance.
>
> Are there any parameters that we can tune to gain better performance to
> overcome this bottleneck ?
>
> I had a look at the code and AFAIU all events of a particular tenant are
> persisted through a single synchronized queue. According to my
> understanding, this synchronized queue is a performance bottleneck since
> all threads pertaining to a persisted event stream will need to block on
> this queue.
>
> IMO if we can have a queue per event-sink(i.e per persisted stream)  it
> should give a better performance than this. Any implications if we do that
> or is there a better option?
>
>
> 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>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DAS][IS-ANALYTICS]May threads are blocked on Event Sink Queue

2016-06-16 Thread Sajith Ravindra
Hi all,

We are doing a performance test on IS analytics server. While we keep
pumping data to the server we can see that throughput gradually decreases
to a very low (< 1K) TPS. We used MySQL with InnoDB with tuned parameters.
And set Xms2g and Xmx4g in DAS.

When looked at the thread dumps we can see that more than 100 threads
BLOCKED/TIMED_WATING at AnalyticsEventQueueManager.put() on a single lock
object(i.e. on the same reference). Many threads are just waiting to get
the lock without processing events which seem to be the reason for degraded
performance.

Are there any parameters that we can tune to gain better performance to
overcome this bottleneck ?

I had a look at the code and AFAIU all events of a particular tenant are
persisted through a single synchronized queue. According to my
understanding, this synchronized queue is a performance bottleneck since
all threads pertaining to a persisted event stream will need to block on
this queue.

IMO if we can have a queue per event-sink(i.e per persisted stream)  it
should give a better performance than this. Any implications if we do that
or is there a better option?


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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] java.lang.NoSuchMethodError when trying to add Kafka Event Receiver

2016-06-06 Thread Sajith Ravindra
>
> I think we should update documentations because provided steps are not
> work for some kafka/scala versions. WDYT?
>
Yup, we'll need to update the documentation.



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 Mon, Jun 6, 2016 at 1:52 PM, Charitha Goonetilleke 
wrote:

> Hi All,
>
> Thank you very much for the thoughts & suggestions.
>
> After went through the discussion, I have followed steps suggested
> by Grainier and was able to add kafka receiver without any issue. Btw,
> apart from proving the jar, I think we should update documentations because
> provided steps are not work for some kafka/scala versions. WDYT?
>
> Thanks & Regards,
> /charithag
>
> On Mon, Jun 6, 2016 at 11:30 AM, Sajith Ravindra  wrote:
>
>> +1. I think building a proper jar with the correct dependencies would be
>>> good since that way we can use the latest version of Kafka. WDYT?
>>>
>>> I think we need to do this and provide the jar as this effectively
>> prevents DAS from being used with newer versions of Kafka.
>>
>> 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 Mon, Jun 6, 2016 at 12:47 AM, Lasantha Fernando 
>> wrote:
>>
>>>
>>> On 5 June 2016 at 23:52, Mohanadarshan Vivekanandalingam >> > wrote:
>>>
>>>>
>>>>
>>>> On Sun, Jun 5, 2016 at 11:33 PM, Sajith Ravindra 
>>>> wrote:
>>>>
>>>>> It seems Spark has a dependency on scala-library_2.10.4 and this jar
>>>>> is already included in DAS pack, therefore copying 
>>>>> scala-library-2.11.7.jar
>>>>> as per the documentation will lead to a conflict. I tested deleting
>>>>> ./repository/components/plugins/org.scala-lang.scala-library_2.10.4.v20140209-180020-VFINAL-b66a39653b.jar
>>>>> in DAS pack and it fixes the above error. But it give a NoClassDefFound
>>>>> error in startup.
>>>>>
>>>>> AFAIU there's no straightforward way to workaround this issue as it
>>>>> requires to two different versions of the same .jar other than upgrading
>>>>> the Spark scla-library dependency.
>>>>>
>>>>
>>>> Yes, @Charith you have few options..
>>>>
>>>> 1) Build a single jar/bundle by wrapping necessary dependencies and use.
>>>>
>>>
>>> +1. I think building a proper jar with the correct dependencies would be
>>> good since that way we can use the latest version of Kafka. WDYT?
>>>
>>> Also, @Charitha, can you try putting the scala-library to dropins
>>> instead of lib. From looking at the jar, it already has an OSGi manifest
>>> file, so no need to OSGify it again. Did we try starting the server without
>>> putting the scala-library-2.11.7.jar at all? Anyway, since this is an OSGi
>>> binding issue, there might be some non-standard bundle combinations that
>>> can get it to work. But that wouldn't be a clean solution I think.
>>>
>>> Thanks,
>>> Lasantha
>>>
>>>
>>>> 2) Try with Kafka 2.10-0.8.1.1 server
>>>>
>>>>
>>>>>
>>>>> P.S : @Charith if this is for the sake of testing you can use CEP as
>>>>> it has not scala-libarary dependency.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *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
>>>>
>>>>
>>>
>>>
>>> --
>>> *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
>>
>>
>
>
> --
> *Charitha Goonetilleke*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 751 3669 <%2B94777513669>
> Twitter:@CharithaWs <https://twitter.com/CharithaWs>, fb: charithag
> <https://www.facebook.com/charithag>, linkedin: charithag
> <http://www.linkedin.com/in/charithag>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we use puppet scripts in wso2/puppet-modules for CEP for a distributed deployment ?

2016-06-05 Thread Sajith Ravindra
Hi Isuru,

Thanks for the update and for guidance. We will send the PR for the
distributed deployment to using this model.

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 Mon, Jun 6, 2016 at 12:05 PM, Isuru Haththotuwa  wrote:

> Myself and SajithR had a chat on this. What needs to be done are as
> follows:
>
>1. Create profiles relevant to CEP full HA deployment, referring the
>available profiles [1]
>2. Use the data picked from those hierafiles (using hiera lookups) in
>CEP configuration templates [2]
>
> Also, would need to test the full HA deployment created with these changes
> as well.
>
> Can the CEP team send a PR with these changes to the wso2 puppet modules
> repository?
>
> [1].
> https://github.com/wso2/puppet-modules/tree/master/hieradata/dev/wso2/wso2cep/4.0.0
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fwso2%2Fpuppet-modules%2Ftree%2Fmaster%2Fhieradata%2Fdev%2Fwso2%2Fwso2cep%2F4.0.0&sa=D&sntz=1&usg=AFQjCNEXnJRx9xcu_kopkp1x_eBYttZLnw>
>
> [2].
> https://github.com/wso2/puppet-modules/tree/master/modules/wso2cep/templates/4.0.0
>
> On Mon, Jun 6, 2016 at 11:34 AM, Isuru Haththotuwa 
> wrote:
>
>> Hi Sajith,
>>
>> On Mon, Jun 6, 2016 at 11:18 AM, Isuru Haththotuwa 
>> wrote:
>>
>>> Hi Sajith,
>>>
>>> Sorry for the delay in merging this. This was sent at a time where some
>>> re-factoring was in progress for hieradata and puppet modules. As a result
>>> now there is a platform directory (kubernetes, etc.) under the
>>> puppet-modules/hieradata/dev/wso2// directory. We might
>>> need to incorporate this change to the PR. Also, at the moment, we do not
>>> have a grouping by pattern of the hiera files as well. Lets have a
>>> discussion on this before we proceed further to create a new PR.
>>>
>> My mistake, this has already been merged, but have been changed because
>> of the puppet and hiera model changes that took place in the last release.
>> Would it be possible to add the required profiles for HA deployment in a
>> new PR?
>>
>>>
>>> On Sat, Jun 4, 2016 at 5:07 PM, Sajith Ravindra 
>>> wrote:
>>>
>>>> Hi Imesh/Isuru,
>>>>
>>>> I submitted the pull request[1] sometime back and it has implemented
>>>> all 3 patterns of CEP (standalone, HA and distributed). Please let us know
>>>> if we can provide any further assistance on this. It would be great if we
>>>> can get the distributed deployment scripts also in wso2 repo because
>>>> manually doing the distributed deployments requires some effort compared to
>>>> other two patterns.
>>>>
>>>>
>>>> [1] -
>>>> https://github.com/wso2/puppet-modules/commit/85e652d086d5b48971b3425ec12562c13c9d4a9b
>>>>
>>>> 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, Jun 4, 2016 at 10:21 AM, Isuru Haththotuwa 
>>>> wrote:
>>>>
>>>>> Hi Sajith,
>>>>>
>>>>> On Sat, Jun 4, 2016 at 10:18 AM, Imesh Gunaratne 
>>>>> wrote:
>>>>>
>>>>>> Hi Sajith,
>>>>>>
>>>>>> On Sat, Jun 4, 2016 at 12:31 AM, Sajith Ravindra 
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Imesh,
>>>>>>>
>>>>>>> It seems we have still not added the capability to deploy CEP in
>>>>>>> storm based distributed mode using the puppet scripts in [1].
>>>>>>>
>>>>>>
>>>>>> ​Yes, currently Storm based distributed deployment automation for CEP
>>>>>> is not there in [1]. If CEP team can contribute to that, that would be
>>>>>> great!
>>>>>>
>>>>> Adding to what Imesh said, we currently only have two profiles defined
>>>>> for CEP, presenter+mgt and worker. Would need to improve as we go on.
>>>>>
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> Am i miss

Re: [Dev] [DAS] java.lang.NoSuchMethodError when trying to add Kafka Event Receiver

2016-06-05 Thread Sajith Ravindra
>
> +1. I think building a proper jar with the correct dependencies would be
> good since that way we can use the latest version of Kafka. WDYT?
>
> I think we need to do this and provide the jar as this effectively
prevents DAS from being used with newer versions of Kafka.

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 Mon, Jun 6, 2016 at 12:47 AM, Lasantha Fernando 
wrote:

>
> On 5 June 2016 at 23:52, Mohanadarshan Vivekanandalingam 
> wrote:
>
>>
>>
>> On Sun, Jun 5, 2016 at 11:33 PM, Sajith Ravindra 
>> wrote:
>>
>>> It seems Spark has a dependency on scala-library_2.10.4 and this jar is
>>> already included in DAS pack, therefore copying scala-library-2.11.7.jar
>>> as per the documentation will lead to a conflict. I tested deleting
>>> ./repository/components/plugins/org.scala-lang.scala-library_2.10.4.v20140209-180020-VFINAL-b66a39653b.jar
>>> in DAS pack and it fixes the above error. But it give a NoClassDefFound
>>> error in startup.
>>>
>>> AFAIU there's no straightforward way to workaround this issue as it
>>> requires to two different versions of the same .jar other than upgrading
>>> the Spark scla-library dependency.
>>>
>>
>> Yes, @Charith you have few options..
>>
>> 1) Build a single jar/bundle by wrapping necessary dependencies and use.
>>
>
> +1. I think building a proper jar with the correct dependencies would be
> good since that way we can use the latest version of Kafka. WDYT?
>
> Also, @Charitha, can you try putting the scala-library to dropins instead
> of lib. From looking at the jar, it already has an OSGi manifest file, so
> no need to OSGify it again. Did we try starting the server without putting
> the scala-library-2.11.7.jar at all? Anyway, since this is an OSGi binding
> issue, there might be some non-standard bundle combinations that can get it
> to work. But that wouldn't be a clean solution I think.
>
> Thanks,
> Lasantha
>
>
>> 2) Try with Kafka 2.10-0.8.1.1 server
>>
>>
>>>
>>> P.S : @Charith if this is for the sake of testing you can use CEP as it
>>> has not scala-libarary dependency.
>>>
>>
>>
>>
>> --
>> *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
>>
>>
>
>
> --
> *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


Re: [Dev] [DAS] java.lang.NoSuchMethodError when trying to add Kafka Event Receiver

2016-06-05 Thread Sajith Ravindra
It seems Spark has a dependency on scala-library_2.10.4 and this jar is
already included in DAS pack, therefore copying scala-library-2.11.7.jar as
per the documentation will lead to a conflict. I tested deleting
./repository/components/plugins/org.scala-lang.scala-library_2.10.4.v20140209-180020-VFINAL-b66a39653b.jar
in DAS pack and it fixes the above error. But it give a NoClassDefFound
error in startup.

AFAIU there's no straightforward way to workaround this issue as it
requires to two different versions of the same .jar other than upgrading
the Spark scla-library dependency.

P.S : @Charith if this is for the sake of testing you can use CEP as it has
not scala-libarary dependency.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we use puppet scripts in wso2/puppet-modules for CEP for a distributed deployment ?

2016-06-04 Thread Sajith Ravindra
Hi Imesh/Isuru,

I submitted the pull request[1] sometime back and it has implemented all 3
patterns of CEP (standalone, HA and distributed). Please let us know if we
can provide any further assistance on this. It would be great if we can get
the distributed deployment scripts also in wso2 repo because manually doing
the distributed deployments requires some effort compared to other two
patterns.


[1] -
https://github.com/wso2/puppet-modules/commit/85e652d086d5b48971b3425ec12562c13c9d4a9b

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, Jun 4, 2016 at 10:21 AM, Isuru Haththotuwa  wrote:

> Hi Sajith,
>
> On Sat, Jun 4, 2016 at 10:18 AM, Imesh Gunaratne  wrote:
>
>> Hi Sajith,
>>
>> On Sat, Jun 4, 2016 at 12:31 AM, Sajith Ravindra 
>> wrote:
>>
>>> Hi Imesh,
>>>
>>> It seems we have still not added the capability to deploy CEP in storm
>>> based distributed mode using the puppet scripts in [1].
>>>
>>
>> ​Yes, currently Storm based distributed deployment automation for CEP is
>> not there in [1]. If CEP team can contribute to that, that would be great!
>>
> Adding to what Imesh said, we currently only have two profiles defined for
> CEP, presenter+mgt and worker. Would need to improve as we go on.
>
>>
>> Thanks
>>
>> Am i missing something here? or are we still in the process of merging
>>> the changes? Is there anything that needs to be done from CEP team to get
>>> distributed deployment related changes merged to [1]?
>>>
>>>
>>> [1] - https://github.com/wso2/puppet-modules
>>>
>>> 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>
>>>
>>
>>
>>
>> --
>> *Imesh Gunaratne*
>> Software Architect
>> WSO2 Inc: http://wso2.com
>> T: +94 11 214 5345 M: +94 77 374 2057
>> W: https://medium.com/@imesh TW: @imesh
>> Lean . Enterprise . Middleware
>>
>>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Can we use puppet scripts in wso2/puppet-modules for CEP for a distributed deployment ?

2016-06-03 Thread Sajith Ravindra
Hi Imesh,

It seems we have still not added the capability to deploy CEP in storm
based distributed mode using the puppet scripts in [1]. Am i missing
something here? or are we still in the process of merging the changes? Is
there anything that needs to be done from CEP team to get distributed
deployment related changes merged to [1]?


[1] - https://github.com/wso2/puppet-modules

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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CEP does not accept requests after receiving a high rate of events for some time

2016-03-11 Thread Sajith Ravindra
>
> I think it's better to include some metrics in CEP to see how the CEP
> engine is behaving, especially some metrics related to Disruptor. Do we
> have such metrics in the latest CEP release?
>

Currently we don't have queue sizes as metrics in Siddhi, but we do have,
- throughput per stream
- per query latency
- per query memory consumption
as metrics in Siddhi.

I think as Mohan mentioned we can use those for identifying the hotspots.
But it's included only in CEP 4.1.0

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 Fri, Mar 11, 2016 at 7:39 AM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

> [Adding Dev and Removing Architecture]
>
> On Fri, Mar 11, 2016 at 8:08 PM, Mohanadarshan Vivekanandalingam <
> mo...@wso2.com> wrote:
>
>> Hi,
>>>
>>>
>> Hi Isuru,
>>
>> Please find my comments below..
>>
>>
>>
>>> This is regarding the analytics for US Election 2016 Tweets. The ESB
>>> uses Twitter Connector to find tweets with some specific hashtags and sends
>>> the tweets as events to CEP via HTTP. The CEP version is 4.0.0.
>>>
>>> The CEP receives the events via the Tomcat HTTP Connector (port 9763).
>>> As mentioned in $subject, the CEP fails to accept requests as there are no
>>> worker threads to handle the requests.
>>>
>>> I have attached a thread dump and I analyzed it using the ThreadLogic
>>> application [1]. All 250 HTTP worker threads (http-nio-9763-exec-*) are in
>>> "PARKING" state and following is a part of stack trace in each thread.
>>>
>>> "http-nio-9763-exec-102" #810 daemon prio=5 os_prio=0
>>> tid=0x7f7678010800 nid=0x710 waiting on condition [0x7f75da48f000]
>>>*java.lang.Thread.State: WAITING (parking)*
>>> at sun.misc.Unsafe.park(Native Method)
>>> - parking to wait for  <0x0005cc6bd6a8> (a
>>> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
>>> at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
>>> at
>>> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
>>> at
>>> java.util.concurrent.LinkedBlockingQueue.put(LinkedBlockingQueue.java:350)
>>>
>>>
>>>
>>>
>>> *at
>>> org.wso2.carbon.event.input.adapter.http.HTTPEventAdapter$1.rejectedExecution(HTTPEventAdapter.java:99)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:823)
>>> at
>>> java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1369)
>>> at
>>> java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
>>> at
>>> org.wso2.carbon.event.input.adapter.http.HTTPMessageServlet.doPost(HTTPMessageServlet.java:177)*
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> at
>>> org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
>>>
>>>
>>> The HTTPMessageServlet submits a HTTPRequestProcessor [2] to an
>>> executor service and the executor service rejects it as the worker queue is
>>> full. However in the RejectedExecutionHandler, the task is put back to
>>> same queue [3]. Here the thread gets parked while waiting for some
>>> condition. This is why the Tomcat HTTP connector can no longer process any
>>> requests.
>>>
>>>
>> Yes, above implementation is done purposefully.. We had a requirement
>> where we need to block the HTTP requests when there is no thread (or space
>> in the queue) rather dropping the events. That is why above HTTP adapter is
>> implemented in such way.. Because of above implementation, there will not
>> be an event loss at receiver level.
>>
>>
>>> Then I checked the thread pool used in [2] and found out that all 100
>>> threads (pool-75-thread-*) in that pool are also in "PARKING" state.
>>> Following is the stack trace.
>>>
>>>
>>> "pool-75-thread-100" #758 prio=5 os_prio=0 tid=0x7f7634017800
>>> nid=0x6ba runnable [0x7f75dd8c4000]
>>> *   java.lang.Thread.State: TIMED_W

Re: [Dev] WSO2 Committers += Grainier Perera

2016-02-03 Thread Sajith Ravindra
Congratulations Grainer.

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 Wed, Feb 3, 2016 at 4:17 AM, Sriskandarajah Suhothayan 
wrote:

> Hi All,
>
> It's my pleasure to announce Grainier Perera as a WSO2 Committer. Grainier
>  has been a valuable contributor for WSO2 CEP & Metrics Components and
> did a commendable worked on Virtual Hackathon & Forrester Demo, and in
> recognition of his contribution to WSO2, he has been voted as a WSO2
> Committer.
>
> Grainier, congratulations and keep up the good work!
>
> Thanks & Regards.
> Suho
>
> --
>
> *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


Re: [Dev] Handling time-consuming processes within Carbon Metrics Gauges

2016-01-20 Thread Sajith Ravindra
I think it will be a good idea to run several rounds of testing to see if
this memory calculation is CPU intensive. And If this is CPU intensive then
this might have an adverse affect the overall performance of CEP/Siddhi as
well when executing in a limited resource 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 Wed, Jan 20, 2016 at 9:59 PM, Grainier Perera  wrote:

> Hi suho,
>
> It does not have any impact on Siddhi's runtime performance. It just
> affects on metrics reporting, which runs separately.
>
> Thanks,
> Grainier.
>
> On Thu, Jan 21, 2016 at 10:09 AM, Sriskandarajah Suhothayan  > wrote:
>
>> You have not answered my Qn
>>
>> whats the impact on this when it comes to Siddhi's runtime performance ?
>>
>> Suho
>>
>> On Wednesday, January 20, 2016, Sajith Ravindra  wrote:
>>
>>> Hi Granier, Suho
>>>
>>> The memory calculation will be a time consuming issue since it has to
>>> traverse through the complete object tree. IMO, we should have the option
>>> of executing matrix calculation in a separate thread and report back to the
>>> caller with the result.
>>>
>>> I think it's a valid case to have matrices which consume time/resources
>>> to calculate. Therefore, it will be a good idea to make available the
>>> option of matrix calculation to be asynchronous and report back once done
>>> in carbon metrics library it self.
>>>
>>> WDYT?
>>>
>>> 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 Wed, Jan 20, 2016 at 10:32 AM, Sriskandarajah Suhothayan <
>>> s...@wso2.com> wrote:
>>>
>>>> I understand that Matrics reporting it getting slow.
>>>>
>>>> At the meantime whats the impact on this when it comes to Siddhi
>>>> performance ?
>>>> If Siddhi query is also getting halted for 3 sec, then this is going to
>>>> be a bigger problem.
>>>>
>>>> Suho
>>>>
>>>> On Wed, Jan 20, 2016 at 12:25 PM, Grainier Perera 
>>>> wrote:
>>>>
>>>>> Currently, the memory usage calculation mechanism used on a Siddhi
>>>>> query takes around 3 seconds. Therefore, when it comes to complex flow 
>>>>> with
>>>>> several of execution plans, it takes around (# of queries * 3) seconds.
>>>>> Moreover, we have integrated carbon-metrics [1] (Gauges in this scenario)
>>>>> with CEP for metrics calculation and reporting. Therefore, if we were to
>>>>> use the same mechanism within the getValue() method of carbon-metrics
>>>>> Gauges, it will increase the reporting time consumed by scheduled 
>>>>> reporters
>>>>> (per iteration) by ~(# of queries * 3) seconds. That might cause issues
>>>>> such as reporters does not report according to the defined PollingPeriod,
>>>>> takes a considerable amount of time to update and render Carbon Metrics 
>>>>> UI,
>>>>> etc. Therefore, is there a way to handle such time-consuming process 
>>>>> within
>>>>> Carbon Metrics Gauges?
>>>>>
>>>>> Gauge.getValue() Implementation:
>>>>>
>>>>> new Gauge() {
>>>>> @Override
>>>>> public Long getValue() {
>>>>> *// Below process takes ~3 seconds.*
>>>>> ObjectGraphMeasurer.Footprint footprint =
>>>>> ObjectGraphMeasurer.measure(object);
>>>>> return MemoryMeasurerUtil.footprintSizeEstimate(footprint);
>>>>> }
>>>>> });
>>>>>
>>>>> [1] https://github.com/wso2/carbon-metrics
>>>>>
>>>>> Thanks,
>>>>> Grainier.
>>>>> --
>>>>> Grainier Perera
>>>>> Software Engineer
>>>>> Mobile : +94716122384
>>>>> WSO2 Inc. | http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>
>>>>
>>>>
>>>> --
>

Re: [Dev] Handling time-consuming processes within Carbon Metrics Gauges

2016-01-20 Thread Sajith Ravindra
Hi Granier, Suho

The memory calculation will be a time consuming issue since it has to
traverse through the complete object tree. IMO, we should have the option
of executing matrix calculation in a separate thread and report back to the
caller with the result.

I think it's a valid case to have matrices which consume time/resources to
calculate. Therefore, it will be a good idea to make available the option
of matrix calculation to be asynchronous and report back once done in
carbon metrics library it self.

WDYT?

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 Wed, Jan 20, 2016 at 10:32 AM, Sriskandarajah Suhothayan 
wrote:

> I understand that Matrics reporting it getting slow.
>
> At the meantime whats the impact on this when it comes to Siddhi
> performance ?
> If Siddhi query is also getting halted for 3 sec, then this is going to be
> a bigger problem.
>
> Suho
>
> On Wed, Jan 20, 2016 at 12:25 PM, Grainier Perera 
> wrote:
>
>> Currently, the memory usage calculation mechanism used on a Siddhi query
>> takes around 3 seconds. Therefore, when it comes to complex flow with
>> several of execution plans, it takes around (# of queries * 3) seconds.
>> Moreover, we have integrated carbon-metrics [1] (Gauges in this scenario)
>> with CEP for metrics calculation and reporting. Therefore, if we were to
>> use the same mechanism within the getValue() method of carbon-metrics
>> Gauges, it will increase the reporting time consumed by scheduled reporters
>> (per iteration) by ~(# of queries * 3) seconds. That might cause issues
>> such as reporters does not report according to the defined PollingPeriod,
>> takes a considerable amount of time to update and render Carbon Metrics UI,
>> etc. Therefore, is there a way to handle such time-consuming process within
>> Carbon Metrics Gauges?
>>
>> Gauge.getValue() Implementation:
>>
>> new Gauge() {
>> @Override
>> public Long getValue() {
>> *// Below process takes ~3 seconds.*
>> ObjectGraphMeasurer.Footprint footprint =
>> ObjectGraphMeasurer.measure(object);
>> return MemoryMeasurerUtil.footprintSizeEstimate(footprint);
>> }
>> });
>>
>> [1] https://github.com/wso2/carbon-metrics
>>
>> Thanks,
>> Grainier.
>> --
>> Grainier Perera
>> Software Engineer
>> Mobile : +94716122384
>> WSO2 Inc. | http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
>
> *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


Re: [Dev] Exception while reading time format in CEP

2015-11-09 Thread Sajith Ravindra
Hi Yasara,

Apparently, there's a problem with your time stamp

Wed Aug 27 13:08:45   2008

it does not have the sign(+/-) in timezone. It should be corrected as
follows,

Wed Aug 27 13:08:45  + 2008

Please refer
http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
for the acceptable formats.

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 Mon, Nov 9, 2015 at 12:57 PM, Yasara Dissanayake  wrote:

> Hi,
> I'm try to match this date format "Wed Aug 27 13:08:45 + 2008" which
> is in twitter API  with "EEE MMM dd HH:mm:ss Z yyy" but it gives :
> , error in processing
> org.wso2.siddhi.core.query.processor.stream.window.LengthWindowProcessor,
> Provided format EEE MMM dd HH:mm:ss Z yyy does not match with the timestamp
> Wed Aug 27 13:08:45   2008Unparseable date: "Wed Aug 27 13:08:45  
> 2008" does not match
> (\QThu\E|\QThursday\E|\QSaturday\E|\QMonday\E|\QWed\E|\QSun\E|\QTuesday\E|\QSat\E|\QWednesday\E|\QFri\E|\QTue\E|\QMon\E|\QFriday\E|\QSunday\E)\Q
> \E(\QOctober\E|\QSep\E|\QFeb\E|\QMar\E|\QJune\E|\QOct\E|\QNov\E|\QMarch\E|\QAug\E|\QJanuary\E|\QApril\E|\QFebruary\E|\QAugust\E|\QApr\E|\QJuly\E|\QNovember\E|\QJan\E|\QMay\E|\QDec\E|\QJul\E|\QDecember\E|\QJun\E|\QSeptember\E)\Q
> \E(\p{Nd}++)\Q \E(\p{Nd}++)\Q:\E(\p{Nd}++)\Q:\E(\p{Nd}++)\Q
> \E(GMT[+\-]\d{0,1}\d{2}|[+\-]\d{2}:?\d{2}|\QACDT\E|\QAcre
> Time\E|\QACST\E|\QACT\E|\QACWST\E|\QADT\E|\QAEDT\E|\QAEST\E|\QAfghanistan
> Time\E|\QAFT\E|\QAKDT\E|\QAKST\E|\QAlaska Daylight Time\E|\QAlaska Standard
> Time\E|\QAlma-Ata Time\E|\QALMT\E|\QAmazon Summer Time\E|\QAmazon
> Time\E|\QAMST\E|\QAMT\E|\QAnadyr Time\E|\QANAT\E|\QAqtau Time\E|\QAqtobe
> Time\E|\QAQTT\E|\QArabia Standard Time\E|\QArgentine Time\E|\QArmenia
> Time\E|\QART\E|\QAST\E|\QAtlantic Daylight Time\E|\QAtlantic Standard
> Time\E|\QAustralian Central Daylight Time (South Australia)\E|\QAustralian
> Central Daylight Time (South Australia/New South Wales)\E|\QAustralian
> Central Standard Time (Northern Territory)\E|\QAustralian Central Standard
> Time (South Australia)\E|\QAustralian Central Standard Time (South
> Australia/New South Wales)\E|\QAustralian Central Western Standard
> Time\E|\QAustralian Eastern Daylight Time (New South Wales)\E|\QAustralian
> Eastern Daylight Time (Tasmania)\E|\QAustralian Eastern Daylight Time
> (Victoria)\E|\QAustralian Eastern Standard Time (New South
> Wales)\E|\QAustralian Eastern Standard Time (Queensland)\E|\QAustralian
> Eastern Standard Time (Tasmania)\E|\QAustralian Eastern Standard Time
> (Victoria)\E|\QAustralian Western Standard Time\E|\QAWST\E|\QAzerbaijan
> Summer Time\E|\QAzerbaijan Time\E|\QAzores Summer Time\E|\QAzores
> Time\E|\QAZOST\E|\QAZOT\E|\QAZST\E|\QAZT\E|\QBangladesh
> Time\E|\QBDT\E|\QBhutan Time\E|\QBNT\E|\QBolivia
> Time\E|\QBOT\E|\QBougainville Standard Time\E|\QBrasilia Summer
> Time\E|\QBrasilia Time\E|\QBritish Summer Time\E|\QBRST\E|\QBRT\E|\QBrunei
> Time\E|\QBST\E|\QBTT\E|\QCape Verde
> Time\E|\QCAT\E|\QCCT\E|\QCDT\E|\QCentral African Time\E|\QCentral Daylight
> Time\E|\QCentral European Summer Time\E|\QCentral European Time\E|\QCentral
> Indonesia Time\E|\QCentral Standard
> Time\E|\QCEST\E|\QCET\E|\QCHADT\E|\QChamorro Standard
> Time\E|\QCHAST\E|\QChatham Daylight Time\E|\QChatham Standard
> Time\E|\QChile Time\E|\QChina Standard Time\E|\QChoibalsan Summer
> Time\E|\QChoibalsan Time\E|\QCHOST\E|\QCHOT\E|\QChristmas Island
> Time\E|\QChST\E|\QCHUT\E|\QChuuk Time\E|\QCKT\E|\QCLT\E|\QCocos Islands
> Time\E|\QColombia Time\E|\QCook Is. Time\E|\QCoordinated Universal
> Time\E|\QCOT\E|\QCST\E|\QCuba Daylight Time\E|\QCuba Standard
> Time\E|\QCVT\E|\QCXT\E|\QDavis Time\E|\QDAVT\E|\QDDUT\E|\QDumont-d'Urville
> Time\E|\QEAST\E|\QEast Indonesia Time\E|\QEaster Is. Time\E|\QEastern
> African Time\E|\QEastern Daylight Time\E|\QEastern European Summer
> Time\E|\QEastern European Time\E|\QEastern Greenland Summer
> Time\E|\QEastern Greenland Time\E|\QEastern Standard
> Time\E|\QEAT\E|\QECT\E|\QEcuador
> Time\E|\QEDT\E|\QEEST\E|\QEET\E|\QEGST\E|\QEGT\E|\QEST\E|\QFalkland Is.
> Time\E|\QFernando de Noronha Time\E|\QFiji Summer Time\E|\QFiji
> Time\E|\QFJST\E|\QFJT\E|\QFKT\E|\QFNT\E|\QFrench Guiana Time\E|\QFrench
> Southern & Antarctic Lands Time\E|\QGalapagos Time\E|\QGALT\E|\QGambier
> Time\E|\QGAMT\E|\QGeorgia Time\E|\QGET\E|\QGFT\E|\QGhana Mean
> Time\E|\QGilbert Is. Time\E|\QGILT\E|\QGMT\E|\QGreenwich Mean
> Time\E|\QGST\E|\QGulf Standard Time\E|\QGuyana Time\E|\QGYT\E|\QHawaii
> Daylight Time\E|\QHawaii Standard Time\E|\QHDT\E|\QHKT\E|\QHong Kong
> Time\E|\QHovd Summer Time\E|\QHovd
> Tim

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

2015-09-22 Thread Sajith Ravindra
+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


Re: [Dev] HA cluster exception

2015-09-10 Thread Sajith Ravindra
Faced a similar issue with H2. As a work around used the absolute path to
the H2 db instead of the relative path.

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 Thu, Sep 10, 2015 at 6:09 PM, Aruna Karunarathna  wrote:

>
>
> On Thu, Sep 10, 2015 at 6:01 PM, Supun Malinga  wrote:
>
>> Do you have the server in both nodes in similar paths ?
>>
>
>  [Adding Chandana]
>
> Yeah, similar issue was observed recently, as a workaround put products in
> different folder paths.
>
>>
>> On Thu, Sep 10, 2015 at 5:58 PM, Maninda Edirisooriya 
>> wrote:
>>
>>> Hi,
>>>
>>> In the DAS HA clustering with 2 nodes we do not mount registries but use
>>> Hazelcast clustering.
>>> There, when we start the second server with Spark clustering enabled I
>>> got the following error only in the second node.
>>>
>>>
>>> TID: [-1234] [] [2015-09-10 11:17:06,740] ERROR
>>> {org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO} -  Failed to add
>>> resource to path
>>> /_system/governance/repository/components/org.wso2.carbon.all-themes/Default.
>>> Referential integrity constraint violation: "REG_RESOURCE_FK_BY_PATH_ID:
>>> PUBLIC.REG_RESOURCE FOREIGN KEY(REG_PATH_ID, REG_TENANT_ID) REFERENCES
>>> PUBLIC.REG_PATH(REG_PATH_ID, REG_TENANT_ID)"; SQL statement:
>>> INSERT INTO REG_RESOURCE (REG_PATH_ID, REG_NAME, REG_MEDIA_TYPE,
>>> REG_CREATOR, REG_CREATED_TIME, REG_LAST_UPDATOR, REG_LAST_UPDATED_TIME,
>>> REG_DESCRIPTION, REG_TENANT_ID, REG_UUID) VALUES (?, ?, ?, ?, ?, ?, ?, ?,
>>> ?, ?) [23002-140] {org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO}
>>> org.h2.jdbc.JdbcSQLException: Referential integrity constraint
>>> violation: "REG_RESOURCE_FK_BY_PATH_ID: PUBLIC.REG_RESOURCE FOREIGN
>>> KEY(REG_PATH_ID, REG_TENANT_ID) REFERENCES PUBLIC.REG_PATH(REG_PATH_ID,
>>> REG_TENANT_ID)"; SQL statement:
>>> INSERT INTO REG_RESOURCE (REG_PATH_ID, REG_NAME, REG_MEDIA_TYPE,
>>> REG_CREATOR, REG_CREATED_TIME, REG_LAST_UPDATOR, REG_LAST_UPDATED_TIME,
>>> REG_DESCRIPTION, REG_TENANT_ID, REG_UUID) VALUES (?, ?, ?, ?, ?, ?, ?, ?,
>>> ?, ?) [23002-140]
>>> at
>>> org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
>>> at org.h2.message.DbException.get(DbException.java:167)
>>> at org.h2.message.DbException.get(DbException.java:144)
>>> at
>>> org.h2.constraint.ConstraintReferential.checkRowOwnTable(ConstraintReferential.java:329)
>>> at
>>> org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:271)
>>> at org.h2.table.Table.fireConstraints(Table.java:801)
>>> at org.h2.table.Table.fireAfterRow(Table.java:818)
>>> at org.h2.command.dml.Insert.insertRows(Insert.java:122)
>>> at org.h2.command.dml.Insert.update(Insert.java:82)
>>> at
>>> org.h2.command.CommandContainer.update(CommandContainer.java:70)
>>> at org.h2.command.Command.executeUpdate(Command.java:199)
>>> at
>>> org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:141)
>>> at
>>> org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:127)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.addResourceWithoutContentId(JDBCResourceDAO.java:1385)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.add(JDBCResourceDAO.java:448)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.Repository.add(Repository.java:1059)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.Repository.put(Repository.java:305)
>>> at
>>> org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.put(EmbeddedRegistry.java:709)
>>> at
>>> org.wso2.carbon.registry.core.caching.CacheBackedRegistry.put(CacheBackedRegistry.java:508)
>>> at
>>> org.wso2.carbon.registry.core.session.UserRegistry.putInternal(UserRegistry.java:824)
>>> at
>>> org.wso2.carbon.registry.core.session.UserRegistry.access$1000(UserRegistry.java:60)
>>> at
>>> org.wso2.carbon.registry.core.session.UserRegistry$11.run(UserRegistry.java:800)
>>> at
>>> org.wso2.carbon.registry.core.session.UserRegistry$11.run(UserRegistry.jav

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Sajith Ravindra
Apparently the port 8905 <http://192.168.48.128:8905> is already in use by
another process. Please check if there's another process listening on port
8905.

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 Wed, Sep 9, 2015 at 11:25 AM, Shavantha Weerasinghe 
wrote:

> Hi Sajith
>
> Please find the ifconfi output / the log that prints when cep
> node(worker/manager) starts and the part of event-processor.xml
>
> ubuntu@cep400-manager:~/CEPManager/manager2/0909/wso2cep-4.0.0-SNAPSHOT/bin$
> ifconfig
> eth0  Link encap:Ethernet  HWaddr fa:16:3e:fa:46:c5
>   inet addr:*192.168.48.128*  Bcast:192.168.51.255
> Mask:255.255.252.0
>   inet6 addr: fe80::f816:3eff:fefa:46c5/64 Scope:Link
>   UP BROADCAST RUNNING MULTICAST  MTU:1400  Metric:1
>   RX packets:14809242 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:11873335 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:7844994028 (7.8 GB)  TX bytes:8460851470 (8.4 GB)
>
> loLink encap:Local Loopback
>   inet addr:127.0.0.1  Mask:255.0.0.0
>   inet6 addr: ::1/128 Scope:Host
>   UP LOOPBACK RUNNING  MTU:65536  Metric:1
>   RX packets:1871259 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:1871259 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:0
>   RX bytes:504834528 (504.8 MB)  TX bytes:504834528 (504.8 MB)
>
> [1]+  Donenohup sh wso2server.sh -DworkerNode=true
>
>
>
>
>
>
>
> log output
> ubuntu@cep400-manager:~/CEPManager/manager2/0909/wso2cep-4.0.0-SNAPSHOT/bin$
> tail -500f nohup.out
> JAVA_HOME environment variable is set to
> /home/ubuntu/CEPManager/packs/jdk1.8.0_60
> CARBON_HOME environment variable is set to
> /home/ubuntu/CEPManager/manager2/0909/wso2cep-4.0.0-SNAPSHOT
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
> MaxPermSize=256m; support was removed in 8.0
> [2015-09-09 05:14:52,605]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Starting WSO2
> Carbon...
> [2015-09-09 05:14:52,607]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Operating System :
> Linux 3.13.0-36-generic, amd64
> [2015-09-09 05:14:52,607]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Home:
> /home/ubuntu/CEPManager/packs/jdk1.8.0_60/jre
> [2015-09-09 05:14:52,607]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Version :
> 1.8.0_60
> [2015-09-09 05:14:52,608]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java VM  :
> Java HotSpot(TM) 64-Bit Server VM 25.60-b23,Oracle Corporation
> [2015-09-09 05:14:52,608]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Carbon Home  :
> /home/ubuntu/CEPManager/manager2/0909/wso2cep-4.0.0-SNAPSHOT
> [2015-09-09 05:14:52,608]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Temp Dir:
> /home/ubuntu/CEPManager/manager2/0909/wso2cep-4.0.0-SNAPSHOT/tmp
> [2015-09-09 05:14:52,609]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  User :
> ubuntu, en-US, Etc/UTC
> [2015-09-09 05:14:52,710]  WARN
> {org.wso2.carbon.core.bootup.validator.SystemValidator} -  Could not
> validate the system for configuration parameter : CPU
> [2015-09-09 05:14:52,729]  WARN
> {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} -
> Swap Memory size (MB): 0 of the system is below the recommended minimum
> size :2047
> [2015-09-09 05:14:52,729]  WARN
> {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} -
> Carbon is configured to use the default keystore (wso2carbon.jks). To
> maximize security when deploying to a production environment, configure a
> new keystore with a unique password in the production server profile.
> [2015-09-09 05:14:52,989]  INFO
> {org.wso2.carbon.event.output.adapter.kafka.internal.ds.KafkaEventAdapterServiceDS}
> -  Successfully deployed the Kafka output event adaptor service
> [2015-09-09 05:14:53,032]  INFO
> {org.wso2.carbon.event.processor.manager.core.internal.util.ManagementModeConfigurationLoader}
> -  CEP started in Distributed mode
> [2015-09-09 05:14:56,060]  INFO
> {org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver} -
> Started Binary SSL Transport on port : 9712
> [2015-09-09 05:14:56,181]  INFO
> {org.wso2.carbon.databridge.receiver.binary.internal.BinaryDataReceiver} -
> Started Binary TCP Transport on port : 9612
> [2015-09-09

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Sajith Ravindra
Can you please send the full stacktrace. And also the output of ifconfig.

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 Wed, Sep 9, 2015 at 11:08 AM, Shavantha Weerasinghe 
wrote:

> Hi Sajith
>
> Yes it is 192.168.48.128 on that node
>
> 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
>
>
> On Wed, Sep 9, 2015 at 11:05 AM, Sajith Ravindra  wrote:
>
>> Hi Shavantha,
>>
>> Can you please check and confirm that *192.168.48.128 *is the IP address
>> of the host which you are trying to start the manager service. You can use
>> ifconfig for it.
>>
>> 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 Wed, Sep 9, 2015 at 11:00 AM, Sriskandarajah Suhothayan > > wrote:
>>
>>> Can you look into this
>>>
>>> Suho
>>>
>>> On Wed, Sep 9, 2015 at 10:59 AM, Shavantha Weerasinghe <
>>> shavan...@wso2.com> wrote:
>>>
>>>> Hi Suho/Lasantha
>>>>
>>>> We observed the bellow exception when we set the hostName as
>>>> *192.168.48.128* but the exception does not come if we set localhost.
>>>> This is on the node that behaves as both manager and worker on 
>>>> *192.168.48.128.
>>>> *Do we need to set the /etc/hosts if we are to use the IP
>>>>
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 192.168.48.128*
>>>> 8904
>>>> 
>>>> 
>>>> localhost
>>>> 11000
>>>> 
>>>> 
>>>>
>>>> 
>>>> 
>>>> 
>>>> 192.168.48.128
>>>> 8904
>>>> 
>>>> 
>>>> 192.168.48.128
>>>> 8905
>>>> 
>>>> 
>>>>
>>>>
>>>> [2015-09-09 05:14:57,550] ERROR
>>>> {org.wso2.carbon.event.processor.core.internal.storm.manager.StormManagerServer}
>>>> -  Cannot start Storm Manager Server on 192.168.48.128:8905
>>>> org.apache.thrift.transport.TTransportException: Could not create
>>>> ServerSocket on address /192.168.48.128:8905.
>>>> at
>>>> org.apache.thrift.transport.TServerSocket.(TServerSocket.java:93)
>>>> at
>>>> org.apache.thrift.transport.TServerSocket.(TServerSocket.java:79)
>>>> at
>>>> org.wso2.carbon.event.processor.core.internal.storm.manager.StormManagerServer.(StormManagerServer.java:41)
>>>> at
>>>> org.wso2.carbon.event.processor.core.internal.ds.EventProcessorServiceDS.activate(EventProcessorServiceDS.java:87)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>> at
>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>>> at
>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>>
>>>>
>>>> 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
>>>>
>>>>
>>>> On Tue, Sep 8, 2015 at 10:16 AM, Sriskandarajah Suhothayan <
>>>> s...@wso2.com> wrote:
>>>>
>>>>> We are not supporting this for this release, we might support his in
>>>>> future using SSO, but not for this release.
>>>>>
>>>>> Suho
>>>>>
>>>>> On Tue, Sep 8, 2015 at 9:45 AM, Tharik Kanaka  wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>

Re: [Dev] Clarifications on CEP

2015-09-08 Thread Sajith Ravindra
Hi Shavantha,

Can you please check and confirm that *192.168.48.128 *is the IP address of
the host which you are trying to start the manager service. You can use
ifconfig for it.

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 Wed, Sep 9, 2015 at 11:00 AM, Sriskandarajah Suhothayan 
wrote:

> Can you look into this
>
> Suho
>
> On Wed, Sep 9, 2015 at 10:59 AM, Shavantha Weerasinghe  > wrote:
>
>> Hi Suho/Lasantha
>>
>> We observed the bellow exception when we set the hostName as
>> *192.168.48.128* but the exception does not come if we set localhost.
>> This is on the node that behaves as both manager and worker on 
>> *192.168.48.128.
>> *Do we need to set the /etc/hosts if we are to use the IP
>>
>> 
>> 
>> 
>> 
>> 192.168.48.128*
>> 8904
>> 
>> 
>> localhost
>> 11000
>> 
>> 
>>
>> 
>> 
>> 
>> 192.168.48.128
>> 8904
>> 
>> 
>> 192.168.48.128
>> 8905
>> 
>> 
>>
>>
>> [2015-09-09 05:14:57,550] ERROR
>> {org.wso2.carbon.event.processor.core.internal.storm.manager.StormManagerServer}
>> -  Cannot start Storm Manager Server on 192.168.48.128:8905
>> org.apache.thrift.transport.TTransportException: Could not create
>> ServerSocket on address /192.168.48.128:8905.
>> at
>> org.apache.thrift.transport.TServerSocket.(TServerSocket.java:93)
>> at
>> org.apache.thrift.transport.TServerSocket.(TServerSocket.java:79)
>> at
>> org.wso2.carbon.event.processor.core.internal.storm.manager.StormManagerServer.(StormManagerServer.java:41)
>> at
>> org.wso2.carbon.event.processor.core.internal.ds.EventProcessorServiceDS.activate(EventProcessorServiceDS.java:87)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>
>>
>> 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
>>
>>
>> On Tue, Sep 8, 2015 at 10:16 AM, Sriskandarajah Suhothayan > > wrote:
>>
>>> We are not supporting this for this release, we might support his in
>>> future using SSO, but not for this release.
>>>
>>> Suho
>>>
>>> On Tue, Sep 8, 2015 at 9:45 AM, Tharik Kanaka  wrote:
>>>
>>>> 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 <
>>>>> shavan...@wso2.com> 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
>>

Re: [Dev] Issues in setting up distributed mode deployment for CEP

2015-08-25 Thread Sajith Ravindra
To add to Lasantha's comment on point 2

2) After starting the STORM cluster, CEP managers and CEP worker node, We
couldn't see anything on the STORM UI under topology. Does that mean
cluster is not setup correctly?

You can verify if the cluster has setup correctly by logging in to storm
UI. You should be able to see the information of nimbus and all supervisors
listed. And also please verify that the IP address of nimbus has been added
to repository/conf/cep/storm/storm.yaml of CEP manager node.

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 Tue, Aug 25, 2015 at 8:45 PM, Lasantha Fernando 
wrote:

> Hi Suho,
>
> Sure. Will do.
>
> @Sashika, can you share the event-processor.xml and the axis2.xml files of
> your configuration?
>
> Also please find my comments inline regarding the queries raised above.
>
>
>
> On 25 August 2015 at 19:34, Sriskandarajah Suhothayan 
> wrote:
>
>> Lasantha & Sajith please look into it, looks like there is a config
>> issue.
>>
>> And also add this info the to docs so it will not be miss leading.
>>
>> Suho
>>
>> On Tue, Aug 25, 2015 at 8:55 AM, Sashika Wijesinghe 
>> wrote:
>>
>>> Hi All,
>>>
>>> We have set up the distributed mode deployment for CEP using two CEP
>>> managers and one CEP worker. but still we have some issues to get clarified.
>>>
>>> 1) When the worker node is started, we couldn't find any record in
>>> manager logs whether the worker connected to CEP Manager or not. How to
>>> verify whether worker is successfully connected with the storm and CEP
>>> managers?
>>>
>>
> You should be able to go to the execution plan listing page where a
> 'Distributed Deployment Status' is shown which will give you an idea about
> the status of the Storm topology as well as the inflow/outflow connections.
> The CEP workers will simply talk to the CEP managers to get information
> about Storm receiver spouts within the topology. Then the workers
> themselves will establish the connections. You should see logs similar to
> below when worker connects to Storm.
>
> [2015-08-25 20:38:58,221]  INFO
> {org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener}
> -  [-1234:ExecutionPlan:CEPPublisher] Initializing storm output event
> listener
> [2015-08-25 20:38:58,266]  INFO
> {org.wso2.carbon.event.processor.manager.commons.transport.server.TCPEventServer}
> -  EventServer starting event listener on port 15001
> [2015-08-25 20:38:58,270]  INFO
> {org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener}
> -  [-1234:ExecutionPlan:CEPPublisher] Registering output stream listener
> for Siddhi stream : highCountStream
> [2015-08-25 20:38:58,275]  INFO
> {org.wso2.carbon.event.stream.core.internal.EventJunction} -  Producer
> added to the junction. Stream:highCountStream:1.0.0
> [2015-08-25 20:38:58,271]  INFO
> {org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener}
> -  [-1234:ExecutionPlan:CEPPublisher] Registering CEP publisher for
> 10.100.0.75:15001
> [2015-08-25 20:38:58,299]  INFO
> {org.wso2.carbon.event.processor.common.util.AsyncEventPublisher} -
>  [-1234:ExecutionPlan:CEPReceiver] Requesting a StormReceiver for
> 10.100.0.75
> [2015-08-25 20:38:58,301]  INFO
> {org.wso2.carbon.event.stream.core.internal.EventJunction} -  Consumer
> added to the junction. Stream:org.wso2.test.stream:1.0.0
> [2015-08-25 20:38:58,314]  INFO
> {org.wso2.carbon.event.processor.core.EventProcessorDeployer} -  Execution
> plan is deployed successfully and in active state  : ExecutionPlan
> [2015-08-25 20:38:58,352]  INFO
> {org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener}
> -  [-1234:ExecutionPlan:CEPPublisher] Successfully registered CEP publisher
> for 10.100.0.75:15001
> [2015-08-25 20:38:58,352]  INFO
> {org.wso2.carbon.event.processor.common.util.AsyncEventPublisher} -
>  [-1234:ExecutionPlan:CEPReceiver] Retrieved StormReceiver at
> 10.100.0.75:15000 from storm manager service at 10.100.0.75:8904
> [2015-08-25 20:38:58,377]  INFO
> {org.wso2.carbon.event.processor.manager.commons.transport.client.TCPEventPublisher}
> -  Connecting to 10.100.0.75:15000
> [2015-08-25 20:38:58,384]  INFO
> {org.wso2.carbon.event.processor.common.util.AsyncEventPublisher} -
>  [-1234:ExecutionPlan:CEPReceiver] Connected to StormReceiver at
> 10.100.0.75:15000 for the Stream(s) testStream,
>
>
>
>>
>>> 2) After starting 

[Dev] Don't we use db scripts in dbscripts/identity anymore?

2015-08-21 Thread Sajith Ravindra
Hi,

With the latest build[1] of CEP we observed that dbscripts/identity
directory is not created. Don't we use db scripts in dbscripts/identity
directory anymore?

[1] -
https://wso2.org/jenkins/view/product-builds/job/product-cep/lastSuccessfulBuild/org.wso2.cep$wso2cep/

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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] CEP 400 (Beta) NotStormManagerException

2015-07-27 Thread Sajith Ravindra
Hi Imesh,

We select coordinator among managers.

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 Mon, Jul 27, 2015 at 4:37 PM, Imesh Gunaratne  wrote:

> Hi Suho,
>
> Do we select a coordinator within the manager nodes or is it just the
> client that decides which manager to talk to?
>
> Thanks
>
> On Mon, Jul 27, 2015 at 2:45 PM, Sriskandarajah Suhothayan 
> wrote:
>
>> CEP Managers are must for Strom based coordination, so use the CEP
>> Managers to be the carbon cluster as well-known members, else it does not
>> make sense for CEP deployment. We have also done the testing like that.
>>
>> Regards
>> Suho
>>
>> On Mon, Jul 27, 2015 at 2:16 PM, Lakmal Warusawithana 
>> wrote:
>>
>>>
>>>
>>> On Mon, Jul 27, 2015 at 2:15 PM, Lakmal Warusawithana 
>>> wrote:
>>>
>>>> +1 Azeez
>>>>
>>>
>>> [I mean adding Azeez into the loop]
>>>
>>>
>>>>
>>>> On Mon, Jul 27, 2015 at 2:07 PM, Lasindu Charith 
>>>> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> We are having a clustered deployment of CEP 400 Beta in Stratos
>>>>> 4.1.0(in Kubernetes), similar to following. Instead of using hazelcast
>>>>> clustering, I'm using 'Stratos Membership scheme' [1] which considers all
>>>>> the members in the carbon cluster as well-known members. I have done CEP
>>>>> Distributed deployment according to [3][4].
>>>>>
>>>>> [image: Inline image 1]
>>>>>
>>>>> When CEP workers start up, I can see the following log [2] in worker
>>>>> nodes. 10.244.28.23/24 are manager IPs. When the CEP managers are
>>>>> restarted, the error goes away(Workers can connect to CEP Manager).
>>>>> According to above membership scheme, any of the CEP workers/managers
>>>>> can be the hazelcast coordinator. *Does CEP requires a member who is
>>>>> both CEP manager as well as a hazelcast coordinator to be elected as the
>>>>> Storm manager? *
>>>>> Should CEP workers be always non-wka? How can we overcome this issue?
>>>>>
>>>>> [1] [Architecture] Stratos Membership Scheme for Automatically
>>>>> Discovering Carbon Instances in a Carbon Cluster
>>>>>
>>>>> [2]
>>>>> TID: [-1] [] [2015-07-27 04:51:11,885] ERROR
>>>>> {org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener}
>>>>> -  [-1234:ExecutionPlan:CEP Publisher] Error registering CEP publisher 
>>>>> with
>>>>> current manager. Retrying after 5000ms
>>>>> TID: [-1] [] [2015-07-27 04:51:16,887] ERROR
>>>>> {org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener}
>>>>> -  [-1234:ExecutionPlan:CEP Publisher] Error in registering CEP publisher
>>>>> for 10.244.28.24:15000 with manager 10.244.28.23:8904. Trying next
>>>>> manager
>>>>> NotStormManagerException(message:10.244.28.23:8904 not a storm
>>>>> manager)
>>>>> at
>>>>> org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$registerCEPPublisher_result.read(StormManagerService.java:2116)
>>>>> at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
>>>>> at
>>>>> org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$Client.recv_registerCEPPublisher(StormManagerService.java:120)
>>>>> at
>>>>> org.wso2.carbon.event.processor.common.storm.manager.service.StormManagerService$Client.registerCEPPublisher(StormManagerService.java:104)
>>>>> at
>>>>> org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener$Registrar.registerCEPPublisherWithStormMangerService(SiddhiStormOutputEventListener.java:181)
>>>>> at
>>>>> org.wso2.carbon.event.processor.core.internal.storm.SiddhiStormOutputEventListener$Registrar.run(SiddhiStormOutputEventListener.java:128)
>>>>> at
>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>> at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja

Re: [Dev] What should be the 3rd parameter of login in AuthenticationAdminStub?

2015-05-26 Thread Sajith Ravindra
Thanks for the explanation. I think it's better to correct the same for
documentation for IS 5.0 documentation as well if it's same for the IS 5.0
as well.

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 Tue, May 26, 2015 at 3:29 PM, Pushpalanka Jayawardhana 
wrote:

> Hi Sajith,
>
> It should be either hostname/ip-address or OK to send in value null so
> that internally it gets the originated IP address from message context.
> Updated the linked doc with 'null' value passed in. This will work.
>
> Thanks,
> Pushpalanka.
> --
> Pushpalanka Jayawardhana, B.Sc.Eng.(Hons).
> Software Engineer, WSO2 Lanka (pvt) Ltd;  wso2.com/
> Mobile: +94779716248
> Blog: pushpalankajaya.blogspot.com/ | LinkedIn:
> lk.linkedin.com/in/pushpalanka/ | Twitter: @pushpalanka
>
>
> On Tue, May 26, 2015 at 1:36 PM, Sajith Ravindra  wrote:
>
>> Hi IS Team,
>>
>> I was referring [1] and when going through the code sample provided I
>> noticed that the 3rd parameter passed to the login of
>> AuthenticationAdminStub is not hostname/ip-address of the client.
>>
>> authstub.login("admin", "admin", APP_ID)
>>
>> Is this correct? If it's not hostname/ip-address what should be it?
>>
>> Please advice.
>>
>> [1] -
>> https://docs.wso2.com/display/IS510/Managing+Users+and+Roles+with+APIs
>>
>> 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>
>>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] What should be the 3rd parameter of login in AuthenticationAdminStub?

2015-05-26 Thread Sajith Ravindra
Hi IS Team,

I was referring [1] and when going through the code sample provided I
noticed that the 3rd parameter passed to the login of
AuthenticationAdminStub is not hostname/ip-address of the client.

authstub.login("admin", "admin", APP_ID)

Is this correct? If it's not hostname/ip-address what should be it?

Please advice.

[1] - https://docs.wso2.com/display/IS510/Managing+Users+and+Roles+with+APIs

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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Documenting Siddhi Extensions

2015-04-30 Thread Sajith Ravindra
+1 looks comprehensive.

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 Thu, Apr 30, 2015 at 2:48 PM, Lasantha Fernando 
wrote:

> +1 from me. Looks readable and concise, and we seem to have covered for
> most requirements as well with optional fields as well.
>
> On 30 April 2015 at 13:04, Sriskandarajah Suhothayan 
> wrote:
>
>>
>> On Wed, Apr 29, 2015 at 11:52 PM, Tishan Dahanayakage 
>> wrote:
>>
>>> What about adding sample query segment showing usage of extension. Or
>>> point to another page which describe 'Working with Siddhi Extensions'
>>>
>> We can use the Examples section for that
>>
>> So how about the following model
>>
>> *abs*(a **)
>>
>>-
>>
>>Extension Type: Function
>>- Description: Returns the absolute value of 'a'
>>- Parameter a: (optional)
>>- Return Type(s): double
>>- Example: (optional) The absolute value of 3 is 3, and the absolute
>>value of −3 is also 3
>>
>>
>> We can use the following model and if the Parameter is very complex we
>> will use is separately and if example make sense we can use that too,
>>
>> WDYT
>>
>> Suho
>>
>>> .
>>>
>>> Thanks,
>>> Tishan
>>>
>>> On Wed, Apr 29, 2015 at 10:26 AM, Sriskandarajah Suhothayan <
>>> s...@wso2.com> wrote:
>>>
>>>>
>>>>
>>>> On Wed, Apr 29, 2015 at 9:28 PM, Dilini Muthumala 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>> I like the format. Would like to suggest an improvement, marked in
>>>>> blue:
>>>>> Math
>>>>>
>>>>> abs(a double/int/float/long)
>>>>>
>>>>>- Extension Type: Function
>>>>>- Description: Returns the absolute value of 'a'.
>>>>>- Return Type(s): double
>>>>>- Example: abs(3) returns 3, and abs(−3) also returns 3.
>>>>>
>>>>>
>>>>> +1 for  Description and Example
>>>>
>>>>> Example field could be optional.
>>>>>
>>>>> Thanks,
>>>>> Dilini
>>>>>
>>>>> On Wed, Apr 29, 2015 at 9:18 AM, Sriskandarajah Suhothayan <
>>>>> s...@wso2.com> wrote:
>>>>>
>>>>>> Hi all
>>>>>>
>>>>>> Recently we have implemented several Siddhi extensions and we thought
>>>>>> of documenting them as here[1]
>>>>>>
>>>>>> Please provide you feedback on the format.
>>>>>>
>>>>>> If we need to change the format we have to change it fast else after
>>>>>> adding all the functions it will be very hard to change the format.
>>>>>>
>>>>>> Regards
>>>>>> Suho
>>>>>>
>>>>>> [1]https://docs.wso2.com/display/CEP400/Siddhi+Extentisions
>>>>>> --
>>>>>>
>>>>>> *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>*
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Dilini Muthumala*
>>>>> Software Engineer,
>>>>> WSO2 Inc.
>>>>>
>>>>> *E-mail :* dil...@wso2.com
>>>>> *Mobile: *+94 713-400-029
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *S. Suhothayan*
>>>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>>>  *WSO2 Inc. *http://wso2.com
>>&g

Re: [Dev] Documenting Siddhi Extensions

2015-04-29 Thread Sajith Ravindra
Shouldn't we describe the parameters. For an example what are the possible
values the range, what are invalid parameters(may be with an explination).
I think it will be usefull for complex extesions.
 On 29 Apr 2015 23:59, "Dilini Muthumala"  wrote:

> Hi,
> I like the format. Would like to suggest an improvement, marked in blue:
> Math
>
> abs(a double/int/float/long)
>
>- Extension Type: Function
>- Description: Returns the absolute value of 'a'.
>- Return Type(s): double
>- Example: abs(3) returns 3, and abs(−3) also returns 3.
>
>
> Example field could be optional.
>
> Thanks,
> Dilini
>
> On Wed, Apr 29, 2015 at 9:18 AM, Sriskandarajah Suhothayan 
> wrote:
>
>> Hi all
>>
>> Recently we have implemented several Siddhi extensions and we thought of
>> documenting them as here[1]
>>
>> Please provide you feedback on the format.
>>
>> If we need to change the format we have to change it fast else after
>> adding all the functions it will be very hard to change the format.
>>
>> Regards
>> Suho
>>
>> [1]https://docs.wso2.com/display/CEP400/Siddhi+Extentisions
>> --
>>
>> *S. Suhothayan*
>> Technical Lead & Team Lead of WSO2 Complex Event Processor
>>  *WSO2 Inc. *http://wso2.com
>> * *
>> lean . enterprise . middleware
>>
>>
>> *cell: (+94) 779 756 757 <%28%2B94%29%20779%20756%20757> | blog:
>> http://suhothayan.blogspot.com/ twitter:
>> http://twitter.com/suhothayan  | linked-in:
>> http://lk.linkedin.com/in/suhothayan *
>>
>
>
>
> --
> *Dilini Muthumala*
> 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


[Dev] Error while trying to install DSS feature 3.2.1 to ESB 4.8.1

2015-02-18 Thread Sajith Ravindra
Hi all,

Following error is shown when trying to do the $subjuect from
http://dist.wso2.org/p2/carbon/releases/turing/.

Your original install request has been modified.
org.wso2.carbon.ndatasource.feature.group-4.2.0 is already installed, so an
update will be performed instead.
org.wso2.carbon.ndatasource.ui.feature.group-4.2.0 is already installed, so
an update will be performed instead. Cannot complete the install because of
a conflicting dependency. Software being installed: Data Service Hosting
Feature 4.2.4 (org.wso2.carbon.dataservices.feature.group 4.2.4) Software
being installed: WSO2 Carbon - New Datasource Management UI Feature 4.2.2
(org.wso2.carbon.ndatasource.ui.feature.group 4.2.2) Only one of the
following can be installed at once: WSO2 Carbon - New Datasource Management
UI Feature 4.2.3 (org.wso2.carbon.ndatasource.ui.feature.jar 4.2.3) WSO2
Carbon - New Datasource Management UI Feature 4.2.2
(org.wso2.carbon.ndatasource.ui.feature.jar 4.2.2) Cannot satisfy
dependency: From: Data Service Hosting Feature 4.2.4
(org.wso2.carbon.dataservices.feature.group 4.2.4) To:
org.wso2.carbon.dataservices.ui.feature.group [4.2.4] Cannot satisfy
dependency: From: Data Service Hosting UI Feature 4.2.4
(org.wso2.carbon.dataservices.ui.feature.group 4.2.4) To:
org.wso2.carbon.ndatasource.ui.feature.group [4.2.3,4.3.0) Cannot satisfy
dependency: From: WSO2 Carbon - New Datasource Management UI Feature 4.2.2
(org.wso2.carbon.ndatasource.ui.feature.group 4.2.2) To:
org.wso2.carbon.ndatasource.ui.feature.jar [4.2.2] Cannot satisfy
dependency: From: WSO2 Carbon - New Datasource Management UI Feature 4.2.3
(org.wso2.carbon.ndatasource.ui.feature.group 4.2.3) To:
org.wso2.carbon.ndatasource.ui.feature.jar [4.2.3]

But, I had a backed up  repo of truing branch and when I tried installing
the same feature from the backed up feature and it worked.

Any advice on the cause of this?

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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB]Setting messageType=application/xml removes SOAP envelop of the response sent to client

2014-12-29 Thread Sajith Ravindra
Hi all,

In sample 150 of ESB 4.8.1 , when messageType property is set to
application/xml in the outSequence, in the response sent back to the client
SOAP envelop is removed even the backend sends it's response wrapped in a
SOAP envelop,  response sent to the client is as follows,

[2014-12-29 19:12:18,730] DEBUG - wire << "http://services.samples";>http://services.samples/xsd";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ax21:GetQuoteResponse">4.267710946853411-8.384515151253616-171.72720083893228173.9292795443228Mon
Dec 29 19:12:18 EST
2014178.91022756974613.506851342216575E7IBM
Company-171.9757890677209-18.479801226546627-2.5732205967038047-165.85095550378315IBM8921[\r][\n]"

And when messageType=text/xml it does not remove the SOAP envelop and
response sent to client as follows,

http://schemas.xmlsoap.org/soap/envelope/";>http://www.w3.org/2005/08/addressing";>http://services.samples";>http://services.samples/xsd"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";
xsi:type="ax21:GetQuoteResponse">4.215229872467963512.957138141193525-55.42595509858260556.15851948458244Mon
Dec 29 19:26:29 EST
2014-55.0588622759125744.900324614841035E7IBM
Company57.942574162486736-17.846611716547397-7.898663362474534-53.36636946060953IBM9422

Can someone please describe this behavior? why setting
messageType=application/xml removes the SOAP envelop from the response sent
to client?

Thanks in advance

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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Script Mediator for JSON

2014-12-22 Thread Sajith Ravindra
Hi Maz,

There is a equivalent for JSON in script mediator, it's getPayloadJSON().
You can refer [1] for an example on converting JSON to XML.

[1] -
https://docs.wso2.com/display/ESB481/Sample+440%3A+Converting+JSON+to+XML+Using+XSLT

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 Mon, Dec 22, 2014 at 3:51 PM, Maz Lakadia  wrote:

> I am trying to use Script Mediator to convert a message Payload. However,
> Samples are all using a method called getPayloadXML. My Payload will be in
> JSON form; is there a JSON equivalent of this? I could transform the
> Payload to XML for my mediations, but that's a last resort.
>
> Thank you,
>
> Maz
>
> ___
> 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


Re: [Dev] error in pom.xml when creating a carbon component service stubs

2014-09-30 Thread Sajith Ravindra
Hi Shasika,,

Adding  to m2e pluing configurations in your pom.xml for
maven-antrun-plugin with  as  should fix your problem.

E.g:

  
  org.apache.maven.plugins 
 maven-antrun-plugin 
  [1.1,) 
 
   run
 
   
   

   


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 Tue, Sep 30, 2014 at 5:23 PM, Shashika Karunatilaka 
wrote:

> Hi
> I was referring to this [1] article, At the stage of writing the service
> stub in my pom.xml shows an error in the "execution" tag it says
>
> "Plugin execution not covered by lifecycle configuration:
> org.apache.maven.plugins:maven-antrun-plugin:1.1:run (execution:
> source-code-generation, phase: process-resources)"
>
> but when i run using "mvn clean install" it run without and error and
> generates the stub classes without a issue. I wonder why it runs without a
> issue and shows error.Does any body know why there is a issue in my pom.xml
>
> Here with i have attached my pom.xml
>
> [1]
> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>
> --
> Shashika Prabath Karunatilaka,
> Software Engineer,
> WSO2, Inc: http://wso2.com/
> mobile : +94 77 7487792
>
> ___
> 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


Re: [Dev] [DEV] [BAM] Use of metaData in stream definition in Thrift

2014-09-29 Thread Sajith Ravindra
Hi Chamila,

please refer the answer in
http://stackoverflow.com/questions/26033755/what-is-meta-data-correlation-data-and-payload-data-in-wso2-cep.
It applies to BAM data publisher attributes as well.



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 Tue, Sep 30, 2014 at 9:09 AM, Chamila De Alwis  wrote:

> Hi,
>
> I'm in the process of writing a data publisher for BAM in Python. I
> referred to the already existing example in Java and the blog post by
> Suhothayan[1], however I'm not clear on the details of the use of meta and
> correlation data.
>
> When it comes to a stream of data in BAM, what is the definition of a
> metadata?
>
>
>
> [1] -
> http://wso2.com/library/articles/2012/07/creating-custom-agents-publish-events-bamcep/
>
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.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


Re: [Dev] [Announce] WSO2 Committers += Jayanga Dissanayake

2014-08-05 Thread Sajith Ravindra
Congrads jayanga


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 Tue, Aug 5, 2014 at 11:10 AM, Sameera Jayasoma  wrote:

> Hello Folks,
>
> In recognition of his contributions to WSO2 Carbon as well as to WSO2 in
> various forms, we are pleased to announce the WSO2 committership of Jayanga
> Dissanayake.
>
> Jayanga has contributed in many areas, including Development Governance
> Project for C5, Operation Center. We look forward to his valuable
> involvement as a WSO2 committer.
>
> Jayanga, welcome to WSO2 Committer's club. Please join us in
> congratulating him.
>
> Thanks,
> Sameera.
>
> --
> Sameera Jayasoma,
> Software Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://sameera.adahas.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
>
> ___
> 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


Re: [Dev] Generting a Unique-ID from a Unique String

2014-05-06 Thread Sajith Ravindra
Hi Lakmali,

If this is not for a encryption purpose I think it's better to use Base64
encoding. As per the description i feel that what you are trying to do is
encoding rather than encrypting. Also you can decode it back if you want if
you use Base64 encoding.

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 Tue, May 6, 2014 at 9:03 PM, Lakmali Baminiwatta wrote:

> Hi all,
>
> For tracking API invocations through Google Analytic, we need to send an
> unique ID based on the API token. As a solution,we can generate the MD5Sum
> value of the API token and send it as the unique ID.
>
> Is it fine to proceed with this approach or do we have a better way to
> achieve this? Appreciate any thoughts.
>
> Thanks,
> Lakmali
>
>
>
>
> --
> Lakmali Baminiwatta
>  Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
> mobile:  +94 71 2335936
> blog : lakmali.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


Re: [Dev] How do we verify a license file shipped with a product?

2014-04-27 Thread Sajith Ravindra
Hi All,

Under C5 Development governance we have developed a maven plugin to
generate license.txt file. It's not possible to consideraautomate the
process 100% since it's not possible to determine license information of
some dependencies and it will be required feed such information manuallly,
but still the plugin has automate the process to a considerable extent.

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 Mon, Apr 28, 2014 at 12:01 PM, Manoj Kumara  wrote:

> Hi,
>
> IIRC under 'C5 development governance' project SajithR did some work
> relevant to this.
>
> Thanks,
> Manoj
>
>
> *Manoj Kumara*
> Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94713448188
>
>
> On Mon, Apr 28, 2014 at 11:51 AM, Ruchira Wageesha wrote:
>
>> Also,
>>
>> Is there a maven plugin or can we write one, which generates license.txt
>> file during the build time? Otherwise, this manual process will most of the
>> time outdate license.txt.
>>
>> /Ruchira
>>
>>
>> On Mon, Apr 28, 2014 at 11:29 AM, Sameera Medagammaddegedara <
>> samee...@wso2.com> wrote:
>>
>>> Hello Everyone,
>>>
>>> What is the correct way to verify a license file once a license.txt file
>>> is generated?
>>>
>>> Thank You,
>>> Sameera
>>> --
>>> Sameera Medagammaddegedara
>>> Software Engineer
>>>
>>> Contact:
>>> Email: samee...@wso2.com
>>> Mobile: + 94 077 255 3005
>>>
>>
>>
>>
>> --
>>
>> *Ruchira Wageesha**Associate Technical Lead*
>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com <http://wso2.com>*
>>
>> *email: ruch...@wso2.com ,   blog:
>> ruchirawageesha.blogspot.com <http://ruchirawageesha.blogspot.com>,
>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>
>> ___
>> 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


Re: [Dev] License Maven Plugin

2014-04-20 Thread Sajith Ravindra
Hi Senaka,

We are already using this in governance project for determining license
type of dependencies listed in a pom.xml and jars in a pack.


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 Sun, Apr 20, 2014 at 3:13 PM, Senaka Fernando  wrote:

> Hi Sajith,
>
> IINM, we are using one of these already right?
>
> Thanks,
> Senaka.
>
>
> On Sun, Apr 20, 2014 at 5:31 AM, Afkham Azeez  wrote:
>
>> I came across this plugin in the pi4j project. I was pleasantly surprised
>> when the plugin inserted the license header to new source files I created.
>>
>>
>> On Sun, Apr 20, 2014 at 10:00 AM, Afkham Azeez  wrote:
>>
>>> http://mojo.codehaus.org/license-maven-plugin
>>>
>>> This is a plugin we need to use in our POMs and also in the governance
>>> solution. It can do the following:
>>>
>>>
>>>- Add License to the 
>>> plugin<http://mojo.codehaus.org/license-maven-plugin/examples/example-add-license.html>
>>>- Download dependency 
>>> licenses<http://mojo.codehaus.org/license-maven-plugin/examples/example-download-licenses.html>
>>>- List available 
>>> licenses<http://mojo.codehaus.org/license-maven-plugin/examples/example-license-list.html>
>>>- List available Comment 
>>> styles<http://mojo.codehaus.org/license-maven-plugin/examples/example-comment-style-list.html>
>>>- Check thirdparty 
>>> licenses<http://mojo.codehaus.org/license-maven-plugin/examples/example-thirdparty.html>
>>>- Update file header of source 
>>> files<http://mojo.codehaus.org/license-maven-plugin/examples/update-file-header-config.html>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>*
>>> *email: **az...@wso2.com* 
>>> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
>>> *http://blog.afkham.org* <http://blog.afkham.org>
>>> *twitter: 
>>> **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>*
>> *email: **az...@wso2.com* 
>> * cell: +94 77 3320919 <%2B94%2077%203320919> blog: *
>> *http://blog.afkham.org* <http://blog.afkham.org>
>> *twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> * linked-in: **http://lk.linkedin.com/in/afkhamazeez
>> <http://lk.linkedin.com/in/afkhamazeez>*
>>
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
>
>
> *[image: http://wso2.com] <http://wso2.com> Senaka Fernando*
> Software Architect; WSO2 Inc.; http://wso2.com
>
>
>
> * Member; Apache Software Foundation; http://apache.org
> <http://apache.org>E-mail: senaka AT wso2.com <http://wso2.com>**P: +1
> 408 754 7388 <%2B1%20408%20754%207388>; ext: 51736*;
>
>
> *M: +44 782 741 1966 <%2B44%20782%20741%201966> Linked-In:
> http://linkedin.com/in/senakafernando
> <http://linkedin.com/in/senakafernando>*
> Lean . Enterprise . Middleware
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Generating LICENSE.txt (C5 development governance)

2014-04-08 Thread Sajith Ravindra
Hi all,

In the approach described in previous mail information related to JARS In
product packs are stored in repository as 'Modules' and 'Artifacts'. But
there are jars generated using 'ant'. 'Artifacts' and 'Modules' of C5
governance solution are intended to store information of maven projects and
dependencies. Therefor, it's not possible to store information of jars
generated using ant through an 'Artifact' or 'Module'.

Please  provide your suggestions on how to handle such jars when storing
information and generating LICENSE.txt.

A tentative approach would be,
- Having another RXT called 'Other Dependencies'(with contains file name,
license type)
- Recored information of non maven dependency jars using it when executing
'licfill' goal
- And, fetch information from the repository when executing 'licgen'

or else,
We cant store information of such jars in another data store(e.g. my sql)
and fetch information from there when generating the file.


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 Thu, Apr 3, 2014 at 11:23 PM, Sajith Ravindra  wrote:

> Hi all,
>
> For $subject for a product pack the following approach will be taken,
>
> Following 3 fields will be added to the 'Artifact' and 'Module' asset types
> - JAR Name - Name of the .jar file generated for maven project or the .jar
> file of the dependency
> - License type
> - Packaging type - Can be jar,bundle or jarinbundle
>
> Two goals will be added to the governance maven plugin. These goals must
> be executed against the root pom.xml of the product.
> - licfill - Feed the license information to the GReg.
> - licgen - Generate LICENSE.txt.
>
> The purpose of having two swperate goals is to allow generation of
> LICENSE.txt files without requiring to updating license information every
> time when generating the file.
>
> To feed license information to the GReg, the plugin will scan through the
> pack to locate jars and to read their pom.xml files .'Artifacts/Modules'
> are mapped to jars using information read from the pom.xmls of jars. In
> this process,If there is an 'Artifact/Module' for a given jar in repository
> it will be updated with license information. Otherwise, an 'Artifact' will
> be created to represent the jar(dependency). To retrieve license
> information of jars [1] will be used.
>
> When generating LICENSE.txt, plugin will scan through the pack to locate
> pom.xmls of jars inside the pack. Then it will read
> groupid:artifactid:version from pom.xml and use that information as key to
> get license information from Greg of each jar.
>
> Please provide your feedback/suggestions on this approach.
>
> [1] - http://mojo.codehaus.org/license-maven-plugin/
>
>
> 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 Mon, Mar 31, 2014 at 5:18 PM, Sajith Ravindra  wrote:
>
>> Hi all,
>>
>> Under C5 development governance project we are planing to facilitate the
>> generation of  LICENSE.txt.
>>
>> Up to now, we have implemented support for generating LICENSE.txt for a
>> single JAR(Carbon Feature) or a carbon component by looking at all its
>> listed dependencies in pom.xml files
>>
>> Now we are trying to implement support for generating LICENSE.txt for a
>> product pack. Because a product pack contains jars that are not are not
>> related to dependencies in pom.xml files of the product, it's required to
>> scan through the pack to identify the jars. After identifying the jars, the
>> jars must be mapped to  Modules/Artifacts[*] stored in a Greg instance we
>> maintain in C5 development governance solution.
>>
>> The problem we are trying to solve is, how the mapping between jar file
>> names and Artifact/Module[*] can be done properly?
>>
>> Please suggest on a proper way you can think of to do this mapping.
>>
>> [*] - In C5 development governance solution we use two types of RXT
>> artifacts to capture dependency information of a maven project. it contains
>> information such as group id, artifact id and version of a dependency
>>  (1) Module - refers to an internal maven project
>>  (2) Artifact - refers to an external 3rd party dependency.
>>
>> 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>
>>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] What JARs should be considered when generating LICENSE.txt for a pack?

2014-04-04 Thread Sajith Ravindra
Hi All,

When generating LICENSE.txt for a product pack is it required to consider
all the JAR files included in the pack. Or else is it only sufficient to
consider jars in /lib and /repository/components/*?

Also, in addition to jars should we also count other file types such as
.zip, .mar files?

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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Generating LICENSE.txt (C5 development governance)

2014-04-03 Thread Sajith Ravindra
Hi all,

For $subject for a product pack the following approach will be taken,

Following 3 fields will be added to the 'Artifact' and 'Module' asset types
- JAR Name - Name of the .jar file generated for maven project or the .jar
file of the dependency
- License type
- Packaging type - Can be jar,bundle or jarinbundle

Two goals will be added to the governance maven plugin. These goals must be
executed against the root pom.xml of the product.
- licfill - Feed the license information to the GReg.
- licgen - Generate LICENSE.txt.

The purpose of having two swperate goals is to allow generation of
LICENSE.txt files without requiring to updating license information every
time when generating the file.

To feed license information to the GReg, the plugin will scan through the
pack to locate jars and to read their pom.xml files .'Artifacts/Modules'
are mapped to jars using information read from the pom.xmls of jars. In
this process,If there is an 'Artifact/Module' for a given jar in repository
it will be updated with license information. Otherwise, an 'Artifact' will
be created to represent the jar(dependency). To retrieve license
information of jars [1] will be used.

When generating LICENSE.txt, plugin will scan through the pack to locate
pom.xmls of jars inside the pack. Then it will read
groupid:artifactid:version from pom.xml and use that information as key to
get license information from Greg of each jar.

Please provide your feedback/suggestions on this approach.

[1] - http://mojo.codehaus.org/license-maven-plugin/


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 Mon, Mar 31, 2014 at 5:18 PM, Sajith Ravindra  wrote:

> Hi all,
>
> Under C5 development governance project we are planing to facilitate the
> generation of  LICENSE.txt.
>
> Up to now, we have implemented support for generating LICENSE.txt for a
> single JAR(Carbon Feature) or a carbon component by looking at all its
> listed dependencies in pom.xml files
>
> Now we are trying to implement support for generating LICENSE.txt for a
> product pack. Because a product pack contains jars that are not are not
> related to dependencies in pom.xml files of the product, it's required to
> scan through the pack to identify the jars. After identifying the jars, the
> jars must be mapped to  Modules/Artifacts[*] stored in a Greg instance we
> maintain in C5 development governance solution.
>
> The problem we are trying to solve is, how the mapping between jar file
> names and Artifact/Module[*] can be done properly?
>
> Please suggest on a proper way you can think of to do this mapping.
>
> [*] - In C5 development governance solution we use two types of RXT
> artifacts to capture dependency information of a maven project. it contains
> information such as group id, artifact id and version of a dependency
>  (1) Module - refers to an internal maven project
>  (2) Artifact - refers to an external 3rd party dependency.
>
> 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>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Generating LICENSE.txt (C5 development governance)

2014-03-31 Thread Sajith Ravindra
Hi all,

Under C5 development governance project we are planing to facilitate the
generation of  LICENSE.txt.

Up to now, we have implemented support for generating LICENSE.txt for a
single JAR(Carbon Feature) or a carbon component by looking at all its
listed dependencies in pom.xml files

Now we are trying to implement support for generating LICENSE.txt for a
product pack. Because a product pack contains jars that are not are not
related to dependencies in pom.xml files of the product, it's required to
scan through the pack to identify the jars. After identifying the jars, the
jars must be mapped to  Modules/Artifacts[*] stored in a Greg instance we
maintain in C5 development governance solution.

The problem we are trying to solve is, how the mapping between jar file
names and Artifact/Module[*] can be done properly?

Please suggest on a proper way you can think of to do this mapping.

[*] - In C5 development governance solution we use two types of RXT
artifacts to capture dependency information of a maven project. it contains
information such as group id, artifact id and version of a dependency
 (1) Module - refers to an internal maven project
 (2) Artifact - refers to an external 3rd party dependency.

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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: CEP Code Review on Kafka & Default Event Builder/Formatter @ Thu Mar 20, 2014 2pm - 3pm (saji...@wso2.com)

2014-03-20 Thread Sajith Ravindra
Hi all,

Please find suggested improvements and changes in the review at [1].

[1]
https://docs.google.com/a/wso2.com/document/d/10SSjuIHgomJCZDARjHBaGY05In-2xy93jxkMrDXoCBU/edit?usp=sharing

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 Thu, Mar 20, 2014 at 11:02 AM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

>  more details 
> >><https://www.google.com/calendar/event?action=VIEW&eid=N2txZWtpZHQ0ZWN1a2lnZnRmYnZydjE4bm8gc2FqaXRockB3c28yLmNvbQ&tok=MTQjbW9oYW5Ad3NvMi5jb202N2Y1YzE4MTEwNzM5OTA1NzY5ODk5YTE5OWQ2MzkxNjRkMGQ4NDhj&ctz=Asia/Colombo&hl=en>
> CEP Code Review on Kafka & Default Event Builder/Formatter
> *When*
> Thu Mar 20, 2014 2pm - 3pm Colombo
> *Where*
> LK 6th Floor Meeting Room - Turing 
> (map<http://maps.google.lk/maps?q=LK+6th+Floor+Meeting+Room+-+Turing&hl=en>
> )
> *Calendar*
> saji...@wso2.com
> *Who*
>  *
> Mohanadarshan Vivekanandalingam - organizer
> *
> Sajith Ravindra
> *
> Sriskandarajah Suhothayan
> *
> Lasantha Fernando
> *
> Jaminda Batuwangala
> *
> Rajeev Sampath
> *
> dev@wso2.org
>
> Going?   *Yes
> <https://www.google.com/calendar/event?action=RESPOND&eid=N2txZWtpZHQ0ZWN1a2lnZnRmYnZydjE4bm8gc2FqaXRockB3c28yLmNvbQ&rst=1&tok=MTQjbW9oYW5Ad3NvMi5jb202N2Y1YzE4MTEwNzM5OTA1NzY5ODk5YTE5OWQ2MzkxNjRkMGQ4NDhj&ctz=Asia/Colombo&hl=en>
> - Maybe
> <https://www.google.com/calendar/event?action=RESPOND&eid=N2txZWtpZHQ0ZWN1a2lnZnRmYnZydjE4bm8gc2FqaXRockB3c28yLmNvbQ&rst=3&tok=MTQjbW9oYW5Ad3NvMi5jb202N2Y1YzE4MTEwNzM5OTA1NzY5ODk5YTE5OWQ2MzkxNjRkMGQ4NDhj&ctz=Asia/Colombo&hl=en>
> - No
> <https://www.google.com/calendar/event?action=RESPOND&eid=N2txZWtpZHQ0ZWN1a2lnZnRmYnZydjE4bm8gc2FqaXRockB3c28yLmNvbQ&rst=2&tok=MTQjbW9oYW5Ad3NvMi5jb202N2Y1YzE4MTEwNzM5OTA1NzY5ODk5YTE5OWQ2MzkxNjRkMGQ4NDhj&ctz=Asia/Colombo&hl=en>*
> more options 
> >><https://www.google.com/calendar/event?action=VIEW&eid=N2txZWtpZHQ0ZWN1a2lnZnRmYnZydjE4bm8gc2FqaXRockB3c28yLmNvbQ&tok=MTQjbW9oYW5Ad3NvMi5jb202N2Y1YzE4MTEwNzM5OTA1NzY5ODk5YTE5OWQ2MzkxNjRkMGQ4NDhj&ctz=Asia/Colombo&hl=en>
>
> Invitation from Google Calendar <https://www.google.com/calendar/>
>
> You are receiving this email at the account saji...@wso2.com because you
> are subscribed for invitations on calendar saji...@wso2.com.
>
> To stop receiving these notifications, please log in to
> https://www.google.com/calendar/ and change your notification settings
> for this calendar.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Axis2] What's the Axis2 messageReceiver to be used for a operation with only return value?s?

2014-01-19 Thread Sajith Ravindra
Hi Shankar,

I was thinking of possible operations and relevant message receivers when i
raised this question. Thank you very much for the clarification.

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 Sun, Jan 19, 2014 at 11:42 PM, Selvaratnam Uthaiyashankar <
shan...@wso2.com> wrote:

>
>
>
> On Sun, Jan 19, 2014 at 6:37 PM, Sajith Ravindra  wrote:
>
>> Hi all,
>>
>> When developing a web services using Axiom what should be the
>> messageReceiver  we should use for an operations which only returns a value
>> but does not take an argument?
>>
>
>
> Can you give an example? OutOnly operations are very rare and we normally
> don't use it. What you want is empty SOAP body and it returns a result? If
> so, please have a look at version service.
>
>
>
>>
>> It seems there's RawXML*OutOnly*MessageReceiver in Axis2. So are we
>> suppose to use RawXML*INOut*MessageReceiver and take an dummy argument
>> or is there another messageReciver to be used for such operation?
>>
>>  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>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> S.Uthaiyashankar
> VP Engineering
> WSO2 Inc.
> http://wso2.com/ - "lean . enterprise . middleware"
>
> Phone: +94 714897591
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Axis2] What's the Axis2 messageReceiver to be used for a operation with only return value?s?

2014-01-19 Thread Sajith Ravindra
Hi all,

When developing a web services using Axiom what should be the
messageReceiver  we should use for an operations which only returns a value
but does not take an argument?

It seems there's RawXML*OutOnly*MessageReceiver in Axis2. So are we suppose
to use RawXML*INOut*MessageReceiver and take an dummy argument or is there
another messageReciver to be used for such operation?

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>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Eventing sample of DSS is not working

2014-01-07 Thread Sajith Ravindra
Hi all,

I was trying to run the eventing sample of DSS 3.1.1[1]. But it fails to
send the mail on events and it seems this is due to having a invalid mail
tranportSender configurations in *sample_axis2_client.xml.*

In the sample it says "*In order to allow mails to be sent, we have to
configure the mail sender in the client Axis2 configuration. A sample
axis2.xml file for the client configuration is stored at
CARBON_HOME/samples/resources/sample_axis2_client.xml. Use it to replace
the CARBON_HOME/repository/conf/axis2_client.xml file. The axis2_client.xml
contains an already configured mail sender section and is ready to be used.*
"

But actually, when the sample is executed with
*/samples/resources/sample_axis2_client.xml
*it fails to send the mail on  trigger. Then i modified the the mail
configurations to use wso2demom...@gmail.com, and then event mails were
sent successfully.

It seems */samples/resources/sample_axis2_client.xml *delivered with the
binary distribution needs to be corrected to have a working mail
transportSender configuration.

[1] http://docs.wso2.org/display/DSS311/Eventing+Sample

Thanks
*, Sajith Ravindra*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273550
 <http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Exception when running AS sample 1

2014-01-02 Thread Sajith Ravindra
Hi all,

I'm trying to run the sample 1 of AS 5.2.1 (
http://docs.wso2.org/display/AS521/Checking+the+Authorization+of+WebApp+Requests).


Once i run the example after following the given instructions, AS returns
responses for only two requests(i noticed that response for first request
is not what doc says it should be) and then throws an exception. The output
is as follows,




































*sajith@sajith-ThinkPad-T520:~/wso2as-5.2.1/samples/EntitlementFilter$
./run-client.sh Using CARBON_HOME: /home/sajith/wso2as-5.2.1Using JAVA_HOME
: /home/sajith/jdk1.6.0_45***Starting the Entitlement Servlet
Filter SampleSending Request For a Web Page Which Requires
AuthorizationSubject : adminResource :
/Entitlement_Sample_WebApp/protected.jspAction : GETEnvironment : Not
Specified***Response BEGIN ***Index
PageAnybody Can Access This
Page***Response END ***Sending Request For a Web Page
Which Not Requires AuthorizationSubject : adminResource :
/Entitlement_Sample_WebApp/index.jspAction : GETEnvironment : Not
Specified***Response BEGIN ***Index
PageAnybody Can Access This
Page***Response END ***Sending Request For a Web Page
Which Requires Authorization with False Subject NAMEjava.io.IOException:
Server returned HTTP response code: 401 for URL:
http://localhost:9863/Entitlement_Sample_WebApp/protected.jsp
<http://localhost:9863/Entitlement_Sample_WebApp/protected.jsp>at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1459)
at org.wso2.carbon.entitlement.filter.client.Client.main(Client.java:89)*


I followed below  steps to when setting up in addition to the steps
described in documentation
1) First i started the IS with default setting,
2) Started  AS with -DportOffset=100.
3) Changed run-client.sh to adjust the port
4) Change the remoteServiceUrl port to be 9443 in the web.xml of the
EntitlementFilter web app and deployed it with ant command.




*remoteServiceUrl
https://localhost:9443/services/
<https://localhost:9443/services/>*
Can someone please help me find out what i have done wrong here?

Thanks
*,Sajith Ravindra*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273550
<http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Shani

2013-12-16 Thread Sajith Ravindra
gt;
>>>>>>
>>>>>> ___
>>>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>>
>>> *Nuwan Silva*
>>> *Senior Software Engineer - QA*
>>> Mobile: +94779804543
>>>
>>> WSO2 Inc.
>>> lean . enterprise . middlewear.
>>> http://www.wso2.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Bhathiya Jayasekara*
>> *Software Engineer,*
>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> <http://www.linkedin.com/in/bhathiyaj>*
>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Regards,
> Thayalan Sivapaleswararajah
> Associate Technical Lead - QA
> Mob: +94(0)777872485
> Tel : +94(0)(11)2145345
> Fax : +94(0)(11)2145300
> Email: thaya...@wso2.com
>
> *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, retransmit, 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
>
>


-- 
Thanks
*,Sajith Ravindra*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273550
<http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] Creating a secure client using axiom

2013-12-12 Thread Sajith Ravindra
t;>>> On Fri, Dec 6, 2013 at 4:50 PM, Maduranga Siriwardena <
>>>>> madura...@wso2.com> wrote:
>>>>>
>>>>>> Path to what file should I add to classpath? Isn't that enough to add
>>>>>> bellow lines?
>>>>>>
>>>>>> ConfigurationContext configContext =   ConfigurationContextFactory.
>>>>>> createConfigurationContextFromFileSystem("CARBON_HOME\\
>>>>>> repository\\deployment\\client", "CARBON_HOME\\repository\\
>>>>>> conf\\axis2_client.xml");
>>>>>>
>>>>>
>>>>> The above should be enough as long as you have the rampart module
>>>>> under client_repo_path/modules directory and rampart libraries
>>>>> (rampart-core_1.6.1.wso2v12.jar, rampart-policy_1.6.1.wso2v12.jar,
>>>>> rampart-trust_1.6.1.wso2v12.jar) in your classpath. The "classpath" is the
>>>>> place you tell jvm to look for required classes for you client 
>>>>> application.
>>>>>
>>>>> You are also giving the axis2.xml as well to create configuration
>>>>> context. This is where you get the error java.lang.ClassNotFoundException:
>>>>> org.apache.axis2.transport.tcp.TCPTransportSender. This is because when 
>>>>> the
>>>>> creating the ConfigrationContext it will initialize the axis config using
>>>>> the given axis2.xml. And those missing classes reside in some other axis2
>>>>> libraries, which are not yet available your classpath. Either you can add
>>>>> that lib (axis2_1.6.1.wso2v10.jar) to you classpath or try the following.
>>>>>
>>>>> In a normal case you will not need to provide an axis2.xml when
>>>>> creating ConfigrationContext. So first try giving it as null and only give
>>>>> the repo location.
>>>>> Ex:
>>>>> ConfigurationContext configContext =
>>>>> ConfigurationContextFactory.createConfigurationContextFromFileSystem("client_repo_path",
>>>>> null);
>>>>>
>>>>> This will initialize axis2 client side with default axisConfig and
>>>>> make those modules (and services) available at client side.
>>>>>
>>>>> You can find all the above mentioned libraries in ESB distribution,
>>>>> under plugins directory.
>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Dec 6, 2013 at 3:37 PM, Kishanthan Thangarajah <
>>>>>> kishant...@wso2.com> wrote:
>>>>>>
>>>>>>> Check whether you have rampart module in you client class-path?
>>>>>>> More info at :
>>>>>>> http://blog.facilelogin.com/2008/11/axis2-client-side-module-engagement.html
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Dec 6, 2013 at 2:57 PM, Maduranga Siriwardena <
>>>>>>> madura...@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>> I'm trying to create a secure client using axiom to connect to a
>>>>>>>> secure proxy service created using the ESB. Bellow [1] has the code 
>>>>>>>> segment
>>>>>>>> I used to configure the client. But when I run the client I get the 
>>>>>>>> bellow
>>>>>>>> error.
>>>>>>>>
>>>>>>>> org.apache.axis2.AxisFault: Unable to engage module : rampart
>>>>>>>> at
>>>>>>>> org.apache.axis2.client.ServiceClient.engageModule(ServiceClient.java:363)
>>>>>>>>  at client.OrderProcessClient.main(OrderProcessClient.java:57)
>>>>>>>>
>>>>>>>> Folder structure of my project is as the attachment bellow. Can
>>>>>>>> someone please help me to resolve this problem.
>>>>>>>>
>>>>>>>> [1] https://gist.github.com/madurangasiriwardena/7820858
>>>>>>>>
>>>>>>>> Thank you.
>>>>>>>>
>>>>>>>> ___
>>>>>>>> Dev mailing list
>>>>>>>> Dev@wso2.org
>>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Kishanthan Thangarajah*
>>>>>>> Senior Software Engineer,
>>>>>>> Platform Technologies Team,
>>>>>>> WSO2, Inc.
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> Mobile - +94773426635
>>>>>>> Blog - *http://kishanthan.wordpress.com
>>>>>>> <http://kishanthan.wordpress.com>*
>>>>>>> Twitter - *http://twitter.com/kishanthan
>>>>>>> <http://twitter.com/kishanthan>*
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Kishanthan Thangarajah*
>>>>> Senior Software Engineer,
>>>>> Platform Technologies Team,
>>>>> WSO2, Inc.
>>>>> lean.enterprise.middleware
>>>>>
>>>>> Mobile - +94773426635
>>>>> Blog - *http://kishanthan.wordpress.com
>>>>> <http://kishanthan.wordpress.com>*
>>>>> Twitter - *http://twitter.com/kishanthan
>>>>> <http://twitter.com/kishanthan>*
>>>>>
>>>>
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Dulanja Liyanage
>>> Senior Software Engineer - WSO2 Inc.
>>> M: +94776764717
>>>
>>
>>
>
>
> --
> Dulanja Liyanage
> Senior Software Engineer - WSO2 Inc.
> M: +94776764717
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks
*,Sajith Ravindra*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273550
<http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Exception occurs when running ESB sample 200

2013-12-10 Thread Sajith Ravindra
Hi Malaka,

It fixed the issue. Thank you very much for the help.



On Wed, Dec 11, 2013 at 11:22 AM, Malaka Silva  wrote:

> Usually this exception comes when BouncyCastle jar is not in the
> classpath. (bcprov-jdk15.jar)
>
> By default the BouncyCastle jar file is in
> ESB_HOME/repository/axis2/client/lib folder. But when it is their, looks
> like that file is not loaded in to axis2Client. But when I copy the
> BouncyCastle jar file into ESB_HOME/repository/components/plugins folder,
> issue get resolved.
>
> The issue is resolved. However I am not sure whether this is the correct
> resolution for this issue?
>
> Best Regards,
> Malaka
>
>
>
> On Wed, Dec 11, 2013 at 11:06 AM, Sajith Ravindra wrote:
>
>> Hi,
>>
>> I'm a new joinee whose under going the training. I'm trying to run sample
>> 200 of ESB (
>> http://docs.wso2.org/display/ESB480/Sample+200%3A+Using+WS-Security+with+policy+attachments+for+proxy+services
>> )
>> When i'm running the client of  it gives an  exception with following
>> stack trace.
>>
>>  [java] Using WS-Security
>>  [java] org.apache.axis2.AxisFault: Error in encryption
>>  [java] at org.apache.rampart.handler.
>> RampartSender.invoke(RampartSender.java:76)
>>  [java] at
>> org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
>>  [java] at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
>>  [java] at
>> org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
>>  [java] at
>> org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)
>>  [java] at
>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
>>  [java] at
>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
>>  [java] at
>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
>>  [java] at
>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
>>  [java] at
>> org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
>>  [java] at
>> samples.userguide.StockQuoteClient.executeClient(Unknown Source)
>>  [java] at samples.userguide.StockQuoteClient.main(Unknown Source)
>>  [java] Caused by: org.apache.rampart.RampartException: Error in
>> encryption
>>  [java] at
>> org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:612)
>>  [java] at
>> org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:97)
>>  [java] at
>> org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)
>>  [java] at
>> org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
>>  [java] ... 11 more
>>  [java] Caused by: org.apache.ws.security.WSSecurityException: An
>> unsupported signature or encryption algorithm was used (unsupported key
>> transport encryption algorithm: No such algorithm:
>> http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p); nested exception is:
>>  [java] java.security.NoSuchAlgorithmException: Cannot find any
>> provider supporting RSA/ECB/OAEPPadding
>>  [java] at
>> org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:785)
>>  [java] at
>> org.apache.ws.security.message.WSSecEncryptedKey.prepareInternal(WSSecEncryptedKey.java:205)
>>  [java] at
>> org.apache.ws.security.message.WSSecEncrypt.prepare(WSSecEncrypt.java:259)
>>  [java] at
>> org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:578)
>>  [java] ... 14 more
>>  [java] Caused by: java.security.NoSuchAlgorithmException: Cannot
>> find any provider supporting RSA/ECB/OAEPPadding
>>  [java] at javax.crypto.Cipher.getInstance(DashoA13*..)
>>  [java] at
>> org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:777)
>>  [java] ... 17 more
>>
>> I tired what's being explain in
>> http://blog.rampartfaq.com/2009/08/faq-001-javasecurityinvalidkeyexception.htmlbut
>>  it didn't work.
>>
>> Can someone please explain the cause of this problem
>> --
>> Thanks
>> *,Sajith Ravindra*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: +94 77 2273550
>>  <http://lk.linkedin.com/pub/shani-ranasinghe

[Dev] Exception occurs when running ESB sample 200

2013-12-10 Thread Sajith Ravindra
Hi,

I'm a new joinee whose under going the training. I'm trying to run sample
200 of ESB (
http://docs.wso2.org/display/ESB480/Sample+200%3A+Using+WS-Security+with+policy+attachments+for+proxy+services
)
When i'm running the client of  it gives an  exception with following stack
trace.

 [java] Using WS-Security
 [java] org.apache.axis2.AxisFault: Error in encryption
 [java] at org.apache.rampart.handler.
RampartSender.invoke(RampartSender.java:76)
 [java] at
org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 [java] at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 [java] at
org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 [java] at
org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)
 [java] at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
 [java] at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
 [java] at
org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
 [java] at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
 [java] at
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
 [java] at samples.userguide.StockQuoteClient.executeClient(Unknown
Source)
 [java] at samples.userguide.StockQuoteClient.main(Unknown Source)
 [java] Caused by: org.apache.rampart.RampartException: Error in
encryption
 [java] at
org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:612)
 [java] at
org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:97)
 [java] at
org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)
 [java] at
org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
 [java] ... 11 more
 [java] Caused by: org.apache.ws.security.WSSecurityException: An
unsupported signature or encryption algorithm was used (unsupported key
transport encryption algorithm: No such algorithm:
http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p); nested exception is:
 [java] java.security.NoSuchAlgorithmException: Cannot find any
provider supporting RSA/ECB/OAEPPadding
 [java] at
org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:785)
 [java] at
org.apache.ws.security.message.WSSecEncryptedKey.prepareInternal(WSSecEncryptedKey.java:205)
 [java] at
org.apache.ws.security.message.WSSecEncrypt.prepare(WSSecEncrypt.java:259)
 [java] at
org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:578)
 [java] ... 14 more
 [java] Caused by: java.security.NoSuchAlgorithmException: Cannot find
any provider supporting RSA/ECB/OAEPPadding
 [java] at javax.crypto.Cipher.getInstance(DashoA13*..)
 [java] at
org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:777)
 [java] ... 17 more

I tired what's being explain in
http://blog.rampartfaq.com/2009/08/faq-001-javasecurityinvalidkeyexception.htmlbut
it didn't work.

Can someone please explain the cause of this problem
-- 
Thanks
*,Sajith Ravindra*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273550
<http://lk.linkedin.com/pub/shani-ranasinghe/34/111/ab>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev