projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added ArvadosModel.search_for_user to perform full-text search on a model.
[arvados.git]
/
services
/
api
/
app
/
models
/
pipeline_instance.rb
diff --git
a/services/api/app/models/pipeline_instance.rb
b/services/api/app/models/pipeline_instance.rb
index 6de861d00547297688fdba19aee5c72d2d05e83e..a46085e16757a903dbb3d0dcb730b63095cfaf22 100644
(file)
--- a/
services/api/app/models/pipeline_instance.rb
+++ b/
services/api/app/models/pipeline_instance.rb
@@
-1,4
+1,4
@@
-class PipelineInstance <
Orv
osModel
+class PipelineInstance <
Arvad
osModel
include AssignUuid
include KindAndEtag
include CommonApiTemplate
include AssignUuid
include KindAndEtag
include CommonApiTemplate
@@
-10,7
+10,7
@@
class PipelineInstance < OrvosModel
before_validation :bootstrap_components
before_validation :update_success
before_validation :bootstrap_components
before_validation :update_success
- api_accessible :
superuser, :extend =>
:common do |t|
+ api_accessible :
user, extend:
:common do |t|
t.add :pipeline_template_uuid
t.add :pipeline_template, :if => :pipeline_template
t.add :name
t.add :pipeline_template_uuid
t.add :pipeline_template, :if => :pipeline_template
t.add :name
@@
-18,6
+18,11
@@
class PipelineInstance < OrvosModel
t.add :success
t.add :active
t.add :dependencies
t.add :success
t.add :active
t.add :dependencies
+ t.add :properties
+ end
+
+ def self.searchable?
+ true
end
def dependencies
end
def dependencies