9767: set name of the container_request based on the workflow name.
authorradhika <radhika@curoverse.com>
Wed, 24 Aug 2016 18:31:55 +0000 (14:31 -0400)
committerradhika <radhika@curoverse.com>
Wed, 24 Aug 2016 18:31:55 +0000 (14:31 -0400)
apps/workbench/app/controllers/work_units_controller.rb
services/api/Gemfile.lock

index 7eea0a850bb6ab559cf8af8ad6bb9a1d2b7cfc49..0c8ea6e70420f542846b8de2eafe52f62c07f54b 100644 (file)
@@ -57,6 +57,7 @@ class WorkUnitsController < ApplicationController
 
       model_class = ContainerRequest
 
+      attrs['name'] = "#{workflow['name']} container" if workflow['name'].present?
       attrs['properties'] = {'template_uuid' => template_uuid}
       attrs['priority'] = 1
       attrs['state'] = "Uncommitted"
index 391a26c2a859945635772864a8d0ef642c7d47be..1fb4369c0eca56815d189b4a9c5bf7f87ab9e4ea 100644 (file)
@@ -266,6 +266,3 @@ DEPENDENCIES
   therubyracer
   trollop
   uglifier (>= 1.0.3)
-
-BUNDLED WITH
-   1.12.1