Skip to content

Add ability to extract mon groups for a specified SMK or HLTMenu and fix frontier access for mon groups

Benedict Allbrooke requested to merge ExtractByMenu into master

Next MR on DB interface tools for Mon Groups adding to previously added Mon Group extraction script and to Menu extraction script.

Mon Group Extraction:

  • Extract MonGroups for a given HLTMenu ID directly from data stored in Mon Group table
  • Extract MonGroups for a given SMK via lookup in the HLTMenu table to find correct correspondance
  • Additional checks on right number of arguments now that there are 3 routes to extract file
  • Fixes a few typos/copy-pastes in comments and similar from first go

Menu Extraction:

  • Adds in that if Monitoring Group file is extracted when asking for a full SMK worth of files
  • Checks Monitoring Group file associated to SMK is found in tables and reports if not
  • Monitoring Group file written to the same folder as the other files

Adds Frontier permissions for Monitoring Groups table to both main Frontier file and Schema patch.

Also provided an extra opportunity to test query being used in TrigConfIO as extract MonGroups for given SMK uses same lookup and works fine here.

Tagging @mark for approval.

This MR I think has everything in it needed as I'll do the insert all and listing mon groups in a seperate MR - those tools are unrelated to these.

Edited by Benedict Allbrooke

Merge request reports