Skip to content

Initial fastapi #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 39 commits into
base: main
Choose a base branch
from
Open

Initial fastapi #75

wants to merge 39 commits into from

Conversation

sonasi
Copy link
Contributor

@sonasi sonasi commented Feb 20, 2023

No description provided.

PiDelport and others added 30 commits April 28, 2022 11:36
* feat(ntc-vault-cli): initial layout

* style(ntc-vault-cli): add rustfmt.toml

* feat(ntc-vault-cli): add clap-based CLI skeleton

* feat(ntc-vault-cli): flesh out structure, implement identity subcommand

* refactor(ntc-vault-cli): separate code into two crates: core, cli

* refactor(ntc-vault-cli): move rand-using code from core to cli

* test(ntc-vault-cli): generate_secure_seed smoke test

* feat(ntc-vault-cli): data package and JSON Schema work-in-progress

* refactor: move crates into rust-workspace

* docs: add comment about using "cargo +nightly fmt"

* docs: add ARCHITECTURE.md

* refactor: rename package "ntc-vault-core" → "ntc-data-packages"

* feat(ntc-data-packages): replace anyhow with thiserror

* build(ntc-data-packages): drop jsonschema's default features

We don't need jsonschema's CLI, or the file / HTTP resolving features.

This greatly reduces our dependency tree.

* build: declare rust-version

* docs: add package descriptions

* feat(ntc-data-packages): better validation error messages

* ci(rust-workspace): add check and test workflows for GitHub Actions

* docs: fix rustdoc link issues

* build(rust-workspace): add rust-toolchain.toml, with channel = "stable"

* docs(README): add link to ARCHITECTURE.md

* deps(ntc-vault-cli): update confy revision for store_path fix

Upstream PR:

rust-cli/confy#60

(fix: `store_path` should create missing directories, like `load_path`)

* refactor(ntc-data-packages): move tests to API-based integration tests

Motivation:

https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html

* refactor(ntc-vault-cli): move try_exists to compat module

* refactor(ntc-vault-cli): VaultIdentityConfig: make pub

* deps(ntc-vault-cli): add dev dependencies for CLI tests

* test(ntc-vault-cli): add snapshot-based CLI tests

* deps(ntc-data-packages): add serde

* feat(ntc-data-packages): add Metadata::from_json_bytes

* feat(ntc-vault-cli): add fs_io, with read_metadata

* feat(ntc-vault-cli): implement more of the "data" subcommand

* chore: add todos to keep track of changes that needs to be made to allign with design

* chore(deps): update dependencies and bump jsonschema to 0.16

Co-authored-by: Herman <[email protected]>
* build(rust-sgx-workspace): add workspace for SGX code

* build(ntc-tee-server): add SGX project for the TEE server

* build(ntc-tee-server): bump Rust edition: "2018" → "2021"

* build(ntc-tee-server): better error message for missing Enclave_u library

* ci(rust-sgx-workspace): add check and test workflows for GitHub Actions

* ci: use nested checkout for the multiple repositories to prevent _temp being deleted

* style: fix clippy warnings

* ci: remove --all-targets build arg to fix enclave builds and checks

Co-authored-by: Herman <[email protected]>
Co-authored-by: Jean-Pierre de Villiers <[email protected]>
* feat(ntc-oracle-node): connect to PureStake Indexer using algonaut

* feat(ntc-oracle-node): add config crate

* feat(ntc-oracle-node): add initial server with axum

* feat(ntc-oracle-node): implement get_auth_data

* feat(ntc-oracle-node): use ed25519 to sign AuthData with ring-compat

* style(ntc-oracle-node): apply rustfmt.toml

* refactor(ntc-oracle-node): move auth_data functions into handler

* feat(ntc-oracle-node): add anyhow error handling

* feat(ntc-oracle-node): add unit test for sign_auth_data

* feat(ntc-oracle-node): use serde_with to base64 encode SignedAuthData response

* refactor(ntc-oracle-node): use cfg(test) in place of allow(dead_code)
* feat(web-server): copy web-server from Nautilus Wallet

* docs(web-server): fix comments in rust-toolchain and rustfmt toml files

* refactor: move http-service-impl and sgx-helpers into rust-sgx-workspace

* refactor: move sgx-wallet-impl into rust-sgx-workspace but exclude as member

* refactor: move sgx-wallet into rust-sgx-workspace but exclude as member

* refactor: move sgx-wallet-test into rust-sgx-workspace but exclude as member

* refactor: remove web-server

* docs(http-service-impl): fix sgx-wallet-impl broken intra doc link

* fix(sgx-wallet): fix path to sgx-wallet-impl in Makefile
@sonasi sonasi requested a review from billguo99 February 20, 2023 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants