Martin Peřina has posted comments on this change.

Change subject: engine: Json-rpc integration
......................................................................


Patch Set 15:

(1 comment)

http://gerrit.ovirt.org/#/c/20926/15/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsManager.java
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsManager.java:

Line 67:         return (_refreshIteration == _numberRefreshesBeforeSave);
Line 68:     }
Line 69: 
Line 70:     private static final int VDS_REFRESH_RATE = Config.<Integer> 
getValue(ConfigValues.VdsRefreshRate) * 1000;
Line 71:     private static final int JSONRPC_PORT = 4044;
Is there a reason to have separate constants for port number here and in 
IrsBrokerCommand? If port is the same, the better place would be to have on one 
place (maybe JsonRpcVdsServer or JsonTpcUtils)
Line 72: 
Line 73:     private String onTimerJobId;
Line 74: 
Line 75:     private final int _numberRefreshesBeforeSave = Config.<Integer> 
getValue(ConfigValues.NumberVmRefreshesBeforeSave);


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I66ef0c98f07de6c447a5fffc42c9dbc94580df46
Gerrit-PatchSet: 15
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Martin Peřina <[email protected]>
Gerrit-Reviewer: Piotr Kliczewski <[email protected]>
Gerrit-Reviewer: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: mooli tayer <[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