Commit Graph

18 Commits

Author SHA1 Message Date
8d1721ca11
Minor bug fixes
Updates ActiveApp with IP and fixes hratls_pubkey mapping
reduced rustls logging to debug
2025-06-17 15:23:56 +05:30
9bff01a440
add Apache-2.0 license 2025-06-14 03:40:13 +03:00
9363750d5b
implemented redirect vm methods
Introduces new environment variable to set public endpoint of the brain
refactor redirect validation to db module
validating pubsub node on all vm
fixed some vm tests
2025-06-12 18:44:45 +05:30
786489fcbd
WIP on impl redirect use remote addr
using remote address on daemon registration as pubsub endpoint
validating pubsub node using client req remote address
remove fetching public ip
2025-06-10 21:02:54 +05:30
af7d4157ee
WIP on implementing redirect
implement public IP handling
Add pub_sub_node field to vm_node table in SQL schema
Refactor BRAIN_GRPC_ADDR to use LazyLock for dynamic IP assignment
Implement current_brain_endpoint function to retrieve public IP
2025-06-10 16:45:16 +05:30
7807e14167
WIP App: daemon register
enhance logging levels
2025-05-09 17:11:34 +05:30
db02218fa9
WIP on App services 2025-05-08 19:31:16 +05:30
cd44d82463
VM updates and VM deletion 2025-05-08 02:59:27 +03:00
cf232f83b3
simplified folder structure 2025-05-06 01:00:42 +03:00
079b4a02aa
Major code refactor
vm, app and general modules sperated from db and grpc
common module for share methods and types
2025-05-05 19:56:23 +05:30
28ff8dcd81
dotenv support
database credentials loading from .env
removed db cred from constants
updated tests accordingly
2025-05-02 20:05:22 +05:30
8abe8eebf4
Refactor database connection handling
use SurrealDB directly in Brain services
modified tests accordingly
cleanedup tests comments
2025-05-02 19:33:34 +05:30
ea3169c024
Fix database channel close error 2025-05-02 19:05:28 +05:30
2d108a53b5
Constant
centralize configuration constants
update database initialization for test env
2025-04-28 16:56:17 +05:30
b5332316c2
vm deployment working
there still are bugs on how it manages tables in the DB
2025-04-27 02:40:48 +03:00
6a99c146ce
switch operator from relation to link
this makes DB operations easier to write
2025-04-25 04:15:00 +03:00
1cf091d801
get_balance working 2025-04-22 18:34:21 +03:00
bbdceb713e
added a lot of stuff that needs to get migrated 2025-04-21 02:51:48 +03:00