Skip to content
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

Add aws-smithy-wasm crate with WASI http client #3409

Merged
merged 90 commits into from
Feb 28, 2024
Merged
Changes from 1 commit
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
4e4fd4a
feat: make outgoing request based on wasi-http proposal
eduardomourar Mar 24, 2023
04c76bd
feat: support wasi in default configuration
eduardomourar Mar 31, 2023
e3547ca
chore: use bytes body with wasi-http
eduardomourar Apr 4, 2023
7c33972
chore: load credentials from environment variables
eduardomourar Apr 4, 2023
528d0f8
chore: run wasm integration tests
eduardomourar Apr 4, 2023
1ddbd45
chore: prepare git folder within cargo
eduardomourar Apr 4, 2023
c4c306f
chore(ci): update wasmtime to v8.0.0
eduardomourar Apr 23, 2023
3482726
chore: update to latest commit in wasi-http crate
eduardomourar Apr 23, 2023
17927d9
chore: separate variable for listed buckets
eduardomourar Apr 23, 2023
4691918
chore: set aws credentials env variables to empty string
eduardomourar Apr 23, 2023
24a56f0
chore: update wasi-http crate
eduardomourar Apr 27, 2023
d91a56b
chore: set component-model feature flag
eduardomourar Apr 27, 2023
dfe6aa0
chore: use wasi-preview2-prototype crate
eduardomourar Apr 29, 2023
904f002
chore: remove wasi dependency
eduardomourar Apr 29, 2023
cba7b09
chore: install wasmtime with component model feature
eduardomourar May 3, 2023
f6cb13a
chore: use default credentials provider chain
eduardomourar May 25, 2023
99418c1
feat: move logic to aws-smithy-wasm crate
eduardomourar May 25, 2023
77a4ac8
chore: use wasm crate in aws config
eduardomourar May 25, 2023
ee489fe
chore: re-enable timeout and retry config
eduardomourar May 25, 2023
ad01461
chore(smithy-async): compile to wasi with rt-tokio feature
eduardomourar May 25, 2023
0e93edb
chore: update wasi-preview2-prototype to v0.0.2
eduardomourar Aug 19, 2023
a5e858f
chore: run list objects instead
eduardomourar Aug 19, 2023
46e0c85
Merge remote-tracking branch 'upstream/main' into feat/default-wasi-http
eduardomourar Aug 19, 2023
53e84df
chore: fix misconfigured imports
eduardomourar Aug 29, 2023
ea29d56
chore: simplify wasm tests
eduardomourar Aug 29, 2023
bd15545
Merge remote-tracking branch 'upstream/main' into feat/default-wasi-http
eduardomourar Aug 29, 2023
a16bcc1
chore: remove cargo-wasi references
eduardomourar Aug 29, 2023
7d8638c
chore: remove unnecessary sparse registry config
eduardomourar Aug 29, 2023
b9028f3
chore: use temporarily wasmtime from git
eduardomourar Aug 29, 2023
69f50fe
chore: remove wasi sleep
eduardomourar Aug 29, 2023
f8d14af
feat(wasm): define top level setter for connector
eduardomourar Aug 29, 2023
0ac58ea
chore: remove default wasi connector from aws-config
eduardomourar Aug 29, 2023
f371193
chore: update wasm integration tests
eduardomourar Aug 29, 2023
1318f9a
chore: setup tracing in aws-smithy-wasm
eduardomourar Aug 29, 2023
5ca6108
chore: some extra clean up
eduardomourar Aug 29, 2023
d8bde29
Merge branch 'main' into feat/default-wasi-http
eduardomourar Aug 29, 2023
044d37a
chore: document wasi connector function
eduardomourar Aug 30, 2023
917e001
chore: ensure webassembly test can compile to non-wasm target
eduardomourar Aug 30, 2023
96c4e4e
Merge branch 'main' into feat/default-wasi-http
eduardomourar Aug 30, 2023
853e538
Merge branch 'main' into feat/default-wasi-http
eduardomourar Sep 6, 2023
6d6cfdb
chore: remove unnecessary tracing in adapter
eduardomourar Sep 8, 2023
46f6bf8
Merge remote-tracking branch 'upstream/main' into feat/default-wasi-http
eduardomourar Sep 8, 2023
93f7ffc
chore: update wasmtime to v13
eduardomourar Sep 20, 2023
db6e371
Merge remote-tracking branch 'upstream/main' into feat/default-wasi-http
eduardomourar Sep 20, 2023
3e5ad29
Revert "chore: prepare git folder within cargo"
eduardomourar Sep 21, 2023
00872d1
Merge branch 'main' into feat/default-wasi-http
eduardomourar Sep 21, 2023
ee71a78
Merge branch 'main' into feat/default-wasi-http
eduardomourar Sep 27, 2023
8f4d186
Merge remote-tracking branch 'upstream/main' into feat/default-wasi-http
eduardomourar Sep 28, 2023
1aacca3
Merge branch 'main' into feat/default-wasi-http
eduardomourar Sep 29, 2023
023ba22
Merge branch 'main' into feat/default-wasi-http
eduardomourar Oct 4, 2023
f98b4cb
Merge branch 'main' into feat/default-wasi-http
ysaito1001 Oct 9, 2023
843a4d7
Apply fixes for breaking changes introduced by the HttpClient refactor
jdisanti Oct 10, 2023
8bf2c15
Merge branch 'main' of github.com:smithy-lang/smithy-rs into feat/def…
rcoh Jan 11, 2024
086f557
Merge branch 'main' into landonxjames/wasi-2-http
landonxjames Feb 9, 2024
8a32aff
Reimplemented SDK's HttpConnector with WASI types
landonxjames Feb 11, 2024
83f079a
Wasm connector is building now
landonxjames Feb 12, 2024
a6cdb9f
Adding http-1x feature to runtime-api dependency
landonxjames Feb 12, 2024
e5feef2
Updating tests for wasi http connector
landonxjames Feb 12, 2024
f621e61
Updating wasi http to drop child resources
landonxjames Feb 13, 2024
b102e2b
Basic test setup for wasi should work in CI
landonxjames Feb 13, 2024
bb8bb4d
Update CHANGELOG.next.toml
landonxjames Feb 14, 2024
6d39c43
Merge branch 'main' into landonxjames/wasi-2-http
landonxjames Feb 14, 2024
d0feecb
Update cargo-component to install nightly for MSRV
landonxjames Feb 14, 2024
9a653b3
Lint updates
landonxjames Feb 14, 2024
2701297
CI updates
landonxjames Feb 14, 2024
02632f2
Update CHANGELOG.next.toml
landonxjames Feb 14, 2024
1df0bf6
Update rust-runtime/aws-smithy-wasm/Cargo.toml
landonxjames Feb 14, 2024
23db87e
Update rust-runtime/aws-smithy-wasm/Cargo.toml
landonxjames Feb 14, 2024
b2134c7
Update rust-runtime/aws-smithy-wasm/src/wasi.rs
landonxjames Feb 14, 2024
1005865
Update rust-runtime/aws-smithy-wasm/src/wasi.rs
landonxjames Feb 14, 2024
68ae686
Apply suggestions from code review
landonxjames Feb 14, 2024
a38ef6b
Updating build scripts with PR feedback
landonxjames Feb 14, 2024
b2ff222
Updating error handling
landonxjames Feb 15, 2024
bf14237
Update WASI HTTP client
landonxjames Feb 16, 2024
cd091fb
First pass at a wasm canary
landonxjames Feb 19, 2024
43f9525
Merge branch 'smithy-lang:main' into landonxjames/wasi-2-http
landonxjames Feb 19, 2024
42c3b4f
Slightly farther in getting wasmtime to run
landonxjames Feb 19, 2024
3fc1aa8
Wasm canary test works locally
landonxjames Feb 20, 2024
352cdfd
Add WasmSleep struct to wasm crate
landonxjames Feb 20, 2024
ade60da
Cleaning up some of the canary committed
landonxjames Feb 20, 2024
7eeb60d
Added wasm_canary to the canary runner
landonxjames Feb 20, 2024
3d1b9b4
Fixing canary builder tests
landonxjames Feb 21, 2024
147a26a
Increase canary timeouts wasm canary is slow
landonxjames Feb 21, 2024
0c41440
Apply suggestions from code review
landonxjames Feb 26, 2024
bd2006f
Merge branch 'main' into landonxjames/wasi-2-http
landonxjames Feb 26, 2024
c883aad
Updates from PR feedback
landonxjames Feb 26, 2024
a778a18
Bump version of wasmtime-cli in Dockerfile
landonxjames Feb 26, 2024
6a174b3
Adding allowed external types to aws-smity-wasm
landonxjames Feb 27, 2024
f6720a3
Update rust-runtime/aws-smithy-wasm/src/wasi.rs
landonxjames Feb 27, 2024
778bfb0
Update CHANGELOG.next.toml
jdisanti Feb 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: re-enable timeout and retry config
eduardomourar committed May 26, 2023
commit ee489fee9332cbf544f692cf4453e27059139c24
3 changes: 0 additions & 3 deletions aws/sdk/integration-tests/webassembly/src/default_config.rs
Original file line number Diff line number Diff line change
@@ -3,15 +3,12 @@
* SPDX-License-Identifier: Apache-2.0
*/

use aws_smithy_types::{retry::RetryConfig, timeout::TimeoutConfig};
use aws_types::region::Region;
use std::future::Future;

pub(crate) fn get_default_config() -> impl Future<Output = aws_config::SdkConfig> {
aws_config::from_env()
.region(Region::from_static("us-west-2"))
.timeout_config(TimeoutConfig::disabled())
.retry_config(RetryConfig::disabled())
.load()
}