3720: Refactor manifest parsing from API server to Ruby SDK.
[arvados.git] / services / api / app / models / job.rb
index 039495de37ca880fe511c62211779f8620dc2d19..9fc58a680682c5dab2d40d1bf82521ea9d23a286 100644 (file)
@@ -28,7 +28,6 @@ class Job < ArvadosModel
     t.add :started_at
     t.add :finished_at
     t.add :output
-    t.add :output_is_persistent
     t.add :success
     t.add :running
     t.add :is_locked_by_uuid
@@ -40,7 +39,6 @@ class Job < ArvadosModel
     t.add :repository
     t.add :supplied_script_version
     t.add :docker_image_locator
-    t.add :name
   end
 
   def assert_finished
@@ -192,7 +190,7 @@ class Job < ArvadosModel
       if self.cancelled_at and not self.cancelled_at_was
         self.cancelled_at = Time.now
         self.cancelled_by_user_uuid = current_user.uuid
-        self.cancelled_by_client_uuid = current_api_client.uuid
+        self.cancelled_by_client_uuid = current_api_client.andand.uuid
         @need_crunch_dispatch_trigger = true
       else
         self.cancelled_at = self.cancelled_at_was