Skip to content

Commit

Permalink
improve AXS_WORK_COLLECTION safety
Browse files Browse the repository at this point in the history
  • Loading branch information
ens-lg4 committed Apr 26, 2024
1 parent db27f72 commit 2000fbf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion base_loadgen_program/data_axs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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", [[
Expand Down
5 changes: 4 additions & 1 deletion power_measurement/data_axs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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", [[
Expand Down

0 comments on commit 2000fbf

Please sign in to comment.