From 2000fbf1de1ef3c33a5df531338a0f545531554f Mon Sep 17 00:00:00 2001 From: Leo Gordon Date: Fri, 26 Apr 2024 14:36:41 +0100 Subject: [PATCH] improve AXS_WORK_COLLECTION safety --- base_loadgen_program/data_axs.json | 5 ++++- power_measurement/data_axs.json | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/base_loadgen_program/data_axs.json b/base_loadgen_program/data_axs.json index 0d2c1aa..b4b401d 100644 --- a/base_loadgen_program/data_axs.json +++ b/base_loadgen_program/data_axs.json @@ -80,7 +80,10 @@ "output_entry_subs_listmap": [ ], "output_entry_tags": [ "loadgen_output" ], - "collection_name": "work_collection", + "collection_name": [ "^", "execute", [[ + [ "work_collection" ], + [ "get_name" ] + ]] ], "collection_object": [ "^", "byquery", ["^^", "substitute", "collection,collection_name=#{collection_name}#" ], { "parent_recursion": true }, [ "collection_name" ] ], "output_entry": [ "^^", "execute", [[ diff --git a/power_measurement/data_axs.json b/power_measurement/data_axs.json index bfcfb21..6ce5e30 100644 --- a/power_measurement/data_axs.json +++ b/power_measurement/data_axs.json @@ -49,7 +49,10 @@ [ "get_path_of", "power_client_script" ] ]] ], - "collection_name": "work_collection", + "collection_name": [ "^", "execute", [[ + [ "work_collection" ], + [ "get_name" ] + ]] ], "collection_object": [ "^", "byquery", ["^^", "substitute", "collection,collection_name=#{collection_name}#" ], { "parent_recursion": true }, [ "collection_name" ] ], "output_entry": [ "^^", "execute", [[