Commit 8dfa146f authored by Alexandre MERLIN's avatar Alexandre MERLIN
Browse files

Add storage endpoint

parent 786977ee
Pipeline #176628 passed with stages
in 21 minutes and 36 seconds
...@@ -75,7 +75,7 @@ class SitesController < ResourcesController ...@@ -75,7 +75,7 @@ class SitesController < ResourcesController
def links_for_item(item) def links_for_item(item)
links = super(item) links = super(item)
%w[jobs deployments vlans metrics].each do |rel| %w[jobs deployments vlans metrics storage].each do |rel|
links.push({ links.push({
'rel' => rel, 'rel' => rel,
'type' => api_media_type(:g5kcollectionjson), 'type' => api_media_type(:g5kcollectionjson),
......
...@@ -72,6 +72,7 @@ describe SitesController do ...@@ -72,6 +72,7 @@ describe SitesController do
self self
servers servers
status status
storage
version version
versions versions
vlans vlans
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment