-
Notifications
You must be signed in to change notification settings - Fork 249
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1803 from lann/http-base-default
http: Make `base = "/"` the default
- Loading branch information
Showing
60 changed files
with
69 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
|
||
[[component]] | ||
id = "http-component" | ||
|
7 changes: 0 additions & 7 deletions
7
crates/doctor/tests/data/manifest_trigger_http_app_trigger_missing_base.toml
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
crates/doctor/tests/data/manifest_trigger_http_component_trigger_missing_route.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
|
||
[[component]] | ||
id = "http-component" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
crates/loader/tests/missing-http-base.toml → crates/loader/tests/invalid-http-base.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
spin_version = "1" | ||
authors = ["Fermyon Engineering <[email protected]>"] | ||
name = "spin-local-source-test" | ||
trigger = {type = "http", base = "/"} | ||
trigger = {type = "http"} | ||
version = "1.0.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name = "spin-wagi-custom-entrypoint" | |
spin_version = "1" | ||
version = "1.0.0" | ||
authors = [ "Fermyon Engineering <[email protected]>" ] | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
|
||
[[component]] | ||
source = "spin-fs.wasm" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name = "spin-docs" | |
version = "0.1.0" | ||
description = "The Spin documentation website running on... Spin." | ||
authors = [ "Fermyon Engineering <[email protected]>" ] | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
|
||
[[component]] | ||
id = "redirect-download" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ spin_manifest_version = "1" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "A Spin Rust application demonstrating the config sdk." | ||
name = "spin-config-rust" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "0.1.0" | ||
|
||
[variables] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ spin_manifest_version = "1" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "A simple Spin application written in (Tiny)Go." | ||
name = "spin-config-tinygo" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "1.0.0" | ||
|
||
[variables] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ spin_manifest_version = "1" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "A simple application that returns hello." | ||
name = "spin-hello-world" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "1.0.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ spin_manifest_version = "1" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "Demonstrates outbound HTTP calls" | ||
name = "spin-outbound-http" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "1.0.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ spin_manifest_version = "1" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "An application that demonstrates HTTP routing." | ||
name = "spin-rust-router" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "1.0.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ spin_manifest_version = "1" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "An application that demonstrates HTTP routing." | ||
name = "spin-rust-router" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "1.0.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ spin_manifest_version = "1" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "A simple application that returns hello." | ||
name = "spin-hello-world" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "1.0.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ spin_manifest_version = "1" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "A simple Spin application written in (Tiny)Go that performs outbound HTTP requests." | ||
name = "spin-tinygo-outbound-http" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "1.0.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ apiVersion = "0.1.0" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "A simple Spin application written in (Tiny)Go." | ||
name = "spin-hello-world" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "1.0.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ spin_manifest_version = "1" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "A simple Spin application written in (Tiny)Go." | ||
name = "spin-hello-tinygo" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "1.0.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ apiVersion = "0.1.0" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "A simple Spin application written in (Tiny)Go." | ||
name = "spin-hello-world" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "1.0.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ spin_manifest_version = "1" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "A simple Spin application written in (Tiny)Go." | ||
name = "spin-hello-tinygo" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "1.0.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ spin_manifest_version = "1" | |
authors = ["Fermyon Engineering <[email protected]>"] | ||
description = "A simple application that exercises key-value storage." | ||
name = "spin-key-value" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "1.0.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ spin_manifest_version = "1" | |
authors = ["itowlson <[email protected]>"] | ||
description = "Demo of calling MySQL from a Spin application" | ||
name = "rust-outbound-mysql" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "0.1.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
spin_manifest_version = "1" | ||
authors = ["Fermyon Engineering <[email protected]>"] | ||
name = "rust-outbound-pg-example" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "0.1.0" | ||
|
||
[[component]] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
spin_manifest_version = "1" | ||
authors = ["Fermyon Engineering <[email protected]>"] | ||
name = "rust-outbound-redis-example" | ||
trigger = { type = "http", base = "/" } | ||
trigger = { type = "http" } | ||
version = "0.1.0" | ||
|
||
[[component]] | ||
|
Oops, something went wrong.