604 Commits

Author SHA1 Message Date
YevhenBondarenko
d68ef2333a updated guava and protobuf versions 2020-03-10 16:14:01 +02:00
Dmytro Shvaika
30ba274eca fix setting additional_info 2020-03-04 17:21:04 +02:00
Dmytro Shvaika
67fa64d448 fix NPE 2020-03-04 17:21:04 +02:00
Dmytro Shvaika
31b06fefdd added InsertRepository for Relation Dao 2020-03-04 17:21:04 +02:00
Igor Kulikov
a9df9df99e Remove unnecessary Admin settings validation 2020-03-04 15:56:12 +02:00
YevhenBondarenko
a58db6b7ec added query delete to JavaAttributeDao 2020-03-03 12:12:28 +02:00
YevhenBondarenko
118c81da5f remove min and max json query from AggregationRepository 2020-03-02 12:11:09 +02:00
YevhenBondarenko
7de309e217 Created HsqlEntityDatabaseSchemaService, improvement TimescaleTsDatabaseUpgradeService and TimescaleInsertTsRepository 2020-03-02 12:11:09 +02:00
Igor Kulikov
7a2b76b8c0 SQL DAO Refactoring 2020-02-24 18:24:40 +02:00
Andrii Shvaika
f2aefb5570 Fix for PostgreSQL Inserts logic 2020-02-21 15:47:11 +02:00
Andrii Shvaika
3f0cd0d555 Reverted change of the dashboard configuration size 2020-02-21 13:28:30 +02:00
Igor Kulikov
1e5ee5beb9 Fix conflicts 2020-02-19 15:47:45 +02:00
Yevhen Bondarenko
416c3fd10e
Introduced SMTP TLS version to default mail service and send email node
* added tlsVersion to TbSendEmailNode

* added tlsVersion to DefaultMailService

* added check tlsVersion for old version
2020-02-15 11:47:52 +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
Andrii Shvaika
aa0fce8625 Fix for Alarm Ack/Clear/Update when Propagation flag is set and Relation Type Filter is used 2020-02-12 13:19:27 +02:00
ShvaykaD
bdee8951c4 refactored sqlUpgradeService implementation (#2395)
* refactored sqlUpgradeService implementation

* fix typo

* change string constant name

* add ability to re-init chunks for upgrade timescale
2020-02-07 15:39:04 +02:00
ShvaykaD
3955600a9c bug fixes & improvements / sql-timeseries (#2382)
* fixed the partion date extracting

* fix imports

* ts-keys dictionary for latest, hsqldb

* removed AbstractSimpleSqlTimeseriesDao class & fix beanCreationException in ThingsboardInstallService

* timescale-db upgrade added

* added postgreSQL upgrade

* fix logging

* refactoring timeseries-dao implementation
2020-02-07 15:39:04 +02:00
Andrii Shvaika
320b991140 Fixed Shutdown Sequence 2020-01-31 15:36:24 +02:00
Andrii Shvaika
52e1bef1d2 Performance Improvement 2020-01-30 15:14:11 +02:00
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