3635 Commits

Author SHA1 Message Date
Igor Kulikov
3e2a87135f Prepare for merge with master 2020-02-20 10:26:43 +02:00
blackstar-baba
0fa963be85 fix bug:Device reconnect abnormal when certificate authentication is turned on 2020-02-19 14:56:44 +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
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
Volodymyr Babak
c409e2d9c1 Rule chains refactoring: 2020-02-06 19:29:49 +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
ShvaykaD
cc0e541788
fixed tell-failure for attributes fetch node (#2365)
* fixed tell-failure for attributes fetch node
2020-01-29 16:58:52 +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
Volodymyr Babak
0123a3520a Added dashboard support 2019-12-11 11:02:25 +02:00
Igor Kulikov
c84a8a5e67 Version set to 2.5.0-SNAPSHOT 2019-12-10 15:25:03 +02:00
Andrew Shvayka
f9abf1c7a2 Improved reporting of last activity time from remote transport 2019-12-10 12:50:20 +02:00
Dmytro Shvaika
dd64749075 init commit 2019-12-08 23:52:29 +02:00
Igor Kulikov
1b5a8ac6fc Improve remote transport service to process rule engine callbacks asynchronously 2019-12-05 18:02:12 +02:00
Andrew Shvayka
e31b7ba988 Change Executor type for Transport Layer 2019-12-05 15:54:00 +02:00
Andrew Shvayka
5fe40b70b3 No more protobuf in JS executor 2019-12-03 12:38:52 +02:00
YevhenBondarenko
eb7c2f1659 Feature/rest client (#2218)
* added methods from admin-controller, alarm-controller, asset-controller, audit-log-controller

* refactored rest client and added methods from auth controller

* added methods from component-descriptor-controller

* added methods from customer controller

* added methods from dashboard controller

* added methods from device controller

* refactored url pageLink params

* added methods from entity relation controller

* added methods from entity view controller

* refactored

* added methods from event controller

* added methods from rpc controller

* added methods from rule chain controller

* added methods from telemetry controller

* added methods from tenant controller

* added methods from user controller

* added methods from widgets bundle controller

* added methods from widget type controller

* created method refreshToken

* moved classes SecuritySettings, UserPasswordPolicy, ClaimRequest, UpdateMessage, to common module, and added "/api" to urls where this part was missing
2019-11-29 13:48:31 +02:00
Andrew Shvayka
6d2b856afe Performance improvement 2019-11-25 18:53:15 +02:00
Volodymyr Babak
44377d56ca Added alarm push from edge to cloud 2019-11-19 19:43:27 +02:00
Volodymyr Babak
acfaf68042 Added ALARM entity support 2019-11-18 19:37:16 +02:00
Volodymyr Babak
c99cf51ca6 Added push to edge/cloud functionality 2019-11-15 18:38:14 +02:00
Igor Kulikov
6af9aa0ecb JPA improvements. 2019-11-15 18:27:57 +02:00
Volodymyr Babak
efd565d8b6 Added root rule chain for the edge. Part 2 2019-11-12 19:07:46 +02:00
Volodymyr Babak
66af90bf0a Added Rule Chain type 2019-11-11 19:20:11 +02:00
Volodymyr Babak
e0881cfc44 Added Rule Chain Metadata Update Msg. Added assigned edges text to rule chain 2019-11-11 17:19:29 +02:00
Volodymyr Babak
5e46f3e7af Asset, Device and Entity View assign to edge 2019-11-08 11:49:43 +02:00
Volodymyr Babak
ad5e8c0b96 Added proto update messages and base logic 2019-11-07 15:06:04 +02:00
Andrew Shvayka
3ad552b735 Allow Nulls in JsonConverter for usability 2019-10-30 18:43:07 +02:00
Volodymyr Babak
a770a59bf0 Added Edge gRPC session 2019-10-29 19:21:53 +02:00
Volodymyr Babak
d3bda85a93 Added routing key and secret 2019-10-28 12:13:01 +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
Volodymyr Babak
0cca90ff21 Added manage edge rule chains functionality 2019-10-21 19:12:57 +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
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
Volodymyr Babak
6be5f9aa4d Manage edge dashboards functionality 2019-10-15 16:15:18 +03:00
Volodymyr Babak
00ce0707d7 Added Edge UI support and assignedEdges to Dashboard 2019-10-08 18:47:34 +03:00
Volodymyr Babak
39591675f9 Extended Edge controller & service & dao for SQL. Added service test. NoSQL impl - TODO 2019-10-07 12:54:28 +03:00
Volodymyr Babak
b03cf28a1a Added edge_id and assinged_edges to the TB entities 2019-09-18 13:52:09 +03:00
Volodymyr Babak
3880af82d3 Added Edge entity 2019-09-17 13:05:27 +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
yefimov-andrey
303b63f392 moved name from Tenant and Customer to ContactBased (#1929) 2019-09-09 11:54:40 +03:00
Igor Kulikov
e91fd302d6 Implement alarms table 2019-08-29 12:08:49 +03:00
Igor Kulikov
b8d837abbb Rule Chains, Widgets Bundles and Dashboards pages 2019-08-20 20:42:48 +03:00
Igor Kulikov
133ab98274 Entity views page 2019-08-19 20:09:41 +03:00