diff --git a/aqua-examples/aqua-ceramic-integration/README.md b/aqua-examples/aqua-ceramic-integration/README.md index 26c02eb..59bdfc5 100644 --- a/aqua-examples/aqua-ceramic-integration/README.md +++ b/aqua-examples/aqua-ceramic-integration/README.md @@ -238,7 +238,7 @@ That is, `...\"chainId\":\"eip155:3\",\"blockNumber\":11266361,\"blockTimestamp\ Looks like our services are working and ready for deployment to the `stage` network. We use the `aqua` command line tool to do so: ```bash -aqua remote deploy \ +aqua remote deploy_service \ --addr /dns4/stage.fluence.dev/tcp/19004/wss/p2p/12D3KooWJ4bTHirdTFNZpCS72TAzwtdmavTBkkEXtzo6wHL25CtE \ --config-path configs/ceramic_adapter_deploy_cfg.json \ --service ceramic-service diff --git a/aqua-examples/echo-greeter/Readme.md b/aqua-examples/echo-greeter/Readme.md index 68ef0b9..66fef21 100644 --- a/aqua-examples/echo-greeter/Readme.md +++ b/aqua-examples/echo-greeter/Readme.md @@ -114,7 +114,7 @@ Any one of the peers will do and we can deploy our services with the `aqua` cli ```text # deploy greeting service -aqua remote deploy \ +aqua remote deploy_service \ --addr /dns4/kras-03.fluence.dev/tcp/19001/wss/p2p/12D3KooWJd3HaMJ1rpLY1kQvcjRPEvnDwcXrH8mJvk7ypcZXqXGE \ --config-path configs/echo_greeter_deploy_cfg.json \ --service echo-greeter @@ -139,7 +139,7 @@ and ```text # deploy echo service -aqua remote deploy \ +aqua remote deploy_service \ --addr /dns4/kras-03.fluence.dev/tcp/19001/wss/p2p/12D3KooWJd3HaMJ1rpLY1kQvcjRPEvnDwcXrH8mJvk7ypcZXqXGE \ --config-path configs/echo_greeter_deploy_cfg.json \ --service echo-service diff --git a/aqua-examples/near-integration/README.md b/aqua-examples/near-integration/README.md index 187d739..3d3ab70 100644 --- a/aqua-examples/near-integration/README.md +++ b/aqua-examples/near-integration/README.md @@ -355,7 +355,7 @@ func rpc_foo(network_id: string, block_ref:string, node_string, service_id: stri Before we can use our Fluence NEAR adapter, we need to deploy our Wasm modules to one or more host peers. We can do that with [Aqua CLI](https://doc.fluence.dev/aqua-book/aqua-cli): ```bash -aqua remote deploy \ +aqua remote deploy_service \ --addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \ --config-path configs/near_deploy_cfg.json \ --service near-adapter diff --git a/aqua-examples/price-oracle/README.md b/aqua-examples/price-oracle/README.md index 1db8851..fd03086 100644 --- a/aqua-examples/price-oracle/README.md +++ b/aqua-examples/price-oracle/README.md @@ -163,7 +163,7 @@ aqua config default_peers Pick any of the peer ids from the listed peers to deploy your services. Let's say we use peer id `12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi`: ```bash -aqua remote deploy \ +aqua remote deploy_service \ --addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \ --config-path configs/ts_oracle_deploy_cfg.json \ --service price-getter @@ -191,7 +191,7 @@ Your peerId: 12D3KooWBK198aAioxPsiBDXBkkXkaQfkqCkLxTN3oZXVTN4B2em and to deploy the mean service: ```bash -aqua remote deploy \ +aqua remote deploy_service \ --addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \ --config-path configs/ts_oracle_deploy_cfg.json \ --service mean-service diff --git a/aqua-examples/ts-oracle/Readme.md b/aqua-examples/ts-oracle/Readme.md index ca6027d..1877dbc 100644 --- a/aqua-examples/ts-oracle/Readme.md +++ b/aqua-examples/ts-oracle/Readme.md @@ -56,7 +56,7 @@ cargo +nightly test --release and deploy the service to a peer of your choice with the `aqua` cli tool: ```bash -aqua remote deploy \ +aqua remote deploy_service \ --addr /dns4/kras-06.fluence.dev/tcp/19001/wss/p2p/12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr \ --config-path configs/ts_oracle_deploy_cfg.json \ --service ts-oracle diff --git a/marine-examples/README.md b/marine-examples/README.md index 67b430c..4396c3b 100644 --- a/marine-examples/README.md +++ b/marine-examples/README.md @@ -744,12 +744,12 @@ In each of the examples we created modules and services configurations and teste Before we begin, you need to have the `aqua` tool installed. See the [Tools documentation](https://doc.fluence.dev/docs/knowledge_tools) for more information. -We use the `aqua remote deploy` command to do our bidding: +We use the `aqua remote deploy_service` command to do our bidding: ```zsh -aqua remote deploy --help +aqua remote deploy_service --help -Usage: aqua remote deploy [--timeout ] [--log-level ] --addr [--on ] [--print-air] [--sk ] --config-path --service +Usage: aqua remote deploy_service [--timeout ] [--log-level ] --addr [--on ] [--print-air] [--sk ] --config-path --service Deploy a service onto a remote peer @@ -779,13 +779,13 @@ Aside from our modules and configuration, we also want to supply the peer id of To create our greeting service on peer `12D3KooWKnEqMfYo9zvfHmqTLpLdiHXPe4SVqUWcWHDJdFGrSmcA`: ```zsh -aqua remote deploy \ +aqua remote deploy_service \ --addr /dns4/kras-01.fluence.dev/tcp/19001/wss/p2p/12D3KooWKnEqMfYo9zvfHmqTLpLdiHXPe4SVqUWcWHDJdFGrSmcA --config-path configs/greeting_deploy_cfg.json \ --service my-greeting-service ``` -To recap the `aqua remote deploy` command: We specify the +To recap the `aqua remote deploy_service` command: We specify the 1. Peer id with the `addr` flag 2. Config file location with the `data-path` flag diff --git a/marine-examples/call_parameters/deploy.sh b/marine-examples/call_parameters/deploy.sh index 6d0ef30..2b264c5 100755 --- a/marine-examples/call_parameters/deploy.sh +++ b/marine-examples/call_parameters/deploy.sh @@ -16,5 +16,5 @@ test -f "$WASM" || echo >&2 "Couldn't find $WASM" # create a service from that .wasm CONFIG="config.json" -SERVICE_ID=$(aqua remote deploy --sk qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqo= --config-path config.json --service call_parameters --addr "$NODE" | tail -n 1 | tr -d \") +SERVICE_ID=$(aqua remote deploy_service --sk qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqo= --config-path config.json --service call_parameters --addr "$NODE" | tail -n 1 | tr -d \") echo $SERVICE_ID diff --git a/marine-examples/url-downloader/README.md b/marine-examples/url-downloader/README.md index 48995b3..9dc96f1 100644 --- a/marine-examples/url-downloader/README.md +++ b/marine-examples/url-downloader/README.md @@ -13,5 +13,6 @@ Example that shows how to work with disk access and how to link several Wasm mod ```shell aqua run \ --addr /dns4/kras-06.fluence.dev/tcp/19001/wss/p2p/12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr \ - -i download_url.aqua -f'download("https://fluence.network/img/svg/logo_new.svg", "logo.svg", "12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr", "e693d1c3-3fbc-4ccd-8eae-1ba9c767e2f5")' + -i download_url.aqua \ + -f'download("https://fluence.network/img/svg/logo_new.svg", "logo.svg", "12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr", "e693d1c3-3fbc-4ccd-8eae-1ba9c767e2f5")' ``` diff --git a/marine-examples/url-downloader/deploy.sh b/marine-examples/url-downloader/deploy.sh index 10fd5b1..b09bd70 100755 --- a/marine-examples/url-downloader/deploy.sh +++ b/marine-examples/url-downloader/deploy.sh @@ -6,8 +6,8 @@ set -o errexit -o nounset -o pipefail ( cd artifacts - fldist new_service --name "url_downloader" --modules \ - curl_adapter.wasm:curl_adapter.json \ - local_storage.wasm:local_storage.json \ - facade.wasm:facade.json + aqua remote deploy_service_service \ + --addr /dns4/kras-05.fluence.dev/tcp/19001/wss/p2p/12D3KooWCMr9mU894i8JXAFqpgoFtx6qnV1LFPSfVc3Y34N4h4LS \ + --data-path deployment_cfg.json \ + --service url-downloader ) diff --git a/marine-examples/url-downloader/deployment_data.txt b/marine-examples/url-downloader/deployment_data.txt index 3aad838..77ef84a 100644 --- a/marine-examples/url-downloader/deployment_data.txt +++ b/marine-examples/url-downloader/deployment_data.txt @@ -1,4 +1,4 @@ - aqua remote deploy \ + aqua remote deploy_service \ --addr /dns4/kras-06.fluence.dev/tcp/19001/wss/p2p/12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr \ --config-path deployment_cfg.json \ --service url-downloader diff --git a/quickstart/5-oracle-service/scripts/deploy.sh b/quickstart/5-oracle-service/scripts/deploy.sh index 1462d43..a530fbd 100755 --- a/quickstart/5-oracle-service/scripts/deploy.sh +++ b/quickstart/5-oracle-service/scripts/deploy.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -o errexit -o nounset -o pipefail -aqua remote deploy \ +aqua remote deploy_service \ --addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \ --config-path configs/ts_oracle_deploy_cfg.json \ --service ts-oracle \