Commit Graph

26 Commits

Author SHA1 Message Date
9ae2e3bd86
change uuid to vm_id and app_id 2025-07-18 18:01:51 +03:00
6b6c7b2356
custom CLI directory for detee-api
specify a custom path for the CLI directory using the DETEE_API_USER_PATH environment variable.
2025-07-15 19:57:42 +05:30
99470dbac3
minor fixes on logs and cli 2025-07-02 03:26:18 +03:00
fd8dbd9ce7
cargo fmt 2025-06-25 19:20:31 +05:30
af22741ade
switch from LP to credits and allow slots 2025-06-25 04:13:09 +03:00
13a00e2318
added Apache 2.0 License 2025-06-19 20:43:05 +03:00
9630cd5f95
Brain redirect on app deploy and delete
Improve macro with full crate path for log debug
Simplifies brain URL selection by using lazy static variables for staging and testing environments.
2025-06-18 19:19:28 +05:30
420653bcb6
Improves brain URL selection for different networks
list of 3 brain urls for staging and testnet
refactor brain URL selection for staging and testnet environments.
2025-06-16 13:53:10 +05:30
a25c53d709
Implement macro for grpc redirect
redirect handling in gRPC client and add macro for follow redirects
random brain url selection for staging environment.
cleanup duplicate sign_request function
2025-06-13 17:08:52 +05:30
41d9bd104f
WIP on implementing redirect
Refactors brain connection logic to use custom endpoint while runtime
Implements redirect handling in the `create_vm` function to gracefully handle server moves by reconnecting to the new URL
2025-06-11 19:12:14 +05:30
51d50ff496
adapting CLI to the surreal brain 2025-06-05 16:30:00 +03:00
fb8558f7a9
add support for localhost brain 2025-04-22 18:34:54 +03:00
896884a1e1 change testing to testnet 2025-03-31 15:42:43 +00:00
53cdf34bb6
fixed docker related bugs or the testnet 2025-03-29 22:56:45 +02:00
e4db755b18 Fix tonic TLS issues (#1)
Co-authored-by: Noor <noormohammedb@protonmail.com>
Reviewed-on: #1
2025-03-29 18:14:45 +00:00
383908b171
added support for self signed TLS certificates 2025-03-28 23:35:53 +02:00
7d7200bca4
feat: app UUID cli completion 2025-03-24 16:42:40 +05:30
88d3207cb5
fix clippy warnings 2025-03-21 20:42:46 +05:30
ba872917c2
refactor: reorganize super-cli gRPC method to general module
change grpc type import as  proto in snp grpc module
and updated its related imports
2025-03-21 18:11:04 +05:30
a3d604845b
removed some of the unwraps; more testing required 2025-03-21 03:49:16 +02:00
422e04a538
moved keys out of config
I believe we are currently not expecting users to change keys.
If we do, I believe we should think about the UX of changing sensitive
data in the CLI.

Also changed "signing key" to "mrsigner key", since all keys are used
for signing.
2025-03-21 02:38:20 +02:00
53a654577d
fix clippy warnings 2025-03-20 22:12:04 +05:30
daff2fd533
fix: tokio block on error
replace retry crate with tokio-retry for asynchronous app deployment and config updates
change hratls and sign key data to Config
refactor mr_signer format to save in config
modularized deploy and config update functionality for better code arrangements
2025-03-20 21:33:01 +05:30
bb861fe817
refactor: replace direct block_on calls with utils::block_on for consistency 2025-03-20 16:44:57 +05:30
f220e200ec
feat: add hratls_pubkey and mrsigner_pubkey to config AccountData and update related methods 2025-03-20 16:21:11 +05:30
ba19eb4ec1
code migration 2025-03-16 22:28:19 +02:00