1201 Commits

Author SHA1 Message Date
nickAS21
d6979e54da
lwm2m: back: Write Attributes - start (#4402)
* lwm2m: back: Write Attributes - start

* lwm2m: front: fis bug disable instances

* lwm2m: transport: attr/discavery start

* lwm2m: transport: attributeLwm2m after update profile

* lwm2m: transport: attributeLwm2m after update profile (no delete attribute)

* Lwm2m: back: test

* Lwm2m: back: test2

* Lwm2m: back: test3
2021-04-15 11:53:45 +03:00
Igor Kulikov
168b8d86eb
Merge pull request #4368 from YevhenBondarenko/develop/3.3-lwm2m-queue-mode
lwm2m queue mode
2021-04-14 15:55:18 +03:00
Viacheslav Klimov
fdd126303a Validate more entities' fields 2021-04-13 14:31:40 +03:00
Igor Kulikov
54ba69a82c Fix code style issues 2021-04-13 13:09:19 +03:00
Igor Kulikov
29f64d9380 Update banner. Fix lwm2m transport jks config path 2021-04-13 11:49:15 +03:00
nickAS21
c634859e90
lwm2m: front start add attributes Lwm2m (#4388)
* lwm2m: front start add attributes Lwm2m

* lwm2m: front finish add attributes Lwm2m for resources

* lwm2m: front add attributes Lwm2m for resources if isAttribte or isTelemetry

* lwm2m: front add attributes Lwm2m for objects if isAttribte or isTelemetry

* lwm2m: back add resource one

* lwm2m: back fix bug resource controller test
2021-04-12 13:16:43 +03:00
Volodymyr Babak
c5f5acdba1 Improved disconnect process - try 5 times before force close session 2021-04-09 19:53:46 +03:00
Volodymyr Babak
770d3f91f2 Code review changes 2021-04-09 19:38:45 +03:00
Volodymyr Babak
df6f4c9924 Merge remote-tracking branch 'upstream/master' into develop/3.3-edge 2021-04-09 19:04:26 +03:00
ShvaykaD
dc87550835
Extract coap-server component to separate module to be used in coap transport and core (CoAP integrations).
* init commit: coap-server component

* move coap-server to separate module

* fix typo
2021-04-09 13:06:43 +03:00
Igor Kulikov
a207e31841 Merge with master 2021-04-09 12:40:43 +03:00
Igor Kulikov
4a63660e1d Version set to 3.3.0-SNAPSHOT 2021-04-09 12:37:08 +03:00
YevhenBondarenko
bb90b2f137 lwm2m queue mode 2021-04-06 07:38:52 +03:00
ShvaykaD
2344d6d62f
Fixed RPC string params in protobuf payload type. Reverted changes from the previous fix (#4356)
* Revert "added a fix for string value RPC params: removed redundant escaped characters"

This reverts commit 1891af54

* removed redundant escape characters for string RPC params in Proto payload

* cleanup code
2021-04-02 12:25:05 +03:00
Volodymyr Babak
3e085d370c Make alarm condition serializable 2021-03-31 22:31:45 +03:00
nickAS21
0c12f202fe lwm2m: back fix bug double "" in name 2021-03-31 17:48:31 +03:00
Volodymyr Babak
7044e3e40f Merge remote-tracking branch 'upstream/master' into develop/3.3-edge 2021-03-30 19:35:58 +03:00
Viacheslav Klimov
593f95a7af
Provide additional validation for entities (#4326)
* Provide additional validation for entities

* Refactor

* Create test for NoXssValidator

* Refactor dependencies
2021-03-30 18:29:55 +03:00
ShvaykaD
fd3e18f18b
CoAP DTLS support (#4316)
* dtls init commit

* added fixes after review

* fix typo

* changed translation for DeviceCredentialsType.X509_CERTIFICATE
2021-03-30 18:28:03 +03:00
nickAS21
090babdf70 lwm2m: back add resource(s) 2021-03-30 13:26:50 +03:00
nickAS21
2fcf5fd7c6 lwm2m: front/back fix bug update profile 2021-03-29 12:50:50 +03:00
nickAS21
ba4d2ff480
lwm2m: notification in transport, add, update, del models (#4309)
* lwm2m: notification in transport, add, update, del models

* lwm2m: notification in transport, add, update, del models2
2021-03-26 17:32:26 +02:00
ShvaykaD
1891af54b3 added a fix for string value RPC params: removed redundant escaped characters 2021-03-25 12:16:55 +02:00
nickAS21
fda871392b
lwm2m: test model2 (#4298)
* lwm2m: test model2

* lwm2m: test model2 (fix test)
2021-03-24 19:23:40 +02:00
nickAS21
367be12455
lwm2m: back transport clear cash (#4294)
* lwm2m: back transport clear cash

* lwm2m: back transport del old models

* lwm2m: back transport edit yml old models

* lwm2m: back transport remove lock

* lwm2m: back transport remove lock2
2021-03-24 15:58:27 +02:00
Yevhen Bondarenko
0d62b2890c
[3.3] added tests for resources (#4282)
* added TbResourceService test

* fix ResourceService test

* created TbResourceControllerSqlTest

* fixed BaseTbResourceServiceTest
2021-03-24 11:03:13 +02:00
nickAS21
7ea6c7163a
lwm2m: back transport newKey fix bug object id=19 (#4291) 2021-03-23 15:17:56 +02:00
Viacheslav Klimov
e5c4feaa83 Create assign/unassign device event when claiming/reclaiming device 2021-03-23 14:12:18 +02:00
nickAS21
4bc417456b
lwm2m: back transport newKey start (#4278)
* lwm2m: back transport newKey start

* lwm2m: back transport newKey start1

* lwm2m: back transport newKey fix bug save

* lwm2m: back transport newKey test All security - ok

* lwm2m: back transport newKey fix bug updateAttrShared
2021-03-23 10:09:41 +02:00
YevhenBondarenko
ad7c314b24 TbResource extends SearchTextBased, created TbResourceInfo 2021-03-20 07:49:00 +02:00
nickAS21
bc21db007b
Lwm2m add resource fix (#4272)
* lwm2m: add objectKeyId to back and front profile

* lwm2m: front^ strategy - select

* lwm2m: back fix bag

* lwm2m: back fix bag2

* lwm2m: back fix bag3
2021-03-19 15:55:10 +02:00
Igor Kulikov
e17de056c2 Merge with master 2021-03-19 12:16:43 +02:00
nickAS21
201476f912 lwm2m: add objectKeyId to back and front profile 2021-03-19 11:28:40 +02:00
Viacheslav Klimov
22ada62f3b Fix outdated data in alarm clear event 2021-03-18 18:05:56 +02:00
Volodymyr Babak
30588388e2 Merge remote-tracking branch 'origin/develop/2.6-edge' into develop/3.3-edge 2021-03-17 09:58:04 +02:00
Volodymyr Babak
c71ba1f245 Fixed grpc over ssl 2021-03-17 09:36:49 +02:00
Volodymyr Babak
0f64b3764f Merge remote-tracking branch 'upstream/develop/3.3' into develop/3.3-edge 2021-03-16 16:59:15 +02:00
Andrii Shvaika
59f85f1cee Merge with master 2021-03-16 13:46:56 +02:00
Andrii Shvaika
b4184d014c Improvements to startTime and endTime for subscriptions 2021-03-16 13:46:12 +02:00
Igor Kulikov
48d1199b2b Fix deprecation warnings 2021-03-16 11:11:41 +02:00
ShvaykaD
c5c8fbd3f7
[3.2.2] [WIP] coap transport (#4239)
* init CoapDeviceProfile & added ui components

* added transport payload type configuration for default coap device type

* added AbstractCoapTransportResource & updated efento resource

* fixed coap device profile save & update

* fixed Attribute Updates notifications

* revert CoapOkCallback onSuccess changes

* updated provision request to handle proto payload type

* fix license

* updated Rpc subscribe/unsubscribe action

* add more device emulator clients

* added fix for Coap Transport: ability to handle requests with oneElementUriPaths and MultiElementUriPaths

* fix TbCoapServer implementation

* changed response type to CREATED in POST requests

* improved implementation

* fix typos

* minor bug-fixes & improvements

* fix TbCoapServerMessageDeliverer class

* improved relay sensor implementation

* added tests for CoAP transport\

* fix typo

* removed nosql tests

* fix coap endpoint creation & improved getAttributes tests

* transport tests refactoring
2021-03-15 18:18:45 +02:00
Viacheslav Klimov
bc6efa5e1e
[3.3] [PROD-685] Provide user's session expiration when his auth data is changed (#4201)
* Provide user's session expiration when his auth data is changed

* Provide mock TokenOutdatingService for dao tests

* Increase time gap when checking if token is outdated

* Add license header for TokenOutdatingTest

* Refactor tokens outdating functionality to events usage

* Reset tokens on front-end after changing password
2021-03-15 17:11:23 +02:00
Viacheslav Klimov
e30ec49d2b
[3.3] [PROD-806] Implement alarm condition metadata displaying (#4185)
* Implement alarm condition metadata displaying

* Refactor
2021-03-15 17:09:35 +02:00
nickAS21
648e8ec262 lwm2m: add Lwm2m provider for models 2021-03-12 17:53:03 +02:00
nickAS21
d27c721bbf lwm2m: Merge branch 'develop/3.3' into add-models 2021-03-12 15:19:47 +02:00
Yevhen Bondarenko
43fe84a284
created TransportResourceCache (#4232)
* created TransportResourceCache

* return resource by sysadmin if not found by tenant in DefaultTransportApiService
2021-03-12 13:00:51 +02:00
Yevhen Bondarenko
e2dd5b96ae
added resource dao support (#4213)
* Version set to 3.3.0-SNAPSHOT

* added resource dao

* added resource support in transport lvl (get resources and "update", "delete" notifications)

* refactoring

* added resource table to hsql schema

* added check for models dir in InstallScripts

* added pageLink support to getResources
2021-03-09 19:45:28 +02:00
nickAS21
d8ea6ac37d Lwm2m: back: add tenantId and repositoryTenant - test3 2021-03-09 11:08:51 +02:00
nickAS21
447bf05b7b Lwm2m: back: add tenantId and repositoryTenant - test2 2021-03-08 19:24:33 +02:00
nickAS21
65f4ca5800 Lwm2m: back: add tenantId and repositoryTenant - test 2021-03-08 00:00:44 +02:00