Andrii Landiak
4b034d3067
Remove WebSocket API key header authentication, keep only authCmd
7 months ago
Andrii Landiak
2ab1faadce
Merge remote-tracking branch 'origin/ws-api-keys' into ws-api-keys
7 months ago
Andrii Landiak
e706b2e82f
Use consistent Authorization header format for WebSocket API key authentication
7 months ago
Viacheslav Klimov
d864e3216f
Merge branch 'master' into ws-api-keys
7 months ago
Viacheslav Klimov
8e32d5913c
Merge pull request #15209 from thingsboard/master-rc-merge
Merge rc into master
7 months ago
Viacheslav Klimov
1da3981bca
Merge remote-tracking branch 'origin/rc' into master-rc-merge
# Conflicts:
# application/pom.xml
# common/actor/pom.xml
# common/cache/pom.xml
# common/cluster-api/pom.xml
# common/coap-server/pom.xml
# common/dao-api/pom.xml
# common/data/pom.xml
# common/discovery-api/pom.xml
# common/edge-api/pom.xml
# common/edqs/pom.xml
# common/message/pom.xml
# common/pom.xml
# common/proto/pom.xml
# common/queue/pom.xml
# common/script/pom.xml
# common/script/remote-js-client/pom.xml
# common/script/script-api/pom.xml
# common/stats/pom.xml
# common/transport/coap/pom.xml
# common/transport/http/pom.xml
# common/transport/lwm2m/pom.xml
# common/transport/mqtt/pom.xml
# common/transport/pom.xml
# common/transport/snmp/pom.xml
# common/transport/transport-api/pom.xml
# common/util/pom.xml
# common/version-control/pom.xml
# dao/pom.xml
# edqs/pom.xml
# monitoring/pom.xml
# msa/black-box-tests/pom.xml
# msa/edqs/pom.xml
# msa/js-executor/package.json
# msa/js-executor/pom.xml
# msa/monitoring/pom.xml
# msa/pom.xml
# msa/tb-node/pom.xml
# msa/tb/pom.xml
# msa/transport/coap/pom.xml
# msa/transport/http/pom.xml
# msa/transport/lwm2m/pom.xml
# msa/transport/mqtt/pom.xml
# msa/transport/pom.xml
# msa/transport/snmp/pom.xml
# msa/vc-executor-docker/pom.xml
# msa/vc-executor/pom.xml
# msa/web-ui/package.json
# msa/web-ui/pom.xml
# netty-mqtt/pom.xml
# pom.xml
# rest-client/pom.xml
# rule-engine/pom.xml
# rule-engine/rule-engine-api/pom.xml
# rule-engine/rule-engine-components/pom.xml
# tools/pom.xml
# transport/coap/pom.xml
# transport/http/pom.xml
# transport/lwm2m/pom.xml
# transport/mqtt/pom.xml
# transport/pom.xml
# transport/snmp/pom.xml
# ui-ngx/package.json
# ui-ngx/pom.xml
7 months ago
Viacheslav Klimov
2be27393a2
Merge remote-tracking branch 'origin/lts-4.3' into rc
7 months ago
Viacheslav Klimov
f9031dd63f
Version set to 4.3.1.1-SNAPSHOT
7 months ago
Viacheslav Klimov
5a05cdd715
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
# Conflicts:
# application/pom.xml
# common/actor/pom.xml
# common/cache/pom.xml
# common/cluster-api/pom.xml
# common/coap-server/pom.xml
# common/dao-api/pom.xml
# common/data/pom.xml
# common/discovery-api/pom.xml
# common/edge-api/pom.xml
# common/edqs/pom.xml
# common/message/pom.xml
# common/pom.xml
# common/proto/pom.xml
# common/queue/pom.xml
# common/script/pom.xml
# common/script/remote-js-client/pom.xml
# common/script/script-api/pom.xml
# common/stats/pom.xml
# common/transport/coap/pom.xml
# common/transport/http/pom.xml
# common/transport/lwm2m/pom.xml
# common/transport/mqtt/pom.xml
# common/transport/pom.xml
# common/transport/snmp/pom.xml
# common/transport/transport-api/pom.xml
# common/util/pom.xml
# common/version-control/pom.xml
# dao/pom.xml
# edqs/pom.xml
# monitoring/pom.xml
# msa/black-box-tests/pom.xml
# msa/edqs/pom.xml
# msa/js-executor/package.json
# msa/js-executor/pom.xml
# msa/monitoring/pom.xml
# msa/pom.xml
# msa/tb-node/pom.xml
# msa/tb/pom.xml
# msa/transport/coap/pom.xml
# msa/transport/http/pom.xml
# msa/transport/lwm2m/pom.xml
# msa/transport/mqtt/pom.xml
# msa/transport/pom.xml
# msa/transport/snmp/pom.xml
# msa/vc-executor-docker/pom.xml
# msa/vc-executor/pom.xml
# msa/web-ui/package.json
# msa/web-ui/pom.xml
# netty-mqtt/pom.xml
# pom.xml
# rest-client/pom.xml
# rule-engine/pom.xml
# rule-engine/rule-engine-api/pom.xml
# rule-engine/rule-engine-components/pom.xml
# tools/pom.xml
# transport/coap/pom.xml
# transport/http/pom.xml
# transport/lwm2m/pom.xml
# transport/mqtt/pom.xml
# transport/pom.xml
# transport/snmp/pom.xml
# ui-ngx/package.json
# ui-ngx/pom.xml
7 months ago
Viacheslav Klimov
f66427fb7c
Version set to 4.2.2.1-SNAPSHOT
7 months ago
Viacheslav Klimov
31a13e9cee
Merge pull request #15198 from thingsboard/rc
Merge rc into master
7 months ago
Viacheslav Klimov
347cf1b0e4
Merge remote-tracking branch 'origin/lts-4.3' into rc
7 months ago
Viacheslav Klimov
20b98b7093
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
7 months ago
Viacheslav Klimov
cfca8c7592
Merge pull request #15143 from smatvienko-tb/fix/lwm2m-redis-scan-connection-conflict
Fixed LwM2M Redis stores startup: use separate connections for SCAN and GET
7 months ago
Viacheslav Klimov
292ffbdea0
Merge pull request #15159 from smatvienko-tb/fix/lwm2m-fw-update-execute-response-race
fix test: delay LwM2M FW client stop to prevent Execute response race
7 months ago
Viacheslav Klimov
c8edc6a39d
Merge pull request #15157 from smatvienko-tb/fix/sparkplug-flaky-test-device-not-found
Fix flaky Sparkplug connection test: handle 404 during device await
7 months ago
Viacheslav Klimov
e1a1aa9291
Merge pull request #15180 from smatvienko-tb/frontend-maven-plugin-2_0_0
bump frontend-maven-plugin version to 2.0.0
7 months ago
Viacheslav Klimov
187e580542
Merge pull request #15165 from smatvienko-tb/fix/flaky-tenant-controller-test
Fix flaky TenantControllerTest teardown timeout
7 months ago
Viacheslav Klimov
e54215efe5
Merge pull request #15162 from smatvienko-tb/fix/audit-log-sysadmin-flaky-test
Fix flaky AuditLogControllerTest#testAuditLogsSysAdmin
7 months ago
Viacheslav Klimov
99c21bf787
Merge pull request #15184 from thingsboard/master-rc
RC
7 months ago
Viacheslav Klimov
a581ff02c5
Merge remote-tracking branch 'origin/rc'
7 months ago
Viacheslav Klimov
aa47541f45
Merge remote-tracking branch 'origin/lts-4.3' into rc
7 months ago
Viacheslav Klimov
bf7e8ecdfa
Add 4.2.2.x as supported from version for upgrade
7 months ago
Viacheslav Klimov
ad36ae7119
Merge pull request #15182 from thingsboard/rc
Merge rc into master
7 months ago
Viacheslav Klimov
d05fdb4bfa
Merge remote-tracking branch 'origin/lts-4.3' into rc
7 months ago
Vladyslav_Prykhodko
41e11da964
UI: Fixed build ui types in color picker input
7 months ago
Sergey Matvienko
f73abcdebd
bump frontend-maven-plugin version to 2.0.0
7 months ago
Viacheslav Klimov
001c733f40
Merge pull request #15177 from thingsboard/rc
Merge rc into master
7 months ago
Viacheslav Klimov
c92896ae77
Merge remote-tracking branch 'origin/lts-4.3' into rc
7 months ago
Viacheslav Klimov
c6e52ecb68
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
7 months ago
Viacheslav Klimov
c4bfb397d5
Merge pull request #15161 from smatvienko-tb/fix/mqtt-rpc-delivery-timeout-requeue-race
fix: Mqtt test await RPC re-queuing after session close on delivery timeout
7 months ago
Sergey Matvienko
148dd17ce1
Fix flaky TenantControllerTest by draining housekeeper before teardown
Tests like testFindTenantsByTitle create 261 tenants and delete them via
deleteEntitiesAsync, which only waits for HTTP responses — not housekeeper
completion. Each tenant deletion submits ~30 TenantEntitiesDeletionHousekeeper
tasks (~7800 tasks total), which cascade further. The teardown's deleteTenant
then waits for lag==0 with a 90s timeout, which is insufficient for this
backlog and causes ConditionTimeoutException.
Fix: add awaitHousekeeperDrained() (5-min timeout) called at the start of
teardownWebTest so any pending housekeeper work from the test body drains
before per-tenant teardown deletions begin.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 months ago
Sergey Matvienko
0e3381bca3
Fix similar flaky await patterns in MQTT transport tests
doGet/doGetAsyncTyped assert HTTP 200 internally, so any non-200 response
throws AssertionError which Awaitility re-throws immediately instead of
continuing to poll.
Add .ignoreExceptions() to three additional await() polling loops that
call HTTP helpers:
- AbstractMqttV5ClientSparkplugAttributesTest: two doGetAsyncTyped calls
polling for attribute keys after NBIRTH/DBIRTH
- AbstractMqttAttributesIntegrationTest: doGetAsyncTyped polling for
attribute values after client publish
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 months ago
Sergey Matvienko
96b742189d
Fix flaky Sparkplug connection test: handle 404 during device await
doGet(url, Class) asserts HTTP 200 internally, so when the Sparkplug
device hasn't been created yet the method throws AssertionError instead
of returning null. Awaitility propagates Error immediately rather than
continuing to poll, causing the test to fail after ~3 s instead of
retrying for up to 200 s.
Add .ignoreExceptions() to both await() calls in
connectClientWithCorrectAccessTokenWithNDEATHCreatedDevices and
connectClientWithCorrectAccessTokenWithNDEATHWithAliasCreatedDevices so
that a transient 404 is treated as "condition not yet met" and polling
continues as intended.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 months ago
Sergey Matvienko
cc35e71e55
fix: await RPC re-queuing after session close on delivery timeout
After the MQTT transport closes the session on RPC delivery timeout,
the server re-queues the RPC asynchronously. The test was asserting
the RPC status immediately after the client disconnect latch fired,
before the server-side re-queuing had completed — so the status was
still SENT instead of the expected QUEUED.
Replace the direct doGet assertion with an Awaitility poll that waits
up to DEFAULT_WAIT_TIMEOUT_SECONDS for the status to become QUEUED.
Fixes flaky: MqttV5CloseTransportSessionOnRpcDeliveryTimeoutIntegrationTest
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 months ago
Viacheslav Klimov
43ebeec02a
Merge pull request #15175 from thingsboard/rc
Merge rc into master
8 months ago
Viacheslav Klimov
1e338e8918
Merge remote-tracking branch 'origin/lts-4.3' into rc
8 months ago
Viacheslav Klimov
5e228b6bc3
Merge remote-tracking branch 'origin/lts-4.2' into lts-4.3
8 months ago
Viacheslav Klimov
a626f84c2f
Merge pull request #15164 from smatvienko-tb/fix/node-modules-pollution-parallel-build
Fix node_modules pollution between builds in parallel Maven execution
8 months ago
Andrii Landiak
163cad4baf
Improve tests
8 months ago
Andrii Landiak
cda0a96f8d
WebSocket API key authentication
8 months ago
Viacheslav Klimov
50d4ae99e9
Merge pull request #15172 from thingsboard/rc
Merge rc into master
8 months ago
Viacheslav Klimov
9d05c9f3f6
Merge pull request #15169 from thingsboard/fix/additionalinfo-swagger-schemas
API documentation improvements
8 months ago
Viacheslav Klimov
8f731b1419
Add javadoc for all ActionType enum constants
Document each action type with: what it represents, which TbMsgType
it pushes to the rule engine (if any), key metadata fields, and
audit log payload description.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 months ago
Vladyslav Prykhodko
86ddb697dc
Merge pull request #15156 from mtsymbarov-del/feat/standatisized-description-field
Standardized description field formatting
8 months ago
Viacheslav Klimov
0fcd8e4785
Merge pull request #15166 from dashevchenko/orderedOpenApiSpec
Open-api spec improvements: make schema fields ordered
8 months ago
Viacheslav Klimov
01813e9640
Add idempotency note to deleteEntityAttributes Swagger docs
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 months ago
Viacheslav Klimov
f48dce0359
Fix additionalInfo @Schema annotations: correct copy-paste bugs and document JSON keys
Fix "device" copy-paste errors in Tenant, Customer, and EntityView @Schema descriptions.
Add documented keys and JSON examples to all additionalInfo annotations.
Add missing getAdditionalInfo() override with @Schema to Edge.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 months ago
Vladyslav_Prykhodko
d84e1a6504
Merge branch 'lts-4.3' into rc
8 months ago
Vladyslav_Prykhodko
643fd573cc
Merge branch 'lts-4.2' into lts-4.3
8 months ago