Commit Graph

15 Commits

Author SHA1 Message Date
6bd30bf87c
implemented pubsub node redirect to app methods
fix app_node schema
improved query handling with bind on check pubsub node
test for app pubsub node
2025-06-13 20:12:21 +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
8caa55e325
App deployment
rename rpc method app deploy to new_app
improved is_banned_by_node checking app nodes also
moved common ErrorFromTable type to db module
2025-05-14 20:55:13 +05:30
92f4e15412
App contract delete 2025-05-14 13:31:12 +05:30
38a73fd003
App contract list
Implement retrieve app contracts by UUID, admin, and operator
2025-05-14 00:09:36 +05:30
1e8014a5d6
App node
get one app node
2025-05-13 16:07:57 +05:30
0ccaa4840c
App nodes list
modified AppNode filtering proto
improve logging in signature checking
2025-05-13 13:10:42 +05:30
6f40a9c770
App daemon message
activate new app in db
update node resource in db
2025-05-12 18:09:30 +05:30
f831e31d8f
App brain message
new app req and delete app message
schema for new_app_req
improve error handling on live select
2025-05-12 13:05:38 +05:30
7807e14167
WIP App: daemon register
enhance logging levels
2025-05-09 17:11:34 +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