232 Commits

Author SHA1 Message Date
Andrii Shvaika
2c0b8c6f82 Ignore unstable test 2020-05-25 17:07:50 +03:00
YevhenBondarenko
9e4387af2e refactored 2020-05-25 13:15:38 +03:00
YevhenBondarenko
1a285ff9a1 added test update entity by different tenant to controllers tests 2020-05-25 12:02:52 +03:00
Igor Kulikov
76300e400e Update Cassandra Driver 2020-05-08 15:45:54 +03:00
Igor Kulikov
9db9c36bb3 Fix tests 2020-05-07 11:23:36 +03:00
Igor Kulikov
2a7e220fc3 Merge branch 'master' of github.com:thingsboard/thingsboard into develop/3.0 2020-05-05 16:47:29 +03:00
Andrii Shvaika
f07d7441b2 Change of the partition routing strategy 2020-05-05 16:11:10 +03:00
Andrii Shvaika
91768dac40 Merge remote-tracking branch 'origin/master' into develop/3.0 2020-04-30 13:26:34 +03:00
ShvaykaD
56ac228662
[WIP] Improvements for PostgreSQL 11 partitioning. (#2681)
* improvements for migration to postgres 11

* tests update

* fix typo

* throw exception if query execution failed
2020-04-30 13:12:35 +03:00
Andrii Shvaika
2728c7cd29 Merge remote-tracking branch 'origin/master' into develop/3.0 2020-04-27 14:45:18 +03:00
Andrii Shvaika
86f21023fe Improved PartitionService and fixed startup order in docker-compose.yml 2020-04-27 14:44:29 +03:00
Andrii Shvaika
91aa7a2700 Merge with master (2.5) 2020-04-27 00:40:21 +03:00
Andrew Shvayka
38ebbe2576 Revert "Merge with master. AlarmRepository.findAlarms is failing (#2663)"
This reverts commit 2c02406ee5f41b08e655b634dd9871403f67149d.
2020-04-24 19:42:32 +03:00
Andrew Shvayka
2c02406ee5
Merge with master. AlarmRepository.findAlarms is failing (#2663)
* Merge with master. AlarmRepository.findAlarms is failing

* Fix Alarm repository. Add queue type list select.

Co-authored-by: Igor Kulikov <ikulikov@thingsboard.io>
2020-04-24 15:44:31 +03:00
Andrii Shvaika
087ea2d691 Commented Unstable Test 2020-04-23 09:25:25 +03:00
Andrii Shvaika
0103da1ba4 Improved Callback and Destroy of ndoes 2020-04-22 14:12:57 +03:00
Andrii Shvaika
076cf655f8 Improved tests 2020-04-21 23:54:26 +03:00
Andrii Shvaika
b2bb39f7a7 Restored WARN log level for tests 2020-04-21 22:47:06 +03:00
Andrii Shvaika
53eb09bcb9 Improvements to tests due to new architecture 2020-04-21 22:31:25 +03:00
Andrii Shvaika
58d9c313a8 Fixed tests 2020-04-20 16:12:03 +03:00
Andrii Shvaika
341f0d14ab Fixed tests inconsistency due to new queues 2020-04-20 12:05:27 +03:00
Andrew Shvayka
eae9d3c8e2 Processing Atempt Context Improvement 2020-04-20 10:55:25 +03:00
Andrew Shvayka
adae8aeb30 Improved implementaton of ProcessingAttemptContext to avoid synchronizations 2020-04-17 16:55:17 +03:00
Andrii Shvaika
e1f914e2fa Restored log level 2020-04-14 16:47:01 +03:00
Andrii Shvaika
0c54f836b3 Fixed tests 2020-04-14 16:17:08 +03:00
Andrii Shvaika
6c4b50a380 Implemented dedicated RE per tenant 2020-04-13 14:59:48 +03:00
Yevhen Bondarenko
8442159811
[2.5] vulnerabilities (#2608)
* Version updates

* added @Retention(RetentionPolicy.RUNTIME) for all custom Dao annotations.

* changed getId, setId to getUuid, setUuid from BaseEntity, improvement AbstractControllerTest

* fix rabbitmq

* fix RuleChainManagerActor

* refactored InMemory queue

Co-authored-by: Andrii Shvaika <ashvayka@thingsboard.io>
2020-04-13 09:34:35 +03:00
Andrii Shvaika
5bebf098ab Ability to reset blacklisted functions 2020-04-09 13:03:30 +03:00
Andrii Shvaika
3eaae1ef32 Statistics Implementation 2020-04-08 14:09:56 +03:00
Andrii Shvaika
638ca0e1d1 Refactoring to multiple queues for rule engine 2020-04-06 18:35:43 +03:00
Andrii Shvaika
7531a26e61 Implementation of RPC Call support 2020-03-25 22:11:47 +02:00
Andrii Shvaika
99d322d449 Refactoring of the rule engine 2020-03-24 10:35:54 +02:00
Andrii Shvaika
7203e7aa19 Distributed Mode fixes 2020-03-18 18:07:24 +02:00
Andrii Shvaika
2a815058e7 Improvements and bugfix to QueueProviders 2020-03-17 12:38:28 +02:00
Andrii Shvaika
23c017567b Implementation of Queue Interfaces 2020-03-16 19:24:56 +02:00
Igor Kulikov
c9b1e24e24 Merge branch 'master' into develop/3.0 2020-03-04 15:56:30 +02:00
Igor Kulikov
a9df9df99e Remove unnecessary Admin settings validation 2020-03-04 15:56:12 +02:00
Igor Kulikov
e03c6468cb Fix tests 2020-02-20 12:57:20 +02:00
Igor Kulikov
e9b2c3107e Merge with master 2020-02-20 12:33:36 +02:00
Igor Kulikov
3e2a87135f Prepare for merge with master 2020-02-20 10:26:43 +02:00
Andrew Shvayka
03f5375a02
JSON support (#2415)
* Created JsonDataEntry and added DataType JSON

* Added json to ts and attributes, created sql schema-entities-hsql.sql (json_v varchar)

* refactored

* refactored

* added json array support

* Aggregation improvement

* Changed in JsonDataEntry value type from JsonNode to String

* fix AggregatePartitionsFunction

Co-authored-by: Yevhen Bondarenko <56396344+YevhenBondarenko@users.noreply.github.com>
2020-02-14 19:18:18 +02:00
ShvaykaD
84cb471e0d Sql timeseries improvements (#2033)
* init commit

* cleaned code and add test-properties

* cleaned code

* psql-update

* timescale-update

* code-refactoring

* fix typo

* renamed dao

* revert indents

* refactored code

* fix typo

* init-partitioning

* code updated

* cleaned code

* fixed license

* fix typo

* fixed code after review

* add annotation to repository

* update psql version for docker

* postgres-10

* postgres-10

* update docker compose config

* fixed partition saving

* change key_id to serial column definition

* upgrade psql added

* add separate upgrade service

* added upgrade script

* change image on k8s

* change logs

* resolve conflict after merge with master

* revert datasource url in yml

* fix typo

* license header fix

* remove old methods for the timeseries inserts

* clean up code

* fix saveOrUpdate for PostgreSQL

* refactoring & revert Timescale to use latest table

* added PsqlTsAnyDao

* duplicated code method removed

* remove unused invert dictionary map

* change the upgrade directory from 2.4.1 to 2.4.3

* refactor JpaPsqlTimeseriesDao
2020-01-29 17:06:51 +02:00
Igor Kulikov
850d6d948c Update License header year to 2020 2020-01-06 16:52:41 +02:00
Igor Kulikov
1265a9a1e3 Revert "Update License header year to 2020"
This reverts commit 9b42397c4a820688daf07117cb7efefa3f387f46.
2020-01-06 16:48:55 +02:00
Igor Kulikov
9b42397c4a Update License header year to 2020 2020-01-06 16:41:04 +02:00
Andrew Shvayka
da9b2b4960 Code cleanup 2019-11-29 17:43:39 +02:00
Andrew Shvayka
a69a3d4d58 JS Stats 2019-11-29 17:21:10 +02:00
Igor Kulikov
b8d837abbb Rule Chains, Widgets Bundles and Dashboards pages 2019-08-20 20:42:48 +03:00
Igor Kulikov
7ff599f7c4 Introduct AssetInfo and EntityViewInfo dtos 2019-08-16 19:40:20 +03:00
Igor Kulikov
cae1f02691 PageLink refactoring. 2019-08-08 17:55:11 +03:00