- The device install form shows placeholders, templated defaults, an
Advanced section and a ThingsBoard connection section with the MQTT host
and port, cleans pasted values, shows errors after the user leaves a field
and does not let the browser autofill ThingsBoard credentials.
- A field marked by the package checks the integration connection.
- The TTN and TTI install methods are named The Things Stack Sandbox and
The Things Stack Cloud.
- The TTN converter metadata includes the coding rate and the gateway channel.
- Deleting or updating a device package keeps the integrations, converters
and other entities that another installed device package uses, and the
delete dialog names them before the user confirms.
- The Open button of an installed item names what it opens.
Rule chain initialization issued roughly 3N + E sequential queries per
chain (N nodes, E node connections): one findById per node in
getRuleChainNodes, a second findRuleNodeById per node in the rule node
actor, one relation lookup per node for routes and one existence
check per route target. Each by-id read runs in its own read-only
transaction, so start-up is bound by round trips and JDBC connection
hand-offs, and it saturates the connection pool shared with message
processing on large multi-tenant deployments.
- getRuleChainNodes reads the chain's nodes with batched id IN queries
- new RuleChainService.getRuleNodesRelations loads the outgoing
relations of all chain nodes and validates rule node targets in
batches (RelationDao.findAllByFromIds); dangling relations are still
removed, as in getRuleNodeRelations
- initRoutes uses the batched relations
- the rule chain actor hands each loaded RuleNode to its rule node
actor, which copies it (deep-copied configuration, plus the fields the
RuleNode copy constructor skips) instead of re-reading it
Both batched reads are served by existing indexes (rule_node_pkey,
idx_relation_from_id).
Creates missing system images from application/src/main/data/resources/images
during LTS patch startup, mirroring the upgrade-path loadSystemResources logic.
Existing system images in the DB are left untouched.
The admin settings endpoint requires SYS_ADMIN authority but the device
install wizard runs as TENANT_ADMIN.
Fix: add getConnectivityInfo(baseUrl) to DeviceConnectivityService which
resolves host/port with baseUrl fallback (reusing existing getHost/getPort
logic). Expose via new TENANT_ADMIN endpoint GET /api/iot-hub/connectivity.
Remove AdminService dependency from the dialog component.
Adds page-level byte-size tracking in TbResultSet.allRows() using
ExecutionInfo.getResponseSizeInBytes() to fail early when accumulated
result set size exceeds the configurable limit (default 50MB).
Also fixes pre-existing bugs where onFailure callbacks in
CassandraBaseTimeseriesDao only logged errors but never completed
the future, causing callers to hang indefinitely on failures.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Added getOrEmptyId method to validate if entityId is zero.
Changed logs to debug in DefaultTbTenantProfileService.
Added Throwable cause to Exceptions in catch blocks in DefaultTbTenantProfileService.
Signed-off-by: Oleksandra_Matviienko <al.zzzeebra@gmail.com>