Re: [Dev] Idea Plugin for Siddhi

2017-03-29 Thread Dulaj Atapattu
Hi Tishan,

I applied the suggested changes to the draft proposal. I kindly request you
to have a look and give your feedback.

Thank you.

On Wed, Mar 29, 2017 at 10:52 PM, Dulaj Atapattu  wrote:

> Hi Tishan,
>
>
> Can you made some comments on the parts needed to be improved?
>
> Thank you.
>
> On Wed, Mar 29, 2017 at 10:48 PM, Tishan Dahanayakage 
> wrote:
>
>> Proposal reviewed.
>>
>> /Tishan
>>
>> On Tue, Mar 28, 2017 at 4:05 PM, Dulaj Atapattu <
>> dulaj.r.atapa...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I shared my draft proposal through the GSoC dashboard. Your comments and
>>> feedback are highly appreciated.
>>>
>>> Thank you.
>>>
>>> On Tue, Mar 28, 2017 at 11:20 AM, Shan Mahanama  wrote:
>>>
 Hi Dulaj,

 Some steps are redundant. Please find my comment inline.


>> *Installation instructions:*
>>
>>- Download the zip file
>>- Copy zip file to /home/user/.IdeaIC2017.1/config/plugins
>>
>> You don't have to manually copy the zip file to this location. You
 can just download the zip file and select that downloaded zip file in
 the *Install plugin from disk* step.

>
>>- Restart IntelliJ IDEA
>>
>> This is also not needed.

>
>>- Go to Settings -> Plugins choose Install plugin from disk
>>- Choose the zip
>>- Restart IntelliJ IDEA
>>- Create a file with extension .sid (Ex: sample.sid)
>>
>> Thanks,
 Shan.

 --
 Shan Mahanama

 Software Engineer, WSO2 Inc. http://wso2.com
 
 Email: sh...@wso2.com
 Mobile: +94 71 2000 498



