Added missing fault section goals in reports
This commit is contained in:
parent
e2ded94f91
commit
423e128993
|
@ -30,15 +30,21 @@ package love.distributedrebirth.nx01.warp.fault.report;
|
|||
import java.util.Map;
|
||||
|
||||
import love.distributedrebirth.nx01.warp.fault.sitra.SitraManifestReportProvider;
|
||||
import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoHeader;
|
||||
import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoSectionChampionsLeague;
|
||||
import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoSectionGoal;
|
||||
|
||||
/// Reports the system environment variables.
|
||||
///
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class ReportSitraSystemEnvironment implements SitraManifestReportProvider {
|
||||
|
||||
|
||||
private static final String GOAL_SCORE = ZilLaLaManyfestoSectionGoal.BUBBLES.spaceCadet(ZilLaLaManyfestoSectionChampionsLeague.BUBBLES_ENVIRONMENT);
|
||||
|
||||
@Override
|
||||
public void fillReport(Map<String, String> tracer) {
|
||||
tracer.put(ZilLaLaManyfestoHeader.SIGNAL_FAULT_SECTION_GOAL, GOAL_SCORE);
|
||||
for (String key : System.getenv().keySet()) {
|
||||
String value = System.getenv(key);
|
||||
tracer.put(key, value);
|
||||
|
|
|
@ -31,15 +31,21 @@ import java.util.Locale;
|
|||
import java.util.Map;
|
||||
|
||||
import love.distributedrebirth.nx01.warp.fault.sitra.SitraManifestReportProvider;
|
||||
import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoHeader;
|
||||
import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoSectionChampionsLeague;
|
||||
import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoSectionGoal;
|
||||
|
||||
/// Reports the system locale.
|
||||
///
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class ReportSitraSystemLocale implements SitraManifestReportProvider {
|
||||
|
||||
|
||||
private static final String GOAL_SCORE = ZilLaLaManyfestoSectionGoal.BUBBLES.spaceCadet(ZilLaLaManyfestoSectionChampionsLeague.BUBBLES_LOCALE);
|
||||
|
||||
@Override
|
||||
public void fillReport(Map<String, String> tracer) {
|
||||
tracer.put(ZilLaLaManyfestoHeader.SIGNAL_FAULT_SECTION_GOAL, GOAL_SCORE);
|
||||
Locale locale = Locale.getDefault();
|
||||
tracer.put("Locale-Language", locale.getLanguage());
|
||||
tracer.put("Locale-Country", locale.getCountry());
|
||||
|
|
|
@ -30,15 +30,21 @@ package love.distributedrebirth.nx01.warp.fault.report;
|
|||
import java.util.Map;
|
||||
|
||||
import love.distributedrebirth.nx01.warp.fault.sitra.SitraManifestReportProvider;
|
||||
import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoHeader;
|
||||
import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoSectionChampionsLeague;
|
||||
import love.distributedrebirth.nx01.warp.fault.sitra.ZilLaLaManyfestoSectionGoal;
|
||||
|
||||
/// Reports all the system properties.
|
||||
///
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
public class ReportSitraSystemProperties implements SitraManifestReportProvider {
|
||||
|
||||
|
||||
private static final String GOAL_SCORE = ZilLaLaManyfestoSectionGoal.BUBBLES.spaceCadet(ZilLaLaManyfestoSectionChampionsLeague.BUBBLES_PROPERTIES);
|
||||
|
||||
@Override
|
||||
public void fillReport(Map<String, String> tracer) {
|
||||
tracer.put(ZilLaLaManyfestoHeader.SIGNAL_FAULT_SECTION_GOAL, GOAL_SCORE);
|
||||
for (Object keyObj : System.getProperties().keySet()) {
|
||||
if (keyObj instanceof String) {
|
||||
String key = String.class.cast(keyObj);
|
||||
|
|
|
@ -43,6 +43,9 @@ public enum ZilLaLaManyfestoSectionChampionsLeague {
|
|||
|
||||
public static final String BUBBLES_OPERATING_SYSTEM = "os";
|
||||
public static final String BUBBLES_RUMTIME = "runtime";
|
||||
public static final String BUBBLES_LOCALE = "locale";
|
||||
public static final String BUBBLES_ENVIRONMENT = "environment";
|
||||
public static final String BUBBLES_PROPERTIES = "properties";
|
||||
|
||||
public static final String BIMBAMBOO_MAVEN = "maven";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue