Oleksandra Matviienko
fae07e9140
Replaced deprecated string, number, and random-value helpers with modern equivalents
4 months ago
Sergey Matvienko
6d00e0432a
Added regression tests for /api/ruleChain/testScript
Two test layers covering the controller surface that the JVN PoC uses:
Java unit (Spring MockMvc):
RuleChainControllerTest#testScriptForbiddenForCustomer asserts a
customer JWT against POST /api/ruleChain/testScript returns 403,
locking in the existing @PreAuthorize('TENANT_ADMIN') guard.
Black-box (live docker-compose):
JsExecutorSandboxIsolationTest#testRuleChainScriptCannotReachHostProcess
posts the JVN exploit payload as a tenant admin and asserts the
response carries error='process is not defined'. End-to-end through
tb-node -> Kafka -> tb-js-executor with use_sandbox=true.
Registered the new org.thingsboard.server.msa.security package in
the connectivity TestNG suite so the black-box runner picks it up.
Added a thin TestRestClient.testRuleChainScript() helper.
4 months ago
IrynaMatveieva
0437e9009b
fixed tests
7 months ago
Sergey Matvienko
a4f755b624
tests: refactored blackbox test for LWM2M test client (UDP DatagramSocket instead TCP ServerSocket), ensure UDP socket is available before and after LWM2M client start stop
7 months ago
Sergey Matvienko
bcfe4c2641
tests: coap transport tests refactored to use dynamic UPD ports to be able to test in parallel
8 months ago
Sergey Matvienko
141ac80265
tests: transport.mqtt.bind_port is @DynamicPropertySource . Dynamic MQTT port are set in a single AbstractMqttIntegrationTest to be compatible with parallel test run
8 months ago
IrynaMatveieva
d904ea6f52
added debug event types
8 months ago
Viacheslav Klimov
295e7d68c9
Update license headers
8 months ago
Viacheslav Klimov
5b5b4dff6b
Update license header
8 months ago
Dmytro Skarzhynets
d914dcbf47
Add few missing API endpoints to REST client
8 months ago
IrynaMatveieva
9cb3d47d9e
fixed tests
8 months ago
dshvaika
61b7d42ed7
Updated geofencing CF logic
9 months ago
Andrii Landiak
a2f196dc39
Minor changes
9 months ago
Andrii Landiak
793660cb72
Add test for JavaRestClient
9 months ago
dshvaika
f379c354c5
rollback logback changes for black-box tests
9 months ago
dashevchenko
6f17dd1503
RestClient: renamed methods
9 months ago
dshvaika
c2ce03c8c6
Added trace level for cluster service & rule engine consumer manager
9 months ago
dshvaika
fab611bb21
Added trace level for cluster service & rule engine consumer manager
9 months ago
dshvaika
e36f7d3375
additional trace logs for CFs in msa
9 months ago
dashevchenko
ccde77036a
refactoring
9 months ago
dashevchenko
bf4ffc8f9c
refactoring
9 months ago
dashevchenko
9da2b57a6c
fixed compilation after merge with master
9 months ago
dashevchenko
3518be97a4
fixed java rest client
9 months ago
dshvaika
9e416e7dee
bugfixes for propagation and geofencing CFs
9 months ago
IrynaMatveieva
c70611581d
added validation and tests for related entities aggregation cf
10 months ago
IrynaMatveieva
4e4dfdfe65
fixed compilation error in tests
10 months ago
Dmytro Skarzhynets
1e2c127e1c
Remove redundant persistence of CF links
# Conflicts:
# application/src/main/data/upgrade/basic/schema_update.sql
# common/dao-api/src/main/java/org/thingsboard/server/dao/cf/CalculatedFieldService.java
# common/data/src/main/java/org/thingsboard/server/common/data/cf/configuration/BaseCalculatedFieldConfiguration.java
# common/data/src/main/java/org/thingsboard/server/common/data/cf/configuration/CalculatedFieldConfiguration.java
# common/data/src/main/java/org/thingsboard/server/common/data/cf/configuration/geofencing/GeofencingCalculatedFieldConfiguration.java
# dao/src/main/java/org/thingsboard/server/dao/cf/BaseCalculatedFieldService.java
# dao/src/test/java/org/thingsboard/server/dao/service/CalculatedFieldServiceTest.java
10 months ago
IrynaMatveieva
0de539bfb7
fixed compilation error in cf msa tests
10 months ago
Viacheslav Klimov
3fa927a7d8
Fix CoapClientTest
10 months ago
dshvaika
4620c475e1
TestRestClient code clean up
11 months ago
dashevchenko
b1bffdfd58
fixed provisioning flow for non-valid provisionState attribute
11 months ago
dshvaika
f7714c2f68
Added output key support for Arguments only mode
11 months ago
dshvaika
6146cdc622
MSA tests
11 months ago
dshvaika
fcba7004f9
fixed tests to use new dynamic source configuration
11 months ago
dashevchenko
9f48acf05d
preprovisioned device strategy fix: device should exists but now provisioned
11 months ago
dashevchenko
ccbf3a9707
fixed msa tests
12 months ago
dshvaika
ad0b6017e6
ZoneGroups from list to map
12 months ago
dashevchenko
a66141308d
fixed license
12 months ago
dshvaika
15c1035416
Updated logic due to review comments
1 year ago
dashevchenko
4152cd9555
updated java rest client with missing methods
1 year ago
Sergey Matvienko
b50a4599ec
move bitnami to bitnamilegacy - docker compose
1 year ago
dshvaika
dd53892df2
Geofencing CF refactoring to new configuration init commit
1 year ago
dshvaika
d49d1e9a5a
Added basic black-box tests for geofencing CF
1 year ago
IrynaMatveieva
8d2b1caf06
test fixes
1 year ago
VIacheslavKlimov
8d81109308
Fix file encoding
1 year ago
VIacheslavKlimov
13c0926e67
Fix some MSA tests not running
1 year ago
Igor Kulikov
1330cd932e
Fix black box tests.
1 year ago
Yatharth Sharma
331266499c
removed version property from docker-compose
1 year ago
Artem Barysh
16a1d65c28
Removed test
1 year ago
ViacheslavKlimov
752e543c41
Add JsonIgnore to TelemetrySubscriptionUpdate.getValues
1 year ago