From b609917cb3711331a02465c43d07a901e0b6f7d6 Mon Sep 17 00:00:00 2001 From: Brooks Townsend Date: Thu, 7 Sep 2023 15:58:58 -0700 Subject: [PATCH] fix(a2a): fix wadm for pingerponger Signed-off-by: Brooks Townsend --- actor/actor-to-actor/README.md | 3 --- actor/actor-to-actor/wadm.yaml | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/actor/actor-to-actor/README.md b/actor/actor-to-actor/README.md index fb0f12ae..1ed120bf 100644 --- a/actor/actor-to-actor/README.md +++ b/actor/actor-to-actor/README.md @@ -14,9 +14,6 @@ You'll need [wash](https://wasmcloud.com/docs/installation) installed to run thi wash up -d wash app deploy ./wadm.yaml -# Invoke the pinger actor's HTTP handler directly -wash call MBN2KUUZP4Y2F7IRXEPLV232YCZFKGSWYIQ3DNPDIERBE4BHPMUC5BUX HttpServer.HandleRequest '{"method": "GET", "path": "/", "body": "", "queryString":"","header":{}}' - # cURL the pinger's HTTP handler curl localhost:8080 ``` diff --git a/actor/actor-to-actor/wadm.yaml b/actor/actor-to-actor/wadm.yaml index 2bcf5fba..4a889e13 100644 --- a/actor/actor-to-actor/wadm.yaml +++ b/actor/actor-to-actor/wadm.yaml @@ -17,7 +17,9 @@ spec: replicas: 1 - type: linkdef properties: - address: 0.0.0.0:8080 + target: httpserver + values: + address: 0.0.0.0:8080 - name: ponger type: actor properties: