diff options
| -rw-r--r-- | SystemTest.log | 4 | ||||
| -rw-r--r-- | src/main/java/derms/replica1/DERMSServerPublisher.java | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/SystemTest.log b/SystemTest.log index cbefc17..55e561f 100644 --- a/SystemTest.log +++ b/SystemTest.log @@ -1,2 +1,2 @@ -[2024-12-03 09:44:22] REPLICA 1: {BYZANTINE: TRUE} -[2024-12-03 09:44:22] REPLICA 1: {CRASH: FALSE} +[2024-12-03 11:21:45] REPLICA 1: {BYZANTINE: FALSE} +[2024-12-03 11:21:45] REPLICA 1: {CRASH: FALSE} diff --git a/src/main/java/derms/replica1/DERMSServerPublisher.java b/src/main/java/derms/replica1/DERMSServerPublisher.java index 281c1f1..917c189 100644 --- a/src/main/java/derms/replica1/DERMSServerPublisher.java +++ b/src/main/java/derms/replica1/DERMSServerPublisher.java @@ -23,5 +23,13 @@ public class DERMSServerPublisher { System.out.println("DERMS Server is stopped.");
}
}
+// try {
+// Endpoint.publish("http://localhost:8387/ws/derms", new DERMSServer("MTL"));
+// Endpoint.publish("http://localhost:8081/ws/derms", new DERMSServer("QUE"));
+// Endpoint.publish("http://localhost:8082/ws/derms", new DERMSServer("SHE"));
+// } catch (InterruptedException e) {
+// throw new RuntimeException(e);
+// }
+// System.out.println("DERMS Web Service is published at http://localhost:8387/ws/derms");
}
}
\ No newline at end of file |