Skip to content

server-e2e: add summary table and object queries to the fixture - #6

Merged
zev333 merged 1 commit into
masterfrom
e2e-summary-tables-object-queries
Oct 21, 2026
Merged

zev333 merged 1 commit into
masterfrom
e2e-summary-tables-object-queries

Conversation

@zev333

@zev333 zev333 commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

The fixture had no DCI summary tables or object queries, so in netxms/grafana-datasource both query types showed empty lists (and the catalog reviewer can't try them).

Added to files/db.sqlite3 at schema 60.34 (older versions still build):

  • summary table "Server queues": 4 columns over the server's internal Server.QueueSize.* DCIs on node 100
  • object query "Nodes": IP address, host name, status
  • object query "Objects by name": class and status, filtered by a pattern input field (exercises inputFields)

Checked locally: built 7.0.0 (nxdbmgr upgrade + background-upgrade pass), ran it with the grafana-datasource compose stack; summary table and both queries return rows through the plugin, server log has no script errors.

After merge: gh workflow run build-images.yml -R netxms/docker --ref master -f component=server-e2e -f tag=7.0.0-e2e.2

The fixture had no DCI summary tables or object queries, so the Grafana
data source showed empty lists for both query types. Add the "Server
queues" summary table over the server's internal queue DCIs and two
object queries, one of them with a "pattern" input field. Inserted at
schema 60.34, so the fixture still builds for older versions.
@zev333
zev333 requested a review from alkk October 21, 2026 08:46
@zev333
zev333 merged commit 765fe5b into master Oct 21, 2026
6 checks passed
@zev333
zev333 deleted the e2e-summary-tables-object-queries branch October 21, 2026 13:46
zev333 added a commit to netxms/grafana-datasource that referenced this pull request Oct 21, 2026
The fixture now has a DCI summary table and two object queries
(netxms/docker#6), so both query types can be tried in the dev stack
and by catalog reviewers.
zev333 added a commit to netxms/grafana-datasource that referenced this pull request Oct 21, 2026
The fixture now has a DCI summary table and two object queries
(netxms/docker#6), so both query types can be tried in the dev stack
and by catalog reviewers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant