projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
11906: use the same name "ManagementToken" to enable healthcheck in all services
[arvados.git]
/
services
/
api
/
app
/
models
/
pipeline_template.rb
diff --git
a/services/api/app/models/pipeline_template.rb
b/services/api/app/models/pipeline_template.rb
index 3b099ed79403ae2bcef0d9d5580416bd2bc39095..b19a2b0f7c6c70f9b84a55d2eabeb5a73cd8ff34 100644
(file)
--- a/
services/api/app/models/pipeline_template.rb
+++ b/
services/api/app/models/pipeline_template.rb
@@
-1,5
+1,9
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
class PipelineTemplate < ArvadosModel
class PipelineTemplate < ArvadosModel
- include
Assign
Uuid
+ include
Has
Uuid
include KindAndEtag
include CommonApiTemplate
serialize :components, Hash
include KindAndEtag
include CommonApiTemplate
serialize :components, Hash
@@
-7,5
+11,10
@@
class PipelineTemplate < ArvadosModel
api_accessible :user, extend: :common do |t|
t.add :name
t.add :components
api_accessible :user, extend: :common do |t|
t.add :name
t.add :components
+ t.add :description
+ end
+
+ def self.limit_index_columns_read
+ ["components"]
end
end
end
end