Skip to content

Commit

Permalink
feat(server)!: validate put manifests with JSON schema
Browse files Browse the repository at this point in the history
* Added json schema for validating manifests

Signed-off-by: aish-where-ya <[email protected]>

* Minor fixes

Signed-off-by: aish-where-ya <[email protected]>

* Addressed review comments

Signed-off-by: aish-where-ya <[email protected]>

* Added additional test case, better error messages

Signed-off-by: aish-where-ya <[email protected]>

* Fixes to spread requirements

Signed-off-by: aish-where-ya <[email protected]>

* allow objects in provider config

Signed-off-by: Brooks Townsend <[email protected]>

* formatted JSON

Signed-off-by: Brooks Townsend <[email protected]>

---------

Signed-off-by: aish-where-ya <[email protected]>
Signed-off-by: Brooks Townsend <[email protected]>
Co-authored-by: Brooks Townsend <[email protected]>
  • Loading branch information
aish-where-ya and brooksmtownsend authored Sep 22, 2023
1 parent 81d754d commit 1d3a879
Show file tree
Hide file tree
Showing 5 changed files with 675 additions and 13 deletions.
189 changes: 187 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ wasmcloud-control-interface = "0.28.1"
semver = { version = "1.0.16", features = ["serde"] }
regex = "1.9.3"
base64 = "0.21.2"
jsonschema = "0.17"

[dev-dependencies]
serial_test = "1"
Expand Down
Loading

0 comments on commit 1d3a879

Please sign in to comment.