lib/routes.rb in gaptool-server-0.8.3 vs lib/routes.rb in gaptool-server-0.8.4
- old
+ new
@@ -228,16 +228,9 @@
get '/host/:role/:environment/:instance' do
json Gaptool::Data.stringify_apps(Gaptool::Data.get_server_data(params[:instance]), client_version)
end
- get '/ssh/:role/:environment/:instance' do
- data = Gaptool::Data.get_server_data params[:instance]
- host = data['hostname']
- key, pubkey = Gaptool::EC2.putkey(host)
- json hostname: host, key: key, pubkey: pubkey
- end
-
get '/version' do
version = settings.version
json server_version: version, api: { v0: '/' }
end