From 396ff1540cc979d95e966a7a5e7f017bdb9cb15e Mon Sep 17 00:00:00 2001
From: ahmedk <karim.ahmed@xfel.eu>
Date: Mon, 19 Jun 2023 14:18:15 +0200
Subject: [PATCH] replace max-exfl017 with max-exfl-cal-002 and max-exfl016
 with max-exfl-cal-001

---
 README.rst                   | 2 +-
 tests/conftest.py            | 2 +-
 tests/test_cal_tools.py      | 4 ++--
 webservice/README.md         | 4 ++--
 webservice/request_repeat.py | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/README.rst b/README.rst
index e0217e1f0..5038f9b97 100644
--- a/README.rst
+++ b/README.rst
@@ -473,7 +473,7 @@ https://git.xfel.eu/gitlab/detectors/pycalibration repository, so now
 
 .. code::
 
-  [xcaltst@max-exfl017 tmp]$ git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git
+  [xcaltst@max-exfl-cal-002 tmp]$ git clone ssh://git@git.xfel.eu:10022/detectors/pycalibration.git
   Cloning into 'pycalibration'...
   remote: Enumerating objects: 9414, done.
   remote: Counting objects: 100% (9414/9414), done.
diff --git a/tests/conftest.py b/tests/conftest.py
index e5a45a293..7ad10cc5b 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -69,7 +69,7 @@ def pytest_configure(config):
 
 
 @lru_cache()
-def server_reachable(server: str = "max-exfl017"):
+def server_reachable(server: str = "max-exfl-cal-002"):
     reachable = True
 
     try:
diff --git a/tests/test_cal_tools.py b/tests/test_cal_tools.py
index 5929944c5..128921179 100644
--- a/tests/test_cal_tools.py
+++ b/tests/test_cal_tools.py
@@ -36,8 +36,8 @@ PHOTON_ENERGY = 9.2
 AGIPD_KARABO_ID = "SPB_DET_AGIPD1M-1"
 WRONG_AGIPD_MODULE = "AGIPD_**"
 
-CAL_DB_INTERFACE = "tcp://max-exfl017:8020"
-WRONG_CAL_DB_INTERFACE = "tcp://max-exfl017:0000"
+CAL_DB_INTERFACE = "tcp://max-exfl-cal-002:8020"
+WRONG_CAL_DB_INTERFACE = "tcp://max-exfl-cal-002:0000"
 
 PROPOSAL = 900113
 
diff --git a/webservice/README.md b/webservice/README.md
index 90a0bdc09..cfd7a10bf 100644
--- a/webservice/README.md
+++ b/webservice/README.md
@@ -159,11 +159,11 @@ to display a list of available options.
 Testing
 -------
 
-There is a test environment on ``max-exfl017``, separate from the production
+There is a test environment on ``max-exfl-cal-002``, separate from the production
 instance.
 
 ```bash
-ssh xcaltst@max-exfl017.desy.de
+ssh xcaltst@max-exfl-cal-002.desy.de
 cd /home/xcaltst/pycalibration
 
 # Get the code you want to test
diff --git a/webservice/request_repeat.py b/webservice/request_repeat.py
index 0851f99d5..db1d77a02 100644
--- a/webservice/request_repeat.py
+++ b/webservice/request_repeat.py
@@ -14,7 +14,7 @@ parser.add_argument('proposal', type=int, help='The proposal number')
 parser.add_argument('run', type=int, help='The run number')
 parser.add_argument('--mymdc-id', type=int, default=0, help="Run ID in myMdC")
 parser.add_argument('--endpoint', default='tcp://max-exfl016:5555',
-                help="The ZMQ endpoint to connect to (max-exfl017 for testing)")
+                help="The ZMQ endpoint to connect to (max-exfl-cal-002 for testing)")
 
 args = parser.parse_args()
 
-- 
GitLab