Re: [Dev] [Architecture] [VOTE] Release WSO2 Enterprise Integrator 6.6.0 RC3
Hi all, I have tested the following under Data Service Tutorials and found no issues. - Exposing a Datasource as a Data Service - Invoking Multiple Operations via Request Box - Invoking an Operation with Multiple Records - Defining Nested Queries +1 Stable - Go ahead and release. Regards, Menuka On Wed, Dec 18, 2019 at 4:27 PM Sameera Gunarathne wrote: > Hi All, > > We are pleased to announce the third release candidate of WSO2 Enterprise > Integrator 6.6.0. > > Known issues: https://github.com/wso2/product-ei/issues > > Source and binary distribution files: > https://github.com/wso2/product-ei/releases/tag/v6.6.0-rc3 > > The tag to be voted upon: > https://github.com/wso2/product-ei/tree/v6.6.0-rc3 > > Please vote as follows: > [+] Stable - go ahead and release > [-] Broken - do not release (explain why) > > ~The WSO2 Integration Team~ > > Thanks, > -- > Sameera Gunarathne > Senior Software Engineer, WSO2 Inc. http://wso2.com > <http://l.facebook.com/l.php?u=http%3A%2F%2Fwso2.com=gAQEswASa> > Email: samee...@wso2.com > Mobile: +94714155561 > ___ > Architecture mailing list > architect...@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture > -- Menuka Warushavithana | Software Engineer | WSO2 Inc. (m) +94776979690 | (e) men...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [Architecture] [VOTE] Release WSO2 Enterprise Integrator 6.5.0 RC1
5-14+is%3Aclosed=%E2%9C%93> >>>>>>> >>>>>>> Known Issues >>>>>>> >>>>>>>- https://github.com/wso2/product-ei/issues >>>>>>>- https://github.com/wso2/micro-integrator/issues >>>>>>> >>>>>>> The tag to be voted upon: >>>>>>> https://github.com/wso2/product-ei/tree/v6.5.0-rc1 >>>>>>> >>>>>>> Source and binary distributions: >>>>>>> https://github.com/wso2/product-ei/releases/tag/v6.5.0-rc1 >>>>>>> >>>>>>> Please test and vote as follows >>>>>>> >>>>>>> [+] Stable - go ahead and release >>>>>>> [-] Broken - do not release (explain why) >>>>>>> >>>>>>> You may find the official documentation in: >>>>>>> https://docs.wso2.com/display/EI6xx >>>>>>> >>>>>>> ~ The Enterprise Integrator Team ~ >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> *M.Nirothipan* | Senior Software Engineer | WSO2 Inc. >>>>>>> >>>>>>> (m) +94772172692 | (e) nirothi...@wso2.com >>>>>>> >>>>>>> [image: http://wso2.com/signature] <http://wso2.com/signature> >>>>>>> >>>>>>> >>>>>> >>>>>> -- >>>>>> >>>>>> *Chanika Geeganage* | Associate Technical Lead | WSO2 Inc. >>>>>> >>>>>> (m) +94-77-3522586 | (e) chan...@wso2.com >>>>>> >>>>>> <https://wso2.com/signature> >>>>>> ___ >>>>>> 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>* >>>>> ___ >>>>> 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 >>>> >>> >>> >>> -- >>> >>> *M.Nirothipan* | Senior Software Engineer | WSO2 Inc. >>> >>> (m) +94772172692 | (e) nirothi...@wso2.com >>> >>> [image: http://wso2.com/signature] <http://wso2.com/signature> >>> >>> ___ >>> Architecture mailing list >>> architect...@wso2.org >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >>> >> >> >> -- >> Sameera Gunarathne >> Senior Software Engineer, WSO2 Inc. http://wso2.com >> <http://l.facebook.com/l.php?u=http%3A%2F%2Fwso2.com=gAQEswASa> >> Email: samee...@wso2.com >> Mobile: +94714155561 >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> > > > -- > *Thishani Lucas* | Senior Software Engineer | WSO2 Inc. > <https://wso2.com/> > (M) +94 772556931 | (E) thish...@wso2.com > <http://wso2.com/signature> > > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > -- Menuka Warushavithana | Software Engineer | WSO2 Inc. (m) +94776979690 | (e) men...@wso2.com ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [APIM] [C5] package-lock.json files are untracked
Hi all, I have created a GitHub issue for $subject. [1] AFAIK package-lock.json files should either be committed or ignored (added to .gitignore) to avoid unexpected results. [2] Or the generation of package-lock.json could be disabled altogether by adding the line 'package-lock=false' to the .npmrc file. [3] [1] https://github.com/wso2/carbon-apimgt/issues/4676 [2] https://github.com/nodejs/citgm/issues/451 [3] https://github.com/hapijs/contrib/issues/114 Regards *Menuka Warushavithana* *Software Engineering Intern* *WSO2* *Moblie: + <%2B%2094%2011%202145345%20%C2%A0Ext.%205737> 94 77 6979690* *LinkedIn: **https://www.linkedin.com/in/menukawarushavithana/ <https://www.linkedin.com/in/menukawarushavithana/>* *GitHub: **https://github.com/menuka94/ <https://github.com/menuka94/>* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] [C5] Exporting APIs with No Endpoints
HI Harsha, AFAIU an API would not have defined endpoints because it's still being constructed or have no back-end setup properly. Thanks Menuka *Menuka Warushavithana* *Software Engineering Intern* *WSO2* *Moblie: + <%2B%2094%2011%202145345%20%C2%A0Ext.%205737> 94 77 6979690* On Tue, Oct 31, 2017 at 6:57 PM, Harsha Kumara <hars...@wso2.com> wrote: > Hi Menuka, > > It's merged now. However, what's the possibility of an API without having > an endpoint? > > Thanks, > Harsha > > On Fri, Oct 27, 2017 at 12:01 PM, Menuka Warushavithana <men...@wso2.com> > wrote: > >> Hi all, >> I have created a GitHub issue [1] for a bug in ExportAPI in APIM 3.0.0. >> I also opened a pull request [2] with a quick fix for this particular bug. >> >> [1] https://github.com/wso2/product-apim/issues/1455 >> [2] https://github.com/wso2/carbon-apimgt/pull/4680 >> >> Best Regards >> >> *Menuka Warushavithana* >> *Software Engineering Intern* >> *WSO2* >> >> *Moblie: + <%2B%2094%2011%202145345%20%C2%A0Ext.%205737> 94 77 >> 6979690* >> *GitHub: menuka94* >> *LinkedIn: **https://www.linkedin.com/in/menukawarushavithana >> <https://www.linkedin.com/in/menukawarushavithana>* >> >> >> > > > -- > Harsha Kumara > Software Engineer, WSO2 Inc. > Mobile: +94775505618 <+94%2077%20550%205618> > Blog:harshcreationz.blogspot.com > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [APIM] [C5] Exporting APIs with No Endpoints
Hi all, I have created a GitHub issue [1] for a bug in ExportAPI in APIM 3.0.0. I also opened a pull request [2] with a quick fix for this particular bug. [1] https://github.com/wso2/product-apim/issues/1455 [2] https://github.com/wso2/carbon-apimgt/pull/4680 Best Regards *Menuka Warushavithana* *Software Engineering Intern* *WSO2* *Moblie: + <%2B%2094%2011%202145345%20%C2%A0Ext.%205737> 94 77 6979690* *GitHub: menuka94* *LinkedIn: **https://www.linkedin.com/in/menukawarushavithana <https://www.linkedin.com/in/menukawarushavithana>* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [APIM] [Golang] Implementing HTTP PUT in Golang
Hi Roshan, I'm not developing any APIs in this particular project. This is merely a client side application that would utilize the existing Import/Export APIs. GoLang was selected since it allows creating binaries hence executing directly; sparing the use of any virtual runtime. Thanks Menuka *Menuka Warushavithana* *Software Engineering Intern* *WSO2* *Moblie: + <%2B%2094%2011%202145345%20%C2%A0Ext.%205737> 94 77 6979690* On Mon, Aug 14, 2017 at 9:19 AM, roshan wijesena <roshan86...@gmail.com> wrote: > Hello Menuka, > > It is Interesting to know why we have selected GoLang to develop this API > rather JAVA? Will it work with a JVM OOTB with out installing any > additional libs? > > Regards > Roshan. > > On Mon, Aug 14, 2017 at 1:39 PM, Isuru Haththotuwa <isu...@wso2.com> > wrote: > >> Just to clarify, is this working with POST? >> >> On Mon, Aug 14, 2017 at 9:01 AM, Isuru Haththotuwa <isu...@wso2.com> >> wrote: >> >>> The best way to figure out this would be to debug the MSF4J layer. >>> >>> @Thusitha/Chanaka: Can you please give some input on where to start >>> debugging for this particular case? >>> >>> On Sun, Aug 13, 2017 at 12:54 PM, Menuka Warushavithana <men...@wso2.com >>> > wrote: >>> >>>> Hi, >>>> I'm working on creating a CLI tool for importing and exporting APIs >>>> between different environments (for WSO2 API Manager 3.0.0) using Golang. >>>> >>>> I have an issue with importing APIs. >>>> The following curl command works fine. >>>> *`curl -k -F "file=@exported.zip" -X PUT -H "Authorization: Bearer >>>> " https://localhost:9292/api/am/publisher/v1.0/import/apis >>>> <https://localhost:9292/api/am/publisher/v1.0/import/apis>`* >>>> >>>> The problem is with mapping this to Go code. >>>> Here's what I wrote at first. >>>> >>>> func main() { >>>> data, err := os.Open("./exported.zip") >>>> accessToken := "" >>>> if err != nil { >>>> fmt.Println("Error oening file") >>>> panic(err) >>>> } >>>> >>>> req, reqErr := http.NewRequest(http.MethodPut, " >>>> https://localhost:9292/api/am/publisher/v1.0/import/apis;, data) >>>> if reqErr != nil { >>>> fmt.Println("Error creating request") >>>> panic(reqErr) >>>> } >>>> >>>> req.Header.Add("Content-Type", "multipart/form-data") // response >>>> is 500 with or without this line >>>> req.Header.Add("Authorization", "Bearer "+accessToken) >>>> >>>> tr := { >>>> TLSClientConfig: {InsecureSkipVerify: true}, // for >>>> skipping errors in https >>>> } >>>> >>>> client := {Transport: tr} >>>> res, resErr := client.Do(req) >>>> >>>> if resErr != nil { >>>> fmt.Println("Error in response") >>>> panic(resErr) >>>> } >>>> >>>> body, err := ioutil.ReadAll(res.Body) >>>> >>>> fmt.Println("Response:", res) >>>> fmt.Println("Body:", string(body)) >>>> fmt.Println("Status:", res.Status) >>>> >>>> defer res.Body.Close() >>>> } >>>> >>>> This returns a *500 Internal Server Error.* >>>> >>>> But the request works fine with *Postman* client. Therefore, I tried >>>> putting the extra headers generated by Postman in Go code. >>>> >>>> func main() { >>>> url := "https://localhost:9292/api/am/publisher/v1.0; >>>> accessToken := "" >>>> >>>> payload := strings.NewReader("--WebKi >>>> tFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; >>>> name=\"file\"; filename=\"./exported.zip\"\r\nContent-Type: >>>> application/zip\r\n\r\n\r\n--WebKitFormBoundary7MA4YWxkTrZu0gW--") >>>> >>>> req, _ := http.NewRequest(http.MethodPut, url, payload) >>>> >>>> req.Header.Add("content-type", "multipart/form-data; >>>> boundary=WebKitFormBoundary7MA4YWxkTrZu0gW") >>>>
Re: [Dev] [APIM] [Golang] Implementing HTTP PUT in Golang
Hi Isuru, Unfortunately, it did not work with POST either. Thanks Menuka *Menuka Warushavithana* *Software Engineering Intern* *WSO2* *Moblie: + <%2B%2094%2011%202145345%20%C2%A0Ext.%205737> 94 77 6979690* On Mon, Aug 14, 2017 at 9:09 AM, Isuru Haththotuwa <isu...@wso2.com> wrote: > Just to clarify, is this working with POST? > > > On Mon, Aug 14, 2017 at 9:01 AM, Isuru Haththotuwa <isu...@wso2.com> > wrote: > >> The best way to figure out this would be to debug the MSF4J layer. >> >> @Thusitha/Chanaka: Can you please give some input on where to start >> debugging for this particular case? >> >> On Sun, Aug 13, 2017 at 12:54 PM, Menuka Warushavithana <men...@wso2.com> >> wrote: >> >>> Hi, >>> I'm working on creating a CLI tool for importing and exporting APIs >>> between different environments (for WSO2 API Manager 3.0.0) using Golang. >>> >>> I have an issue with importing APIs. >>> The following curl command works fine. >>> *`curl -k -F "file=@exported.zip" -X PUT -H "Authorization: Bearer >>> " https://localhost:9292/api/am/publisher/v1.0/import/apis >>> <https://localhost:9292/api/am/publisher/v1.0/import/apis>`* >>> >>> The problem is with mapping this to Go code. >>> Here's what I wrote at first. >>> >>> func main() { >>> data, err := os.Open("./exported.zip") >>> accessToken := "" >>> if err != nil { >>> fmt.Println("Error oening file") >>> panic(err) >>> } >>> >>> req, reqErr := http.NewRequest(http.MethodPut, " >>> https://localhost:9292/api/am/publisher/v1.0/import/apis;, data) >>> if reqErr != nil { >>> fmt.Println("Error creating request") >>> panic(reqErr) >>> } >>> >>> req.Header.Add("Content-Type", "multipart/form-data") // response >>> is 500 with or without this line >>> req.Header.Add("Authorization", "Bearer "+accessToken) >>> >>> tr := { >>> TLSClientConfig: {InsecureSkipVerify: true}, // for >>> skipping errors in https >>> } >>> >>> client := {Transport: tr} >>> res, resErr := client.Do(req) >>> >>> if resErr != nil { >>> fmt.Println("Error in response") >>> panic(resErr) >>> } >>> >>> body, err := ioutil.ReadAll(res.Body) >>> >>> fmt.Println("Response:", res) >>> fmt.Println("Body:", string(body)) >>> fmt.Println("Status:", res.Status) >>> >>> defer res.Body.Close() >>> } >>> >>> This returns a *500 Internal Server Error.* >>> >>> But the request works fine with *Postman* client. Therefore, I tried >>> putting the extra headers generated by Postman in Go code. >>> >>> func main() { >>> url := "https://localhost:9292/api/am/publisher/v1.0; >>> accessToken := "" >>> >>> payload := strings.NewReader("--WebKi >>> tFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; >>> name=\"file\"; filename=\"./exported.zip\"\r\nContent-Type: >>> application/zip\r\n\r\n\r\n--WebKitFormBoundary7MA4YWxkTrZu0gW--") >>> >>> req, _ := http.NewRequest(http.MethodPut, url, payload) >>> >>> req.Header.Add("content-type", "multipart/form-data; >>> boundary=WebKitFormBoundary7MA4YWxkTrZu0gW") >>> req.Header.Add("authorization", "Bearer "+accessToken) >>> req.Header.Add("cache-control", "no-cache") >>> >>> tr := { >>> TLSClientConfig: {InsecureSkipVerify: true}, // for >>> skipping errors in https >>> } >>> >>> client := {Transport: tr} >>> resp, _ := client.Do(req) >>> >>> if resp != nil { >>> >>> body, _ := ioutil.ReadAll(resp.Body) >>> >>> fmt.Println(resp) >>> fmt.Println(string(body)) >>> } else { >>> fmt.Println("Null Response") >>> } >>> >>> fmt.Println(resp.Status) >>> } >>> >>> This returns a *405 - Method Not Allowed* >>> >>> So, Postman works. Curl works. Go does not. >>> I googled on 'multipart/form-data' under HTTP, but that didn't help >>> either. >>> >>> Your advice is much appreciated in solving this issue. >>> >>> Thanks and Regards >>> >>> *Menuka Warushavithana* >>> *Software Engineering Intern* >>> *WSO2* >>> >>> *Moblie: + <%2B%2094%2011%202145345%20%C2%A0Ext.%205737> 94 77 >>> 6979690 <077%20697%209690>* >>> >>> >>> >> >> >> -- >> Thanks and Regards, >> >> Isuru H. >> +94 716 358 048 <071%20635%208048>* <http://wso2.com/>* >> >> >> > > > -- > Thanks and Regards, > > Isuru H. > +94 716 358 048 <+94%2071%20635%208048>* <http://wso2.com/>* > > > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [APIM] [Golang] Implementing HTTP PUT in Golang
Hi, I'm working on creating a CLI tool for importing and exporting APIs between different environments (for WSO2 API Manager 3.0.0) using Golang. I have an issue with importing APIs. The following curl command works fine. *`curl -k -F "file=@exported.zip" -X PUT -H "Authorization: Bearer " https://localhost:9292/api/am/publisher/v1.0/import/apis <https://localhost:9292/api/am/publisher/v1.0/import/apis>`* The problem is with mapping this to Go code. Here's what I wrote at first. func main() { data, err := os.Open("./exported.zip") accessToken := "" if err != nil { fmt.Println("Error oening file") panic(err) } req, reqErr := http.NewRequest(http.MethodPut, " https://localhost:9292/api/am/publisher/v1.0/import/apis;, data) if reqErr != nil { fmt.Println("Error creating request") panic(reqErr) } req.Header.Add("Content-Type", "multipart/form-data") // response is 500 with or without this line req.Header.Add("Authorization", "Bearer "+accessToken) tr := { TLSClientConfig: {InsecureSkipVerify: true}, // for skipping errors in https } client := {Transport: tr} res, resErr := client.Do(req) if resErr != nil { fmt.Println("Error in response") panic(resErr) } body, err := ioutil.ReadAll(res.Body) fmt.Println("Response:", res) fmt.Println("Body:", string(body)) fmt.Println("Status:", res.Status) defer res.Body.Close() } This returns a *500 Internal Server Error.* But the request works fine with *Postman* client. Therefore, I tried putting the extra headers generated by Postman in Go code. func main() { url := "https://localhost:9292/api/am/publisher/v1.0; accessToken := "" payload := strings.NewReader("--WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"file\"; filename=\"./exported.zip\"\r\nContent-Type: application/zip\r\n\r\n\r\n--WebKitFormBoundary7MA4YWxkTrZu0gW--") req, _ := http.NewRequest(http.MethodPut, url, payload) req.Header.Add("content-type", "multipart/form-data; boundary=WebKitFormBoundary7MA4YWxkTrZu0gW") req.Header.Add("authorization", "Bearer "+accessToken) req.Header.Add("cache-control", "no-cache") tr := { TLSClientConfig: {InsecureSkipVerify: true}, // for skipping errors in https } client := {Transport: tr} resp, _ := client.Do(req) if resp != nil { body, _ := ioutil.ReadAll(resp.Body) fmt.Println(resp) fmt.Println(string(body)) } else { fmt.Println("Null Response") } fmt.Println(resp.Status) } This returns a *405 - Method Not Allowed* So, Postman works. Curl works. Go does not. I googled on 'multipart/form-data' under HTTP, but that didn't help either. Your advice is much appreciated in solving this issue. Thanks and Regards *Menuka Warushavithana* *Software Engineering Intern* *WSO2* *Moblie: + <%2B%2094%2011%202145345%20%C2%A0Ext.%205737> 94 77 6979690* ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
Re: [Dev] [GSoC 2017] Proposal 4: Idea Plugin for Siddhi
Hi Tishan, Recently I got to know that I will not be allowed to do the GSoC project (Idea Plugin for Siddhi) and participate in the WSO2 internship at the same time. Since I've been meaning to apply for the WSO2 internship for quite some time now, I will not be submitting the final proposal for the GSoC project. I would've preferred if I could do both. However, as I am forced to choose one of the two, I will drop out of the GSoC project. Thank you for all your support. Regards Menuka On 29 March 2017 at 22:53, Menuka Warushavithana <menuka...@cse.mrt.ac.lk> wrote: > Thank you very much. I'll improve it accordingly. > > On 29 March 2017 at 22:43, Tishan Dahanayakage <tis...@wso2.com> wrote: > >> Feedback provided. Please check >> >> /Tishan >> >> On Tue, Mar 28, 2017 at 10:26 AM, Tishan Dahanayakage <tis...@wso2.com> >> 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 <tis...@wso2.com> >>>>>> 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 hi
Re: [Dev] [GSoC 2017] Proposal 4: Idea Plugin for Siddhi
Thank you very much. I'll improve it accordingly. On 29 March 2017 at 22:43, Tishan Dahanayakage <tis...@wso2.com> wrote: > Feedback provided. Please check > > /Tishan > > On Tue, Mar 28, 2017 at 10:26 AM, Tishan Dahanayakage <tis...@wso2.com> > 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 <tis...@wso2.com> >>>>> 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 >>>>>>> -- >>>>>>> M
Re: [Dev] [GSoC 2017] Proposal 4: Idea Plugin for Siddhi
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/ >> compiler/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 <tis...@wso2.com> 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 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] [GSoC 2017] Proposal 4: Idea Plugin for Siddhi
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/siddhi-query-compiler/src/main/antlr4/org/wso2/siddhi/query/compiler/SiddhiQL.g4 Thank You -- Menuka Warushavithana LinkedIn: https://www.linkedin.com/in/menukawarushavithana GitHub: https://www.github.com/menuka94 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev
[Dev] (no subject)
___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev