Commit Graph

144 Commits

Author SHA1 Message Date
leandrofars
b51614e5c8 feat: build system + docker compose for backend services 2024-03-25 23:54:26 -03:00
leandrofars
89fda0e188 feat: stomp mtp support 2024-03-23 16:06:56 -03:00
leandrofars
b146a6edfc feat: actual code migrated to nats 2024-03-23 09:41:53 -03:00
leandrofars
ca82895e20 feat(controller): device get database 2024-03-21 22:14:06 -03:00
leandrofars
60b2040b5a feat(controller): websockets communication 2024-03-21 21:05:16 -03:00
leandrofars
2a2f7ef405 feat(controller): initial communication with mtp as microservices 2024-03-20 22:36:06 -03:00
leandrofars
b434935941 feat: new software architecture 2024-03-17 22:45:33 -03:00
leandrofars
be412cdaea feat: mqtt + nats communication with device status and info 2024-03-05 22:57:35 -03:00
leandrofars
ff3b808a46 chore(controller): increase jwt expiration time 2024-02-22 09:02:56 -03:00
leandrofars
f49fa5b3bf feat(controller): usp message via websockets 2024-02-19 22:28:29 -03:00
leandrofars
f4a8f42dbe fix(controller): db device operations consistency 2024-02-19 22:07:54 -03:00
leandrofars
921a869ca1 feat(controller): implement transactions in database 2024-02-18 12:08:26 -03:00
leandrofars
8d10205878 feat(controller): create index in database 2024-02-18 12:07:56 -03:00
leandrofars
4c0da5ab71 feat(controller): connect to websockets via tls 2024-02-17 11:15:32 -03:00
leandrofars
7d1df69a69 feat(ws+controller): basic implementation 2024-02-10 10:04:31 -03:00
leandrofars
f31e5159c9 fix: disable multiple mtps block rule 2024-02-08 14:08:56 -03:00
leandrofars
bab2699f73 docs(controller): add todo statements 2024-02-06 00:19:41 -03:00
leandrofars
c94ab348b5 feat: add ws mtp to main code + fix: done channel processes closing 2024-02-05 23:44:12 -03:00
leandrofars
577a50d68b refact: env file organization and comments 2024-02-05 23:42:45 -03:00
leandrofars
acc29c73f8 chore(ws): lib depencies 2024-02-05 23:42:21 -03:00
leandrofars
922de7e81f feat: initial ws client 2024-02-05 23:41:42 -03:00
leandrofars
d9560ec167 reaftor: mtp interface + mqtt disconnection log 2024-02-05 23:29:45 -03:00
leandrofars
778e8f80d7 chore: remove deprecated code 2024-02-04 16:42:02 -03:00
leandrofars
5fd6afc8fa chore(api): show online devices first 2024-01-11 19:19:35 -03:00
leandrofars
8f226d09a9 fix(api): device page number 2024-01-11 18:35:28 -03:00
leandrofars
318720d9fa feat(controller): add details for devices list 2023-12-24 13:21:21 -03:00
leandrofars
3fa8315d62 fix(controller): list device by id 2023-12-24 11:19:53 -03:00
leandrofars
4b2dc84015 Merge branch 'dev' into dependabot/go_modules/backend/services/controller/golang.org/x/crypto-0.17.0 2023-12-23 12:59:07 -03:00
dependabot[bot]
c8e0b3ef00
chore(deps): bump golang.org/x/crypto in /backend/services/controller
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-23 14:59:51 +00:00
leandrofars
376de282f2 fix(security): jwt package 2023-12-23 11:23:20 -03:00
leandrofars
f96ff1d075 fix: info api dynamic broker connection 2023-12-13 09:03:12 -03:00
leandrofars
f26369c236 chore: remove trash log 2023-12-02 11:24:16 -03:00
leandrofars
08ef01bf1f feat(controller): list devices with pagination 2023-11-28 11:59:06 -03:00
leandrofars
8843cd9dab feat(api): dashboard and general info [ close #125 ] 2023-11-01 01:50:12 -03:00
leandrofars
2d9257f21c feat(api): mqtt conn info 2023-10-31 11:26:55 -03:00
leandrofars
e550ff37d1 chore(api): init device multiple mtp connection handlers 2023-10-28 17:18:23 -03:00
leandrofars
64f0d5a088 feat(mtp): stomp server 2023-10-27 01:47:53 -03:00
leandrofars
f6d53f8e73 feat(controller): connect to stomp server 2023-10-27 01:47:04 -03:00
leandrofars
c26cf8ebd0 refact(controller): api cors print info identation 2023-10-25 01:02:01 -03:00
leandrofars
fb25839045 refact(controller): mqtt client 2023-10-25 01:01:24 -03:00
leandrofars
4a5a72c1cc feat(api): firmware update 2023-10-23 23:43:59 -03:00
leandrofars
fa1af141e4 feat: http file server 2023-10-23 23:37:38 -03:00
leandrofars
2556eed53d feat(api): device command execute (operate msg) [ close #135 ] 2023-10-23 20:35:08 -03:00
leandrofars
a07082fb79 refact(api): controller clean code [ close #121 ] 2023-10-23 15:46:26 -03:00
leandrofars
a5592c4d3b fix(security): dependabot alert 2023-10-23 13:16:05 -03:00
leandrofars
3c4829a355 fix(controller): env comment explation 2023-10-13 20:28:09 -03:00
leandrofars
bc3633e20b feat(controller): custom api cors trough env 2023-10-13 19:43:39 -03:00
Leandro Antônio Farias Machado
f866222b8d feat(api): new files organization + fix(api): map lock error 2023-09-04 01:28:16 -03:00
Leandro Antônio Farias Machado
274b0f51b8 feat(controller): get env vars form .env 2023-08-19 11:37:06 -03:00
Leandro Antônio Farias Machado
aab83ce587 feat: create admin if it doesn't exists 2023-07-31 11:07:53 -03:00
Leandro Antônio Farias Machado
689e179f04 feat(api): wifi management through api resource 2023-07-03 23:32:45 -03:00
Leandro Antônio Farias Machado
b2c102fcf3 chore(device status): flow of messages and retention change 2023-07-03 20:11:51 -03:00
Leandro Antônio Farias Machado
9924ad50c6 chore(device status): change topic communication to allow retained messages 2023-07-02 15:57:13 -03:00
Leandro Antônio Farias Machado
5f64795225 chore(controller): remove commented code 2023-07-02 15:32:19 -03:00
Leandro Antônio Farias Machado
ca22a3edb0 chore(controller): automatic reconnection to broker 2023-07-02 15:26:12 -03:00
Leandro Antônio Farias Machado
ef2c20848a fix(controller): increase api timeout (1) 2023-06-27 04:05:01 -03:00
Leandro Antônio Farias Machado
94b00ab945 chore(controller): increase api timeout 2023-06-27 03:56:03 -03:00
Leandro Antônio Farias Machado
b58b978b5f fix(controller): api request queue memory leak 2023-06-27 02:20:21 -03:00
Leandro Antônio Farias Machado
6932d6df92 fix(controller): geParameterInstances returning null 2023-06-24 11:32:49 -03:00
Leandro Antônio Farias Machado
1489573f89 chore: fix users returning password at api + GeSupportedDm null return 2023-06-24 11:13:18 -03:00
Leandro Antônio Farias Machado
9765b77e32 chore: remember to fix api methods 2023-06-24 10:02:43 -03:00
Leandro Antônio Farias Machado
13341f2291 feat(controller): GetParameterInstances + Firmware update 2023-06-24 08:57:46 -03:00
Leandro Antônio Farias Machado
8dae5960e7 feat(api): retrieve all users 2023-06-17 14:13:06 -03:00
Leandro Antônio Farias Machado
d4b6e6775a chore(controller): ignore tmp folder 2023-06-16 11:29:58 -03:00
Leandro Antônio Farias Machado
8e57b87378 feat(api): create users with different privileges 2023-06-16 11:28:33 -03:00
Leandro Antônio Farias Machado
57ebbc7c45 chore(controller): show alert on broker disconnection 2023-06-16 00:12:54 -03:00
Leandro Antônio Farias Machado
9f7920b0e2 chore: websocket server (descontinued) - socketio version for golang is deprecated 2023-06-16 00:10:21 -03:00
Leandro Antônio Farias Machado
5da536ed96 feat(api): get supported parameters from device 2023-06-12 20:12:15 -03:00
Leandro Antônio Farias Machado
5a65fd9dff chore(nginx): create api specific route 2023-06-08 01:21:07 -03:00
Leandro Farias Machado
976612057a chore(mqtt): enables mqtt connection over tls 2023-05-25 07:51:43 -03:00
Leandro Farias Machado
75603c6f6f chore(db): controller verifies connection with mongoDB 2023-05-25 07:49:21 -03:00
Leandro Antônio Farias Machado
228fef7d21 chore(security): broker with tls config + cloud env 2023-05-17 23:23:44 -03:00
Leandro Antônio Farias Machado
0661b7cf21 chore(auth): increase jwt expiring time 2023-05-14 19:12:14 -03:00
Leandro Antônio Farias Machado
df51eefe02 chore(api): secret key encrypt + env variables 2023-05-14 10:25:06 -03:00
Leandro Antônio Farias Machado
7fb3f09570 chore(api): cors config dependencies 2023-05-13 12:47:34 -03:00
Leandro Antônio Farias Machado
29292fd98b chore(api): cors config 2023-05-13 12:47:15 -03:00
Leandro Antônio Farias Machado
611b50476d chore: print api run + fix: api "/" route misconception 2023-05-13 10:12:54 -03:00
Leandro Antônio Farias Machado
e0c307a3f2 fix(api): json pointer decode error 2023-05-13 09:30:01 -03:00
Leandro Antônio Farias Machado
7f1af7ae79 chore: controller package dependencies 2023-05-09 00:43:47 -03:00
Leandro Antônio Farias Machado
ed8d83b561 chore: change usp-endpoint-id 2023-05-07 10:54:06 -03:00
Leandro Antônio Farias Machado
9fb997d457 chore(api): comment auth register route 2023-05-03 23:32:37 -03:00
Leandro Antônio Farias Machado
bfb2acf0fa feat(api): user jwt authentication 2023-05-02 23:57:00 -03:00
Leandro Antônio Farias Machado
f7833e9dd0 feat(api): add request id in log 2023-04-28 08:40:55 -03:00
Leandro Antônio Farias Machado
2600c1debb feat: api middleware + header content-type as json #5 2023-04-28 08:32:23 -03:00
Leandro Antônio Farias Machado
4c916bdab9 feat: api tr369 SET function for device #5 2023-04-28 08:17:10 -03:00
Leandro Antônio Farias Machado
3bc6fb3d33 feat: add/create + delete api #5 2023-04-27 00:21:57 -03:00
Leandro Antônio Farias Machado
46743ab279 feat: get route for rest api + async queue for translations between sync http and mqtt uncoupled protocol close #31 2023-04-26 01:19:18 -03:00
Leandro Antônio Farias Machado
3f28344ae3 feat: save device status at database + add mqtt persistence at redis #30 2023-04-23 13:27:41 -03:00
Leandro Antônio Farias Machado
7c40982a00 feat: save devices at database 2023-04-20 11:37:20 -03:00
Leandro Antônio Farias Machado
0ff00b9ca1 feat: api structure 2023-04-20 11:36:55 -03:00
Leandro Antônio Farias Machado
83c88e87be feat: api structure 2023-04-20 11:34:48 -03:00
Leandro Antônio Farias Machado
fd25ed1bf9 feat:save devices at database 2023-04-13 09:55:01 -03:00
Leandro Antônio Farias Machado
f816e19f75 feat(controller): send publish to IoT and watch new connections 2023-03-28 11:49:10 -03:00
Leandro Antônio Farias Machado
46999043a5 feat(mqtt): change proj structure to services and add mochi broker 2023-03-20 11:19:02 -03:00