Improved PropertyStats page with only active services.

This commit is contained in:
Christian P. MOMON 2023-05-07 10:41:11 +02:00
parent f28e0e61aa
commit c1adf8e650

View file

@ -74,7 +74,7 @@ public class PropertyStatsPage
page = PropertyStatsPage.htmlize("Les propriétés des organizations", organizationsStats); page = PropertyStatsPage.htmlize("Les propriétés des organizations", organizationsStats);
FileUtils.write(new File(htmlizeDirectory, "propertyStats-organizations.xhtml"), page, StandardCharsets.UTF_8); FileUtils.write(new File(htmlizeDirectory, "propertyStats-organizations.xhtml"), page, StandardCharsets.UTF_8);
PropertyStats servicesStats = StatAgent.statServicesProperties(federation.getServicesAll()); PropertyStats servicesStats = StatAgent.statServicesProperties(federation.getActiveServices());
page = PropertyStatsPage.htmlize("Les propriétés des services", servicesStats); page = PropertyStatsPage.htmlize("Les propriétés des services", servicesStats);
FileUtils.write(new File(htmlizeDirectory, "propertyStats-services.xhtml"), page, StandardCharsets.UTF_8); FileUtils.write(new File(htmlizeDirectory, "propertyStats-services.xhtml"), page, StandardCharsets.UTF_8);
} }