Skip to content

Commit 5e3be4c

Browse files
committed
Update names
Signed-off-by: Mikkel Mørk Hegnhøj <[email protected]>
1 parent 2235e10 commit 5e3be4c

File tree

4 files changed

+53
-64
lines changed

4 files changed

+53
-64
lines changed

examples/wasip3-competing-outbound-http-calls/Cargo.lock

Lines changed: 39 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/wasip3-competing-outbound-http-calls/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
2-
name = "concurrent-outbound-http-calls"
3-
authors = ["itowlson <ivan.towlson@fermyon.com>"]
2+
name = "competing-outbound-http-calls"
3+
authors = ["mikkelhegn <mikkel.hegnhoj@fermyon.com>"]
44
description = ""
55
version = "0.1.0"
6-
rust-version = "1.90" # required for `wasm32-wasip2` target to build WASIp3
6+
rust-version = "1.90" # required for `wasm32-wasip2` target to build WASIp3
77
edition = "2021"
88

99
[lib]

examples/wasip3-competing-outbound-http-calls/spin.toml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,22 @@
33
spin_manifest_version = 2
44

55
[application]
6-
name = "concurrent-outbound-http-calls"
6+
name = "competing-outbound-http-calls"
77
version = "0.1.0"
88
authors = ["The Spin project"]
9-
description = "Demonstrates making concurrent outbound HTTP calls in WASIp3"
9+
description = "Demonstrates making competing outbound HTTP calls in WASIp3"
1010

1111
[[trigger.http]]
1212
route = "/..."
13-
component = "concurrent-outbound-http-calls"
13+
component = "competing-outbound-http-calls"
1414
executor = { type = "wasip3-unstable" }
1515

16-
[component.concurrent-outbound-http-calls]
17-
source = "target/wasm32-wasip2/release/concurrent_outbound_http_calls.wasm"
18-
allowed_outbound_hosts = ["https://spinframework.dev", "https://component-model.bytecodealliance.org/"]
19-
[component.concurrent-outbound-http-calls.build]
16+
[component.competing-outbound-http-calls]
17+
source = "target/wasm32-wasip2/release/competing_outbound_http_calls.wasm"
18+
allowed_outbound_hosts = [
19+
"https://spinframework.dev",
20+
"https://component-model.bytecodealliance.org/",
21+
]
22+
[component.competing-outbound-http-calls.build]
2023
command = "cargo build --target wasm32-wasip2 --release"
2124
watch = ["src/**/*.rs", "Cargo.toml"]

examples/wasip3-competing-outbound-http-calls/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use futures::{
1313
};
1414

1515
#[http_service]
16-
async fn handle_concurrent_outbound_http_calls(
16+
async fn handle_competing_outbound_http_calls(
1717
_req: spin_sdk::http_wasip3::Request,
1818
) -> impl IntoResponse {
1919
println!("Handling reuqest");

0 commit comments

Comments
 (0)