10078: Update recent_collections so that the collection query it is not executed...
[arvados.git] / apps / workbench / app / models / work_unit.rb
index 1c2d02fa96edd5e2c021f5f8d5041930b397afe3..924e067815718fc0fddf52a836c99cd2d6ffd94b 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
@@ -37,6 +41,10 @@ class WorkUnit
     # returns a string representing state of the work unit
   end
 
+  def exit_code
+    # returns the work unit's execution exit code
+  end
+
   def state_bootstrap_class
     # returns a class like "danger", "success", or "warning" that a view can use directly to make a display class
   end
@@ -179,4 +187,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