9246 Commits

Author SHA1 Message Date
Andrii Shvaika
f47e1c7e37 Alarm Swagger Docs 2021-10-13 15:19:57 +03:00
Andrii Shvaika
2e187df448 Merge branch 'feature/swagger-alarm-controller' of https://github.com/ShvaykaD/thingsboard into feature/swagger 2021-10-13 14:43:36 +03:00
ShvaykaD
4aef440431 merge with upstream 2021-10-13 13:46:11 +03:00
Dima Landiak
d17ea19bba added required fields 2021-10-13 13:36:00 +03:00
ShvaykaD
4be37230ce fix typos 2021-10-13 13:24:50 +03:00
Dima Landiak
d1974e9b04 swagger description for event controller 2021-10-13 13:19:08 +03:00
Andrii Shvaika
2fea8570b7 Merge branch 'feature/swagger-alarm-controller' of https://github.com/ShvaykaD/thingsboard into feature/swagger 2021-10-13 12:56:38 +03:00
Mariia Synelnyk
a126b888da
add docs for audit-log controller (#12)
* added swagger docs for audit logs controller

* add api mpdel to AuditLog class

* added produces to @ApiOperation in AuditLogController
2021-10-13 12:47:49 +03:00
ShvaykaD
3fda67be48 swagger docs for Alarm Controller 2021-10-13 12:42:00 +03:00
Andrew Shvayka
2ba9b463fe
Merge pull request #5358 from smatvienko-tb/TbGetTelemetryNode_Aggregation_feature
Tb get telemetry node aggregation feature
2021-10-13 11:39:09 +03:00
Sergey Matvienko
fe511f080e TbHttpClient for Rest API call node: implemented shared event loop for netty for any rest api call node instance 2021-10-13 11:31:10 +03:00
Sergey Matvienko
177c0f46ad enqueueForTellNext for specific queue produce new message with the new queue from parameter. Instead old queue from old Msg. It affects rule node statistics before. This fix is related to Checkpoint node 2021-10-13 11:08:25 +03:00
Andrew Shvayka
bbb7e89881
Merge pull request #5357 from smatvienko-tb/transport_from_core_skipping_message_without_nodeId
Transport - skipping messages to transport without nodeId
2021-10-13 11:06:06 +03:00
Sergey Matvienko
911712f09a DeviceActorMessageProcessor: added debug log when "max concurrent sessions limit reached per device" (required to debug local integration that also fires that event) 2021-10-13 10:54:56 +03:00
Sergey Matvienko
708d0c6848 cpu usage reduced on TbNodeUtils 2021-10-13 10:42:24 +03:00
Dima Landiak
041582b9c7 entity relation controller description 2021-10-13 10:28:22 +03:00
Andrew Shvayka
ab356a4bc9
Merge pull request #5279 from thingsboard/feature/swagger
Swagger Annotations to improve the auto-generated REST API doc.
2021-10-12 19:43:51 +03:00
Andrii Shvaika
8cb0622dac Merge asset docs 2021-10-12 19:40:41 +03:00
Andrii Shvaika
c50dd443c6 Dashboard controller 2021-10-12 19:29:10 +03:00
Dima Landiak
4510a3b37f removed unnecessary produces 2021-10-12 19:18:35 +03:00
Dima Landiak
5822dc6e0b license header fix 2021-10-12 19:07:02 +03:00
Dima Landiak
638b116917 Merge branch 'feature/swagger' into feature/swagger-asset 2021-10-12 18:59:41 +03:00
Dima Landiak
da2ff5e4ff Asset Controller Description 2021-10-12 18:55:29 +03:00
Sergey Matvienko
319d47eaad fixed CE license headers 2021-10-12 18:48:28 +03:00
Sergey Matvienko
2d08573fee relation query test: maxLevel and fetchLastLevelOnly cases added 2021-10-12 18:43:38 +03:00
Sergey Matvienko
8b6a9be476 fixed re.lvl with r_int.lvl 2021-10-12 18:41:32 +03:00
Sergey Matvienko
f4cfd92aaa tests dao: marked base classes as abstract, exclude subfolders for sql test on in pom 2021-10-12 18:40:20 +03:00
Sergey Matvienko
2d2aa50520 tests: added psql exclude in application pom. dao pom copied the same rules as fo rapplication 2021-10-12 18:36:07 +03:00
Sergey Matvienko
7585239339 tests: cleanup after dubug 2021-10-12 18:35:26 +03:00
Sergey Matvienko
076b1943fb sql dao test: init ODBC connection to Postgres DB with custom PostgreSqlInitializer (class rule replacement, PostgreSQL dao tests able to run as standalone) 2021-10-12 18:35:17 +03:00
Sergey Matvienko
adb9a8d150 dao tests: PostgreSqlDaoServiceTestSuite added using org.testcontainers 2021-10-12 18:33:48 +03:00
Sergey Matvienko
1adaef31f5 license header CE fixed for DefaultEntityQueryRepositoryTest 2021-10-12 18:28:44 +03:00
Sergey Matvienko
edd96624ae relation query: group by added to the initial pert of recursive query 2021-10-12 18:27:15 +03:00
Sergey Matvienko
f2f3468077 test relations: print all relations added as sql procedure to reproduce exact data in the PostgreSQL 2021-10-12 18:26:16 +03:00
Sergey Matvienko
d65b02df19 test: count entities by query adjusted due to the loop relations in hierarchy 2021-10-12 18:21:57 +03:00
Sergey Matvienko
e4f8c7e878 relational query: Limit the max level to break the infinite loop when circles appear in relation graph 2021-10-12 18:20:33 +03:00
Sergey Matvienko
99476c78c9 relational query failed test when createHorizontalRingRelations added and freeze when createLoopRelations (due to infinite recursion with no level limit) 2021-10-12 18:13:17 +03:00
Sergey Matvienko
9ceb6f0d4d relational query: stable test run with ManyCustomRelationsBetweenTwoNodes, but without Loop Relations 2021-10-12 18:13:14 +03:00
Sergey Matvienko
2d2bd2c158 reverted unnecessary declaration for maven-surefire-plugin on common/data where only simple test present (will run by default) 2021-10-12 18:12:08 +03:00
Sergey Matvienko
891024f620 relation-query-improvement, failed relation were disabled temporary and will be enabled on next commits 2021-10-12 18:10:38 +03:00
Sergey Matvienko
a5d446914c tests: relation query - added test cases with many edges between two nodes, horizontal ring (loop) on the same level, loop Tenant-Asset-Device-Tenant. This commit will fail 4 hierarchy tests. Reformat code 2021-10-12 18:04:45 +03:00
Sergey Matvienko
7f3d63512e tests: added license header 2021-10-12 17:52:41 +03:00
Sergey Matvienko
18800c57c8 tests: added first test to the common/data package (maven plugin added as well) 2021-10-12 17:51:23 +03:00
Sergey Matvienko
4ea397b4d5 ClusterService - pushNotificationToTransport - fire callback.onSuccess(null) if serviceId is empty 2021-10-12 17:16:14 +03:00
Andrii Shvaika
ca89a4fc0e Component Descriptor documentation 2021-10-12 16:17:34 +03:00
Sergey Matvienko
63d33ba1bf clear alarm node: fixed "delete metadata.prevAlarmDetails" 2021-10-12 15:40:29 +03:00
Andrii Shvaika
e755f3f6ed Description of the Auth Controller 2021-10-12 15:19:38 +03:00
Sergey Matvienko
72213235eb delay node is deprecated 2021-10-12 15:11:09 +03:00
Sergey Matvienko
6d468036e7 clear alarm node: fixed typo 2021-10-12 14:46:03 +03:00
Sergey Matvienko
5ad33bafc6 clear alarm node: default script changed to avoid infinite metadata grow 2021-10-12 14:44:41 +03:00