operations #69
- Operation abstract class.
- OperatedMixin.
- Port old method + method_async pairs to Operation subclasses.
- Merge async tasks to a single one.
- ???
-
🚧 Tests.
fixes #69 (closed)
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
48 def reset(instance, user): 49 instance.reset(task_uuid=reset.request.id, user=user) 50 51 52 @celery.task 53 def reboot(instance, user): 54 instance.reboot(task_uuid=reboot.request.id, user=user) 55 56 57 @celery.task 58 def migrate(instance, to_node, user): 59 instance.migrate(to_node, task_uuid=migrate.request.id, user=user) 60 61 62 @celery.task 63 def flush(node, user): -
Owner
this was a Node operation! (fixed)
-
-
Owner
any progress here? can I help? -
-
Owner
Some amount of logging could be added to operation base class' methods.
-
Owner
👍 remek munka! -
-
-
Owner
👍