From abd190ba13f1a59cae16bc18765fed5cc1c8e110 Mon Sep 17 00:00:00 2001 From: Thomas Sundvoll <35451859+tsundvoll@users.noreply.github.com> Date: Thu, 21 Nov 2024 11:58:42 +0100 Subject: [PATCH] Adjust inspection_result message to match new setup in IDA --- src/isar/storage/uploader.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/isar/storage/uploader.py b/src/isar/storage/uploader.py index 7fccbf2b..d270f2a1 100644 --- a/src/isar/storage/uploader.py +++ b/src/isar/storage/uploader.py @@ -155,7 +155,8 @@ def _publish_inspection_result( "robot_name": settings.ROBOT_NAME, "inspection_id": inspection.id, "inspection_path": inspection_path, - "analysis_type": inspection.metadata.analysis_type, + "installation_code": settings.PLANT_SHORT_NAME, + "analysis_to_be_run": inspection.metadata.analysis_type, "timestamp": datetime.now(timezone.utc), }, cls=EnhancedJSONEncoder,