X: NFC - Refactoring and additional logging
This commit is contained in:
@@ -367,33 +367,20 @@ public final class NenjimHubImpl implements NenjimHub {
|
||||
return Map.ofEntries(
|
||||
Map.entry(JOURNAL_SERVICE_ID, this::constructJournalProcess),
|
||||
Map.entry(TICKER_SERVICE_ID, this::constructTickerProcess),
|
||||
Map.entry(
|
||||
JUPITER_PERPS_ALARM_ID,
|
||||
this::constructJupiterPerpsAlarmProcess),
|
||||
Map.entry(
|
||||
EVELYN_SERVICE_PROD_ID,
|
||||
this::constructEvelynProdProcess),
|
||||
Map.entry(
|
||||
EVELYN_SERVICE_TEST_ID,
|
||||
this::constructEvelynTestProcess),
|
||||
Map.entry(
|
||||
EVELYN_IOU_BURNER_PROD_ID,
|
||||
this::constructEvelynIOUBurnerProdProcess),
|
||||
Map.entry(
|
||||
JAVAFX_RUNTIME_SERVICE_ID,
|
||||
this::constructJavaFxRuntimeProcess),
|
||||
Map.entry(
|
||||
EVELYN_MISSION_CONTROL_ID,
|
||||
this::constructMissionControlProcess),
|
||||
Map.entry(
|
||||
PROCESS_MANAGER_ID,
|
||||
this::constructProcessManagerProcess));
|
||||
Map.entry(JUPITER_PERPS_ALARM_ID, this::constructJupiterPerpsAlarmProcess),
|
||||
Map.entry(EVELYN_SERVICE_PROD_ID, this::constructEvelynProdProcess),
|
||||
Map.entry(EVELYN_SERVICE_TEST_ID, this::constructEvelynTestProcess),
|
||||
Map.entry(EVELYN_IOU_BURNER_PROD_ID, this::constructEvelynIOUBurnerProdProcess),
|
||||
Map.entry(JAVAFX_RUNTIME_SERVICE_ID, this::constructJavaFxRuntimeProcess),
|
||||
Map.entry(EVELYN_MISSION_CONTROL_ID, this::constructMissionControlProcess),
|
||||
Map.entry(PROCESS_MANAGER_ID, this::constructProcessManagerProcess)
|
||||
);
|
||||
}
|
||||
|
||||
private static Set<NenjimComponentId> selectableProcessIds(
|
||||
Map<NenjimComponentId, ProcessConstructor> processConstructors) {
|
||||
Set<NenjimComponentId> processIds =
|
||||
new HashSet<>(processConstructors.keySet());
|
||||
Map<NenjimComponentId, ProcessConstructor> processConstructors
|
||||
) {
|
||||
Set<NenjimComponentId> processIds = new HashSet<>(processConstructors.keySet());
|
||||
processIds.add(REGISTRY_SERVICE_ID);
|
||||
return Set.copyOf(processIds);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user