diff --git a/adapters/actor.sh b/adapters/actor.sh new file mode 100755 index 0000000..704c66f --- /dev/null +++ b/adapters/actor.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +echo "Bash actor called with $@" > /tmp/act +echo "Bash actor called with: $@" diff --git a/adapters/fail-actor.sh b/adapters/fail-actor.sh new file mode 100755 index 0000000..5630f1c --- /dev/null +++ b/adapters/fail-actor.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash + +echo "This is some error output" > /dev/stderr +exit 115 diff --git a/config/bffh/bffh.dhall b/config/bffh/bffh.dhall index ffc2c5a..bfb2864 100644 --- a/config/bffh/bffh.dhall +++ b/config/bffh/bffh.dhall @@ -55,7 +55,7 @@ } } , mqtt_url = "tcp://mqtt:1883" -, db_path = "/var/lib/bffh/" +, db_path = "/var/lib/bffh/db" , roles = { testrole = { permissions = [ "lab.test.*" ] } diff --git a/docker-compose.yaml b/docker-compose.yaml index 33cd740..de91db5 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -8,7 +8,7 @@ services: - "59661:59661" volumes: # generate a sample config.toml by running "docker run registry.gitlab.com/fabinfra/fabaccess/bffh:dev-latest --print-default > examples/config.toml" from the project root. You may have to delete the ipv6 listen section. - - "./config:/etc/bffh" + - "./config/bffh:/etc/bffh" - "./adapters:/usr/local/lib/bffh/adapters" links: - mqtt