Skip to content

Commit

Permalink
♻️ Remove AssemblyScript example
Browse files Browse the repository at this point in the history
AssemblyScript does not really support WASI very well anymore: https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.21.0
  • Loading branch information
Shark committed Sep 2, 2022
1 parent a11bb43 commit f949720
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 224 deletions.
51 changes: 0 additions & 51 deletions .github/workflows/build-assemblyscript.yml

This file was deleted.

1 change: 0 additions & 1 deletion .vscode/ltex.dictionary.en-US.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Wasmtime
wit-bindgen
oci-distribution
ConfigMap
AssemblyScript
TinyGo
PluginInvocation
PluginResult
Expand Down
3 changes: 1 addition & 2 deletions doc/module-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Creating a new Wasm module for use with Argo Workflows is easy and works with ev

There are ready-to-use templates for:

* [AssemblyScript](wasm-modules/templates/assemblyscript/)
* [Rust](wasm-modules/templates/rust/)
* [TinyGo](wasm-modules/templates/tinygo/)

Expand Down Expand Up @@ -35,7 +34,7 @@ Capabilities expand what modules can do. Out of the box, modules can take input

### HTTP Capability

The HTTP capability provider allows you to make HTTP requests from your Wasm module. The capability is available in every module mode. Please refer to the [`wasi-experimental-http`](https://github.com/deislabs/wasi-experimental-http) repository for complete information of how to access the HTTP capability from your module. There you will find examples for both Rust and AssemblyScript.
The HTTP capability provider allows you to make HTTP requests from your Wasm module. The capability is available in every module mode. Please refer to the [`wasi-experimental-http`](https://github.com/deislabs/wasi-experimental-http) repository for complete information of how to access the HTTP capability from your module. There you will find examples for Rust.

When using the HTTP capability, you need to whitelist the hosts that the module is allowed to connect to. This illustrates the ease-of-use that WebAssembly's capability-oriented security model offers: for you, it's very easy to tell if a module should be able to connect outside – and now securing your code got easy.

Expand Down
2 changes: 1 addition & 1 deletion wasm-modules/contrib/http-request/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This module uses the HTTP capability to make outgoing HTTP requests. Learn more about capabilities in the [main README](/README.md).

The HTTP capability provider allows you to make HTTP requests from your Wasm module. The capability is available in every module mode. Please refer to the [`wasi-experimental-http`](https://github.com/deislabs/wasi-experimental-http) repository for complete information of how to access the HTTP capability from your module. There you will find examples for both Rust and AssemblyScript.
The HTTP capability provider allows you to make HTTP requests from your Wasm module. The capability is available in every module mode. Please refer to the [`wasi-experimental-http`](https://github.com/deislabs/wasi-experimental-http) repository for complete information of how to access the HTTP capability from your module. There you will find examples for Rust.

When using the HTTP capability, you need to whitelist the hosts that the module is allowed to connect to. This illustrates the ease-of-use that WebAssembly's capability-oriented security model offers: for you it's very easy to tell if a module should be able to connect outside – and now securing your code got easy.

Expand Down
2 changes: 0 additions & 2 deletions wasm-modules/templates/assemblyscript/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions wasm-modules/templates/assemblyscript/index.ts

This file was deleted.

135 changes: 0 additions & 135 deletions wasm-modules/templates/assemblyscript/package-lock.json

This file was deleted.

17 changes: 0 additions & 17 deletions wasm-modules/templates/assemblyscript/package.json

This file was deleted.

0 comments on commit f949720

Please sign in to comment.