Piotr Kliczewski has posted comments on this change.

Change subject: events: VM Status based on an event
......................................................................


Patch Set 4:

(1 comment)

https://gerrit.ovirt.org/#/c/37488/4/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/RefresherFactory.java
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/RefresherFactory.java:

Line 8: // TODO Use CDI to inject it
Line 9: public class RefresherFactory {
Line 10: 
Line 11:     public static VMStatsRefresher create(final VdsManager manager, 
final AuditLogDirector auditLogDirector) {
Line 12:         if 
(FeatureSupported.vmStatsEvents(manager.getComatibilityVersion())) {
> shouldn't you check the protocol is Json and not XmlRpc in this context ? o
Good point. We need to make sure that we use jsonrpc.
Line 13:             return new EventVMStatsRefresher(manager, 
auditLogDirector);
Line 14:         }
Line 15:         return new PollVMStatsRefresher(manager, auditLogDirector);
Line 16:     }


-- 
To view, visit https://gerrit.ovirt.org/37488
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: If5b35877ccd63372759ad6989280e9417c259b21
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Piotr Kliczewski <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to