Sergey Matvienko
3236d3ce9e
remote js-executor: producer compression: CompressionTypes.GZIP
2021-04-23 15:04:00 +03:00
Sergey Matvienko
c94dc5972e
remote js-executor: parameter added TB_KAFKA_ACKS="1"
2021-04-23 15:04:00 +03:00
Sergey Matvienko
a569058c29
remote js-executor: added metric response sent to queue ms in debug level; parameter added SLOW_QUERY_LOG_BODY="true" to enable log bloat
2021-04-23 15:04:00 +03:00
Sergey Matvienko
c9f3562b58
remote js-executor: parameter added KAFKA_CLIENT_ID
2021-04-23 15:04:00 +03:00
Sergey Matvienko
d25d13d7c0
remote js-executor: added slow query log, log config on service start
2021-04-23 15:04:00 +03:00
Viacheslav Klimov
3c1682f57a
Merge branch 'master' into master-to-snmp
...
# Conflicts:
# common/data/pom.xml
# common/queue/src/main/java/org/thingsboard/server/queue/discovery/ZkDiscoveryService.java
# dao/src/main/java/org/thingsboard/server/dao/sql/device/DeviceRepository.java
# ui-ngx/src/app/shared/models/device.models.ts
2021-04-20 18:08:10 +03:00
Igor Kulikov
ae5632f8ab
Fix docker images. Upgrade docker postgres to version 12.
2021-04-14 12:40:25 +03:00
Andrii Shvaika
32e8ee11bd
Merge with develop/3.3
2021-03-24 18:17:50 +02:00
Viacheslav Klimov
8f2438d6ab
SNMP devices balancing ( #4254 )
...
* Fix merge errors
* Implement SNMP transports balancing
* Refactor; implement transport device cache
* Refactor
* Finish up device lifecycle handling implementing; refactor
* Refactor
* Change base image to thingsboard/openjdk11 for msa snmp transport
* Refactor
* Change transport services names to upper-case
2021-03-22 17:17:42 +02:00
Igor Kulikov
e17de056c2
Merge with master
2021-03-19 12:16:43 +02:00
YevhenBondarenko
ae4de0c3d1
updated httpclient, spring-boot, netty versions
2021-03-16 11:37:22 +02:00
Andrew Shvayka
dff593a3c8
Merge pull request #4184 from YevhenBondarenko/feature/kafka-settings
...
added "min.insync.replicas" parameter to the kafka topics
2021-03-15 17:08:51 +02:00
Viacheslav Klimov
37b88908fd
Fix merge errors
2021-03-15 12:43:42 +02:00
Viacheslav Klimov
44c1cbcbc0
Merge remote-tracking branch 'thingsboard/develop/3.3' into develop/snmp
...
# Conflicts:
# application/pom.xml
# application/src/main/resources/thingsboard.yml
# common/transport/pom.xml
# msa/transport/pom.xml
# pom.xml
# transport/pom.xml
# ui-ngx/src/app/modules/home/components/home-components.module.ts
# ui-ngx/src/app/modules/home/components/profile/device/device-profile-transport-configuration.component.html
# ui-ngx/src/app/shared/models/device.models.ts
2021-03-10 15:22:03 +02:00
vkukhtyn
5a72479951
[WIP] SNMP initial implementation ( #3755 )
...
* Add SNMP type to transport profiles
* Update reference config for transport profiles
* Initial implementation to retrieve a value using SNMP GET message
* Fix license header
* Move config files
* Use async handler for SNMP response
* Send SNMP agent response to attributes and telemetry
* UI: add SNMP option for device profile
* UI: use JSON field to set SNMP profile configuration
* Handle device profile update event
* Use concurrent hash map for SNMP device sessions
* UI: Add device transport configuration control
* Cancel async request to avoid memory leak and timeout handling
* Start SNMP pooling after application started
* Move OID per profile mapping to SNMP transport context
* Fix build after merge with 3.2.1-SNAPSHOT
* Init device sessions on TB start
* Fix build error, refactoring
* Update session context on device update
* Set device info on session context creating
* Refresh pooling params on device or profile update
* Update license header
* Process device and profile transport config update
* Process SNMP response asynchronously
* Change polling implementation
2021-03-10 14:56:25 +02:00
Igor Kulikov
8fe6c956c8
Version set to 3.3.0-SNAPSHOT. Code style improvements.
2021-03-04 12:37:38 +02:00
Andrew Shvayka
a3cb9724e3
Merge pull request #4191 from thingsboard/master
...
Merge master to develop 3.3
2021-03-03 15:57:51 +02:00
Igor Kulikov
3255eb9027
Version set to 3.2.2-SNAPSHOT
2021-03-03 12:02:06 +02:00
YevhenBondarenko
3c52c8c221
added "min.insync.replicas" parameter to the kafka topics
2021-03-02 10:04:51 +02:00
Igor Kulikov
59a54211f9
Fix compile errors and warnings.
2021-02-09 14:30:06 +02:00
Igor Kulikov
43178107c3
Merge with master
2021-02-08 20:02:54 +02:00
Vladyslav_Prykhodko
9b4309c61a
Merge remote-tracking branch 'upstream/master' into develop/3.3
2021-02-08 10:28:55 +02:00
Igor Kulikov
58e2affa2c
Use compatible with JDK 11 Cassandra ver. 4.0
2021-02-05 18:13:53 +02:00
Igor Kulikov
51794534f8
Update deb/rpm packages java dep versions. Update JVM options.
2021-02-05 17:33:27 +02:00
Igor Kulikov
87ee07570d
Merge branch 'master' into feature/jdk11
2021-02-05 15:42:19 +02:00
Igor Kulikov
b6299623fe
Fix postgresql distribution config in docker files
2021-02-05 15:37:51 +02:00
Igor Kulikov
3f83be21da
Fix lombok config. Update base openjdk image
2021-02-05 14:28:26 +02:00
Igor Kulikov
22e5771120
JDK 11 Support
2021-02-04 19:31:20 +02:00
Vladyslav_Prykhodko
2b47fe9202
Updated license header
2021-01-27 13:38:12 +02:00
Vladyslav_Prykhodko
d5c3f4c997
Merge master in develop/3.3
2021-01-27 13:31:46 +02:00
Igor Kulikov
61723da391
Version set to 3.3.0-SNAPSHOT
2021-01-26 10:17:52 +02:00
Igor Kulikov
d31358b2ea
Update license header - set 2021 year
2021-01-11 13:42:16 +02:00
Igor Kulikov
6814c21ee9
restore ver 3.2.1-SNAPSHOT
2020-12-23 18:24:42 +02:00
Igor Kulikov
bfee301625
Set ver to 2.5.6-SNAPSHOT
2020-12-23 17:47:58 +02:00
nickAS21
2fcc48555c
Lwm2m 3 3 ( #3829 )
...
* Lwm2m: Back -> add telemetry logLwm2m
* Lwm2m: Back -> add telemetry logLwm2m
* Lwm2m: SNAPSHOT 3.3.o
* Lwm2m: SNAPSHOT 3.3.0 All
2020-12-09 22:37:47 +02:00
Andrew Shvayka
7667afaeae
Develop/lwm2m ( #3826 )
...
* LwM2M - Start transport
* LwM2M - Test endpoint
* LwM2M - Test endpoint
* LwM2M - Test add xml
* LwM2M device registration
* LwM2M - add get from client, add attributes and telemetry upgrade from registration client
* LwM2M - add get from client, add attributes and telemetry upgrade from registration client
* LwM2M implementation
* LwM2M - add to service telemetry and attribute
* LwM2M add to service attribute and telemetry
* LwM2M - add LWM2M_CREDENTIALS to DeviceCredentialsType
* LwM2M - add LWM2M_CREDENTIALS to DeviceCredentialsType
* LwM2M - add transport.process
* LwM2M - delete from yml tenantid, PSK -ok
* LwM2M - yml del tenantId
* LwM2M - add RPK
* LwM2M - add connect only x509 certificate. Crate certificates in serverKeyStore.jks and clientKeyStore.jks
* LwM2M - add no_sec
* LwM2M - add RPK & PSK integration test with app Client
* LwM2M - add RPK & PSK integration test with app Client
* LwM2M - add read JKS from file
* LwM2M - add read JKS from file
* LwM2M - add bootstrap cert
* LwM2M - add bootstrap RPK
* LwM2M - add bootstrap No_sec
* LwM2M - cleaned the code
* LwM2M - add to 3.0 in UI credentials lwm2m
* LwM2M - add to 3.0 in UI credentials lwm2m
* LwM2M - add to 3.0 in UI credentials lwm2m
* LwM2M - fix bug CoAP transport
* LwM2M: UI - add Json to credentials
* LwM2M: Back - add command "/3/0/5" - trigger client
* LwM2M: fix bug Json edit dialog
* LwM2M: fix bug Json edit dialog
* lwm2m: fix bug Json edit dialog: add validate
* lwm2m: UI add tabs
* lwm2m: UI add tabs (cleaner)
* lwm2m: add interface SecurityConfigModels
* lwm2m: add interface SecurityConfigModels2
* lwm2m: change html
* lwm2m: UI add bootstrap component
* lwm2m: UI add bootstrap component with FormControl
* lwm2m: UI add start Observe
* lwm2m: UI - correct
* lwm2m: UI - correct
* lwm2m: UI - add Validator: BS RPK, X509
* lwm2m: UI - add Observe
* lwm2m: UI - finish Observe
* lwm2m: UI - fix bug config-service update identity
* lwm2m: Bootstarp&Sewrver All config secure
* lwm2m: Bootstarp&Sewrver All config secure for new Front format
* lwm2m: Bootstarp&Sewrver Different config secure for new Front format
* lwm2m: Add attributes Gui and Backend
* lwm2m: Add attributes Gui and Backend final
* lwm2m: Add telemetrys to Gui
* lwm2m: Add Attribute & telemetry in Gui to instance
* lwm2m: Optimize Attr/Telemetry
* lwm2m: Optimize Attr/Telemetry
* lwm2m: Optimize Attr/Telemetry
* lwm2m: Optimize Attr/Telemetry for mobile
* lwm2m: Model folder
* lwm2m: Ok on AWS: NoSec, PSK, X509
bad registration - RPK
* lwm2m: KeyStore start only one
* lwm2m: Server observe ok
* lwm2m: Server fix bug finish session without remove
* lwm2m: Server add function installValue
* lwm2m: Server add function getAttrTelemetry to tingsboard
* lwm2m: Server add function installValue
* lwm2m: Server add function update Telemetry, Attr from observe
* lwm2m: Server add comments
* lwm2m: Server add session listener
* lwm2m: Server add onGetChangeCredentials with analyze
* lwm2m: Server add onGetChangeCredentials with analyze Onserve add
* lwm2m: Server: updated algorithm for analyzing dynamic changes in attributes / telemetry / observation
* lwm2m: fix bug: "ngx-flowchart" compile
* lwm2m: get value resource OPAQUE - byte [] to HexString
* lwm2m: change path to base
* lwm2m: fix bug COAP & lwm2m
* Lwm2m_3_2: back: cleaner, test bootstrap-ok front: restore
* Lwm2m_3_2: back: del SynchronousRegistrationListener.java
* Lwm2m_3_2: front: start profile lwm2m UI
* Lwm2m_3_2: front&back: add to profile lwm2m (api, getModels...)
* Lwm2m_3_2: back: fix bug from commented front: add update change observe/attribute/telemetry to config json
* Lwm2m_3_2: back: fix bug from commented front: add update change observe/attribute/telemetry to config json (2)
* Lwm2m_3_2: back: fix bug from commented front: add update change observe/attribute/telemetry to config json (3)
* Lwm2m_3_2: back: fix bug from commented front: add update change observe/attribute/telemetry to config json (4)
* Lwm2m_3_2: front: add update change bootstrapConfig and save to config json
* Lwm2m_3_2: update after merge master
* lwm2m: fix bug proto
* lwm2m: fix bug in yml keyStore.jks
* lwm2m: fix bug tests
* lwm2m: front: add nameThingsboard
* lwm2m: fix bug Autowired lwm2mContext, caseCamel
* lwm2m: back-end^ start api /lwm2m/deviceProfile/bootstrap
* lwm2m: back-end: add method read models from resources
* lwm2m: back-end/front: add and finish api bootstrapConfig
* lwm2m: back-end: add decode profile
* lwm2m: back-end: add new bin in transport api
* lwm2m: add microservice lwm2m and docker lwm2m.
* lwm2m: add microservice lwm2m and docker lwm2m (fix bug)
* lwm2m: front: start fix bug disabled resources
* lwm2m: master to lwm2m merge, front add change attribute, telemetry
* lwm2m: front PR
* lwm2m: front add sort keyName to Json on the start
* lwm2m: front add instances
* lwm2m: front add/del instances FormGrp Value
* lwm2m: Merge remote-tracking branch 'origin/master' into develop/lwm2m
# Conflicts:
# common/transport/mqtt/src/main/java/org/thingsboard/server/transport/mqtt/MqttTransportHandler.java
# common/transport/transport-api/src/main/java/org/thingsboard/server/common/transport/SessionMsgListener.java
# ui-ngx/src/app/modules/home/components/home-components.module.ts
* lwm2m: Merge remote-tracking branch 'origin/master' into develop/lwm2m
* lwm2m: Front: del sort after add/del instance
* lwm2m: Front: fix bug reindex FormArray after update
* Lwm2m: Front fix bug add/del instans
* Lwm2m: Front finish1 profile
* Lwm2m: Back add profile to ModelClient
* Lwm2m: Back add form profile sent thingsboard: attr/tel/observe
* Lwm2m: Back -> fix bug: serverKeyStore.jks] Unable to load KeyStore files server
* Lwm2m: Back -> fix bug: onRegistered an unReg
* Lwm2m: Back -> add updateProfiles
* Lwm2m: Back -> add updateDevice and updateProfile dynamic
* Lwm2m: Back -> error if CoapCode not access
* Lwm2m: Front -> clear credential
* Lwm2m: Front -> credential fix bug button "save"
* Lwm2m: Back -> add telemetry logLwm2m
Co-authored-by: nickAS21 <nick@avalr.com.ua>
2020-12-09 17:13:11 +02:00
Andrew Shvayka
24ccd2a2b5
Revert "[3.2.1] Develop/lwm2m ( #3547 )"
...
This reverts commit df6151f5ae8d3b77a67318dbb774d55e3f297960.
2020-12-09 17:11:50 +02:00
Andrew Shvayka
df6151f5ae
[3.2.1] Develop/lwm2m ( #3547 )
...
* LwM2M - Start transport
* LwM2M - Test endpoint
* LwM2M - Test endpoint
* LwM2M - Test add xml
* LwM2M device registration
* LwM2M - add get from client, add attributes and telemetry upgrade from registration client
* LwM2M - add get from client, add attributes and telemetry upgrade from registration client
* LwM2M implementation
* LwM2M - add to service telemetry and attribute
* LwM2M add to service attribute and telemetry
* LwM2M - add LWM2M_CREDENTIALS to DeviceCredentialsType
* LwM2M - add LWM2M_CREDENTIALS to DeviceCredentialsType
* LwM2M - add transport.process
* LwM2M - delete from yml tenantid, PSK -ok
* LwM2M - yml del tenantId
* LwM2M - add RPK
* LwM2M - add connect only x509 certificate. Crate certificates in serverKeyStore.jks and clientKeyStore.jks
* LwM2M - add no_sec
* LwM2M - add RPK & PSK integration test with app Client
* LwM2M - add RPK & PSK integration test with app Client
* LwM2M - add read JKS from file
* LwM2M - add read JKS from file
* LwM2M - add bootstrap cert
* LwM2M - add bootstrap RPK
* LwM2M - add bootstrap No_sec
* LwM2M - cleaned the code
* LwM2M - add to 3.0 in UI credentials lwm2m
* LwM2M - add to 3.0 in UI credentials lwm2m
* LwM2M - add to 3.0 in UI credentials lwm2m
* LwM2M - fix bug CoAP transport
* LwM2M: UI - add Json to credentials
* LwM2M: Back - add command "/3/0/5" - trigger client
* LwM2M: fix bug Json edit dialog
* LwM2M: fix bug Json edit dialog
* lwm2m: fix bug Json edit dialog: add validate
* lwm2m: UI add tabs
* lwm2m: UI add tabs (cleaner)
* lwm2m: add interface SecurityConfigModels
* lwm2m: add interface SecurityConfigModels2
* lwm2m: change html
* lwm2m: UI add bootstrap component
* lwm2m: UI add bootstrap component with FormControl
* lwm2m: UI add start Observe
* lwm2m: UI - correct
* lwm2m: UI - correct
* lwm2m: UI - add Validator: BS RPK, X509
* lwm2m: UI - add Observe
* lwm2m: UI - finish Observe
* lwm2m: UI - fix bug config-service update identity
* lwm2m: Bootstarp&Sewrver All config secure
* lwm2m: Bootstarp&Sewrver All config secure for new Front format
* lwm2m: Bootstarp&Sewrver Different config secure for new Front format
* lwm2m: Add attributes Gui and Backend
* lwm2m: Add attributes Gui and Backend final
* lwm2m: Add telemetrys to Gui
* lwm2m: Add Attribute & telemetry in Gui to instance
* lwm2m: Optimize Attr/Telemetry
* lwm2m: Optimize Attr/Telemetry
* lwm2m: Optimize Attr/Telemetry
* lwm2m: Optimize Attr/Telemetry for mobile
* lwm2m: Model folder
* lwm2m: Ok on AWS: NoSec, PSK, X509
bad registration - RPK
* lwm2m: KeyStore start only one
* lwm2m: Server observe ok
* lwm2m: Server fix bug finish session without remove
* lwm2m: Server add function installValue
* lwm2m: Server add function getAttrTelemetry to tingsboard
* lwm2m: Server add function installValue
* lwm2m: Server add function update Telemetry, Attr from observe
* lwm2m: Server add comments
* lwm2m: Server add session listener
* lwm2m: Server add onGetChangeCredentials with analyze
* lwm2m: Server add onGetChangeCredentials with analyze Onserve add
* lwm2m: Server: updated algorithm for analyzing dynamic changes in attributes / telemetry / observation
* lwm2m: fix bug: "ngx-flowchart" compile
* lwm2m: get value resource OPAQUE - byte [] to HexString
* lwm2m: change path to base
* lwm2m: fix bug COAP & lwm2m
* Lwm2m_3_2: back: cleaner, test bootstrap-ok front: restore
* Lwm2m_3_2: back: del SynchronousRegistrationListener.java
* Lwm2m_3_2: front: start profile lwm2m UI
* Lwm2m_3_2: front&back: add to profile lwm2m (api, getModels...)
* Lwm2m_3_2: back: fix bug from commented front: add update change observe/attribute/telemetry to config json
* Lwm2m_3_2: back: fix bug from commented front: add update change observe/attribute/telemetry to config json (2)
* Lwm2m_3_2: back: fix bug from commented front: add update change observe/attribute/telemetry to config json (3)
* Lwm2m_3_2: back: fix bug from commented front: add update change observe/attribute/telemetry to config json (4)
* Lwm2m_3_2: front: add update change bootstrapConfig and save to config json
* Lwm2m_3_2: update after merge master
* lwm2m: fix bug proto
* lwm2m: fix bug in yml keyStore.jks
* lwm2m: fix bug tests
* lwm2m: front: add nameThingsboard
* lwm2m: fix bug Autowired lwm2mContext, caseCamel
* lwm2m: back-end^ start api /lwm2m/deviceProfile/bootstrap
* lwm2m: back-end: add method read models from resources
* lwm2m: back-end/front: add and finish api bootstrapConfig
* lwm2m: back-end: add decode profile
* lwm2m: back-end: add new bin in transport api
* lwm2m: add microservice lwm2m and docker lwm2m.
* lwm2m: add microservice lwm2m and docker lwm2m (fix bug)
* lwm2m: front: start fix bug disabled resources
* lwm2m: master to lwm2m merge, front add change attribute, telemetry
* lwm2m: front PR
* lwm2m: front add sort keyName to Json on the start
* lwm2m: front add instances
* lwm2m: front add/del instances FormGrp Value
* lwm2m: Merge remote-tracking branch 'origin/master' into develop/lwm2m
# Conflicts:
# common/transport/mqtt/src/main/java/org/thingsboard/server/transport/mqtt/MqttTransportHandler.java
# common/transport/transport-api/src/main/java/org/thingsboard/server/common/transport/SessionMsgListener.java
# ui-ngx/src/app/modules/home/components/home-components.module.ts
* lwm2m: Merge remote-tracking branch 'origin/master' into develop/lwm2m
* lwm2m: Front: del sort after add/del instance
* lwm2m: Front: fix bug reindex FormArray after update
* Lwm2m: Front fix bug add/del instans
* Lwm2m: Front finish1 profile
* Lwm2m: Back add profile to ModelClient
* Lwm2m: Back add form profile sent thingsboard: attr/tel/observe
* Lwm2m: Back -> fix bug: serverKeyStore.jks] Unable to load KeyStore files server
* Lwm2m: Back -> fix bug: onRegistered an unReg
* Lwm2m: Back -> add updateProfiles
* Lwm2m: Back -> add updateDevice and updateProfile dynamic
* Lwm2m: Back -> error if CoapCode not access
* Lwm2m: Front -> clear credential
* Lwm2m: Front -> credential fix bug button "save"
* Lwm2m: Back -> add telemetry logLwm2m
Co-authored-by: nickAS21 <nick@avalr.com.ua>
2020-12-09 17:09:16 +02:00
YevhenBondarenko
4163c00054
updated kafka to version 2.6.0, kafka settings improvements
2020-12-09 15:53:42 +02:00
Andrii Shvaika
460cec99ec
Version set to 3.3-SNAPSHOT
2020-12-09 11:07:00 +02:00
Andrii Shvaika
87a8cec7b5
Version set to 3.2.1-SNAPSHOT
2020-12-01 18:05:47 +02:00
Andrii Shvaika
c4b36b0c6f
Fix create database in docker images. No more Californium.properties
2020-11-25 18:12:54 +02:00
Igor Kulikov
74d4f84a7d
Merge branch 'develop/2.5.5'
2020-11-11 09:23:39 +02:00
YevhenBondarenko
eeec6bac9f
sqs producer improvements
2020-11-04 17:59:42 +02:00
ShvaykaD
9fef6b02a3
[3.2] Feature/Proto Converter ( #3423 )
...
* device post-telemetry & post-attributes & claim
* device rpc to/from server & attributes request, attributes updates
* refactoring & added implementation for gateway protos api
* added timeseries/attributes mqtt tests
* fix MqttTimseriesIntegrationTest values asserts
* mqtt attributes tests improvements
* optimized time for telemetry & attributes tests
* update proto files, refactoring converter, attribute requests tests
* added claim tests, attribute request test
* added deleted keys to gateway response on attributes request & refactored tests
* added attribute updates test & refactored attribute requests tests
* added attribute updates tests for gateways
* added tests for RPC
* fix tests & cleanup code
* fix typo & cleanup transport.proto file
* added more timeouts
* revert handleGetAttributesRequest method
* revert package-locks
* fix getJsonObjectForGateway method
* fix validateSharedResponseGateway method in AbstractMqttAttributesRequestIntegrationTest
* fix mqtt topics
* fix license headers
* refactor tests
* remove todo and lck files from pull
* improvements for claiming tests
* update device creation logic from gateway request
* refactoring
* extract TransportService process calls to private methods
* fix duplicates & removed empty lines
2020-10-02 11:31:27 +03:00
Andrii Shvaika
c8f8901a7f
Merge with master
2020-09-30 13:11:58 +03:00
Andrii Shvaika
aac5ae9f00
Merge with 2.5
2020-09-30 12:52:30 +03:00
bbrenne
8718115eeb
Update README.md
...
command correction to create volume (docker volume create instead of docker create volume)
2020-09-30 11:42:30 +03:00
YevhenBondarenko
e623f419e5
update package-lock.json in js-executor
2020-09-28 11:45:24 +03:00
YevhenBondarenko
9d82899f04
raised kafkajs version and improvements kafkaTemplate.js
2020-09-28 11:45:24 +03:00