projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '17749-s3-prefixes'
[arvados.git]
/
services
/
api
/
app
/
controllers
/
arvados
/
v1
/
pipeline_templates_controller.rb
diff --git
a/services/api/app/controllers/arvados/v1/pipeline_templates_controller.rb
b/services/api/app/controllers/arvados/v1/pipeline_templates_controller.rb
index a2c6d0b97d90d54990937cffdc854c0f63e11b19..4a5e724ee64471df8bcd38db5e6e2193c05e244b 100644
(file)
--- a/
services/api/app/controllers/arvados/v1/pipeline_templates_controller.rb
+++ b/
services/api/app/controllers/arvados/v1/pipeline_templates_controller.rb
@@
-1,3
+1,12
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
class Arvados::V1::PipelineTemplatesController < ApplicationController
accept_attribute_as_json :components, Hash
class Arvados::V1::PipelineTemplatesController < ApplicationController
accept_attribute_as_json :components, Hash
+
+ def create
+ return send_error("Unsupported legacy jobs API",
+ status: 400)
+ end
end
end