-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(validation): warn for link props source_configs and target_configs
Signed-off-by: Márk Kővári <[email protected]>
- Loading branch information
1 parent
b2a1082
commit 265f732
Showing
3 changed files
with
130 additions
and
2 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
53 changes: 53 additions & 0 deletions
53
tests/fixtures/manifests/deprecated-source-and-target-config.yaml
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
apiVersion: core.oam.dev/v1beta1 | ||
kind: Application | ||
metadata: | ||
name: rust-http-blobstore | ||
annotations: | ||
version: v0.0.1 | ||
description: 'HTTP Blobstore demo in Rust, using the WebAssembly Component Model and WebAssembly Interfaces Types (WIT)' | ||
wasmcloud.dev/authors: wasmCloud team | ||
wasmcloud.dev/source-url: https://github.com/wasmCloud/wasmCloud/blob/main/examples/rust/components/http-blobstore/wadm.yaml | ||
wasmcloud.dev/readme-md-url: https://github.com/wasmCloud/wasmCloud/blob/main/examples/rust/components/http-blobstore/README.md | ||
wasmcloud.dev/homepage: https://github.com/wasmCloud/wasmCloud/tree/main/examples/rust/components/http-blobstore | ||
wasmcloud.dev/categories: | | ||
http,http-server,rust,blobstore,object-storage,example | ||
spec: | ||
components: | ||
- name: http-blobstore | ||
type: component | ||
properties: | ||
image: ghcr.io/wasmcloud/components/http-blobstore-rust:0.2.0 | ||
traits: | ||
- type: spreadscaler | ||
properties: | ||
instances: 1 | ||
- type: link | ||
properties: | ||
target: blobstore-fs | ||
namespace: wasi | ||
package: blobstore | ||
interfaces: [blobstore] | ||
target_config: | ||
- name: root-directory | ||
properties: | ||
root: '/tmp' | ||
- name: httpserver | ||
type: capability | ||
properties: | ||
image: ghcr.io/wasmcloud/http-server:0.23.2 | ||
traits: | ||
- type: link | ||
properties: | ||
target: http-blobstore | ||
namespace: wasi | ||
package: http | ||
interfaces: [incoming-handler] | ||
source_config: | ||
- name: default-http | ||
properties: | ||
address: 0.0.0.0:8000 | ||
- name: blobstore-fs | ||
type: capability | ||
properties: | ||
image: ghcr.io/wasmcloud/blobstore-fs:0.10.1 |
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