Commit Graph

14 Commits

Author SHA1 Message Date
547246629b
cargo fmt 2025-06-25 18:57:01 +05:30
39ee3cd84b
Merge bug-fix: Fixes on app engine
fixed app node filter query
updated proto change mb to gb on app node resource
tests for get one node for app and vm
tests for node resource updates on vm and app
fix test for app node filtering implemented ip based node filtering
mocking random public ip for node
local brain binary for test without tls
refactor test grpc services to use grpc only stream
2025-06-16 18:39:07 +05:30
9bff01a440
add Apache-2.0 license 2025-06-14 03:40:13 +03:00
d398198f63
fixes app node resource update
tests for node resource updates on vm and app
fix test for app node filtering implemented ip based node filtering
mocking random public ip for node
local brain binary for test without tls
refactor test grpc services to use grpc only stream
2025-06-09 18:29:00 +05:30
479b9b6fa4 Implement refund on delete app and vm
fix authentication and refund on delete vm
refactor app daemon register to get delete app req
db function for delete app
sample environment variable
extensive tests for delete app and vm
refactor test utilities
2025-06-04 16:01:42 +00:00
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
0ec1b61d8b
Admin and opertor features (#3)
all admin features listing accounts and contracts with access controll and test
ban a user by operator
tests for all features
mock data for test

Reviewed-on: #3
Co-authored-by: Noor <noormohammedb@protonmail.com>
Co-committed-by: Noor <noormohammedb@protonmail.com>
Signed-off-by: Noor <noormohammedb@protonmail.com>
2025-05-26 03:17:27 +05:30
d1e85ec03e
Kick Contract (#2)
Production grade kick contract code for financial transaction tested for both vm and app
modified schema to include node in kick, default time for deleted_app and removed unwanted fields
app data migration for testing kick contract for active_app
fixed some tests
register operator

Reviewed-on: #2
Co-authored-by: Noor <noormohammedb@protonmail.com>
Co-committed-by: Noor <noormohammedb@protonmail.com>
Signed-off-by: Noor <noormohammedb@protonmail.com>
2025-05-26 03:17:00 +05:30
cf232f83b3
simplified folder structure 2025-05-06 01:00:42 +03:00
ab39b12da9
organize daemon test helpers 2025-04-30 15:47:59 +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
c424d07cc3
test with new keys
create new keys for each test
deleted static key
2025-04-28 20:28:11 +05:30
a9168d3204
refactor tests
modularised common code
cleaned grpc_test file
2025-04-28 16:57:17 +05:30