Change in ovirt-engine[master]: core: Not able to push more than one external...

emesika at redhat.com emesika at redhat.com
Thu Mar 13 11:31:21 UTC 2014


Eli Mesika has submitted this change and it was merged.

Change subject: core: Not able to push more than one external...
......................................................................


core: Not able to push more than one external...

Not able to push more than one external event in 30 second using REST API

This patch enables to add external events with flood rate below 30 if
specified in the POST message.
For example :
<event>
        <description>1</description>
        <severity>normal</severity>
        <origin>CUSTOMER1</origin>
        <custom_id>1</custom_id>
        <flood_rate>1</flood_rate>
</event>

if the following is sent:

<event>
        <description>1</description>
        <severity>normal</severity>
        <origin>CUSTOMER1</origin>
        <custom_id>1</custom_id>
</event>

a default flood rate of 30 sec is used.

Change-Id: I91526e2a744cc6de413091fd1605bf7f08c46735
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1071840
Signed-off-by: Eli Mesika <emesika at redhat.com>
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogDirector.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogableBase.java
2 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Eli Mesika: Verified; Looks good to me, approved
  Ramesh N: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/25711
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I91526e2a744cc6de413091fd1605bf7f08c46735
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Ramesh N <rnachimu at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list