Skip to content

Commit

Permalink
[#285] Add query links for finding directories with no quotas
Browse files Browse the repository at this point in the history
  • Loading branch information
pjeli committed Oct 15, 2019
1 parent 06110c2 commit 659dfca
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ enum Endpoint {
getCachedQuery,
removeCachedQuery,
cachedMaps,
sql
sql,
fileTypes
}

EnumSet<Endpoint> UNSECURED_ENDPOINTS =
Expand Down Expand Up @@ -318,7 +319,8 @@ enum Endpoint {
Endpoint.info,
Endpoint.config,
Endpoint.getCachedQuery,
Endpoint.cachedMaps);
Endpoint.cachedMaps,
Endpoint.fileTypes);

EnumSet<Endpoint> READER_ENDPOINTS =
EnumSet.of(
Expand Down
13 changes: 13 additions & 0 deletions src/main/resources/webapps/nna/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,19 @@
<!--<li><a href="#">One more separated link</a></li>-->
</ul>
</li>
<li class="dropdown-submenu">
<a tabindex="-1">Quotas</a>
<ul class="dropdown-menu">
<li><a target="_blank" href="./custom.html?set=files&filters=isUnderDsQuota:eq:false,isUnderNsQuota:eq:false&sum=count&type=parentDir&parentDirDepth=3&sortDescending=true&top=10">Directories (ParentDepth=3) with No Quotas by Count</a></li>
<li><a target="_blank" href="./custom.html?set=files&filters=isUnderDsQuota:eq:false,isUnderNsQuota:eq:false&sum=diskspaceConsumed&type=parentDir&parentDirDepth=3&sortDescending=true&top=10">Directories (ParentDepth=3) with No Quotas by Diskspace</a></li>
<li><a target="_blank" href="./custom.html?set=files&filters=isUnderNsQuota:eq:false&sum=count&type=parentDir&parentDirDepth=3&sortDescending=true&top=10">Directories (ParentDepth=3) with No NS Quota by Count</a></li>
<li><a target="_blank" href="./custom.html?set=files&filters=isUnderDsQuota:eq:false&sum=diskspaceConsumed&type=parentDir&parentDirDepth=3&sortDescending=true&top=10">Directories (ParentDepth=3) with No DS Quota by Diskspace</a></li>
<li><a target="_blank" href="./custom.html?set=dirs&filters=isUnderDsQuota:eq:false,isUnderNsQuota:eq:false&sum=count&type=parentDir&parentDirDepth=3&sortDescending=true&top=10">Fast Directories (ParentDepth=3) with No Quotas</a></li>
<!--<li class="dropdown-header">Nav header</li>-->
<!--<li><a href="#">Separated link</a></li>-->
<!--<li><a href="#">One more separated link</a></li>-->
</ul>
</li>
<li class="dropdown-submenu">
<a tabindex="-1">Reports</a>
<ul class="dropdown-menu">
Expand Down

0 comments on commit 659dfca

Please sign in to comment.