Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-1906

FIWARE.Request.Tech.Data.CEP.General

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None
    • HD-Chapter:
      Data
    • HD-Enabler:
      CEP

      Description

      Hi Radu,

      Currently the CEP supports two types of consumers - File (mainly for
      testing) and Rest (that push events to external REST service).
      One option I can think of to solve your situation is to implement a REST
      service that receives events from the CEP and sends it to your mobile app
      in your preferable way.
      I will be glad to hear your solution.

      Regards,
      Tali

      Tali Yatzkar Haham
      Event-based Middleware & Solutions
      IBM Haifa Research Lab, Israel
      tali@il.ibm.com 972-4-8296320

      From: Radu Hambasan <radu.hambasan@tobyrich.com>
      To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
      Date: 12/01/2015 01:11 PM
      Subject: CEP GE question

      Hi,

      I have a question regarding PROTON.

      My use case is the following:
      I have an Android/iOS app which get sensor events (these would be the
      producers).
      I understand that I can push this events to the EPA using POST requests.

      Then, some logic takes place and some output is generated.
      Since it is unfeasible to run a web server on the phone, how can I receive
      back the output (making the phone also a consumer) ?

      Best,
      Radu Hambasan

        Activity

        Hide
        TALI Fabiana Fournier added a comment -

        No. The output events are sent asynchronously (note that some output
        events can be generated some time after an input event arrived, e.g. in an
        Absent pattern)
        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/01/2015 04:25 PM
        Subject: Re: CEP GE question

        I was wondering about the following:

        If I send a POST request from the phone to the CEP, will I receive the
        output as the request's response right away?

        On Mon, Jan 12, 2015 at 3:20 PM, Tali Yatzkar-Haham <TALI@il.ibm.com>
        wrote:
        Hi Radu,

        Currently the CEP supports two types of consumers - File (mainly for
        testing) and Rest (that push events to external REST service).
        One option I can think of to solve your situation is to implement a REST
        service that receives events from the CEP and sends it to your mobile app
        in your preferable way.
        I will be glad to hear your solution.

        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/01/2015 01:11 PM
        Subject: CEP GE question

        Hi,

        I have a question regarding PROTON.

        My use case is the following:
        I have an Android/iOS app which get sensor events (these would be the
        producers).
        I understand that I can push this events to the EPA using POST requests.

        Then, some logic takes place and some output is generated.
        Since it is unfeasible to run a web server on the phone, how can I receive
        back the output (making the phone also a consumer) ?

        Best,
        Radu Hambasan

        Show
        TALI Fabiana Fournier added a comment - No. The output events are sent asynchronously (note that some output events can be generated some time after an input event arrived, e.g. in an Absent pattern) Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/01/2015 04:25 PM Subject: Re: CEP GE question I was wondering about the following: If I send a POST request from the phone to the CEP, will I receive the output as the request's response right away? On Mon, Jan 12, 2015 at 3:20 PM, Tali Yatzkar-Haham <TALI@il.ibm.com> wrote: Hi Radu, Currently the CEP supports two types of consumers - File (mainly for testing) and Rest (that push events to external REST service). One option I can think of to solve your situation is to implement a REST service that receives events from the CEP and sends it to your mobile app in your preferable way. I will be glad to hear your solution. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/01/2015 01:11 PM Subject: CEP GE question Hi, I have a question regarding PROTON. My use case is the following: I have an Android/iOS app which get sensor events (these would be the producers). I understand that I can push this events to the EPA using POST requests. Then, some logic takes place and some output is generated. Since it is unfeasible to run a web server on the phone, how can I receive back the output (making the phone also a consumer) ? Best, Radu Hambasan
        Hide
        TALI Fabiana Fournier added a comment -

        In the GitHub you have a .zip file. It contains:
        IBMProtonAuthoringTool.zip where you can find the two wars files of the
        CEP authoring tool
        IBMProtonOnWebServer.zip where you can find the two wars of the CEP engine

        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 19/01/2015 03:12 PM
        Subject: Re: CEP GE question

        Thanks for the info.

        I am having some trouble setting up PROTON.
        The installation instructions talk about an installation package
        containing 4 war files. Where is this installation package?

        When I click on the "Download" tab, I do not see any deliverable, just a
        GitHub url. If I clone that repo, I don't have 4 .war files, but some .zip
        files, which do not contain any .war file.

        Any thoughts?

        On Mon, Jan 12, 2015 at 4:22 PM, Tali Yatzkar-Haham <TALI@il.ibm.com>
        wrote:
        No. The output events are sent asynchronously (note that some output
        events can be generated some time after an input event arrived, e.g. in an
        Absent pattern)
        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/01/2015 04:25 PM
        Subject: Re: CEP GE question

        I was wondering about the following:

        If I send a POST request from the phone to the CEP, will I receive the
        output as the request's response right away?

        On Mon, Jan 12, 2015 at 3:20 PM, Tali Yatzkar-Haham <TALI@il.ibm.com>
        wrote:
        Hi Radu,

        Currently the CEP supports two types of consumers - File (mainly for
        testing) and Rest (that push events to external REST service).
        One option I can think of to solve your situation is to implement a REST
        service that receives events from the CEP and sends it to your mobile app
        in your preferable way.
        I will be glad to hear your solution.

        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/01/2015 01:11 PM
        Subject: CEP GE question

        Hi,

        I have a question regarding PROTON.

        My use case is the following:
        I have an Android/iOS app which get sensor events (these would be the
        producers).
        I understand that I can push this events to the EPA using POST requests.

        Then, some logic takes place and some output is generated.
        Since it is unfeasible to run a web server on the phone, how can I receive
        back the output (making the phone also a consumer) ?

        Best,
        Radu Hambasan

        Show
        TALI Fabiana Fournier added a comment - In the GitHub you have a .zip file. It contains: IBMProtonAuthoringTool.zip where you can find the two wars files of the CEP authoring tool IBMProtonOnWebServer.zip where you can find the two wars of the CEP engine Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 19/01/2015 03:12 PM Subject: Re: CEP GE question Thanks for the info. I am having some trouble setting up PROTON. The installation instructions talk about an installation package containing 4 war files. Where is this installation package? When I click on the "Download" tab, I do not see any deliverable, just a GitHub url. If I clone that repo, I don't have 4 .war files, but some .zip files, which do not contain any .war file. Any thoughts? On Mon, Jan 12, 2015 at 4:22 PM, Tali Yatzkar-Haham <TALI@il.ibm.com> wrote: No. The output events are sent asynchronously (note that some output events can be generated some time after an input event arrived, e.g. in an Absent pattern) Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/01/2015 04:25 PM Subject: Re: CEP GE question I was wondering about the following: If I send a POST request from the phone to the CEP, will I receive the output as the request's response right away? On Mon, Jan 12, 2015 at 3:20 PM, Tali Yatzkar-Haham <TALI@il.ibm.com> wrote: Hi Radu, Currently the CEP supports two types of consumers - File (mainly for testing) and Rest (that push events to external REST service). One option I can think of to solve your situation is to implement a REST service that receives events from the CEP and sends it to your mobile app in your preferable way. I will be glad to hear your solution. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/01/2015 01:11 PM Subject: CEP GE question Hi, I have a question regarding PROTON. My use case is the following: I have an Android/iOS app which get sensor events (these would be the producers). I understand that I can push this events to the EPA using POST requests. Then, some logic takes place and some output is generated. Since it is unfeasible to run a web server on the phone, how can I receive back the output (making the phone also a consumer) ? Best, Radu Hambasan
        Hide
        TALI Fabiana Fournier added a comment -

        You should set a REST producer only if you want the CEP to pull events
        from an external REST service.
        If you want to send events to the CEP through REST you should NOT define a
        REST producer.
        Instead you just send events to the CEP using the CEP REST service as
        described here:
        http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification#Receiving_Events_API

        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 20/01/2015 06:56 PM
        Subject: Re: [FI-WARE-JIRA] (HELP-1906) Re: CEP GE question

        Sorry for that message, I solved the error.
        I have however the following issue:

        I set up a REST url for the producer, but PROTON is trying to poll it.
        What I want is PROTON to display a rest interface, to which I send the
        POST request, how can I do that?

        Best,
        Radu

        On Mon, Jan 19, 2015 at 3:58 PM, Tali Yatzkar-Haham <TALI@il.ibm.com>
        wrote:
        In the GitHub you have a .zip file. It contains:
        IBMProtonAuthoringTool.zip where you can find the two wars files of the
        CEP authoring tool
        IBMProtonOnWebServer.zip where you can find the two wars of the CEP engine

        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 19/01/2015 03:12 PM
        Subject: Re: CEP GE question

        Thanks for the info.

        I am having some trouble setting up PROTON.
        The installation instructions talk about an installation package
        containing 4 war files. Where is this installation package?

        When I click on the "Download" tab, I do not see any deliverable, just a
        GitHub url. If I clone that repo, I don't have 4 .war files, but some .zip
        files, which do not contain any .war file.

        Any thoughts?

        On Mon, Jan 12, 2015 at 4:22 PM, Tali Yatzkar-Haham <TALI@il.ibm.com>
        wrote:
        No. The output events are sent asynchronously (note that some output
        events can be generated some time after an input event arrived, e.g. in an
        Absent pattern)
        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/01/2015 04:25 PM
        Subject: Re: CEP GE question

        I was wondering about the following:

        If I send a POST request from the phone to the CEP, will I receive the
        output as the request's response right away?

        On Mon, Jan 12, 2015 at 3:20 PM, Tali Yatzkar-Haham <TALI@il.ibm.com>
        wrote:
        Hi Radu,

        Currently the CEP supports two types of consumers - File (mainly for
        testing) and Rest (that push events to external REST service).
        One option I can think of to solve your situation is to implement a REST
        service that receives events from the CEP and sends it to your mobile app
        in your preferable way.
        I will be glad to hear your solution.

        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/01/2015 01:11 PM
        Subject: CEP GE question

        Hi,

        I have a question regarding PROTON.

        My use case is the following:
        I have an Android/iOS app which get sensor events (these would be the
        producers).
        I understand that I can push this events to the EPA using POST requests.

        Then, some logic takes place and some output is generated.
        Since it is unfeasible to run a web server on the phone, how can I receive
        back the output (making the phone also a consumer) ?

        Best,
        Radu Hambasan

        Show
        TALI Fabiana Fournier added a comment - You should set a REST producer only if you want the CEP to pull events from an external REST service. If you want to send events to the CEP through REST you should NOT define a REST producer. Instead you just send events to the CEP using the CEP REST service as described here: http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification#Receiving_Events_API Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 20/01/2015 06:56 PM Subject: Re: [FI-WARE-JIRA] ( HELP-1906 ) Re: CEP GE question Sorry for that message, I solved the error. I have however the following issue: I set up a REST url for the producer, but PROTON is trying to poll it. What I want is PROTON to display a rest interface, to which I send the POST request, how can I do that? Best, Radu On Mon, Jan 19, 2015 at 3:58 PM, Tali Yatzkar-Haham <TALI@il.ibm.com> wrote: In the GitHub you have a .zip file. It contains: IBMProtonAuthoringTool.zip where you can find the two wars files of the CEP authoring tool IBMProtonOnWebServer.zip where you can find the two wars of the CEP engine Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 19/01/2015 03:12 PM Subject: Re: CEP GE question Thanks for the info. I am having some trouble setting up PROTON. The installation instructions talk about an installation package containing 4 war files. Where is this installation package? When I click on the "Download" tab, I do not see any deliverable, just a GitHub url. If I clone that repo, I don't have 4 .war files, but some .zip files, which do not contain any .war file. Any thoughts? On Mon, Jan 12, 2015 at 4:22 PM, Tali Yatzkar-Haham <TALI@il.ibm.com> wrote: No. The output events are sent asynchronously (note that some output events can be generated some time after an input event arrived, e.g. in an Absent pattern) Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/01/2015 04:25 PM Subject: Re: CEP GE question I was wondering about the following: If I send a POST request from the phone to the CEP, will I receive the output as the request's response right away? On Mon, Jan 12, 2015 at 3:20 PM, Tali Yatzkar-Haham <TALI@il.ibm.com> wrote: Hi Radu, Currently the CEP supports two types of consumers - File (mainly for testing) and Rest (that push events to external REST service). One option I can think of to solve your situation is to implement a REST service that receives events from the CEP and sends it to your mobile app in your preferable way. I will be glad to hear your solution. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/01/2015 01:11 PM Subject: CEP GE question Hi, I have a question regarding PROTON. My use case is the following: I have an Android/iOS app which get sensor events (these would be the producers). I understand that I can push this events to the EPA using POST requests. Then, some logic takes place and some output is generated. Since it is unfeasible to run a web server on the phone, how can I receive back the output (making the phone also a consumer) ? Best, Radu Hambasan
        Hide
        TALI Fabiana Fournier added a comment -

        As I mentioned before there are 4 wars. Two for the engine and 2 for the
        UI.
        You need to drop the 4 into Tomcat's webapp directory.
        You don't need the PROTON jar (it can be used if you want to run the CEP
        as a stand alone Java engine, not on a server, without the REST services
        support)
        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 21/01/2015 01:36 PM
        Subject: Re: [FI-WARE-JIRA] (HELP-1906) Re: CEP GE question

        Thank you.

        There is something else I don't understand:
        I dropped a war file (and renamed it) into the tomcat's webapps directory.
        I also clone the GitHub repo and launched the PROTON jar.

        Are both this steps needed? Or am I misunderstanding something?

        On Wed, Jan 21, 2015 at 7:55 AM, Tali Yatzkar-Haham <TALI@il.ibm.com>
        wrote:
        You should set a REST producer only if you want the CEP to pull events
        from an external REST service.
        If you want to send events to the CEP through REST you should NOT define a
        REST producer.
        Instead you just send events to the CEP using the CEP REST service as
        described here:
        http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification#Receiving_Events_API

        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 20/01/2015 06:56 PM
        Subject: Re: [FI-WARE-JIRA] (HELP-1906) Re: CEP GE question

        Sorry for that message, I solved the error.
        I have however the following issue:

        I set up a REST url for the producer, but PROTON is trying to poll it.
        What I want is PROTON to display a rest interface, to which I send the
        POST request, how can I do that?

        Best,
        Radu

        On Mon, Jan 19, 2015 at 3:58 PM, Tali Yatzkar-Haham <TALI@il.ibm.com>
        wrote:
        In the GitHub you have a .zip file. It contains:
        IBMProtonAuthoringTool.zip where you can find the two wars files of the
        CEP authoring tool
        IBMProtonOnWebServer.zip where you can find the two wars of the CEP engine

        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 19/01/2015 03:12 PM
        Subject: Re: CEP GE question

        Thanks for the info.

        I am having some trouble setting up PROTON.
        The installation instructions talk about an installation package
        containing 4 war files. Where is this installation package?

        When I click on the "Download" tab, I do not see any deliverable, just a
        GitHub url. If I clone that repo, I don't have 4 .war files, but some .zip
        files, which do not contain any .war file.

        Any thoughts?

        On Mon, Jan 12, 2015 at 4:22 PM, Tali Yatzkar-Haham <TALI@il.ibm.com>
        wrote:
        No. The output events are sent asynchronously (note that some output
        events can be generated some time after an input event arrived, e.g. in an
        Absent pattern)
        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/01/2015 04:25 PM
        Subject: Re: CEP GE question

        I was wondering about the following:

        If I send a POST request from the phone to the CEP, will I receive the
        output as the request's response right away?

        On Mon, Jan 12, 2015 at 3:20 PM, Tali Yatzkar-Haham <TALI@il.ibm.com>
        wrote:
        Hi Radu,

        Currently the CEP supports two types of consumers - File (mainly for
        testing) and Rest (that push events to external REST service).
        One option I can think of to solve your situation is to implement a REST
        service that receives events from the CEP and sends it to your mobile app
        in your preferable way.
        I will be glad to hear your solution.

        Regards,
        Tali

        Tali Yatzkar Haham
        Event-based Middleware & Solutions
        IBM Haifa Research Lab, Israel
        tali@il.ibm.com 972-4-8296320

        From: Radu Hambasan <radu.hambasan@tobyrich.com>
        To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL
        Date: 12/01/2015 01:11 PM
        Subject: CEP GE question

        Hi,

        I have a question regarding PROTON.

        My use case is the following:
        I have an Android/iOS app which get sensor events (these would be the
        producers).
        I understand that I can push this events to the EPA using POST requests.

        Then, some logic takes place and some output is generated.
        Since it is unfeasible to run a web server on the phone, how can I receive
        back the output (making the phone also a consumer) ?

        Best,
        Radu Hambasan

        Show
        TALI Fabiana Fournier added a comment - As I mentioned before there are 4 wars. Two for the engine and 2 for the UI. You need to drop the 4 into Tomcat's webapp directory. You don't need the PROTON jar (it can be used if you want to run the CEP as a stand alone Java engine, not on a server, without the REST services support) Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 21/01/2015 01:36 PM Subject: Re: [FI-WARE-JIRA] ( HELP-1906 ) Re: CEP GE question Thank you. There is something else I don't understand: I dropped a war file (and renamed it) into the tomcat's webapps directory. I also clone the GitHub repo and launched the PROTON jar. Are both this steps needed? Or am I misunderstanding something? On Wed, Jan 21, 2015 at 7:55 AM, Tali Yatzkar-Haham <TALI@il.ibm.com> wrote: You should set a REST producer only if you want the CEP to pull events from an external REST service. If you want to send events to the CEP through REST you should NOT define a REST producer. Instead you just send events to the CEP using the CEP REST service as described here: http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification#Receiving_Events_API Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 20/01/2015 06:56 PM Subject: Re: [FI-WARE-JIRA] ( HELP-1906 ) Re: CEP GE question Sorry for that message, I solved the error. I have however the following issue: I set up a REST url for the producer, but PROTON is trying to poll it. What I want is PROTON to display a rest interface, to which I send the POST request, how can I do that? Best, Radu On Mon, Jan 19, 2015 at 3:58 PM, Tali Yatzkar-Haham <TALI@il.ibm.com> wrote: In the GitHub you have a .zip file. It contains: IBMProtonAuthoringTool.zip where you can find the two wars files of the CEP authoring tool IBMProtonOnWebServer.zip where you can find the two wars of the CEP engine Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 19/01/2015 03:12 PM Subject: Re: CEP GE question Thanks for the info. I am having some trouble setting up PROTON. The installation instructions talk about an installation package containing 4 war files. Where is this installation package? When I click on the "Download" tab, I do not see any deliverable, just a GitHub url. If I clone that repo, I don't have 4 .war files, but some .zip files, which do not contain any .war file. Any thoughts? On Mon, Jan 12, 2015 at 4:22 PM, Tali Yatzkar-Haham <TALI@il.ibm.com> wrote: No. The output events are sent asynchronously (note that some output events can be generated some time after an input event arrived, e.g. in an Absent pattern) Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/01/2015 04:25 PM Subject: Re: CEP GE question I was wondering about the following: If I send a POST request from the phone to the CEP, will I receive the output as the request's response right away? On Mon, Jan 12, 2015 at 3:20 PM, Tali Yatzkar-Haham <TALI@il.ibm.com> wrote: Hi Radu, Currently the CEP supports two types of consumers - File (mainly for testing) and Rest (that push events to external REST service). One option I can think of to solve your situation is to implement a REST service that receives events from the CEP and sends it to your mobile app in your preferable way. I will be glad to hear your solution. Regards, Tali Tali Yatzkar Haham Event-based Middleware & Solutions IBM Haifa Research Lab, Israel tali@il.ibm.com 972-4-8296320 From: Radu Hambasan <radu.hambasan@tobyrich.com> To: Tali Yatzkar-Haham/Haifa/IBM@IBMIL Date: 12/01/2015 01:11 PM Subject: CEP GE question Hi, I have a question regarding PROTON. My use case is the following: I have an Android/iOS app which get sensor events (these would be the producers). I understand that I can push this events to the EPA using POST requests. Then, some logic takes place and some output is generated. Since it is unfeasible to run a web server on the phone, how can I receive back the output (making the phone also a consumer) ? Best, Radu Hambasan

          People

          • Assignee:
            TALI Fabiana Fournier
            Reporter:
            TALI Fabiana Fournier
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: