Commit Graph

248 Commits

Author SHA1 Message Date
leandrofars
877c21cfcc refact(controller): send cwmp messages with no code repetition 2024-05-30 12:34:05 -03:00
leandrofars
c4e62772d7 refact(controller): get wifi data 2024-05-30 12:23:53 -03:00
leandrofars
9ab100de76 feat(controller): wifi management through cwmp 2024-05-30 11:28:51 -03:00
leandrofars
b44d4d459d feat(cwmp): add parameterValueResponseStatus to cwmp lib 2024-05-30 11:12:13 -03:00
leandrofars
5158fd345c fix(cwmp): device msg answer to already timed out request 2024-05-30 10:08:07 -03:00
leandrofars
8d1ce2529b feat(cwmp): device answer timeout set via config 2024-05-30 10:07:19 -03:00
leandrofars
289859624d chore(acs): increase device response timeout 2024-05-30 08:20:34 -03:00
leandrofars
1ffa4a76d8 fea(cwmp): parameterAttributeStruct + parameters isWritable helper 2024-05-28 22:21:21 -03:00
leandrofars
03a4cec08f feat(cwmp): get parameter attributes 2024-05-28 22:15:44 -03:00
leandrofars
d7a265049b feat(api): add cwmp to device struct 2024-05-21 21:12:52 -03:00
leandrofars
42b657f4b9 feat(api): cwmp SetParameterValues message 2024-05-21 20:28:19 -03:00
leandrofars
bb7b1a4f50 feat(api): cwmp GetParameterValues 2024-05-21 20:08:57 -03:00
leandrofars
6829755345 fix(cwmp): device status and message handler 2024-05-21 20:08:57 -03:00
leandrofars
145c5e9426 feat: initial http bulk data collector 2024-05-13 16:37:22 -03:00
leandrofars
29375417ae fix(mqtt): deal with error to get password 2024-05-13 13:31:39 -03:00
leandrofars
6638aea5b2 feat(frontend): devices credentials crud | close #242 2024-05-08 20:29:55 -03:00
leandrofars
56c93d0806 fix(api): conflict in commits 2024-04-30 17:56:46 -03:00
leandrofars
0a0af85c65 fix: conflict 2024-04-30 17:54:49 -03:00
leandrofars
390fda46fb fix(api): delete own account 2024-04-30 17:45:25 -03:00
leandrofars
5dd34fb073 feat(api): allow user to delete his own account 2024-04-30 17:45:05 -03:00
leandrofars
57aec575c8 feat(api): validate emails correctly 2024-04-30 17:09:48 -03:00
leandrofars
90042da932 feat(api): return user creation date 2024-04-25 18:07:31 -03:00
leandrofars
9fef8849a1 feat: basic cwmp implementation 2024-04-24 14:06:56 -03:00
leandrofars
28a0e3e491 fix(adapter): usp handler online status | closes #248 2024-04-23 15:22:49 -03:00
leandrofars
03018af61e feat(acs): build and deployment 2024-04-22 13:23:44 -03:00
leandrofars
406d62550f feat: initial api for cwmp 2024-04-20 11:20:38 -03:00
leandrofars
5487ede44e feat: cwmp device status management 2024-04-18 19:48:49 -03:00
leandrofars
f596cf9e7b docs(adapter): readme update 2024-04-18 18:58:02 -03:00
leandrofars
63db492e4b feat: cwmp save basic device data 2024-04-18 18:56:46 -03:00
leandrofars
558088d74b feat: inital cwmp server 2024-04-18 17:00:48 -03:00
Leandro Antônio Farias Machado
a430857ce3
Merge pull request #243 from rogersacchelli/dev
Kubernetes Deployment
2024-04-17 12:41:15 -03:00
Roger Sacchelli
f39cd325b7 minor changes on Dockerfiles frontend 2024-04-16 23:06:08 -03:00
Roger Sacchelli
61f93f49e5 Kubernetes Deployment - WIP 2024-04-16 22:56:47 -03:00
Roger
b947d42ac2 Merge branch 'dev' of https://github.com/rogersacchelli/oktopus into dev
ok
2024-04-17 00:01:11 +00:00
Roger
be5a69f37c Config Map for HAProxy Ingress Controller 2024-04-16 23:59:55 +00:00
Leandro Antônio Farias Machado
22fe747f76
Merge pull request #240 from OktopUSP/dependabot/go_modules/backend/services/mtp/adapter/google.golang.org/protobuf-1.33.0
build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0 in /backend/services/mtp/adapter
2024-04-16 14:02:55 -03:00
Leandro Antônio Farias Machado
f8730905bd
Merge pull request #241 from OktopUSP/dependabot/go_modules/backend/services/controller/google.golang.org/protobuf-1.33.0
build(deps): bump google.golang.org/protobuf from 1.28.1 to 1.33.0 in /backend/services/controller
2024-04-16 14:02:47 -03:00
dependabot[bot]
16c6f8ed08
build(deps): bump google.golang.org/protobuf
Bumps google.golang.org/protobuf from 1.28.1 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 17:02:40 +00:00
dependabot[bot]
4e567988ac
build(deps): bump google.golang.org/protobuf
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 17:02:28 +00:00
dependabot[bot]
12b4b2fc04
build(deps): bump google.golang.org/protobuf in /backend/services/mtp/ws
Bumps google.golang.org/protobuf from 1.32.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 17:02:08 +00:00
Leandro Antônio Farias Machado
546a1a2c38
Merge pull request #236 from OktopUSP/dependabot/npm_and_yarn/backend/services/utils/socketio/express-4.19.2
build(deps): bump express from 4.18.2 to 4.19.2 in /backend/services/utils/socketio
2024-04-16 14:01:37 -03:00
dependabot[bot]
bf9b564ffc
build(deps): bump express in /backend/services/utils/socketio
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 16:47:44 +00:00
leandrofars
57e14bf489 feat: websockets with tls 2024-04-16 13:46:57 -03:00
leandrofars
dce3ebd55b feat: mqtt with tls 2024-04-16 12:41:09 -03:00
leandrofars
f9428ae449 feat: dynamic credentials for usp controller 2024-04-15 19:46:37 -03:00
leandrofars
2d1a3157f6 feat(api): limit devices credentials access to admin user 2024-04-15 18:28:06 -03:00
leandrofars
73c4457284 feat: users crud | closes #65 2024-04-15 18:14:51 -03:00
leandrofars
2beda02ef6 docs: remove old commentary 2024-04-15 13:53:29 -03:00
leandrofars
decac33244 feat(api): stomp rtt 2024-04-14 13:15:26 -03:00
leandrofars
9ae5128800 fix: return general data info when a mtp is down 2024-04-13 15:30:45 -03:00
leandrofars
4047e1db0b feat: device auth as rbac via nats keyvalue store | closes #212 2024-04-12 19:26:48 -03:00
Roger Sacchelli
c7007538cf Dockerfile for mqtt fixed 2024-04-12 01:11:51 -03:00
Roger
2ae3286e87 Fix MQTT Workflow, mongodb operator user permissions 2024-04-12 03:47:00 +00:00
leandrofars
06a28f6b60 fix(ws): missing code because of gitignore | closes #206 2024-03-31 16:08:20 -03:00
leandrofars
8c7cb6d7e9 feat: deploy microservices via docker compose 2024-03-26 15:40:50 -03:00
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
479198ead1 feat(adapter): listen for nats requests + small refacts 2024-03-19 23:37:35 -03:00
leandrofars
8b56913b07 chore: new folder structure 2024-03-17 22:47:10 -03:00
leandrofars
b434935941 feat: new software architecture 2024-03-17 22:45:33 -03:00
leandrofars
251a0b3f4e chore: remove compiled app 2024-03-12 12:07:17 -03:00
leandrofars
745e7d6658 fix(mqtt): ignored folders 2024-03-12 12:06:31 -03:00
leandrofars
1920b8b701 build: new build workflow with dokcer and makefile 2024-03-12 11:41:51 -03:00
leandrofars
bda64273c6 feat: websockets mtp migrate to microservices 2024-03-09 12:47:16 -03:00
leandrofars
be412cdaea feat: mqtt + nats communication with device status and info 2024-03-05 22:57:35 -03:00
leandrofars
9f05b8f364 refact(mqtt): code organization + own readme 2024-02-29 19:35:11 -03:00
leandrofars
73a9376a33 refact: change project folders name 2024-02-27 21:29:41 -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
34d75b65d7 feat(ws): tls server option 2024-02-17 11:16:17 -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
1203897646 chore(ws): add config lib depencies + env file 2024-02-06 00:19:05 -03:00
leandrofars
36a6cfc8d2 feat(ws): add gitignore 2024-02-06 00:18:32 -03:00
leandrofars
ef45c5cb0c feat(ws): adequate ws server to use dynamic config 2024-02-06 00:17:56 -03:00
leandrofars
9e549f722f feat(ws): config package to load env and flags 2024-02-06 00:16:35 -03:00
leandrofars
52ed7bfd8d feat(ws): controller endpoint with auth 2024-02-06 00:14:54 -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
ef34e499de feat(ws): create client messages segmentation 2024-02-04 22:56:48 -03:00
leandrofars
778e8f80d7 chore: remove deprecated code 2024-02-04 16:42:02 -03:00
leandrofars
2377b7d68d feeat(ws): establish communication with device 2024-02-04 16:38:36 -03:00
leandrofars
a60f0f0a28 feat: add usp webscokets header 2024-01-18 22:51:08 -03:00
leandrofars
46488fb3d5 chore(mochi): log websockets running info 2024-01-18 22:36:09 -03:00
leandrofars
48e03db960 initial websockets server 2024-01-16 23:45:56 -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
64c256cadb Merge branch 'lost_commits' into dev 2024-01-11 18:11:26 -03:00