apigear-io / cli

The ApiGear client as go project
https://apigear.io
MIT License
1 stars 2 forks source link

adjust simu for olink needs #32

Closed jryannel closed 1 year ago

jryannel commented 1 year ago

You can check it using the cli from objectlink-core-go repo.

An adjusted example is in the cli repo: data/simu/demo.scenario.yaml (e.g. $signal: { shutdown: [1] }) best to start the cli and run the scenario

$cli> go run cmd/apigear/main.go s r ./data/simu/demo.scenario.yaml

And to validate the link connection you can check it using the interactive cli from objectlink-core-go repo.

$objectlink-core-go> go run cmd/olink/main.go
> connect ws://127.0.0.1:4333/ws
> link demo.Counter
> invoke demo.Counter/increment

You should see the invoke and the triggered signals.