projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
9043: Complete support for editing basic parameter types.
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
proxy_work_unit.rb
diff --git
a/apps/workbench/app/models/proxy_work_unit.rb
b/apps/workbench/app/models/proxy_work_unit.rb
index 91673371fe4a3e87f3ebb4c24ba74697c81978a5..feab5d8eb4a22e599bc328978d2ad5e0dcae4781 100644
(file)
--- a/
apps/workbench/app/models/proxy_work_unit.rb
+++ b/
apps/workbench/app/models/proxy_work_unit.rb
@@
-23,6
+23,10
@@
class ProxyWorkUnit < WorkUnit
get(:modified_by_user_uuid)
end
get(:modified_by_user_uuid)
end
+ def owner_uuid
+ get(:owner_uuid)
+ end
+
def created_at
t = get(:created_at)
t = Time.parse(t) if (t.is_a? String)
def created_at
t = get(:created_at)
t = Time.parse(t) if (t.is_a? String)
@@
-51,6
+55,8
@@
class ProxyWorkUnit < WorkUnit
state = get(:state)
if ["Running", "RunningOnServer", "RunningOnClient"].include? state
"Running"
state = get(:state)
if ["Running", "RunningOnServer", "RunningOnClient"].include? state
"Running"
+ elsif state == 'New'
+ "Not started"
else
state
end
else
state
end
@@
-322,9
+328,8
@@
class ProxyWorkUnit < WorkUnit
resp
end
resp
end
- def uri
- uuid = get(:uuid)
- "/#{@proxied.class.table_name}/#{uuid}"
+ def log_object_uuids
+ [uuid]
end
protected
end
protected