Basic implementation of files API that allows other apps filesystem access
This commit is contained in:
@@ -31,6 +31,10 @@
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>de.77zzcx7.nbs-cloud</groupId>
|
||||
<artifactId>files-api</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -26,6 +26,7 @@ public class DashboardWidgetController {
|
||||
|
||||
@GetMapping("dashboard/widgets/machineMetrics")
|
||||
public String getDiskUsage(HttpServletRequest request, HttpServletResponse response, Model model) {
|
||||
|
||||
model.addAttribute("interfaces", metricService.getInterfaces());
|
||||
model.addAttribute("updates", metricService.getUpdates());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user