From 2997fd522c505fceb27a3d5f6c107ab070d99823 Mon Sep 17 00:00:00 2001 From: Tobias Eidelpes Date: Wed, 14 Oct 2020 13:18:14 +0200 Subject: [PATCH] Replace default port_range with given by course --- src/main/resources/domains.properties | 5 ++--- src/main/resources/mailbox-earth-planet.properties | 9 +++------ src/main/resources/mailbox-univer-ze.properties | 9 +++------ src/main/resources/monitoring.properties | 3 +-- src/main/resources/transfer-1.properties | 9 +++------ src/main/resources/transfer-2.properties | 9 +++------ 6 files changed, 15 insertions(+), 29 deletions(-) diff --git a/src/main/resources/domains.properties b/src/main/resources/domains.properties index 622fcaa..cb1f6c7 100644 --- a/src/main/resources/domains.properties +++ b/src/main/resources/domains.properties @@ -1,4 +1,3 @@ # = -# TODO: replace ports with the ports that your mailbox servers use -earth.planet=127.0.0.1:port_range+2 -univer.ze=127.0.0.1:port_range+4 +earth.planet=127.0.0.1:11620+2 +univer.ze=127.0.0.1:11620+4 diff --git a/src/main/resources/mailbox-earth-planet.properties b/src/main/resources/mailbox-earth-planet.properties index acf1724..576cb4b 100644 --- a/src/main/resources/mailbox-earth-planet.properties +++ b/src/main/resources/mailbox-earth-planet.properties @@ -1,10 +1,8 @@ # TCP port used for the DMTP server socket -# TODO: REPLACE with real value such as 16502 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -dmtp.tcp.port=port_range+2 +dmtp.tcp.port=11620+2 # TCP port used for the DMAP server socket -# TODO: REPLACE with real value such as 16503 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -dmap.tcp.port=port_range+3 +dmap.tcp.port=11620+3 # mail domain managed by the mailbox server domain=earth.planet @@ -21,5 +19,4 @@ root_id=root-nameserver registry.host=localhost # RMI registry port -# TODO: REPLACE with real value such as 16509 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -registry.port=port_range+9 +registry.port=11620+9 diff --git a/src/main/resources/mailbox-univer-ze.properties b/src/main/resources/mailbox-univer-ze.properties index f07c01d..46d4951 100644 --- a/src/main/resources/mailbox-univer-ze.properties +++ b/src/main/resources/mailbox-univer-ze.properties @@ -1,10 +1,8 @@ # TCP port used for the DMTP server socket -# TODO: REPLACE with real value such as 16504 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -dmtp.tcp.port=port_range+4 +dmtp.tcp.port=11620+4 # TCP port used for the DMAP server socket -# TODO: REPLACE with real value such as 16505 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -dmap.tcp.port=port_range+5 +dmap.tcp.port=11620+5 # mail domain managed by the mailbox server domain=univer.ze @@ -21,5 +19,4 @@ root_id=root-nameserver registry.host=localhost # RMI registry port -# TODO: REPLACE with real value such as 16509 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -registry.port=port_range+9 +registry.port=11620+9 diff --git a/src/main/resources/monitoring.properties b/src/main/resources/monitoring.properties index 8aff76c..90ad6dd 100644 --- a/src/main/resources/monitoring.properties +++ b/src/main/resources/monitoring.properties @@ -1,3 +1,2 @@ # UDP port used for accepting monitoring packets -# TODO: REPLACE with real value such as 16508 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -udp.port=port_range+8 +udp.port=11620+8 diff --git a/src/main/resources/transfer-1.properties b/src/main/resources/transfer-1.properties index 0b87450..d252429 100644 --- a/src/main/resources/transfer-1.properties +++ b/src/main/resources/transfer-1.properties @@ -1,11 +1,9 @@ # TCP port used for the DMTP server socket -# TODO: REPLACE with real value such as 16500 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -tcp.port=port_range +tcp.port=11620 # UDP socket address of the monitoring server monitoring.host=127.0.0.1 -# TODO: REPLACE with the real value of the monitoring server port -monitoring.port=port_range+8 +monitoring.port=11620+8 # ============================================= Required for Assignment 2 @@ -16,5 +14,4 @@ root_id=root-nameserver registry.host=localhost # RMI registry port -# TODO: REPLACE with real value such as 16509 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -registry.port=port_range+9 +registry.port=11620+9 diff --git a/src/main/resources/transfer-2.properties b/src/main/resources/transfer-2.properties index 11757ab..c347ff0 100644 --- a/src/main/resources/transfer-2.properties +++ b/src/main/resources/transfer-2.properties @@ -1,11 +1,9 @@ # TCP port used for the DMTP server socket -# TODO: REPLACE with real value such as 16501 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -tcp.port=port_range+1 +tcp.port=11620+1 # UDP socket address of the monitoring server monitoring.host=127.0.0.1 -# TODO: REPLACE with the real value of the monitoring server port -monitoring.port=port_range+8 +monitoring.port=11620+8 # ============================================= Required for Assignment 2 @@ -16,5 +14,4 @@ root_id=root-nameserver registry.host=localhost # RMI registry port -# TODO: REPLACE with real value such as 16509 - considering the port range associated with your account - you have received after Lab 0 a port range (beginning_of_the_range, end_of_the_range) -registry.port=port_range+9 +registry.port=11620+9