<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Hi,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">I tried exploring the feature of adding external events in oVirt. (<span style="font-weight: bold;">Version 3.2</span>)</div><div style="background-color: transparent;"><span style="font-family: 'times new roman', 'new york', times, serif;">I just wrote a JavaScript to fetch events and it wroked fine.(</span><span style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal; font-weight: bold;">GET</span><span
style="font-family: 'times new roman', 'new york', times, serif;"> operation to URL</span><span style="color: rgb(0, 0, 0); font-family: 'times new roman', 'new york', times, serif; font-size: 16px; font-style: normal; font-weight: bold;"> http://<IP>/api/events</span><span style="font-family: 'times new roman', 'new york', times, serif;">).</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent;"><span style="font-style: normal;">But when tried with<span style="font-weight: bold;"> POST</span> operation, to add my own events, it threw "</span><span style="font-style: italic; text-decoration: underline;">error 405 Method not allowed</span>". (URL<span style="font-style: normal;
font-weight: bold;"> http://<IP>/api/events</span>).</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">(The html file is not included in any plugin code, its standalone file).</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">(The data I passed is as specified in link: " http://www.ovirt.org/Features/Design/DetailedExternalEvents").</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">What went wrong? Is it not supported on oVirt3.2
or the URL is incorrect?</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Regards</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">Satheesh J</div></div></body></html>