Commit Graph

217 Commits

Author SHA1 Message Date
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
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
Leandro Antônio Farias Machado
db2678d8e8
Merge pull request #177 from OktopUSP/dependabot/npm_and_yarn/backend/services/socketio/koa/cors-5.0.0
chore(deps): bump @koa/cors from 4.0.0 to 5.0.0 in /backend/services/socketio
2023-12-23 13:00:50 -03:00
dependabot[bot]
921ae3ea31
chore(deps): bump @koa/cors in /backend/services/socketio
Bumps [@koa/cors](https://github.com/koajs/cors) from 4.0.0 to 5.0.0.
- [Changelog](https://github.com/koajs/cors/blob/master/History.md)
- [Commits](https://github.com/koajs/cors/compare/4.0.0...5.0.0)

---
updated-dependencies:
- dependency-name: "@koa/cors"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-23 15:59:56 +00: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
6ccd0aa0e8 feat(mtp): stomp server with custom usp spec 2023-10-28 16:00:27 -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
1b4c09ae89 chore(socketio): add env file 2023-10-14 14:15:36 -03:00
leandrofars
b261cee228 feat(socketio): get cors allowed origins from env file 2023-10-13 20:29:08 -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
fee4cf4690 chore: remove mosquitto useless folder 2023-07-29 10:36:36 -03:00