summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBMatajsz <90217645+BMatajsz@users.noreply.github.com>2024-12-03 11:25:43 -0500
committerBMatajsz <90217645+BMatajsz@users.noreply.github.com>2024-12-03 11:25:43 -0500
commit92bf77c700873f2a014ad09b50790c2a1032ebd5 (patch)
tree32b7b0b0cc7dc168ebf61a17ecafa39a0dd35f1e
parent3c63903f60f175f98b83126dca9db83468af7fda (diff)
downloadsoen423-92bf77c700873f2a014ad09b50790c2a1032ebd5.zip
Conflict1
-rw-r--r--SystemTest.log4
-rw-r--r--src/main/java/derms/replica1/DERMSServerPublisher.java8
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