>>>
>>>
>>> --
>>> *Dulaj Atapattu*
>>> Secretary | IEEE Computer Society
>>> Undergraduate | Department of Computer Science and Engineering
>>> University of Moratuwa
>>> Tel: +94712481879 <+94%2071%20248%201879>
>>> [image:
>>> https://twitter.com/DRAtapattu] [image:
>>> https://www.facebook.com/dulaj.atapattu]
>>> 
>>>
>>
>>
>>
>> --
>> Tishan Dahanayakage
>> Senior Software Engineer
>> WSO2, Inc.
>> Mobile:+94 716481328 <071%20648%201328>
>>
>> Disclaimer: This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may have
>> received this communication in error, please reply to the sender indicating
>> that fact and delete the copy you received and in addition, you should not
>> print, copy, re-transmit, disseminate, or otherwise use the information
>> contained in this communication. Internet communications cannot be
>> guaranteed to be timely, secure, error or virus-free. The sender does not
>> accept liability for any errors or omissions.
>>
>
>
>
> --
> *Dulaj Atapattu*
> Secretary | IEEE Computer Society
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Tel: +94712481879 <071%20248%201879>
> [image:
> https://twitter.com/DRAtapattu] [image:
> https://www.facebook.com/dulaj.atapattu]
> 
>



-- 
*Dulaj Atapattu*
Secretary | IEEE Computer Society
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Tel: +94712481879
[image:
https://twitter.com/DRAtapattu] [image:
https://www.facebook.com/dulaj.atapattu]

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 Data Analytics Server 4.0.0-M1 Released !

2017-03-29 Thread Sriskandarajah Suhothayan
Hi All,

The WSO2 Smart Analytics  team is pleased
to announce the release of WSO2 Data Analytics Server version 4.0.0-M1.

WSO2 Smart Analytics let digital business creating real-time, intelligent,
actionable business insights, and data products which are achieved by WSO2
Data Analytics Server's real-time, incremental  & intelligent data
processing capabilites.

WSO2 DAS can:

   - Receive events from various data sources
   - Process & correlate them in real-time with the sate of the art
   high-performance real-time Siddhi Complex Event Processing Engine that
   works with easy to learn the SQL-Like query language.
   - Process analysis that spans for longer time duration with its
   incremental processing capability by achieving high performance with low
   infrastructure cost.
   - Uses Machine Learning and other models to drive intelligent insights
   from the data
   - Notifications interesting event occurrences as alerts via multiple
   transports & let users visualize the results via customizable dashboards.

WSO2 DAS is released under Apache Software License Version 2.0
, one of the most
business-friendly licenses available today.

You can find the product at
https://github.com/wso2/product-das/releases/download/v4.0.0-M1/wso2das-4.0.0-M1.zip
Documentation at https://docs.wso2.com/display/DAS400/
Source code at https://github.com/wso2/product-das/releases/tag/v4.0.0-M1

WSO2 DAS 4.0.0-M1 includes following new features.

New Features

   - Receive and publish events from Siddhi with @Source and @Sink
   annotations
   - TCP sink and source
   - Kafka sink and source
   - Support for DAS Text Editor to develop Siddhi applications.

Reporting *Issues*
Issues can be reported using the public JIRA available at
https://wso2.org/jira/browse/DAS
Contact usWSO2 Data Analytics Server developers can be contacted via the
mailing lists:

   Developer List : dev@wso2.org | Subscribe
 | Mail Archive


Alternatively, questions can also be raised in the stackoverflow:
*Forum* http://stackoverflow.com/questions/tagged/wso2/

Support

We are committed to ensuring that your enterprise middleware deployment is
completely supported from evaluation to production. Our unique approach
ensures that all support leverages our open development methodology and is
provided by the very same engineers who build the technology.

For more details and to take advantage of this unique opportunity please
visit http://wso2.com/support/.

For more information on WSO2 Smart Analytics and Smart Analytics Solutions,
visit the WSO2 Smart Analytics Page .
*-The WSO2 WSO2 Smart Analytics Team- *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017] Proposal 4: Idea Plugin for Siddhi

2017-03-29 Thread Menuka Warushavithana
Thank you very much. I'll improve it accordingly.

On 29 March 2017 at 22:43, Tishan Dahanayakage  wrote:

> Feedback provided. Please check
>
> /Tishan
>
> On Tue, Mar 28, 2017 at 10:26 AM, Tishan Dahanayakage 
> wrote:
>
>> Thanks for the update Menuka. Will review and provide feedback.
>>
>> Thanks
>> /Tishan
>>
>> On Mon, Mar 27, 2017 at 6:47 PM, Menuka Warushavithana <
>> menuka...@cse.mrt.ac.lk> wrote:
>>
>>> Hi Tishan,
>>> I have shared my proposal draft on the official GSoC site. I kindly
>>> request your feedback on improving it.
>>>
>>> Thank you
>>>
>>> On 27 March 2017 at 15:53, Menuka Warushavithana <
>>> menuka...@cse.mrt.ac.lk> wrote:
>>>
 Hi Tishan,
 I have shared my proposal draft on the official GSoC site. I kindly
 request your feedback on improving it.

 Thank you
 Menuka

 On 27 March 2017 at 13:01, Menuka Warushavithana <
 menuka...@cse.mrt.ac.lk> wrote:

> Hi Tishan,
>
> I used ANTLR 4.6 on the file [1] to generate the Lexers and Parsers.
> Then I took the sample plugin provided by ANTLR creators [2] along with 
> the
> Jetbrains plugin adapters provided by ANTLR mentioned here [3]. (Of 
> course,
> I found these resources thanks to the conversations in the dev mailing
> list). I forked the sample plugin on GitHub and changed the code to work
> with SiddhiQL.g4.
> My fork can be accessed through [4].
>
> There were some dependency issues with the Sample Plugin because it
> had used ANTLR 4.5.1 and the version I used for generation of Lexers and
> Parsers was the latest (ANTLR 4.6). I couldn't entirely fix the dependency
> issues. However, the plugin works with syntax highlighting for the most
> part.. I'm working on implementing a basic code completion functionality.
> Now I have a base level understanding of how ANTLR generates the classes.
>
> And by the way, I will share my draft proposal with you later today.
>
> Thank You
>
> [1] https://github.com/wso2/siddhi/blob/master/modules/siddh
> i-query-compiler/src/main/antlr4/org/wso2/siddhi/query/compi
> ler/SiddhiQL.g4
> [2] https://github.com/antlr/jetbrains-plugin-sample
> [3] https://github.com/antlr/jetbrains
> [4] https://github.com/menuka94/jetbrains-plugin-sample
>
>
>
> On 27 March 2017 at 11:24, Tishan Dahanayakage 
> wrote:
>
>> Hi Menuka,
>>
>> Great progress Menuka. Can you please explain how did you achieve
>> this and resources used.
>> How can we try this plugin? Can you please provide the required
>> resources?
>>
>> Thanks,
>> /Tishan
>>
>> On Mon, Mar 27, 2017 at 12:42 AM, Menuka Warushavithana <
>> menuka...@cse.mrt.ac.lk> wrote:
>>
>>> Hi Tishan,
>>> I was able to implement a simple syntax highlighting plugin for
>>> Siddhi queries with the help of [1] and Antlr. (A screenshot is attached
>>> herewith)
>>>
>>> ​
>>> I set up the WSO2 CEP locally and started studying Siddhi in more
>>> detail.
>>> Also, I have started drafting a proposal for the project. Your
>>> advice and constructive criticism on this idea is greatly appreciated.
>>>
>>> [1] https://github.com/wso2/siddhi/blob/master/modules/siddh
>>> i-query-compiler/src/main/antlr4/org/wso2/siddhi/query/compi
>>> ler/SiddhiQL.g4
>>>
>>>
>>> Thank You
>>> --
>>> Menuka Warushavithana
>>> LinkedIn: https://www.linkedin.com/in/menukawarushavithana
>>> GitHub: https://www.github.com/menuka94
>>>
>>
>>
>>
>> --
>> Tishan Dahanayakage
>> Senior Software Engineer
>> WSO2, Inc.
>> Mobile:+94 716481328 <+94%2071%20648%201328>
>>
>> Disclaimer: This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may have
>> received this communication in error, please reply to the sender 
>> indicating
>> that fact and delete the copy you received and in addition, you should 
>> not
>> print, copy, re-transmit, disseminate, or otherwise use the information
>> contained in this communication. Internet communications cannot be
>> guaranteed to be timely, secure, error or virus-free. The sender does not
>> accept liability for any errors or omissions.
>>
>
>
>
> --
> Menuka Warushavithana
> LinkedIn: https://www.linkedin.com/in/menukawarushavithana
> GitHub: https://www.github.com/menuka94
>
>


 --
 Menuka Warushavithana
 LinkedIn: https://www.linkedin.com/in/menukawarushavithana
 GitHub: https://www.github.com/menuka94


>>>
>>>
>>> --
>>> Menuka Warushavithana
>>> LinkedIn: https://www.linkedin.com/in/menukawarushavithana
>>> GitHub: 

Re: [Dev] Idea Plugin for Siddhi

2017-03-29 Thread Dulaj Atapattu
Hi Tishan,


Can you made some comments on the parts needed to be improved?

Thank you.

On Wed, Mar 29, 2017 at 10:48 PM, Tishan Dahanayakage 
wrote:

> Proposal reviewed.
>
> /Tishan
>
> On Tue, Mar 28, 2017 at 4:05 PM, Dulaj Atapattu <
> dulaj.r.atapa...@gmail.com> wrote:
>
>> Hi,
>>
>> I shared my draft proposal through the GSoC dashboard. Your comments and
>> feedback are highly appreciated.
>>
>> Thank you.
>>
>> On Tue, Mar 28, 2017 at 11:20 AM, Shan Mahanama  wrote:
>>
>>> Hi Dulaj,
>>>
>>> Some steps are redundant. Please find my comment inline.
>>>
>>>
> *Installation instructions:*
>
>- Download the zip file
>- Copy zip file to /home/user/.IdeaIC2017.1/config/plugins
>
> You don't have to manually copy the zip file to this location. You can
>>> just download the zip file and select that downloaded zip file in the 
>>> *Install
>>> plugin from disk* step.
>>>

>- Restart IntelliJ IDEA
>
> This is also not needed.
>>>

>- Go to Settings -> Plugins choose Install plugin from disk
>- Choose the zip
>- Restart IntelliJ IDEA
>- Create a file with extension .sid (Ex: sample.sid)
>
> Thanks,
>>> Shan.
>>>
>>> --
>>> Shan Mahanama
>>>
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>> 
>>> Email: sh...@wso2.com
>>> Mobile: +94 71 2000 498
>>>
>>>
>>>
>>
>>
>> --
>> *Dulaj Atapattu*
>> Secretary | IEEE Computer Society
>> Undergraduate | Department of Computer Science and Engineering
>> University of Moratuwa
>> Tel: +94712481879 <+94%2071%20248%201879>
>> [image:
>> https://twitter.com/DRAtapattu] [image:
>> https://www.facebook.com/dulaj.atapattu]
>> 
>>
>
>
>
> --
> Tishan Dahanayakage
> Senior Software Engineer
> WSO2, Inc.
> Mobile:+94 716481328 <071%20648%201328>
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, re-transmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>



-- 
*Dulaj Atapattu*
Secretary | IEEE Computer Society
Undergraduate | Department of Computer Science and Engineering
University of Moratuwa
Tel: +94712481879
[image:
https://twitter.com/DRAtapattu] [image:
https://www.facebook.com/dulaj.atapattu]

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Idea Plugin for Siddhi

2017-03-29 Thread Tishan Dahanayakage
Proposal reviewed.

/Tishan

On Tue, Mar 28, 2017 at 4:05 PM, Dulaj Atapattu 
wrote:

> Hi,
>
> I shared my draft proposal through the GSoC dashboard. Your comments and
> feedback are highly appreciated.
>
> Thank you.
>
> On Tue, Mar 28, 2017 at 11:20 AM, Shan Mahanama  wrote:
>
>> Hi Dulaj,
>>
>> Some steps are redundant. Please find my comment inline.
>>
>>
 *Installation instructions:*

- Download the zip file
- Copy zip file to /home/user/.IdeaIC2017.1/config/plugins

 You don't have to manually copy the zip file to this location. You can
>> just download the zip file and select that downloaded zip file in the 
>> *Install
>> plugin from disk* step.
>>
>>>
- Restart IntelliJ IDEA

 This is also not needed.
>>
>>>
- Go to Settings -> Plugins choose Install plugin from disk
- Choose the zip
- Restart IntelliJ IDEA
- Create a file with extension .sid (Ex: sample.sid)

 Thanks,
>> Shan.
>>
>> --
>> Shan Mahanama
>>
>> Software Engineer, WSO2 Inc. http://wso2.com
>> 
>> Email: sh...@wso2.com
>> Mobile: +94 71 2000 498
>>
>>
>>
>
>
> --
> *Dulaj Atapattu*
> Secretary | IEEE Computer Society
> Undergraduate | Department of Computer Science and Engineering
> University of Moratuwa
> Tel: +94712481879 <+94%2071%20248%201879>
> [image:
> https://twitter.com/DRAtapattu] [image:
> https://www.facebook.com/dulaj.atapattu]
> 
>



-- 
Tishan Dahanayakage
Senior Software Engineer
WSO2, Inc.
Mobile:+94 716481328

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
re-transmit, disseminate, or otherwise use the information contained in
this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GSoC 2017] Proposal 4: Idea Plugin for Siddhi

2017-03-29 Thread Tishan Dahanayakage
Feedback provided. Please check

/Tishan

On Tue, Mar 28, 2017 at 10:26 AM, Tishan Dahanayakage 
wrote:

> Thanks for the update Menuka. Will review and provide feedback.
>
> Thanks
> /Tishan
>
> On Mon, Mar 27, 2017 at 6:47 PM, Menuka Warushavithana <
> menuka...@cse.mrt.ac.lk> wrote:
>
>> Hi Tishan,
>> I have shared my proposal draft on the official GSoC site. I kindly
>> request your feedback on improving it.
>>
>> Thank you
>>
>> On 27 March 2017 at 15:53, Menuka Warushavithana > > wrote:
>>
>>> Hi Tishan,
>>> I have shared my proposal draft on the official GSoC site. I kindly
>>> request your feedback on improving it.
>>>
>>> Thank you
>>> Menuka
>>>
>>> On 27 March 2017 at 13:01, Menuka Warushavithana <
>>> menuka...@cse.mrt.ac.lk> wrote:
>>>
 Hi Tishan,

 I used ANTLR 4.6 on the file [1] to generate the Lexers and Parsers.
 Then I took the sample plugin provided by ANTLR creators [2] along with the
 Jetbrains plugin adapters provided by ANTLR mentioned here [3]. (Of course,
 I found these resources thanks to the conversations in the dev mailing
 list). I forked the sample plugin on GitHub and changed the code to work
 with SiddhiQL.g4.
 My fork can be accessed through [4].

 There were some dependency issues with the Sample Plugin because it had
 used ANTLR 4.5.1 and the version I used for generation of Lexers and
 Parsers was the latest (ANTLR 4.6). I couldn't entirely fix the dependency
 issues. However, the plugin works with syntax highlighting for the most
 part.. I'm working on implementing a basic code completion functionality.
 Now I have a base level understanding of how ANTLR generates the classes.

 And by the way, I will share my draft proposal with you later today.

 Thank You

 [1] https://github.com/wso2/siddhi/blob/master/modules/siddh
 i-query-compiler/src/main/antlr4/org/wso2/siddhi/query/compi
 ler/SiddhiQL.g4
 [2] https://github.com/antlr/jetbrains-plugin-sample
 [3] https://github.com/antlr/jetbrains
 [4] https://github.com/menuka94/jetbrains-plugin-sample



 On 27 March 2017 at 11:24, Tishan Dahanayakage  wrote:

> Hi Menuka,
>
> Great progress Menuka. Can you please explain how did you achieve this
> and resources used.
> How can we try this plugin? Can you please provide the required
> resources?
>
> Thanks,
> /Tishan
>
> On Mon, Mar 27, 2017 at 12:42 AM, Menuka Warushavithana <
> menuka...@cse.mrt.ac.lk> wrote:
>
>> Hi Tishan,
>> I was able to implement a simple syntax highlighting plugin for
>> Siddhi queries with the help of [1] and Antlr. (A screenshot is attached
>> herewith)
>>
>> ​
>> I set up the WSO2 CEP locally and started studying Siddhi in more
>> detail.
>> Also, I have started drafting a proposal for the project. Your advice
>> and constructive criticism on this idea is greatly appreciated.
>>
>> [1] https://github.com/wso2/siddhi/blob/master/modules/siddh
>> i-query-compiler/src/main/antlr4/org/wso2/siddhi/query/compi
>> ler/SiddhiQL.g4
>>
>>
>> Thank You
>> --
>> Menuka Warushavithana
>> LinkedIn: https://www.linkedin.com/in/menukawarushavithana
>> GitHub: https://www.github.com/menuka94
>>
>
>
>
> --
> Tishan Dahanayakage
> Senior Software Engineer
> WSO2, Inc.
> Mobile:+94 716481328 <+94%2071%20648%201328>
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender 
> indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, re-transmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>



 --
 Menuka Warushavithana
 LinkedIn: https://www.linkedin.com/in/menukawarushavithana
 GitHub: https://www.github.com/menuka94


>>>
>>>
>>> --
>>> Menuka Warushavithana
>>> LinkedIn: https://www.linkedin.com/in/menukawarushavithana
>>> GitHub: https://www.github.com/menuka94
>>>
>>>
>>
>>
>> --
>> Menuka Warushavithana
>> LinkedIn: https://www.linkedin.com/in/menukawarushavithana
>> GitHub: https://www.github.com/menuka94
>>
>>
>
>
> --
> Tishan Dahanayakage
> Senior Software Engineer
> WSO2, Inc.
> Mobile:+94 716481328 <+94%2071%20648%201328>
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> 

[Dev] [GSoC] Proposal 24 : Real-Time Machine Learning Toolkit for Siddhi

2017-03-29 Thread Nadheesh Jihan
Hi,

I have shared the draft proposal for the GSoC proposal - 24 via the GSoC
web portal. Please review it and let me know if there are any changes
required in the proposal.

I have changed the proposal according to the our last discussion. Please
check if the diagrams represent those details correctly.

Thank you.
-- 
Best regards,
*Nadheesh Jihan*
Undergraduate | Department of Computer Science and Engineering
Faculty of Engineering
University of Moratuwa
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM 2.1.0] Tenant Websocket API Invocation Issue

2017-03-29 Thread Isuru Haththotuwa
Hi,

This is a standalone APIM 2.1.0 setup.

I have an API published by a tenant (a.com), and subscribed by another
tenant (b.com). I'm using the sample netty based ws client from the docs
[1].

While invoking this API, error [2] can be sen in the APIM. Going through
the code, noted that there is a check for
'tenantDomain.equals(req.getUri())' at [3]. Down the line this causes the
endpoint to be null for this particular tenant domain (a.com). This works
for super tenant since the method getTenantDomainFromUrl actually returns
the same url for super tenants.

Any explanation for this logic? What am I doing wrong here?

[1]. https://docs.wso2.com/display/AM210/Create+a+WebSocket+API
[2]. ERROR - InboundWebsocketSourceHandler Endpoint not found for port :
9099 tenant domain : a.com
[3].
https://github.com/wso2/carbon-mediation/blob/release-4.6.10/components/inbound-endpoints/org.wso2.carbon.inbound.endpoint/src/main/java/org/wso2/carbon/inbound/endpoint/protocol/websocket/InboundWebsocketSourceHandler.java#L160

-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [GSOC] Proposal 6: Atom Plugin for Siddhi

2017-03-29 Thread Dinuka Desilva
Hi,

I'm an undergraduate student from Informatics Institute of Technology.
I participated in GSOC last year as well with Inclusive Design
Institute. I found this project "Proposal 6: Atom Plugin for Siddhi"
interesting to try for this year. Since I'm a javascript developer and
has used many IDEs as well, I was thinking this is a good opportunity
for me. And then I started developing this plugin a bit and please
find the source here.

https://github.com/dinukadesilva/atom-siddhi-plugin

For now, I could initially develop syntax highlighting and siddhi
parser a little bit. And appreciate if you could help me on improving
this and the proposal for GSOC this year.

Regards,
Dinuka.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MSF4J] Interceptor#preCall method stopped serving HTTP GET randomly.

2017-03-29 Thread Abimaran Kugathasan
Hi Thusitha,


On Wed, Mar 29, 2017 at 12:04 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi Abimaran,
>
> In API Manager 3.0, We have RESTAPISecurityInterceptor which implements
>> org.wso2.msf4j.Interceptor.
>> When I send HTTP Get request, I'm getting 405, for HTTP POST and PUT it
>> works correctly.
>> I debugged MSF4JMessageProcessor, there is a method named
>> 'receive(CarbonMessage carbonMessage, CarbonCallback carbonCallback)' which
>> haven't hit when I send GET.
>
> This is the entry point for MSF4J. If that doesn't get hit, it implies due
> to some reason the http message doesn't reach to MSF4J side through the
> transport. But that is strange. COuold you please verify that?
>

I'm getting 405 for GET, who is responding with 405? How can I verify? I
thought MSF4J uses carbon-transport as underlying framework for HTTP
transport.



>
> Thanks
> Thusitha
>
> On Wed, Mar 29, 2017 at 12:01 PM, Abimaran Kugathasan 
> wrote:
>
>> Hi Dev,
>>
>> In API Manager 3.0, We have RESTAPISecurityInterceptor which implements
>> org.wso2.msf4j.Interceptor.
>>
>> When I send HTTP Get request, I'm getting 405, for HTTP POST and PUT it
>> works correctly.
>>
>> I debugged MSF4JMessageProcessor, there is a method named
>> 'receive(CarbonMessage carbonMessage, CarbonCallback carbonCallback)' which
>> haven't hit when I send GET.
>>
>> Which component calls this method? Also is there any configuration to
>> decide which HTTP verb should be served?
>>
>> Appreciate your responses.
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>> Senior Software Engineer - API Technologies
>>
>> Email : abima...@wso2.com
>> Mobile : +94 773922820 <+94%2077%20392%202820>
>>
>> 
>> 
>>   
>> 
>>
>>
>
>
> --
> Thusitha Dayaratne
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809 <+94%2071%20275%206809>
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
> 
>
>


-- 
Thanks
Abimaran Kugathasan
Senior Software Engineer - API Technologies

Email : abima...@wso2.com
Mobile : +94 773922820


  
  
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MSF4J] Interceptor#preCall method stopped serving HTTP GET randomly.

2017-03-29 Thread Thusitha Thilina Dayaratne
Hi Abimaran,

In API Manager 3.0, We have RESTAPISecurityInterceptor which implements
> org.wso2.msf4j.Interceptor.
> When I send HTTP Get request, I'm getting 405, for HTTP POST and PUT it
> works correctly.
> I debugged MSF4JMessageProcessor, there is a method named
> 'receive(CarbonMessage carbonMessage, CarbonCallback carbonCallback)' which
> haven't hit when I send GET.

This is the entry point for MSF4J. If that doesn't get hit, it implies due
to some reason the http message doesn't reach to MSF4J side through the
transport. But that is strange. COuold you please verify that?

Thanks
Thusitha

On Wed, Mar 29, 2017 at 12:01 PM, Abimaran Kugathasan 
wrote:

> Hi Dev,
>
> In API Manager 3.0, We have RESTAPISecurityInterceptor which implements
> org.wso2.msf4j.Interceptor.
>
> When I send HTTP Get request, I'm getting 405, for HTTP POST and PUT it
> works correctly.
>
> I debugged MSF4JMessageProcessor, there is a method named
> 'receive(CarbonMessage carbonMessage, CarbonCallback carbonCallback)' which
> haven't hit when I send GET.
>
> Which component calls this method? Also is there any configuration to
> decide which HTTP verb should be served?
>
> Appreciate your responses.
>
>
> --
> Thanks
> Abimaran Kugathasan
> Senior Software Engineer - API Technologies
>
> Email : abima...@wso2.com
> Mobile : +94 773922820 <+94%2077%20392%202820>
>
> 
> 
>   
> 
>
>


-- 
Thusitha Dayaratne
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [MSF4J] Interceptor#preCall method stopped serving HTTP GET randomly.

2017-03-29 Thread Abimaran Kugathasan
Hi Dev,

In API Manager 3.0, We have RESTAPISecurityInterceptor which implements
org.wso2.msf4j.Interceptor.

When I send HTTP Get request, I'm getting 405, for HTTP POST and PUT it
works correctly.

I debugged MSF4JMessageProcessor, there is a method named
'receive(CarbonMessage carbonMessage, CarbonCallback carbonCallback)' which
haven't hit when I send GET.

Which component calls this method? Also is there any configuration to
decide which HTTP verb should be served?

Appreciate your responses.


-- 
Thanks
Abimaran Kugathasan
Senior Software Engineer - API Technologies

Email : abima...@wso2.com
Mobile : +94 773922820


  
  
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] Rendering fragment attach client side javascript twice

