Beispiel #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
Beispiel #2
0
    def retryOperation(self, params):
        operation_id = int(params[0])

        Operation.retry_operation(operation_id)
Beispiel #3
0
    def cancelOperation(self, params):
        operation_id = int(params[0])

        Operation.cancel_operation(operation_id)
Beispiel #4
0
    def dropOperation(self, params):
        operation_id = int(params[0])

        Operation.drop_operation(operation_id)