Hi Chris,
1. When you export a definition to the repository, it is added to the
repository (as you saw when you asked to see all the definitions).
There is another REST api to Administrating Instances, that can change the
status of the engine and tell it to run with a different definition. See
the CEP open specification [0]. In this document you can also see how to
send events to the CEP.
2. I updated the links in [1], and now you can access the updated user and
programmer guides. Note, for api, you probably want to refer to [0].
3. Yes, it seems that the user guide in the open source is not updated,
please use the one from [1].
[0]
http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Complex_Event_Processing_Open_RESTful_API_Specification#Administrating_Instances
[1]
https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/CEP_GE_-_IBM_Proactive_Technology_Online_User_and_Programmer_Guide
Regards,
Tali
Tali Yatzkar Haham
Event-based Middleware & Solutions
IBM Haifa Research Lab, Israel
tali at il.ibm.com 972-4-8296320
From: "Miguel Carrillo Pacheco (JIRA)" <jira-help-desk at fi-ware.org>
To: Tali Yatzkar-Haham/Haifa/IBM at IBMIL
Date: 11/24/2014 11:54 AM
Subject: [FI-WARE-JIRA] (HELP-1459) [Fiware-tech-help] IBM CEP
configuration - changing default project
[
http://jira.fi-ware.org/browse/HELP-1459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14244#comment-14244
]
Miguel Carrillo Pacheco commented on HELP-1459:
-----------------------------------------------
Dear Chris,
I am sure that Tali (the Ge owner)will be able to provide a good reply.
Best regards,
Miguel
El 23/11/2014 16:10, Chris Paton escribió:
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?
> [Fiware-tech-help] IBM CEP configuration - changing default project
> -------------------------------------------------------------------
>
> Key: HELP-1459
> URL: http://jira.fi-ware.org/browse/HELP-1459
> Project: Help-Desk
> Issue Type: extRequest
> Reporter: FW External User
> Assignee: Tali Yatzkar Haham
>
> 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?
> _______________________________________________
> Fiware-tech-help mailing list
> Fiware-tech-help at lists.fi-ware.org
> https://lists.fi-ware.org/listinfo/fiware-tech-help
> [Created via e-mail received from: Chris Paton
<chrispaton2005 at gmail.com>]
--
This message was sent by Atlassian JIRA
(v6.1.7#6163)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-tech-help/attachments/20141124/7decbbaf/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy