[Fiware-tech-help] IBM CEP configuration - changing default project

Chris Paton chrispaton2005 at gmail.com
Sun Nov 23 16:10:36 CET 2014


Hi Support,

I'm trying to send events to Proton and the event classes are configured
under a project in the designer which I have exported to the local
repository. When I request:

GET
http://130.206.127.16:8080/ProtonOnWebServerAdmin/resources/instances/ProtonOnWebServer

I get the following response:
{

   - "state": "started",
   - "definitions-url":
   "\/ProtonOnWebServerAdmin\/resources\/definitions\/DoSAttack"

}

No other definitions are listed and it seems that that one is the default.
How can I change that? I would like to be able to send my events to another
project (so not DoSAttack), but they don't get through.

When I request:
GET http://130.206.127.16:8080/ProtonOnWebServerAdmin/resources/definitions

I get a valid response:
[

   -
   {
      - "name": "\/opt\/repositories\/tomcat10\/DoSAttack.json",
      - "url": "\/ProtonOnWebServerAdmin\/resources\/definitions\/DoSAttack"
   },
   -
   {
      - "name": "\/opt\/repositories\/tomcat10\/Thesis Project.json",
      - "url": "\/ProtonOnWebServerAdmin\/resources\/definitions\/Thesis
      Project"
   },
   -
   {
      - "name": "\/opt\/repositories\/tomcat10\/PSBIntUnitTest.json",
      - "url":
      "\/ProtonOnWebServerAdmin\/resources\/definitions\/PSBIntUnitTest"
   },
   -
   {
      - "name": "\/opt\/repositories\/tomcat10\/DoSAttack2.json",
      - "url":
      "\/ProtonOnWebServerAdmin\/resources\/definitions\/DoSAttack2"
   }

]

As you can see, my project is correctly defined at the second index
position.

With thanks,

Chris

PS. The Users Guide found in https://github.com/ishkin/Proton seems to be
out of date as there are options referred to in that that I can't find in
the Web UI (Creating Actions, Subset Selection Operators, Proactive
Operators, for example). The Programmer's Guide is not supplied, nor is it
available on the public Wiki (
https://forge.fi-ware.org/docman/view.php/9/3148/Proton+Programmer+Guide+FI-WAREv3.pdf).
Is there any chance somebody could send me the programming guide?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141123/247a7168/attachment.html>


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy