Commit Graph

42 Commits

Author SHA1 Message Date
8f0222328f
feat: decompression
add bincode support for serialization and deserialization
implement directory decompression
tests for decompression
2025-04-04 13:13:01 +00:00
291941667d
feat: add directory support on launch config
dtpm proto changed
upload files through grpc stream
seperated filesystem from dtpm config
tar zstd archiving directory to upload
test directory support on config
test archive directory
2025-04-03 19:01:51 +05:30
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
be4e41db05
Migrated SNP proto file and its From impls into its snp module and updated build configuration for snp proto 2025-03-17 20:33:01 +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
f2bc29149e
Daemon authendication
Refactor DaemonMessageApp to use DaemonAuth for authentication and update related RPC method
2025-02-11 10:33:46 +00:00
606c0ad395
Rename admin_pubkey to owner_wallet in AppContract and related structures for clarity 2025-02-11 13:20:37 +05:30
fce5788493
Implement From trait for DaemonMessageApp to facilitate conversions from String, NewAppRes, and AppNodeResources 2025-02-07 01:10:12 +05:30
df3a4631dd
Cleanup
Remove unused proto files and related references from the project
2025-02-06 14:57:50 +05:30
21d4747821
Add methods to DtpmConfig for loading configuration from a path and encoding file contents in base64 2025-02-05 17:34:56 +05:30
e9e4f1414a
wip on refactoring dtpm proto and type 2025-02-05 10:13:33 +00:00
42443b8162
Implement From trait for MappedPort to facilitate conversions between tuple and brain::MappedPort 2025-02-04 12:39:46 +00:00
6e7a337709
complete refactor of brain proto format 2025-02-04 16:50:52 +05:30
6e1b185383
Implement From trait for MappedPort to facilitate conversions between tuple and pb_shared::MappedPort 2025-01-30 20:14:33 +05:30
a2899ba5a2
Update proto messages and Rust types for brain integration
removed uuid type and change it a simple string
improved some grpc response type
fix some typos
2025-01-30 18:23:29 +05:30
78c8429994
add Default trait implementation to Uuid and Resource structs 2025-01-27 10:48:54 +00:00
73eac4cb04
complete refactor pb types derive prost to impl From trait
changed FileEntry protobuff type into simple one
2025-01-27 15:04:41 +05:30
d942cede1e
fix missing admin pub key in container 2025-01-24 11:26:44 +00:00
f8133925f4
fix: included Uuid type in shared 2025-01-23 19:50:48 +05:30
28497eeb99
Major refactor on types and protofile
detailed daemon container management proto
modularised all protobuff rust types
2025-01-23 16:58:36 +05:30
ff7c5ade50
uuid for container 2025-01-23 14:49:41 +05:30
f4e1159efc
fix fields visibility
Make fields public in Resource struct for accessibility
2025-01-21 12:20:35 +00:00
358c2d84ca
Add proto for daemon
renamed to shared proto update build configuration
changed exports for both protos in lib
new rust structures for daemon types
2025-01-20 16:57:47 +05:30
e643da298f Add gRPC support with tonic and protobuf integration 2024-12-23 18:26:50 +05:30
3ea2780f7b Make RestartPolicy and RestartPolicyType structs Copyable 2024-12-16 16:00:34 +05:30
1bbe16a85e Make fields public in RestartPolicy and ChildProcess structs; add default implementation for RestartPolicyType 2024-12-16 15:58:55 +05:30
b1620f4a11 Rename some fields
Rename RestartPolicy fields for consistency and clarity
2024-12-16 13:03:54 +05:30
101577a784 Restart Policy
add RestartPolicy message and integrate into ChildProcess configuration on both proto and rust structs
2024-12-16 11:42:05 +05:30
123842e470 removed unsed config method 2024-12-11 17:03:19 +05:30
e5ef2c1e97 dtpm config and proto file 2024-12-11 16:13:28 +05:30
1a88755767 first commit 2024-12-11 16:00:55 +05:30