Commit Graph

17 Commits

Author SHA1 Message Date
b8db315af9
add apache 2.0 license 2025-06-19 20:47:25 +03:00
694d5811aa
minor refactor in app proto
rename disk_mb to disk_size_gb and vcpu to vcpus in AppResource and Resource
2025-06-03 04:22:20 +05:30
7ef7068932 surreal_brain_app (#3)
add support for apps on the surreal brain

Co-authored-by: Noor <noormohammedb@protonmail.com>
Reviewed-on: #3
2025-05-19 21:14:42 +00:00
b5289f1f5b DTPM: upload files as stream and directory support (#2)
archive directory to upload
bincode serialize files to seal and save
zstd compression for tar archive
tests with fixtures

Reviewed-on: #2
Co-authored-by: Noor <noormohammedb@protonmail.com>
Co-committed-by: Noor <noormohammedb@protonmail.com>
2025-04-21 14:40:59 +00:00
a874749fd5
Add Default trait to EnvironmentEntry and ChildProcess structs 2025-03-19 20:30:44 +05:30
e434b70a57
Refactor proto packages and add shared common.proto
seperated non vm related services into general protofile
shared common proto for types like Empty
rename proto packages
top level crate export for convenient imports
2025-03-18 22:58:22 +05:30
099f0a0488
Add app_name field to AppContract and NewAppReq messages; update AppDeployConfig struct 2025-03-14 09:44:03 +00:00
8230e1f831
Rename CreateApp RPC to DeployApp in BrainAppCli and add new fields to AppDeployConfig for hours and private_package 2025-03-12 20:57:26 +05:30
a734b392b7
rename price_per_unit to node_unit_price in AppDeployConfig and update conversion implementations 2025-03-11 17:46:26 +05:30
b8f37dec18
Add hratls_pubkey and public_package_mr_enclave fields to NewAppReq, AppDeployConfig and AppContract 2025-03-06 17:38:36 +05:30
aefd292807
Add public_package field to NewAppReq and AppDeployConfig with default serde handling 2025-03-06 16:32:06 +05:30
9ba3bc3186
Add hratls_pubkey to NewAppReq and AppDeployConfig; adjust field indices 2025-03-06 00:59:58 +00:00
54abe74d42
admin pubkey in DelAppReq for authendicate and serde default for AppDeployConfig fields 2025-02-18 20:56:03 +05:30
99c3c83ed3
Rename owner_wallet to admin_pubkey in AppContract and related structures; add price_per_unit and locked_nano fields 2025-02-18 16:28:00 +05:30
e835424049
refactor error handling with thiserror in dtpm module 2025-02-18 13:59:14 +05:30
987bbfd8ec
minor fix
default for owner_wallet in AppDeployConfig
2025-02-17 12:43:04 +05:30
ee592c71d6
Refactor proto file structure to move brain and dtpm modules under sgx for better organization 2025-02-13 17:28:09 +05:30