From 3fd498825702885fa89d9eba8ac1bf9f3dbfdd4d Mon Sep 17 00:00:00 2001 From: karnem <mikhail.karnevskiy@desy.de> Date: Mon, 4 Dec 2023 12:09:21 +0100 Subject: [PATCH] Fix path to processed and raw data in standalone authorizer --- deploy/asapo_services_light/Dockerfile | 2 ++ deploy/asapo_services_light/authorizer.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/asapo_services_light/Dockerfile b/deploy/asapo_services_light/Dockerfile index 5a793d6f9..eb34fde0a 100644 --- a/deploy/asapo_services_light/Dockerfile +++ b/deploy/asapo_services_light/Dockerfile @@ -62,6 +62,8 @@ COPY front-dist /usr/share/nginx/html RUN mkdir -p /tmp/asapo/receiver/files/test_facility/gpfs/test/2019/data/asapo_test/processed/ RUN mkdir -p /tmp/asapo/receiver/files/beamline/test/current/raw +# Link dummy beamline FS with dummy code FS +RUN ln -s /tmp/asapo/receiver/files/beamline/test/current/raw /tmp/asapo/receiver/files/test_facility/gpfs/test/2019/data/asapo_test/raw RUN mkdir -p /tmp/logs/ CMD ["supervisord", "--configuration", "/etc/supervisord.conf"] diff --git a/deploy/asapo_services_light/authorizer.json b/deploy/asapo_services_light/authorizer.json index 17e3d044d..bd84e7166 100644 --- a/deploy/asapo_services_light/authorizer.json +++ b/deploy/asapo_services_light/authorizer.json @@ -1,7 +1,7 @@ { "Port": 8412, "LogLevel":"debug", - "RootBeamtimesFolder":"/tmp/asapo/asap3", + "RootBeamtimesFolder":"/tmp/asapo/receiver/files", "CurrentBeamlinesFolder":"/tmp/asapo/beamline", "AlwaysAllowedBeamtimes":[{"beamtimeId":"asapo_test","beamline":"test","corePath":"/tmp/asapo/receiver/files/test_facility/gpfs/test/2019/data/asapo_test", "beamline-path":"/tmp/asapo/receiver/files/beamline/test/current"}, -- GitLab