projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '16265-security-updates' into dependabot/bundler/apps/workbench/rake...
[arvados.git]
/
services
/
api
/
app
/
controllers
/
arvados
/
v1
/
pipeline_instances_controller.rb
diff --git
a/services/api/app/controllers/arvados/v1/pipeline_instances_controller.rb
b/services/api/app/controllers/arvados/v1/pipeline_instances_controller.rb
index baffda1c99b96ad72e81879c1fff9d124ef2635c..166f71049b249606f3667045b07d2bea1c17639e 100644
(file)
--- a/
services/api/app/controllers/arvados/v1/pipeline_instances_controller.rb
+++ b/
services/api/app/controllers/arvados/v1/pipeline_instances_controller.rb
@@
-7,9
+7,13
@@
class Arvados::V1::PipelineInstancesController < ApplicationController
accept_attribute_as_json :properties, Hash
accept_attribute_as_json :components_summary, Hash
accept_attribute_as_json :properties, Hash
accept_attribute_as_json :components_summary, Hash
+ def create
+ return send_error("Unsupported legacy jobs API",
+ status: 400)
+ end
+
def cancel
def cancel
- reload_object_before_update
- @object.cancel cascade: params[:cascade]
- show
+ return send_error("Unsupported legacy jobs API",
+ status: 400)
end
end
end
end