Hi, I will look into REST side also then. Already found good APIs to work with Native Calls and SOAP.
I am also trying to come up with a list of classes of Siddhi Java Library that should be exposed via Python API. I don't think its required to wrap the internal classes since their functionality is not directly used by Siddhi Java Library users. I will update the list of classes to be wrapped at link below. Feel free to add in your suggestions as well. https://docs.google.com/document/d/154ndex3OBoE0zNOLHatmMOvt2JHh9RJya2VdHlHOTl4/edit?usp=sharing Thanks and Regards, Madhawa On Sun, May 7, 2017 at 11:26 PM, Sriskandarajah Suhothayan <s...@wso2.com> wrote: > Siddhi 3.x is compatible with DAS 3.1, and Siddhi 4.x is compatible with > DAS 4.0 which we are still working on. > > Siddhi APIs does not drastically change from 3.x to 4.x, > DAS 3.1 uses SOAP and DAS 4.0 uses HTTP/REST APIs > > So apart from native APIs, if you have figured out a way to use REST and > SOAP we are good enough. > > Regards > Suho > > On Sun, May 7, 2017 at 12:00 PM, Madhawa Vidanapathirana < > madhawavidanapathir...@gmail.com> wrote: > >> Hi, >> Need bit more clarity on what versions of products we should build on. >> >> Are we developing on DAS 3.1 (as mentioned in beginning of mail thread) >> or 4.0 (mentioned in previous mail) ? >> Also, what version of WSO2 CEP? >> >> According to my understanding so far, we are developing on Siddhi Java >> Library 4.0. >> >> Thanks and Regards, >> Madhawa >> >> On Sat, May 6, 2017 at 1:27 PM, Mohanadarshan Vivekanandalingam < >> mo...@wso2.com> wrote: >> >>> >>> >>> On Sat, May 6, 2017 at 9:06 AM, Sriskandarajah Suhothayan <s...@wso2.com >>> > wrote: >>> >>>> @Mohan on DAS 4.0 do we have similar services like admin services at >>>> the worker? >>>> >>>> Shall we come up with the exact list of apis that we need to have ? So >>>> he can also incorporate them. >>>> >>> >>> Yes, I have already listed some apis in [1].. Will get the finalized >>> list soon and share with Madhawa.. >>> >>> [1] https://docs.google.com/spreadsheets/d/1m0sh4DLABCFzCBmj >>> EXtVTrRGM0Mc6lvyYQP6rI99zhQ/edit#gid=0 >>> >>> Thanks, >>> Mohan >>> >>> >>>> >>>> Regards >>>> Suho >>>> >>>> On Fri, May 5, 2017 at 9:16 PM Mohanadarshan Vivekanandalingam < >>>> mo...@wso2.com> wrote: >>>> >>>>> [Adding other project mentors] >>>>> >>>>> On Fri, May 5, 2017 at 5:52 PM, Madhawa Vidanapathirana < >>>>> madhawavidanapathir...@gmail.com> wrote: >>>>> >>>>>> Hi, >>>>>> Thank you for accepting my proposal for Project "Python API for >>>>>> Siddhi CEP" in GSoC. >>>>>> >>>>>> The original proposal submitted by myself is available at [1]. >>>>>> >>>>>> Progress made so far is as follows. >>>>>> >>>>>> 1. Figured out a good technique to access JAVA APIs from Python >>>>>> via Native Calls. >>>>>> - Pyjnius Framework supports both method calls and callbacks >>>>>> between Python and Java. >>>>>> 2. Has wrapped the basic functionality of Siddhi CEP Java Library >>>>>> using Python in prototype implementations [2]. >>>>>> 3. Currently in the process of figuring out a good method to >>>>>> communicate with Admin Services from Python. >>>>>> - Zeep API [3] seems to be a good solution. It supports SSL as >>>>>> well. I have already managed to authenticate and invoke some >>>>>> methods of >>>>>> WSO2 DAS through this API. >>>>>> >>>>>> During the community bonding period, my plan is to gain more clarity >>>>>> on expected architecture of the system such as what sort of a public >>>>>> interface would be suitable for the Python API. I also hope to learn more >>>>>> on Admin Services Interface of WSO2 DAS. >>>>>> >>>>>> Would you like to see any changes in the proposal? Shall I proceed as >>>>>> per the plan their? >>>>>> >>>>>> [1] - https://drive.google.com/file/d/0B7wIuEzJseiwUF9xWGFRUnQyMWc >>>>>> /view?usp=sharing >>>>>> [2] - https://github.com/madhawav/CEP-Python-Wraps/tree/master/Pyj >>>>>> nius_Prototype_Wrap_Python2_3 >>>>>> [3] - http://docs.python-zeep.org/en/master/ >>>>>> >>>>>> Thanks and Regards, >>>>>> >>>>>> Madhawa >>>>>> >>>>>> On Tue, Apr 4, 2017 at 1:52 PM, Sriskandarajah Suhothayan < >>>>>> s...@wso2.com> wrote: >>>>>> >>>>>>> Great >>>>>>> >>>>>>> Suho >>>>>>> >>>>>>> On Tue, Apr 4, 2017 at 11:10 AM, Madhawa Vidanapathirana < >>>>>>> madhawavidanapathir...@gmail.com> wrote: >>>>>>> >>>>>>>> Hi Suho, >>>>>>>> >>>>>>>> I have submitted the final proposal through GSoC Dashboard. Thank >>>>>>>> you for all the support given. >>>>>>>> >>>>>>>> Looking forward for a great GSoC with WSO2. >>>>>>>> >>>>>>>> Regards, >>>>>>>> Madhawa >>>>>>>> >>>>>>>> >>>>>>>> On Monday, March 27, 2017, Madhawa Vidanapathirana < >>>>>>>> madhawavidanapathir...@gmail.com> wrote: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> I have shared the finalized draft proposal via the Google Summer >>>>>>>>> of Code Web Portal. Kindly let me know if any changes are required. >>>>>>>>> Hoping to submit the final proposal with changes based on your >>>>>>>>> feedback. >>>>>>>>> >>>>>>>>> Regards, >>>>>>>>> Madhawa >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Mar 24, 2017 at 4:15 PM, Madhawa Vidanapathirana < >>>>>>>>> madhawavidanapathir...@gmail.com> wrote: >>>>>>>>> >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> Good news. >>>>>>>>>> >>>>>>>>>> Requested a release from Pyjnius Developer Team [1] and managed >>>>>>>>>> to get a new release [2] to Python Package Index (PIP). Therefore, >>>>>>>>>> we no >>>>>>>>>> longer have to develop their library from GitHub code. >>>>>>>>>> We can simply consider it as a dependency which gets auto >>>>>>>>>> installed when our final product is deployed. >>>>>>>>>> >>>>>>>>>> [1] - https://github.com/kivy/pyjniu >>>>>>>>>> s/issues/189#issuecomment-288750222 >>>>>>>>>> [2] - https://pypi.python.org/pypi/pyjnius/1.1.1 >>>>>>>>>> >>>>>>>>>> Pyjnius is a library which can be used for calling Java methods >>>>>>>>>> from Python and obtaining callback responses. It uses native method >>>>>>>>>> calls. >>>>>>>>>> >>>>>>>>>> Regards, >>>>>>>>>> Madhawa >>>>>>>>>> >>>>>>>>>> On Thu, Mar 23, 2017 at 1:48 AM, Sriskandarajah Suhothayan < >>>>>>>>>> s...@wso2.com> wrote: >>>>>>>>>> >>>>>>>>>>> Good to know that it worked :) >>>>>>>>>>> >>>>>>>>>>> Regards >>>>>>>>>>> Suho >>>>>>>>>>> >>>>>>>>>>> On Wed, Mar 22, 2017 at 11:24 PM, Madhawa Vidanapathirana < >>>>>>>>>>> madhawavidanapathir...@gmail.com> wrote: >>>>>>>>>>> >>>>>>>>>>>> Hi Suho, >>>>>>>>>>>> >>>>>>>>>>>> Got the prototype working with Python 3 as well. Refer the link >>>>>>>>>>>> below for sources. >>>>>>>>>>>> >>>>>>>>>>>> https://github.com/madhawav/CEP-Python-Wraps/tree/master/Pyj >>>>>>>>>>>> nius_Prototype_Wrap_Python2_3 >>>>>>>>>>>> >>>>>>>>>>>> This version works with both Python 2.7 and 3.x. (Tested on 2.7 >>>>>>>>>>>> and 3.5). Uses native calls via Pyjnius API. >>>>>>>>>>>> >>>>>>>>>>>> Please note: When you are installing Pyjnius from source, don't >>>>>>>>>>>> use the same local copy of source files for both Python2 and >>>>>>>>>>>> Python3. The >>>>>>>>>>>> install scripts of Pyjnius leaves temporary files that make >>>>>>>>>>>> subsequent >>>>>>>>>>>> installs on a different version of Python fail. >>>>>>>>>>>> >>>>>>>>>>>> Regards, >>>>>>>>>>>> Madhawa >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> On Mon, Mar 20, 2017 at 12:44 PM, Madhawa Vidanapathirana < >>>>>>>>>>>> madhawavidanapathir...@gmail.com> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi Suho, >>>>>>>>>>>>> >>>>>>>>>>>>> Installation via PIP can be done. I will add it to Project >>>>>>>>>>>>> Proposal. >>>>>>>>>>>>> >>>>>>>>>>>>> Regards, >>>>>>>>>>>>> Madhawa >>>>>>>>>>>>> >>>>>>>>>>>>> On Mon, Mar 20, 2017 at 11:25 AM, Sriskandarajah Suhothayan < >>>>>>>>>>>>> s...@wso2.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Sun, Mar 19, 2017 at 4:02 PM, Madhawa Vidanapathirana < >>>>>>>>>>>>>> madhawavidanapathir...@gmail.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi Suho, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Going ahead with the proposal, few questions crossed my mind. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> 1. You mentioned previously that WSO2 DAS should also be >>>>>>>>>>>>>>> supported. What sort of interactions are expected with WSO2 >>>>>>>>>>>>>>> DAS? >>>>>>>>>>>>>>> 1. Should publishing events to WSO2 DAS from Python >>>>>>>>>>>>>>> Siddhi API supported? >>>>>>>>>>>>>>> 2. Should deploying of Siddhi Queries to WSO2 DAS >>>>>>>>>>>>>>> through Python Siddhi API be supported? >>>>>>>>>>>>>>> 3. Any other expectations? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> For the integration with DAS we can use HTTP calls and deploy >>>>>>>>>>>>>> Siddhi queries and send events to that, we should also start a >>>>>>>>>>>>>> server from >>>>>>>>>>>>>> the python side to receive events from DAS and print them. >>>>>>>>>>>>>> >>>>>>>>>>>>>> We can work on the details of that after the proposal. >>>>>>>>>>>>>> >>>>>>>>>>>>>> One more thing to add, can we also implement Siddhi (the >>>>>>>>>>>>>> project you will be creating) to be installed via pip ? >>>>>>>>>>>>>> >>>>>>>>>>>>>> Regards >>>>>>>>>>>>>> Suho >>>>>>>>>>>>>> >>>>>>>>>>>>>> If any of above can be considered as "optional", indicate >>>>>>>>>>>>>>> them as well. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>> Madhawa >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Sat, Mar 18, 2017 at 9:00 PM, Sriskandarajah Suhothayan < >>>>>>>>>>>>>>> s...@wso2.com> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> For the initial cut this looks good, please go ahead with >>>>>>>>>>>>>>>> the proposal. Let's check some other alternatives and start the >>>>>>>>>>>>>>>> development. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Regards >>>>>>>>>>>>>>>> Suho >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Sat, Mar 18, 2017 at 1:01 PM, Madhawa Vidanapathirana < >>>>>>>>>>>>>>>> madhawavidanapathir...@gmail.com> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Hi Suho, >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> You can find the python version of test case written using >>>>>>>>>>>>>>>>> Pyjnius in below link. >>>>>>>>>>>>>>>>> https://github.com/madhawav/CE >>>>>>>>>>>>>>>>> P-Python-Wraps/tree/master/Pyjnius%20Prototype%20Wrap >>>>>>>>>>>>>>>>> Instructions on building the code is also given their. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> During development, I noticed following disadvantages of >>>>>>>>>>>>>>>>> Pyjnius API >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> - Not compatible with Python 3.x. >>>>>>>>>>>>>>>>> - There are no stable releases. However, the code >>>>>>>>>>>>>>>>> available in master branch is relatively stable. >>>>>>>>>>>>>>>>> - Difficult to configure. It is required to develop >>>>>>>>>>>>>>>>> the library from source. This would make it difficult to >>>>>>>>>>>>>>>>> distribute an API >>>>>>>>>>>>>>>>> developed on Pyjnius. >>>>>>>>>>>>>>>>> - There are no evidence that a proper release would be >>>>>>>>>>>>>>>>> done soon. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> However, Pyjnius supports callback of events from Java to >>>>>>>>>>>>>>>>> Python. Additionally, it is easier to develop using Pyjnius >>>>>>>>>>>>>>>>> ones it is >>>>>>>>>>>>>>>>> configured. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> So, I had a looked at some of the other options as well. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Java Bridge >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> *Advantages* >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> - Has stable releases available through Python Package >>>>>>>>>>>>>>>>> Index. (pip) >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> *Disadvantages* >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> - No direct call-back mechanism to receive events from >>>>>>>>>>>>>>>>> Java side. It is possible to execute Python scripts in >>>>>>>>>>>>>>>>> Java but those >>>>>>>>>>>>>>>>> scripts would not be in same context as Python Host App. >>>>>>>>>>>>>>>>> - Comparatively harder to develop on but it is >>>>>>>>>>>>>>>>> manageable. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Py4J >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> The main difference in Py4J is that it uses socket >>>>>>>>>>>>>>>>> connections to communicate with JVM instead of JNI. (secured >>>>>>>>>>>>>>>>> socket >>>>>>>>>>>>>>>>> connections are possible). >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> *Advantages* >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> - Stable release available through Python Package >>>>>>>>>>>>>>>>> Index (pip). Easy to configure. >>>>>>>>>>>>>>>>> - Can connect to an already running Java application >>>>>>>>>>>>>>>>> (with Py4J) and communicate with it. (Thus, can be used to >>>>>>>>>>>>>>>>> communicate with >>>>>>>>>>>>>>>>> a running instance of WSO2 CEP) >>>>>>>>>>>>>>>>> - Supports callback events. >>>>>>>>>>>>>>>>> - Well maintained documentation. Active project. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> *Disadvantages* >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> - Would require a work-around to avoid clashing >>>>>>>>>>>>>>>>> between socket connection ports when concurrent >>>>>>>>>>>>>>>>> applications use the API. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> As of now, I feel Py4J is the most suitable option. >>>>>>>>>>>>>>>>> However, I am yet to look at some other options available >>>>>>>>>>>>>>>>> such as JPy and >>>>>>>>>>>>>>>>> JCC. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Madhawa >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Wed, Mar 15, 2017 at 11:10 PM, Sriskandarajah >>>>>>>>>>>>>>>>> Suhothayan <s...@wso2.com> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Great, do also start working on writing the project >>>>>>>>>>>>>>>>>> proposal. >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Regards >>>>>>>>>>>>>>>>>> Suho >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> On Wed, Mar 15, 2017 at 10:58 PM, Madhawa Vidanapathirana >>>>>>>>>>>>>>>>>> <madhawavidanapathir...@gmail.com> wrote: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Hi Suho, >>>>>>>>>>>>>>>>>>> Progress made so far is managed to write a python >>>>>>>>>>>>>>>>>>> version of test case you suggested using Pyjnius [1] [2]. >>>>>>>>>>>>>>>>>>> Pyjnius is capable of handling method calls and >>>>>>>>>>>>>>>>>>> callbacks to/from JAVA via JNI. >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> I will send the code here after I properly arrange it >>>>>>>>>>>>>>>>>>> into a prototype API. >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> [1] - https://pyjnius.readthedocs.io >>>>>>>>>>>>>>>>>>> /en/latest/index.html >>>>>>>>>>>>>>>>>>> [2] - https://github.com/kivy/pyjniu >>>>>>>>>>>>>>>>>>> s/blob/master/docs/source/index.rst >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Regards, >>>>>>>>>>>>>>>>>>> Madhawa >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> On Wed, Mar 15, 2017 at 1:11 AM, Sriskandarajah >>>>>>>>>>>>>>>>>>> Suhothayan <s...@wso2.com> wrote: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> As the first step focus on building APIs such that we >>>>>>>>>>>>>>>>>>>> can write the following test case[1] in python. >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> [1]https://github.com/wso2/sid >>>>>>>>>>>>>>>>>>>> dhi/blob/master/modules/siddhi >>>>>>>>>>>>>>>>>>>> -samples/quick-start-samples/s >>>>>>>>>>>>>>>>>>>> rc/main/java/org/wso2/siddhi/s >>>>>>>>>>>>>>>>>>>> ample/SimpleFilterSample.java >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Regards >>>>>>>>>>>>>>>>>>>> Suho >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> On Tue, Mar 14, 2017 at 9:55 AM, Madhawa >>>>>>>>>>>>>>>>>>>> Vidanapathirana <madhawavidanapathir...@gmail.com> >>>>>>>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>>>>>>>>> Thank you for your quick reply. >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Since directly using Siddhi Library is the more >>>>>>>>>>>>>>>>>>>>> general case, I'll first focus on it. >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> 1) I am thinking about following the same structure in >>>>>>>>>>>>>>>>>>>>> JAVA API, centered around Siddhi Manager. Any opinions on >>>>>>>>>>>>>>>>>>>>> this? >>>>>>>>>>>>>>>>>>>>> 2) Any idea on extent to which lower level/internal >>>>>>>>>>>>>>>>>>>>> components should be exposed? (e.g. - Exposing >>>>>>>>>>>>>>>>>>>>> "StreamDefinition" class in >>>>>>>>>>>>>>>>>>>>> addition to creating stream via Siddhi query using >>>>>>>>>>>>>>>>>>>>> "siddhiManager >>>>>>>>>>>>>>>>>>>>> .createExecutionPlanRuntime"). I have heard that it >>>>>>>>>>>>>>>>>>>>> is usually discouraged to use lower level components >>>>>>>>>>>>>>>>>>>>> instead of the query >>>>>>>>>>>>>>>>>>>>> approach. >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Will try to send you a prototype covering basic >>>>>>>>>>>>>>>>>>>>> functionality through Siddhi Java API, before making the >>>>>>>>>>>>>>>>>>>>> proposal for >>>>>>>>>>>>>>>>>>>>> entire project. >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Madhawa >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> On Mon, Mar 13, 2017 at 9:53 PM, Sriskandarajah >>>>>>>>>>>>>>>>>>>>> Suhothayan <s...@wso2.com> wrote: >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> On Sun, Mar 12, 2017 at 12:37 PM, Madhawa >>>>>>>>>>>>>>>>>>>>>> Vidanapathirana <madhawavidanapathir...@gmail.com> >>>>>>>>>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> Hi. >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> I am an undergraduate from Department of Computer >>>>>>>>>>>>>>>>>>>>>>> Science and Engineering, University of Moratuwa. I >>>>>>>>>>>>>>>>>>>>>>> recently completed my >>>>>>>>>>>>>>>>>>>>>>> internship at WSO2 working with the Support Team on the >>>>>>>>>>>>>>>>>>>>>>> project WSO2 >>>>>>>>>>>>>>>>>>>>>>> Support Knowledge Base. >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> I am interested on GSOC Project* "Proposal 16: >>>>>>>>>>>>>>>>>>>>>>> Python API for Siddhi CEP"*. My internship project >>>>>>>>>>>>>>>>>>>>>>> at WSO2 was almost entirely done using Python. >>>>>>>>>>>>>>>>>>>>>>> Additionally, I used Py4J >>>>>>>>>>>>>>>>>>>>>>> Framework to interface certain parts of the project to >>>>>>>>>>>>>>>>>>>>>>> JAVA APIs. >>>>>>>>>>>>>>>>>>>>>>> Furthermore, I have a certain amount of exposure with >>>>>>>>>>>>>>>>>>>>>>> Siddhi/CEP through >>>>>>>>>>>>>>>>>>>>>>> the WHACK project I took part. >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> I went through the provided details in WSO2 GSOC >>>>>>>>>>>>>>>>>>>>>>> 2017 Project List page and I am interested to know some >>>>>>>>>>>>>>>>>>>>>>> more details. >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> 1. What version of CEP/Siddhi should be used by >>>>>>>>>>>>>>>>>>>>>>> the API? >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> You need to support the latest released version of >>>>>>>>>>>>>>>>>>>>>> Siddhi and DAS which is in DAS 3.1 and also for the >>>>>>>>>>>>>>>>>>>>>> latest Siddhi (4.0) >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> 1. In the description, does "Service APIs" refer >>>>>>>>>>>>>>>>>>>>>>> to "Admin Services API" which is usually used by >>>>>>>>>>>>>>>>>>>>>>> Admin Panel to communicate >>>>>>>>>>>>>>>>>>>>>>> with CEP? >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> Yes, to deploy the queries and to send and receive >>>>>>>>>>>>>>>>>>>>>> events >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> 1. Should the Siddhi Python API require WSO2 CEP >>>>>>>>>>>>>>>>>>>>>>> to be running in order to make Python API usable? >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> Not necessay it should both work with the running >>>>>>>>>>>>>>>>>>>>>> CEP/DAS and use Siddhi library in the ohter cases. >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> 1. Is the Python API expected to do configuring >>>>>>>>>>>>>>>>>>>>>>> of Siddhi CEP, streaming events to/from Siddhi CEP, >>>>>>>>>>>>>>>>>>>>>>> or both? >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> Yes in terms of queries. >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> Thank You >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>>> *Madhawa Vidanapathirana* >>>>>>>>>>>>>>>>>>>>>>> Student >>>>>>>>>>>>>>>>>>>>>>> Department of Computer Science and Engineering >>>>>>>>>>>>>>>>>>>>>>> University of Moratuwa >>>>>>>>>>>>>>>>>>>>>>> Sri Lanka >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> Mobile: (+94) 716874425 <071%20687%204425> >>>>>>>>>>>>>>>>>>>>>>> Email: madhawavidanapathir...@gmail.com >>>>>>>>>>>>>>>>>>>>>>> Linked-In: https://lk.linkedin >>>>>>>>>>>>>>>>>>>>>>> .com/in/madhawa-vidanapathirana-3430b94 >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> *S. Suhothayan* >>>>>>>>>>>>>>>>>>>>>> Associate Director / Architect & Team Lead of WSO2 >>>>>>>>>>>>>>>>>>>>>> Complex Event Processor >>>>>>>>>>>>>>>>>>>>>> *WSO2 Inc. *http://wso2.com >>>>>>>>>>>>>>>>>>>>>> * <http://wso2.com/>* >>>>>>>>>>>>>>>>>>>>>> lean . enterprise . middleware >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> *cell: (+94) 779 756 757 <+94%2077%20975%206757> | >>>>>>>>>>>>>>>>>>>>>> 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>* >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>> *Madhawa Vidanapathirana* >>>>>>>>>>>>>>>>>>>>> Student >>>>>>>>>>>>>>>>>>>>> Department of Computer Science and Engineering >>>>>>>>>>>>>>>>>>>>> University of Moratuwa >>>>>>>>>>>>>>>>>>>>> Sri Lanka >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Mobile: (+94) 716874425 <071%20687%204425> >>>>>>>>>>>>>>>>>>>>> Email: madhawavidanapathir...@gmail.com >>>>>>>>>>>>>>>>>>>>> Linked-In: https://lk.linkedin >>>>>>>>>>>>>>>>>>>>> .com/in/madhawa-vidanapathirana-3430b94 >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> *S. Suhothayan* >>>>>>>>>>>>>>>>>>>> Associate Director / Architect & Team Lead of WSO2 >>>>>>>>>>>>>>>>>>>> Complex Event Processor >>>>>>>>>>>>>>>>>>>> *WSO2 Inc. *http://wso2.com >>>>>>>>>>>>>>>>>>>> * <http://wso2.com/>* >>>>>>>>>>>>>>>>>>>> lean . enterprise . middleware >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> *cell: (+94) 779 756 757 <+94%2077%20975%206757> | >>>>>>>>>>>>>>>>>>>> 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>* >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>> *Madhawa Vidanapathirana* >>>>>>>>>>>>>>>>>>> Student >>>>>>>>>>>>>>>>>>> Department of Computer Science and Engineering >>>>>>>>>>>>>>>>>>> University of Moratuwa >>>>>>>>>>>>>>>>>>> Sri Lanka >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Mobile: (+94) 716874425 <071%20687%204425> >>>>>>>>>>>>>>>>>>> Email: madhawavidanapathir...@gmail.com >>>>>>>>>>>>>>>>>>> Linked-In: https://lk.linkedin >>>>>>>>>>>>>>>>>>> .com/in/madhawa-vidanapathirana-3430b94 >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> *S. Suhothayan* >>>>>>>>>>>>>>>>>> Associate Director / Architect & Team Lead of WSO2 >>>>>>>>>>>>>>>>>> Complex Event Processor >>>>>>>>>>>>>>>>>> *WSO2 Inc. *http://wso2.com >>>>>>>>>>>>>>>>>> * <http://wso2.com/>* >>>>>>>>>>>>>>>>>> lean . enterprise . middleware >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> *cell: (+94) 779 756 757 <+94%2077%20975%206757> | 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>* >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>> *Madhawa Vidanapathirana* >>>>>>>>>>>>>>>>> Student >>>>>>>>>>>>>>>>> Department of Computer Science and Engineering >>>>>>>>>>>>>>>>> University of Moratuwa >>>>>>>>>>>>>>>>> Sri Lanka >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Mobile: (+94) 716874425 <071%20687%204425> >>>>>>>>>>>>>>>>> Email: madhawavidanapathir...@gmail.com >>>>>>>>>>>>>>>>> Linked-In: https://lk.linkedin >>>>>>>>>>>>>>>>> .com/in/madhawa-vidanapathirana-3430b94 >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> *S. Suhothayan* >>>>>>>>>>>>>>>> Associate Director / Architect & Team Lead of WSO2 Complex >>>>>>>>>>>>>>>> Event Processor >>>>>>>>>>>>>>>> *WSO2 Inc. *http://wso2.com >>>>>>>>>>>>>>>> * <http://wso2.com/>* >>>>>>>>>>>>>>>> lean . enterprise . middleware >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> *cell: (+94) 779 756 757 <+94%2077%20975%206757> | 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>* >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> *Madhawa Vidanapathirana* >>>>>>>>>>>>>>> Student >>>>>>>>>>>>>>> Department of Computer Science and Engineering >>>>>>>>>>>>>>> University of Moratuwa >>>>>>>>>>>>>>> Sri Lanka >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Mobile: (+94) 716874425 <071%20687%204425> >>>>>>>>>>>>>>> Email: madhawavidanapathir...@gmail.com >>>>>>>>>>>>>>> Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathiran >>>>>>>>>>>>>>> a-3430b94 >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> >>>>>>>>>>>>>> *S. Suhothayan* >>>>>>>>>>>>>> Associate Director / Architect & Team Lead of WSO2 Complex >>>>>>>>>>>>>> Event Processor >>>>>>>>>>>>>> *WSO2 Inc. *http://wso2.com >>>>>>>>>>>>>> * <http://wso2.com/>* >>>>>>>>>>>>>> lean . enterprise . middleware >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> *cell: (+94) 779 756 757 <077%20975%206757> | 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>* >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> *Madhawa Vidanapathirana* >>>>>>>>>>>>> Student >>>>>>>>>>>>> Department of Computer Science and Engineering >>>>>>>>>>>>> University of Moratuwa >>>>>>>>>>>>> Sri Lanka >>>>>>>>>>>>> >>>>>>>>>>>>> Mobile: (+94) 716874425 <+94%2071%20687%204425> >>>>>>>>>>>>> Email: madhawavidanapathir...@gmail.com >>>>>>>>>>>>> Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathiran >>>>>>>>>>>>> a-3430b94 >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> *Madhawa Vidanapathirana* >>>>>>>>>>>> Student >>>>>>>>>>>> Department of Computer Science and Engineering >>>>>>>>>>>> University of Moratuwa >>>>>>>>>>>> Sri Lanka >>>>>>>>>>>> >>>>>>>>>>>> Mobile: (+94) 716874425 <071%20687%204425> >>>>>>>>>>>> Email: madhawavidanapathir...@gmail.com >>>>>>>>>>>> Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathiran >>>>>>>>>>>> a-3430b94 >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> >>>>>>>>>>> *S. Suhothayan* >>>>>>>>>>> Associate Director / Architect >>>>>>>>>>> *WSO2 Inc. *http://wso2.com >>>>>>>>>>> * <http://wso2.com/>* >>>>>>>>>>> lean . enterprise . middleware >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> *cell: (+94) 779 756 757 <+94%2077%20975%206757> | 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>* >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> *Madhawa Vidanapathirana* >>>>>>>>>> Student >>>>>>>>>> Department of Computer Science and Engineering >>>>>>>>>> University of Moratuwa >>>>>>>>>> Sri Lanka >>>>>>>>>> >>>>>>>>>> Mobile: (+94) 716874425 <+94%2071%20687%204425> >>>>>>>>>> Email: madhawavidanapathir...@gmail.com >>>>>>>>>> Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathiran >>>>>>>>>> a-3430b94 >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> *Madhawa Vidanapathirana* >>>>>>>>> Student >>>>>>>>> Department of Computer Science and Engineering >>>>>>>>> University of Moratuwa >>>>>>>>> Sri Lanka >>>>>>>>> >>>>>>>>> Mobile: (+94) 716874425 <071%20687%204425> >>>>>>>>> Email: madhawavidanapathir...@gmail.com >>>>>>>>> Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathiran >>>>>>>>> a-3430b94 >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> *Madhawa Vidanapathirana* >>>>>>>> Student >>>>>>>> Department of Computer Science and Engineering >>>>>>>> University of Moratuwa >>>>>>>> Sri Lanka >>>>>>>> >>>>>>>> Mobile: (+94) 716874425 <071%20687%204425> >>>>>>>> Email: madhawavidanapathir...@gmail.com >>>>>>>> Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathiran >>>>>>>> a-3430b94 >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> >>>>>>> *S. Suhothayan* >>>>>>> Associate Director / Architect >>>>>>> *WSO2 Inc. *http://wso2.com >>>>>>> * <http://wso2.com/>* >>>>>>> lean . enterprise . middleware >>>>>>> >>>>>>> >>>>>>> *cell: (+94) 779 756 757 <+94%2077%20975%206757> | 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>* >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *Madhawa Vidanapathirana* >>>>>> Student >>>>>> Department of Computer Science and Engineering >>>>>> University of Moratuwa >>>>>> Sri Lanka >>>>>> >>>>>> Mobile: (+94) 716874425 <+94%2071%20687%204425> >>>>>> Email: madhawavidanapathir...@gmail.com >>>>>> Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathirana-3430b94 >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> Dev@wso2.org >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *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> >>>>> >>>> -- >>>> >>>> *S. Suhothayan* >>>> Associate Director / Architect >>>> *WSO2 Inc. *http://wso2.com >>>> * <http://wso2.com/>* >>>> lean . enterprise . middleware >>>> >>>> >>>> *cell: (+94) 779 756 757 <+94%2077%20975%206757> | 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>* >>>> >>> >>> >>> >>> -- >>> *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> >>> >> >> >> >> -- >> *Madhawa Vidanapathirana* >> Student >> Department of Computer Science and Engineering >> University of Moratuwa >> Sri Lanka >> >> Mobile: (+94) 716874425 <071%20687%204425> >> Email: madhawavidanapathir...@gmail.com >> Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathirana-3430b94 >> > > > > -- > > *S. Suhothayan* > Associate Director / Architect > *WSO2 Inc. *http://wso2.com > * <http://wso2.com/>* > lean . enterprise . middleware > > > *cell: (+94) 779 756 757 <+94%2077%20975%206757> | 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>* > -- *Madhawa Vidanapathirana* Student Department of Computer Science and Engineering University of Moratuwa Sri Lanka Mobile: (+94) 716874425 Email: madhawavidanapathir...@gmail.com Linked-In: https://lk.linkedin.com/in/madhawa-vidanapathirana-3430b94
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev