Yair Zaslavsky has posted comments on this change.
Change subject: core: fix redundant storage server conn in db
......................................................................
Patch Set 2: (2 inline comments)
I commented on whether this is really an internal command.
If not internal - do we want to expose this via API as well?
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/DisconnectStorageServerConnectionCommand.java
Line 10: import org.ovirt.engine.core.common.vdscommands.VDSCommandType;
Line 11: import org.ovirt.engine.core.dal.VdcBllMessages;
Line 12: import org.ovirt.engine.core.dal.dbbroker.DbFacade;
Line 13:
Line 14: @InternalCommandAttribute
Is this is an internal command, what other command is calling it?
Line 15: public class DisconnectStorageServerConnectionCommand<T extends
StorageServerConnectionParametersBase> extends
Line 16: StorageServerConnectionCommandBase<T> {
Line 17: public DisconnectStorageServerConnectionCommand(T parameters) {
Line 18: super(parameters);
....................................................
File
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/storage/StorageListModel.java
Line 698: }
Line 699: }
Line 700:
Line 701: private void CleanConnection(StorageServerConnections connection,
Guid hostId) {
Line 702:
Frontend.RunAction(VdcActionType.RemoveStorageServerConnection, new
StorageServerConnectionParametersBase(connection, hostId),
Should UI call internal commands?
Not sure at that... (see previous comments).
Line 703: null, this);
Line 704: }
Line 705:
Line 706: private void remove()
--
To view, visit http://gerrit.ovirt.org/11936
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Iea5468371514bd2c7bc043a6c5520e2864a09fe8
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches