Commit Graph

17 Commits

Author SHA1 Message Date
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
e59a3c8fd8 Implement new app contract balance locking
minimum locking balance on deployment
locking balance on app deployment
refunding locked nano while error on daemon
returning appropreate error on app deployment
fixed some typos on logging
new timeout constants for daemon respose
minor change in schema and proto
extensive tests on app deployments
fixed some vm tests
2025-06-04 16:01:42 +00:00
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
8536c85fd5
clippy fix 2025-05-01 15:52:22 +05:30
77efe3ad63
basic test setup
modified migration
fake grpc server in tokio
fake db migration for testing
test utilities for signing grpc req
2025-04-28 16:57:14 +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