635 Commits

Author SHA1 Message Date
Dmytro Shvaika
41cbdd154e fixed the partion date extracting 2020-01-30 14:55:50 +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
3340c88be7 Merge with master 2019-12-20 17:22:12 +02:00
Andrew Shvayka
cacdf09eef More clear thread names 2019-12-20 13:50:07 +02:00
VoBa
f23cfc9880 Added device creation with token (#2272)
* Added device creation with token

* Fixes after code review

* Added device creation with token
2019-12-16 16:06:51 +02:00
Andrew Shvayka
a2cc974865 Critical Bug Fix for SQL inserts 2019-12-13 15:55:05 +02:00
Igor Kulikov
c84a8a5e67 Version set to 2.5.0-SNAPSHOT 2019-12-10 15:25:03 +02:00
Andrew Shvayka
752b3d90ab Removed redundant logging 2019-12-10 11:35:56 +02:00
Andrew Shvayka
7073095ed9
Merge pull request #2252 from YevhenBondarenko/feature/fix-logging
added conditions for printing schedule logs
2019-12-10 11:22:35 +02:00
Dmytro Shvaika
f9c65d709d code update 2019-12-09 15:57:26 +02:00
YevhenBondarenko
fc95cabc7a fix nullPointer from method replaceNullChars 2019-12-09 15:22:29 +02:00
YevhenBondarenko
a6f7388c61 added conditions for printing schedule logs 2019-12-09 13:47:53 +02:00
Dmytro Shvaika
2af736fb33 Merge branch 'master' of github.com:thingsboard/thingsboard into improvements/alarm-propagate 2019-12-09 13:47:28 +02:00
YevhenBondarenko
abed6e2a16 refactored 2019-12-09 12:55:02 +02:00
YevhenBondarenko
7f2c36952c added realization for Hsql 2019-12-09 12:55:02 +02:00
YevhenBondarenko
640e20197f added support batch telemetry 2019-12-09 12:55:02 +02:00
Dmytro Shvaika
dd64749075 init commit 2019-12-08 23:52:29 +02:00
YevhenBondarenko
f312bc3089 refactored 2019-12-06 11:45:38 +02:00
YevhenBondarenko
c564510342 added realization for Hsql 2019-12-05 16:40:45 +02:00
YevhenBondarenko
00ff95bccf added support batch telemetry 2019-12-05 15:21:41 +02:00
Dima Landiak
5c972575bf tests fix 2019-11-27 19:58:02 +02:00
Dima Landiak
64a3baad41 remove null chars from str value of attributes and telemetry for sql 2019-11-27 19:58:02 +02:00
Andrew Shvayka
3ae7434327 Fixed index name 2019-11-27 19:30:58 +02:00
Andrew Shvayka
58a18ac326 Merge branch 'master' of github.com:thingsboard/thingsboard 2019-11-27 18:39:09 +02:00
Andrew Shvayka
90d8bef576 Alarm performance improvements 2019-11-27 18:38:55 +02:00
ShvaykaD
d11d735493 Cleaned up code (#2210)
* fixed constraint-violation-exception for ComponentDescriptor

* license formated

* cleaned code for events

* license formated
2019-11-27 13:13:11 +02:00
Igor Kulikov
9004d716f3 Fixed component insert repository 2019-11-26 17:47:28 +02:00
Andrew Shvayka
d40c054ca3 Print Cassandra Queries with specified frequency 2019-11-26 16:48:08 +02:00
Dmytro Shvaika
e97ead2ce5 license formated 2019-11-26 16:34:28 +02:00
Dmytro Shvaika
61dcbb271f fixed constraint-violation-exception for ComponentDescriptor 2019-11-26 16:34:28 +02:00
Andrew Shvayka
6d2b856afe Performance improvement 2019-11-25 18:53:15 +02:00
Andrew Shvayka
ac67516dc2 Optimization of Device Creation and Lookup Performance 2019-11-22 15:47:54 +02:00
Andrew Shvayka
1d29a8d9a6
Batch attribute updates
* added batch support to AttributeKvInsertRepository

* added logs for testing

* added batch support to AttributeKvInsertRepository

* added logs for testing

* Code review part 1

* Improvements

* Batch Update Implementation

* added realization SaveOrUpdate batch to Hsql and refactored

* refactored
2019-11-22 15:11:32 +02:00
Dmytro Shvaika
2400ee3ac1 fix license-headers 2019-11-19 16:34:06 +02:00
Dmytro Shvaika
33f703c2b8 init commit 2019-11-19 16:34:06 +02:00
Igor Kulikov
6af9aa0ecb JPA improvements. 2019-11-15 18:27:57 +02:00
Dima Landiak
18041c34c7 rest api call node added redis queue support (#2112)
* rest api call node added redis queue support

* rest api node refactoring
2019-10-23 17:58:46 +03:00
Igor Kulikov
d344f1d08f Minor refactoring. 2019-10-18 15:47:05 +03:00
Igor Kulikov
41527ca059 Version set to 2.4.2-SNAPSHOT. Restore Black Box Tests. 2019-10-18 12:44:52 +03:00
ShvaykaD
38d7c1e826 Redis cluster configuration support 2019-10-18 08:33:09 +03:00
Andrew Shvayka
2b7df84ae9
Claiming devices using claimData attribute (#2105)
* Claiming devices using claimData attribute

* Fixed license header
2019-10-18 08:30:53 +03:00
Vladyslav
c36af7311e Add bulk provision support label (#2096)
* Add to asset support label

* Add support import label

* Add support update entity type and label

* Add translate asset label
2019-10-17 18:25:05 +03:00
VoBa
3935f616c7 Feature/security updates (#1993)
* Added last login to user details

* Added last login to profile page

* Fixed label style

* Added actionType filter to Audit Logs controller

* Lockout feature; Password Reuse frequency

* Send email notification in case user lockout; Refactoring

* Fixed set of null password history; Added toast on user account locked/unlocked

* Typo fixed

* Ignored json validator for securitySettings

* Added Lockout action type

* Added permission check for user disable/enable

* Fixed email title
2019-09-10 15:45:19 +03:00
ShvaykaD
bc3c06e51d Feature/timescale db + fixed violation constraint exception on primary key for sql time-series. (#1975)
* init commit

* update license

* init ts-upgrade

* update aggregation queries

* aggregation update

* revert upgrade init

* merge with master

* refactoring

* revert thingsboard.yml

* fix typo

* fix typo

* change packages

* update packages

* code update

* add ts dao configs

* fixed violation exception on primary key for sql timeseries

* fix typo

* fix typo

* fix typo
2019-09-10 15:42:34 +03:00
VoBa
f087c3fced Moved Swagger configuration to TB config file (#1982) 2019-09-09 11:59:06 +03:00
coettl
cdc34746d7 Update EventDao.java (#1959)
Typo
2019-09-09 11:51:58 +03:00
yefimov-andrey
d0295ef353 Feature/fetch last level only (#1922)
* adding fetching only last level of relations

* further implementaion of fetching last level

* implementation of fetching last level

* implementation of fetching last level

* draft of fetching only last level

* removal of unnecessary new method

* cleanup and formatting

* cleanup and formatting

* formatting

* formatting

* formatting

* final version of fetching only last level, the boolean added to the relation search parameters

* fetchLastLevelOnly added to some more search queries

* fixed tests to include fetchLastLevelOnly parameter

* removed unnecessary use of fetchLastLevelOnly parameter

* removed default value of fetchLastLevelOnly
2019-08-16 12:29:54 +03:00