Ejemplo n.º 1
0
    def getOperations(self, params):
        operationtypes = None
        if len(params) == 1:
            operationtypes = params[0]

        operations = Operation.get_current_operations_for_gui(operationtypes)

        return operations
Ejemplo n.º 2
0
    def retryOperation(self, params):
        operation_id = int(params[0])

        Operation.retry_operation(operation_id)
Ejemplo n.º 3
0
    def cancelOperation(self, params):
        operation_id = int(params[0])

        Operation.cancel_operation(operation_id)
Ejemplo n.º 4
0
    def dropOperation(self, params):
        operation_id = int(params[0])

        Operation.drop_operation(operation_id)