2017-03-29 Thread Chandana Napagoda
Yes, this was fixed with the above PR

Regards,
Chandana

On Wed, Mar 29, 2017 at 11:53 AM, SajithAR Ariyarathna 
wrote:

> I think this issue has been fixed in https://github.com/wso2/
> carbon-uuf-common/pull/49. @Chandana please confirm.
>
> On Wed, Mar 29, 2017 at 11:50 AM, Anuruddha Liyanarachchi <
> anurudd...@wso2.com> wrote:
>
>> Hi,
>>
>> I noticed that rendering fragments with public javascript, that the
>> javascript function is getting attached twice. Therefore $(function () {});
>> method is getting triggered twice.
>>
>> As per the offline discussion with SajithAR fix for this bug is already
>> in the master branch.
>>
>> Can we get a release with this fix, please?
>>
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel  : +94 112 145 345
>> a nurudd...@wso2.com
>>
>
>
>
> --
> Sajith Janaprasad Ariyarathna
> Software Engineer; WSO2, Inc.;  http://wso2.com/
> 
>



-- 
*Chandana Napagoda*
Associate Technical Lead
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com **Mobile : +94718169299*

*Blog  :http://cnapagoda.blogspot.com  |
http://chandana.napagoda.com *

*Linkedin : http://www.linkedin.com/in/chandananapagoda
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] Rendering fragment attach client side javascript twice

2017-03-29 Thread SajithAR Ariyarathna
I think this issue has been fixed in
https://github.com/wso2/carbon-uuf-common/pull/49. @Chandana please confirm.

On Wed, Mar 29, 2017 at 11:50 AM, Anuruddha Liyanarachchi <
anurudd...@wso2.com> wrote:

> Hi,
>
> I noticed that rendering fragments with public javascript, that the
> javascript function is getting attached twice. Therefore $(function () {});
> method is getting triggered twice.
>
> As per the offline discussion with SajithAR fix for this bug is already in
> the master branch.
>
> Can we get a release with this fix, please?
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel  : +94 112 145 345
> a nurudd...@wso2.com
>



-- 
Sajith Janaprasad Ariyarathna
Software Engineer; WSO2, Inc.;  http://wso2.com/

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [UUF] Rendering fragment attach client side javascript twice

2017-03-29 Thread Anuruddha Liyanarachchi
Hi,

I noticed that rendering fragments with public javascript, that the
javascript function is getting attached twice. Therefore $(function () {});
method is getting triggered twice.

As per the offline discussion with SajithAR fix for this bug is already in
the master branch.

Can we get a release with this fix, please?

-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel  : +94 112 145 345
a nurudd...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev