9767: create a pipeline instance or container request depending on the template selected.
[arvados.git] / apps / workbench / app / models / work_unit.rb
index 1c2d02fa96edd5e2c021f5f8d5041930b397afe3..7373bc242353b99c43f3cd73708e1ce9c7235599 100644 (file)
@@ -17,6 +17,10 @@ class WorkUnit
     # returns uuid of the user who modified this work unit most recently
   end
 
+  def owner_uuid
+    # returns uuid of the owner of this work unit
+  end
+
   def created_at
     # returns created_at timestamp
   end
@@ -179,4 +183,20 @@ class WorkUnit
   def container_uuid
     # container_uuid of a container_request
   end
+
+  def log_object_uuids
+    # object uuids for live log
+  end
+
+  def live_log_lines(limit)
+    # fetch log entries from logs table for @proxied
+  end
+
+  def render_log
+    # return partial and locals to be rendered
+  end
+
+  def template_uuid
+    # return the uuid of this work unit's template, if one exists
+  end
 end