Skip to content

updateTableCells#429

Open
corrodis wants to merge 4 commits into
developfrom
sc/Mu2eRunControl
Open

updateTableCells#429
corrodis wants to merge 4 commits into
developfrom
sc/Mu2eRunControl

Conversation

@corrodis

Copy link
Copy Markdown
Contributor

Adding functionality to update individual cells in a table via updateTableCells. This was motivated by tracker GUI efforts.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for updating specific table cells by UID/column via a new ConfigurationManagerRW::updateTableCells() workflow, motivated by tracker GUI needs. Also extends gateway status exchange to include active/selected config group metadata, and adds an option to suppress ARTDAQ multinode “printer syntax” compression when enumerating nodes.

Changes:

  • Add ConfigurationManagerRW::updateTableCells() API + implementation to apply per-UID cell edits and optionally set a version alias.
  • Extend GatewaySupervisor remote status request/response to carry active context/config group (name+key) and resolved selected-config-alias group details.
  • Add suppressMultiNode option to ARTDAQTableBase::getARTDAQSystem() to emit concrete per-node records.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
otsdaq/TablePlugins/ARTDAQTableBase/ARTDAQTableBase.h Adds suppressMultiNode parameter to getARTDAQSystem() declaration.
otsdaq/TablePlugins/ARTDAQTableBase/ARTDAQTableBase.cc Implements suppressMultiNode behavior when building node records.
otsdaq/TableCore/TableView.h Adds <map> include (supporting map-based APIs/usages).
otsdaq/GatewaySupervisor/GatewaySupervisor.h Extends RemoteGatewayInfo with active/selected group name+key fields.
otsdaq/GatewaySupervisor/GatewaySupervisor.cc Sends/parses additional remote status params and emits/parses new XML fields for group metadata.
otsdaq/ConfigurationInterface/ConfigurationManagerRW.h Declares new updateTableCells() public API.
otsdaq/ConfigurationInterface/ConfigurationManagerRW.cc Implements updateTableCells() end-to-end workflow and optional version-alias update.

Comment on lines +3194 to +3200
if(portForReverseLoginOverUDP || remoteGatewayApp.selected_config_alias != "")
requestString += "," + ipForReverseLoginOverUDP + "," +
std::to_string(portForReverseLoginOverUDP) + "," +
remoteGatewayApp.appInfo.name;
(portForReverseLoginOverUDP
? std::to_string(portForReverseLoginOverUDP)
: "") +
"," + remoteGatewayApp.appInfo.name + "," +
remoteGatewayApp.selected_config_alias;
Comment on lines +4028 to +4029
if(params.size() >= 5)
requesterSelectedConfigAlias = params[4];
Comment on lines +2611 to +2613
/// Loads the table at sourceVersion, creates a temporary view, applies cell updates
/// via TableView::updateCells(), saves a new persistent version, and optionally sets
/// a version alias on the new version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📋 Triage

Development

Successfully merging this pull request may close these issues.

3 participants