Re: [Users] Adding external events to oVirt

2013-03-10 Thread Ofri Masad
Not sure if this will help but it seems that the current API calls for a 
different syntax:

custom_event_id was changed to custom_id
event_flood_in_sec was changed to flood_rate

see if this helps
Ofri

- Original Message - 

 From: satheesh hegde satheesh_he...@yahoo.co.in
 To: users@ovirt.org
 Sent: Thursday, March 7, 2013 6:36:25 PM
 Subject: [Users] Adding external events to oVirt

 Hi,

 I tried exploring the feature of adding external events in oVirt. (
 Version 3.2 )
 I just wrote a JavaScript to fetch events and it wroked fine.( GET
 operation to URL http://IP/api/events ).

 But when tried with POST operation, to add my own events, it threw 
 error 405 Method not allowed . (URL http://IP/api/events ).
 (The html file is not included in any plugin code, its standalone
 file).
 (The data I passed is as specified in link: 
 http://www.ovirt.org/Features/Design/DetailedExternalEvents;).

 What went wrong? Is it not supported on oVirt3.2 or the URL is
 incorrect?

 Regards
 Satheesh J
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Adding external events to oVirt

2013-03-10 Thread Michael Pasternak

Thanks Ofri,

Eli, please update feature page.

On 03/10/2013 03:57 PM, Ofri Masad wrote:
 Not sure if this will help but it seems that the current API calls for a 
 different syntax:
 
 custom_event_id was changed to custom_id
 event_flood_in_sec was changed to flood_rate
 
 see if this helps
 Ofri
 
 - Original Message - 
 
 From: satheesh hegde satheesh_he...@yahoo.co.in
 To: users@ovirt.org
 Sent: Thursday, March 7, 2013 6:36:25 PM
 Subject: [Users] Adding external events to oVirt
 
 Hi,
 
 I tried exploring the feature of adding external events in oVirt. (
 Version 3.2 )
 I just wrote a JavaScript to fetch events and it wroked fine.( GET
 operation to URL http://IP/api/events ).
 
 But when tried with POST operation, to add my own events, it threw 
 error 405 Method not allowed . (URL http://IP/api/events ).
 (The html file is not included in any plugin code, its standalone
 file).
 (The data I passed is as specified in link: 
 http://www.ovirt.org/Features/Design/DetailedExternalEvents;).
 
 What went wrong? Is it not supported on oVirt3.2 or the URL is
 incorrect?
 
 Regards
 Satheesh J
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users


-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Adding external events to oVirt

2013-03-07 Thread satheesh hegde
Hi,

I tried exploring the feature of adding external events in oVirt. (Version 3.2)
I just wrote a JavaScript to fetch events and it wroked fine.(GEToperation to 
URLhttp://IP/api/events).

But when tried withPOST operation, to add my own events, it threw error 405 
Method not allowed. (URLhttp://IP/api/events).
(The html file is not included in any plugin code, its standalone file).
(The data I passed is as specified in link:   
http://www.ovirt.org/Features/Design/DetailedExternalEvents;).

What went wrong?  Is it not supported on oVirt3.2 or the URL is incorrect?

Regards
Satheesh J___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users