mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
appflow: Add post /service_template route
This commit is contained in:
1 parent
fb82c4a96f
commit
4101962ceb
1 file changed
+8
@@ -94,5 +94,13 @@ post '/service_template/:id/action' do
|
||||
|
||||
resp = client.post('/service_template/' + params[:id] + '/action', request.body.read)
|
||||
|
||||
format_response(resp)
|
||||
end
|
||||
|
||||
post '/service_template' do
|
||||
client = build_client
|
||||
|
||||
resp = client.post('/service_template', request.body.read)
|
||||
|
||||
format_response(resp)
|
||||
end
|
||||
Reference in new issue
Block a user