Compare commits
2 Commits
0.1-test
...
75cd15a20c
| Author | SHA256 | Date | |
|---|---|---|---|
| 75cd15a20c | |||
| 992c2ca860 |
@@ -16,10 +16,9 @@ public final class JupiterPerpsAlarmImpl {
|
||||
try {
|
||||
config = Config.parse(args, System.getenv());
|
||||
} catch (IllegalArgumentException exception) {
|
||||
System.err.println(exception.getMessage());
|
||||
printUsage();
|
||||
System.exit(2);
|
||||
return;
|
||||
String errMsg = "Could not parse configuration for JupiterPerpsAlarm: " + exception.getMessage() + "!";
|
||||
throw new IllegalStateException(errMsg, exception);
|
||||
}
|
||||
|
||||
if (config.selfTest()) {
|
||||
@@ -32,9 +31,8 @@ public final class JupiterPerpsAlarmImpl {
|
||||
try {
|
||||
definitions = AlarmConfigurationParser.parse(config.alarmConfiguration());
|
||||
} catch (Exception exception) {
|
||||
System.err.println("Could not load alarm configuration: " + exception.getMessage());
|
||||
System.exit(2);
|
||||
return;
|
||||
String errMsg = "Could not load alarm configuration: " + exception.getMessage() + "!";
|
||||
throw new IllegalStateException(errMsg, exception);
|
||||
}
|
||||
|
||||
List<AlarmAction> actions = new ArrayList<>();
|
||||
|
||||
@@ -39,13 +39,13 @@ public class NenjimHubImpl implements NenjimHub {
|
||||
|
||||
private void startAutoRunProcesses() throws Exception {
|
||||
String[] processesToAutoStart = {
|
||||
|
||||
"crypto.r35157.nenjim.NenjimHubSocketAdminAdapter",
|
||||
"crypto.r35157.nenjim.NenjimHubRestAdminAdapter",
|
||||
"crypto.r35157.nenjim.NenjimHubRPCAdminAdapter",
|
||||
"crypto.r35157.nenjim.SuwimoHub",
|
||||
"crypto.r35157.nenjim.SodaTaskManager",
|
||||
"crypto.r35157.assetaz.hub.AssetAZHub"
|
||||
//"com.r35157.jupiterperpsalarm.impl.ref.JupiterPerpsAlarmImpl"
|
||||
//"crypto.r35157.nenjim.NenjimHubSocketAdminAdapter",
|
||||
//"crypto.r35157.nenjim.NenjimHubRestAdminAdapter",
|
||||
//"crypto.r35157.nenjim.NenjimHubRPCAdminAdapter",
|
||||
//"crypto.r35157.nenjim.SuwimoHub",
|
||||
//"crypto.r35157.nenjim.SodaTaskManager",
|
||||
//"crypto.r35157.assetaz.hub.AssetAZHub"
|
||||
};
|
||||
|
||||
for (String processInterfaceName : processesToAutoStart) {
|
||||
|
||||
Reference in New Issue
Block a user