94 Commits

Author SHA1 Message Date
nickAS21
1f2eaf07ed lwm2m: del shell from tests 2022-01-30 22:21:00 +02:00
Igor Kulikov
da4c742872 Update license year to 2022 2022-01-17 14:07:46 +02:00
nickAS21
aec1ef69c5 lwm2m: *.sh for create credentials remove to tools 2022-01-13 11:00:39 +02:00
ShvaykaD
118a06717d
[3.3.2] Changed key-alg from RSA to EC (#5260)
* changed key-alg from RSA to EC

* changed ORGANIZATIONAL_UNIT and ORGANIZATION to correct value
2021-10-08 15:28:04 +03:00
YevhenBondarenko
57632a1e25 fixed vulnerabilities 2021-07-22 12:23:21 +03:00
Andrii Shvaika
9f499d9188 ResourceUtil implementation 2021-06-30 18:04:06 +03:00
Andrew Volostnykh
648dd81bfc Redurant filter removed 2021-03-17 17:05:54 +02:00
AndrewVolosytnykhThingsboard
f7f06a2297 Improvement of solution: README.md cleaned, build plugin fixed, some code cleaning 2021-03-17 17:05:54 +02:00
AndrewVolosytnykhThingsboard
d5658d5b32 Code cleaning, improvement of README.md 2021-03-17 17:05:54 +02:00
Andrew Volostnykh
1240099c81 Full refactoring and code cleaning 2021-03-17 17:05:54 +02:00
Andrew Volostnykh
67ee892eb8 License headers added 2021-03-17 17:05:54 +02:00
Andrew Volostnykh
92d360e14b Refactoring of migration tool for new Thingsboard DB structure 2021-03-17 17:05:54 +02:00
Sergey Matvienko
3f72bc4b54 SSL (RSA) *.keygen.sh tool upgraded. Added PKCS8 pem format. Tested and fixed keygen.properties to run with no warning. Removed 'mqtt' prefix from output files to fix confusion when applying keys for other protocols. 2021-03-15 18:19:48 +02:00
Illia Barkov
0f3d1baa3f
Added subject alternative names into key generation tool #4114 (#4163) 2021-02-25 14:12:15 +02:00
Chris Elston
3c308dc242 Merge branch 'master' of https://github.com/thingsboard/thingsboard 2021-01-14 12:27:02 +00:00
Chris Elston
d3f018b0ef Add config params for server and client key algs
This change adds new parameters to keygen.properties to allow the
configuration of the server and client TLS key algorithms:

SERVER_KEY_ALG, SERVER_KEY_SIZE, CLIENT_KEY_ALG, CLIENT_KEY_SIZE

Default values for these have been set at RSA and 2048 to preserve
previous operation.

I have also tested SERVER_KEY_ALG=EC and SERVER_KEY_SIZE=256, along with
CLIENT_KEY_ALG=EC and CLIENT_KEY_SIZE=256. Other algorithms and sizes
may be supported, YMMV.
2021-01-14 12:12:13 +00:00
Igor Kulikov
d31358b2ea Update license header - set 2021 year 2021-01-11 13:42:16 +02:00
Andrii Shvaika
c0934b959b Fix for Cassandra Unit 2020-10-06 12:40:29 +03:00
YAMAMOTO Takashi
194d628bfd
tools/src/main/shell/*.sh: Fix "yes" patterns (#2553)
So that it accepts "yes".
2020-04-01 09:43:06 +03:00
YAMAMOTO Takashi
dfd5ab3942
tools/src/main/shell/*.sh: Expand tabs for consistency (#2548) 2020-03-26 14:51:01 +02:00
YevhenBondarenko
54b0de0c2c move rest-client to own module 2020-02-21 13:42:44 +02:00
Andrii Shvaika
2a58c6f209 fixed RestClient.saveRelation method 2020-02-20 10:13:37 +02:00
Andrii Shvaika
4cd45e4b3e Fix for RestClient.getActivateToken method 2020-02-20 08:13:48 +02:00
YevhenBondarenko
64e0c42ab7 Rest Client improvements 2020-02-19 15:39:22 +02:00
Yevhen Bondarenko
e7dfe75e41
Feature/rest client (#2428)
* refactored and improvement Rest Client

* refactored Rest Client, made old methods deprecated
2020-02-19 14:11:20 +02:00
YevhenBondarenko
a670b77251 refactored and improvement Rest Client 2020-02-19 11:55:58 +02:00
Yevhen Bondarenko
fbed56555f
Feature/rest client (#2368)
* refactored URLs

* refactored

* refactored

* refactored

* refactored

* refactored rest client

* changed executorService from RestClient

* refactored rest client and JsonConverter

* refactored rest client
2020-01-29 17:25:55 +02:00
Yevhen Bondarenko
e583b0a1d3 Feature/rest client (#2347)
* refactored URLs

* refactored

* refactored

* refactored

* refactored

* refactored rest client

* changed executorService from RestClient

* refactored rest client and JsonConverter
2020-01-20 15:02:00 +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
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
YevhenBondarenko
93cc222ab9 refactored URLs 2019-12-09 12:55:22 +02:00
Andrew Shvayka
0b6a68ad30 RestClient PageLinks 2019-12-04 18:47:57 +02:00
Andrew Shvayka
a28b10dcbf RestClient PageLinks 2019-12-04 18:32:08 +02:00
Andrew Shvayka
599e79fc27 Rest Client fix 2019-12-04 17:18:39 +02:00
YevhenBondarenko
327c4218d9 Feature/rest client (added constructors and removed method resetPassword) (#2231)
* 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

* refactored

* added constructors

* removed method resetPassword

* removed method checkResetToken

* refactoring methods where the parameter is an array

* refactored
2019-12-04 12:14:48 +02:00
YevhenBondarenko
71744d4808 Feature/rest client (#2229)
* 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

* refactored
2019-12-03 12:15:14 +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
YevhenBondarenko
866d7c4a2c [WIP] Feature/rest-client (#2208)
* 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
2019-11-28 14:59:09 +02:00
Andrew Shvayka
d430bb7a99 Add REST API call to get dashboards 2019-11-27 11:31:34 +02:00
Andrew Shvayka
efb0cb59cc Improved Rest Client 2019-11-27 08:31:30 +02:00
Andrew Shvayka
502300cedd License Header Fix 2019-10-15 13:57:22 +03:00
vparomskiy
09a164be0f Migrator tool: fix dependencies and update docs 2019-10-15 10:57:47 +03:00
vparomskiy
b95dc476cb tool for migrating from Postgres to hybrid mode 2019-10-14 18:09:18 +03:00
Igor Kulikov
ced63c4e70 Update License Header year to 2019 2019-02-01 16:39:33 +02:00
ShvaykaD
44a4e8eee5 merge with upstream 2018-12-18 15:06:34 +02:00
Volodymyr Babak
90643f397c Fixes for entity_views update schemas 2018-12-17 20:24:06 +02:00
ShvaykaD
ab58776f04 getAttributes black-box-test 2018-12-12 20:02:39 +02:00
Andrew Shvayka
2553c8c57b
Revert "[WIP]Help refactor code solid patterns" 2018-10-31 13:06:04 +02:00