diff --git a/aqua-examples/aqua-ceramic-integration/README.md b/aqua-examples/aqua-ceramic-integration/README.md index f7dd2a5..59bdfc5 100644 --- a/aqua-examples/aqua-ceramic-integration/README.md +++ b/aqua-examples/aqua-ceramic-integration/README.md @@ -240,7 +240,7 @@ Looks like our services are working and ready for deployment to the `stage` netw ```bash aqua remote deploy_service \ --addr /dns4/stage.fluence.dev/tcp/19004/wss/p2p/12D3KooWJ4bTHirdTFNZpCS72TAzwtdmavTBkkEXtzo6wHL25CtE \ - --data-path configs/ceramic_adapter_deploy_cfg.json \ + --config-path configs/ceramic_adapter_deploy_cfg.json \ --service ceramic-service ``` diff --git a/aqua-examples/aqua-ipfs-integration/web/src/appLogic.ts b/aqua-examples/aqua-ipfs-integration/web/src/appLogic.ts index b58d214..3d17583 100644 --- a/aqua-examples/aqua-ipfs-integration/web/src/appLogic.ts +++ b/aqua-examples/aqua-ipfs-integration/web/src/appLogic.ts @@ -126,7 +126,7 @@ export const useRemoveService = () => { if (!isConnected || serviceId === null) { return; } - + await remove_service(relay!, serviceId, { ttl: 10000, }); diff --git a/aqua-examples/echo-greeter/Readme.md b/aqua-examples/echo-greeter/Readme.md index d8f7d90..66fef21 100644 --- a/aqua-examples/echo-greeter/Readme.md +++ b/aqua-examples/echo-greeter/Readme.md @@ -116,7 +116,7 @@ Any one of the peers will do and we can deploy our services with the `aqua` cli # deploy greeting service aqua remote deploy_service \ --addr /dns4/kras-03.fluence.dev/tcp/19001/wss/p2p/12D3KooWJd3HaMJ1rpLY1kQvcjRPEvnDwcXrH8mJvk7ypcZXqXGE \ - --data-path configs/echo_greeter_deploy_cfg.json \ + --config-path configs/echo_greeter_deploy_cfg.json \ --service echo-greeter ``` @@ -141,7 +141,7 @@ and # deploy echo service aqua remote deploy_service \ --addr /dns4/kras-03.fluence.dev/tcp/19001/wss/p2p/12D3KooWJd3HaMJ1rpLY1kQvcjRPEvnDwcXrH8mJvk7ypcZXqXGE \ - --data-path configs/echo_greeter_deploy_cfg.json \ + --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 f99ccf8..3d3ab70 100644 --- a/aqua-examples/near-integration/README.md +++ b/aqua-examples/near-integration/README.md @@ -357,7 +357,7 @@ Before we can use our Fluence NEAR adapter, we need to deploy our Wasm modules t ```bash aqua remote deploy_service \ --addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \ - --data-path configs/near_deploy_cfg.json \ + --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 9c8671f..fd03086 100644 --- a/aqua-examples/price-oracle/README.md +++ b/aqua-examples/price-oracle/README.md @@ -165,7 +165,7 @@ Pick any of the peer ids from the listed peers to deploy your services. Let's sa ```bash aqua remote deploy_service \ --addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \ - --data-path configs/ts_oracle_deploy_cfg.json \ + --config-path configs/ts_oracle_deploy_cfg.json \ --service price-getter ``` @@ -193,7 +193,7 @@ and to deploy the mean service: ```bash aqua remote deploy_service \ --addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \ - --data-path configs/ts_oracle_deploy_cfg.json \ + --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 593e0ca..5b37ba1 100644 --- a/aqua-examples/ts-oracle/Readme.md +++ b/aqua-examples/ts-oracle/Readme.md @@ -58,7 +58,7 @@ and deploy the service to a peer of your choice with the `aqua` cli tool: ```bash aqua remote deploy_service \ --addr krasnodar-06 \ - --data-path configs/ts_oracle_deploy_cfg.json \ + --config-path configs/ts_oracle_deploy_cfg.json \ --service ts-oracle \ --sk ``` diff --git a/aqua-examples/ts-oracle/configs/ts_oracle_deploy_cfg.json b/aqua-examples/ts-oracle/configs/ts_oracle_deploy_cfg.json index 4cada24..0bb68d3 100644 --- a/aqua-examples/ts-oracle/configs/ts_oracle_deploy_cfg.json +++ b/aqua-examples/ts-oracle/configs/ts_oracle_deploy_cfg.json @@ -1,6 +1,5 @@ { "ts-oracle": { - "name": "ts-oracle", "modules": [ { "name": "ts_oracle", diff --git a/marine-examples/README.md b/marine-examples/README.md index da5f541..5366048 100644 --- a/marine-examples/README.md +++ b/marine-examples/README.md @@ -749,7 +749,7 @@ We use the `aqua remote deploy_service` command to do our bidding: ```zsh aqua remote deploy_service --help -Usage: aqua remote deploy_service [--timeout ] [--log-level ] --addr [--on ] [--print-air] [--sk ] --data-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 @@ -768,7 +768,7 @@ Options and flags: Prints generated AIR code before function execution --sk , -s Ed25519 32-byte secret key in base64 - --data-path , -p + --config-path , -p Path to file with arguments map in JSON format --service , -s What service from the config file to deploy @@ -781,14 +781,14 @@ To create our greeting service on peer `12D3KooWKnEqMfYo9zvfHmqTLpLdiHXPe4SVqUWc ```zsh aqua remote deploy_service \ --addr /dns4/kras-01.fluence.dev/tcp/19001/wss/p2p/12D3KooWKnEqMfYo9zvfHmqTLpLdiHXPe4SVqUWcWHDJdFGrSmcA - --data-path configs/greeting_deploy_cfg.json \ + --config-path configs/greeting_deploy_cfg.json \ --service my-greeting-service ``` 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 +2. Config file location with the `config-path` flag 3. Service name with the `service` flag Which results in a success message and more importantly, the unique id for the deployed service: diff --git a/marine-examples/url-downloader/deploy.sh b/marine-examples/url-downloader/deploy.sh index 56a3ca2..020db98 100755 --- a/marine-examples/url-downloader/deploy.sh +++ b/marine-examples/url-downloader/deploy.sh @@ -8,6 +8,6 @@ set -o errexit -o nounset -o pipefail aqua remote deploy_service \ --addr /dns4/kras-05.fluence.dev/tcp/19001/wss/p2p/12D3KooWCMr9mU894i8JXAFqpgoFtx6qnV1LFPSfVc3Y34N4h4LS \ - --data-path deployment_cfg.json \ + --config-path deployment_cfg.json \ --service url-downloader ) diff --git a/marine-examples/url-downloader/deploy_separate.sh b/marine-examples/url-downloader/deploy_separate.sh index 025c11a..99caf57 100755 --- a/marine-examples/url-downloader/deploy_separate.sh +++ b/marine-examples/url-downloader/deploy_separate.sh @@ -7,7 +7,7 @@ echo "Deploying storage" ( aqua remote deploy_service \ --addr /dns4/kras-05.fluence.dev/tcp/19001/wss/p2p/12D3KooWCMr9mU894i8JXAFqpgoFtx6qnV1LFPSfVc3Y34N4h4LS \ - --data-path deployment_cfg.json \ + --config-path deployment_cfg.json \ --service local-storage ) @@ -15,6 +15,6 @@ echo "\n\nDeploying curl" ( aqua remote deploy_service \ --addr /dns4/kras-05.fluence.dev/tcp/19001/wss/p2p/12D3KooWCMr9mU894i8JXAFqpgoFtx6qnV1LFPSfVc3Y34N4h4LS \ - --data-path deployment_cfg.json \ + --config-path deployment_cfg.json \ --service curl-adapter ) diff --git a/marine-examples/url-downloader/deployment_data.txt b/marine-examples/url-downloader/deployment_data.txt index 39de797..77ef84a 100644 --- a/marine-examples/url-downloader/deployment_data.txt +++ b/marine-examples/url-downloader/deployment_data.txt @@ -1,6 +1,6 @@ aqua remote deploy_service \ --addr /dns4/kras-06.fluence.dev/tcp/19001/wss/p2p/12D3KooWDUszU2NeWyUVjCXhGEt1MoZrhvdmaQQwtZUriuGN1jTr \ - --data-path deployment_cfg.json \ + --config-path deployment_cfg.json \ --service url-downloader Your peerId: 12D3KooWRPELv7DNPJvd7uG79etrvzN7VUaQGUt58qBWu4c58UHb diff --git a/quickstart/5-oracle-service/scripts/deploy.sh b/quickstart/5-oracle-service/scripts/deploy.sh index e3e7858..a530fbd 100755 --- a/quickstart/5-oracle-service/scripts/deploy.sh +++ b/quickstart/5-oracle-service/scripts/deploy.sh @@ -2,7 +2,7 @@ aqua remote deploy_service \ --addr /dns4/kras-04.fluence.dev/tcp/19001/wss/p2p/12D3KooWFEwNWcHqi9rtsmDhsYcDbRUCDXH84RC4FW6UfsFWaoHi \ - --data-path configs/ts_oracle_deploy_cfg.json \ + --config-path configs/ts_oracle_deploy_cfg.json \ --service ts-oracle \ >>\ deployed_service.data \ No newline at end of file