[ARVADOS] updated: 2.1.0-2487-gf35aae3c6

Git user git at public.arvados.org
Wed May 18 19:52:52 UTC 2022


Summary of changes:
 doc/api/methods/container_requests.html.textile.liquid | 2 +-
 doc/user/cwl/cwl-extensions.html.textile.liquid        | 6 +++---
 services/api/app/models/container.rb                   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

       via  f35aae3c6732a7e08253367517c61ab3071086d1 (commit)
      from  d49403ac749fffe24ac6357597e6014bb65efa30 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit f35aae3c6732a7e08253367517c61ab3071086d1
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Wed May 18 15:50:57 2022 -0400

    17004: Move output_properties to progress_attrs
    
    Mention default properties "type" and "container_request" in docs
    
    Fix typos on CWL arv:OutputCollectionProperties page.
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/doc/api/methods/container_requests.html.textile.liquid b/doc/api/methods/container_requests.html.textile.liquid
index cc5c19d79..15fa207b1 100644
--- a/doc/api/methods/container_requests.html.textile.liquid
+++ b/doc/api/methods/container_requests.html.textile.liquid
@@ -61,7 +61,7 @@ table(table table-bordered table-condensed).
 |runtime_user_uuid|string|The user permission that will be granted to this container.||
 |runtime_auth_scopes|array of string|The scopes associated with the auth token used to run this container.||
 |output_storage_classes|array of strings|The storage classes that will be used for the log and output collections of this container request|default is ["default"]|
-|output_properties|hash|User metadata properties to set on the output collection.|
+|output_properties|hash|User metadata properties to set on the output collection.  The output collection will also have default properties "type" ("intermediate" or "output") and "container_request" (the uuid of container request that produced the collection).|
 
 h2(#priority). Priority
 
diff --git a/doc/user/cwl/cwl-extensions.html.textile.liquid b/doc/user/cwl/cwl-extensions.html.textile.liquid
index 431027ba5..197816f4a 100644
--- a/doc/user/cwl/cwl-extensions.html.textile.liquid
+++ b/doc/user/cwl/cwl-extensions.html.textile.liquid
@@ -159,15 +159,15 @@ Specify extra "properties":{{site.baseurl}}/api/methods.html#subpropertyfilters
 
 table(table table-bordered table-condensed).
 |_. Field |_. Type |_. Description |
-|processProperties|key-value map, or list of objects with the fields {propertyName, propertyValue}|The properties that will be set on the container request.  May include expressions that reference `$(inputs)` of the current workflow or tool.|
+|processProperties|key-value map, or list of objects with the fields {propertyName, propertyValue}|The properties that will be set on the container request.  May include expressions that reference @$(inputs)@ of the current workflow or tool.|
 
-h2(#ProcessProperties). arv:OutputCollectionProperties
+h2(#OutputCollectionProperties). arv:OutputCollectionProperties
 
 Specify custom "properties":{{site.baseurl}}/api/methods.html#subpropertyfilters that will be set on the output collection of the workflow step.
 
 table(table table-bordered table-condensed).
 |_. Field |_. Type |_. Description |
-|outputProperties|key-value map, or list of objects with the fields {propertyName, propertyValue}|The properties that will be set on the output collection.  May include expressions that reference `$(inputs)` of the current workflow or tool.|
+|outputProperties|key-value map, or list of objects with the fields {propertyName, propertyValue}|The properties that will be set on the output collection.  May include expressions that reference @$(inputs)@ of the current workflow or tool.|
 
 h2(#CUDARequirement). cwltool:CUDARequirement
 
diff --git a/services/api/app/models/container.rb b/services/api/app/models/container.rb
index eedf71691..3a04c5604 100644
--- a/services/api/app/models/container.rb
+++ b/services/api/app/models/container.rb
@@ -478,7 +478,7 @@ class Container < ArvadosModel
 
   def validate_change
     permitted = [:state]
-    progress_attrs = [:progress, :runtime_status, :log, :output]
+    progress_attrs = [:progress, :runtime_status, :log, :output, :output_properties]
     final_attrs = [:exit_code, :finished_at]
 
     if self.new_record?
@@ -487,7 +487,7 @@ class Container < ArvadosModel
                      :runtime_constraints, :scheduling_parameters,
                      :secret_mounts, :runtime_token,
                      :runtime_user_uuid, :runtime_auth_scopes,
-                     :output_storage_classes, :output_properties)
+                     :output_storage_classes)
     end
 
     case self.state

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list