Commit Graph

44 Commits

Author SHA1 Message Date
ea50603a88
refactor tests
modularizing report node into reusable method
improved error handling unwraping only on top level method
utils methods accepts refs to remove clone() on top level methods
2025-05-08 03:04:14 +03:00
dcfaf298fc
Test airdrop
extensive tests on airdrop
2025-05-08 03:04:14 +03:00
18ef8559de
admin keys from env 2025-05-08 03:04:10 +03:00
cd44d82463
VM updates and VM deletion 2025-05-08 02:59:27 +03:00
4dfaa3f465
fix: type matching on live_vmnode_msgs
generic type matching to table name
update type paths with
some logging in tests
2025-05-06 17:25:42 +05:30
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
8fa8a64862
feat: add timeout for new VM request 2025-05-05 17:55:23 +05:30
a1664d61e4
feat: report app node
include contract id in report schema
validated app contract also while reporting
2025-05-05 13:30:16 +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
5cd8317f91
test vm creation
add vm_cli_utils module
refactor test_report_node
validate report from db
2025-04-30 21:08:00 +05:30
de5fba37c9
refactor mock vm daemon and simplified client service fn 2025-04-30 16:40:30 +05:30
ab39b12da9
organize daemon test helpers 2025-04-30 15:47:59 +05:30
92827161ad
refactor test vm daemon 2025-04-30 02:43:45 +05:30
32f6548eff
seperating tests
renamed a test file
seperated daemon service tests
modularizing test into reusable methods
2025-04-30 02:09:14 +05:30
a7268792ad
test brain message
refactor test environment
mocked daemon and cli to interact with brain
2025-04-29 19:01:24 +05:30
0359de54fe
test register vm node 2025-04-28 21:07:32 +05:30
c424d07cc3
test with new keys
create new keys for each test
deleted static key
2025-04-28 20:28:11 +05:30
c74eab51ef
refactor test environment
removing unused gRPC server/client setup
simplifying database preparation
seperate server for normal call and grpc stream
2025-04-28 18:12:58 +05:30
48820189e3
refactor test environment to use real gRPC clients and servers 2025-04-28 16:57:17 +05:30
bea41c939d
test listing operators and list vm contracts 2025-04-28 16:57:17 +05:30
0543130cd5
test database cleanup
test report node
2025-04-28 16:57:17 +05:30
a9168d3204
refactor tests
modularised common code
cleaned grpc_test file
2025-04-28 16:57:17 +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
784414815e
after creating a VM, save it to active_vm 2025-04-27 03:37:43 +03:00
b5332316c2
vm deployment working
there still are bugs on how it manages tables in the DB
2025-04-27 02:40:48 +03:00
512dad5146
added capability to search nodes 2025-04-26 23:26:51 +03:00
1f277db873
added scripts 2025-04-26 22:33:03 +03:00
6f9cb36bea
added code to create new VM
compiles but not tested yet
2025-04-26 22:13:42 +03:00
363724e5d7
added code to send brain_messages to vm daemon 2025-04-26 04:44:28 +03:00
6a99c146ce
switch operator from relation to link
this makes DB operations easier to write
2025-04-25 04:15:00 +03:00
d9f4df2c3d
add defaults for account 2025-04-24 23:01:31 +03:00
ee75412bb0
inspect operator 2025-04-24 21:27:56 +03:00
a8cf515061
added report and airdrop 2025-04-24 02:47:52 +03:00
71cc0a8d82
add operator list 2025-04-23 14:16:03 +03:00
f51e29fc4b
inspecting and listing contracts with node info 2025-04-23 04:12:35 +03:00
751e81ce37
listing contracts 2025-04-22 19:25:23 +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
1074942e96
migration working 2025-04-20 03:41:48 +03:00