575 Commits

Author SHA1 Message Date
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
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
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
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
Valerii Sosliuk
384ce7424c Fix for query timeseries order by 2019-08-15 09:01:05 +03:00
ShvaykaD
2dd2e6f67a Fixed violations on event primary and unique key constraints & code improvement (#1921)
* init commit

* fix-violation-of-primary-key-constraint

* revert thingsboard.yml changes

* remove @Slf4j annotation

* update code

* update Events Dao

* code improvements

* revert changes in logback.xml

* cleaned code

* attributes/on-update-set-null-values
2019-08-14 16:25:30 +03:00
ShvaykaD
03631c83b0 Fixed violations on attributes primary keys constraints (#1909)
* init commit

* fix-violation-of-primary-key-constraint

* revert thingsboard.yml changes

* remove @Slf4j annotation

* update code
2019-08-09 08:43:25 +03:00
ShvaykaD
19d103fef4 Claim device improvements (#1915)
* add-device-to-claim-result

* code update

* code-update

* added-condition-on-empty-cache-clause

* remove empty row

* update code

* cleaned code
2019-08-09 08:41:31 +03:00
ShvaykaD
08f8ed2feb Claim device improvements (#1913)
* add-device-to-claim-result

* code update

* code-update

* added-condition-on-empty-cache-clause

* remove empty row

* update code
2019-08-07 19:21:46 +03:00
ShvaykaD
d1c89fe150 Added condition to response if the cache is empty. (#1912)
* add-device-to-claim-result

* code update

* code-update

* added-condition-on-empty-cache-clause

* remove empty row
2019-08-07 18:52:24 +03:00
ShvaykaD
fa5c86f434 add-device-entity-to-claim-result (#1907)
* add-device-to-claim-result

* code update

* code-update
2019-08-07 14:26:25 +03:00
Andrew Shvayka
763ec4b998 Moved Services to dao-api 2019-07-26 09:21:15 +03:00
Andrew Shvayka
e43558109e Extracted dao-api module to simplify rule-engine-api 2019-07-26 09:00:57 +03:00
Igor Kulikov
8d5d8b2c23 Password policy setting. Login/Logout audit log. 2019-07-18 18:11:58 +03:00