Repository: incubator-brooklyn Updated Branches: refs/heads/master 1a450efa1 -> ee29db530
shortened sensor period in netcat with client yaml example Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/5f92ed9c Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/5f92ed9c Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/5f92ed9c Branch: refs/heads/master Commit: 5f92ed9c0593c7083bed5bad27de2f3fdd68aeff Parents: 9790e8b Author: John McCabe <[email protected]> Authored: Wed Oct 21 10:39:58 2015 +0100 Committer: John McCabe <[email protected]> Committed: Wed Oct 21 10:39:58 2015 +0100 ---------------------------------------------------------------------- docs/guide/yaml/custom-entities.md | 1 + docs/guide/yaml/example_yaml/vanilla-bash-netcat-w-client.yaml | 2 ++ 2 files changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/5f92ed9c/docs/guide/yaml/custom-entities.md ---------------------------------------------------------------------- diff --git a/docs/guide/yaml/custom-entities.md b/docs/guide/yaml/custom-entities.md index a2887a9..6f21c14 100644 --- a/docs/guide/yaml/custom-entities.md +++ b/docs/guide/yaml/custom-entities.md @@ -97,6 +97,7 @@ so that the `$message` we passed above gets logged and reported back: - type: org.apache.brooklyn.core.sensor.ssh.SshCommandSensor brooklyn.config: name: output.last + period: 1s command: tail -1 server-input This is still a simple example, but worth going through carefully. http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/5f92ed9c/docs/guide/yaml/example_yaml/vanilla-bash-netcat-w-client.yaml ---------------------------------------------------------------------- diff --git a/docs/guide/yaml/example_yaml/vanilla-bash-netcat-w-client.yaml b/docs/guide/yaml/example_yaml/vanilla-bash-netcat-w-client.yaml index d3eccbb..8290b79 100644 --- a/docs/guide/yaml/example_yaml/vanilla-bash-netcat-w-client.yaml +++ b/docs/guide/yaml/example_yaml/vanilla-bash-netcat-w-client.yaml @@ -32,11 +32,13 @@ services: - type: org.apache.brooklyn.core.sensor.ssh.SshCommandSensor brooklyn.config: name: output.last + period: 1s command: tail -1 server-input - type: org.apache.brooklyn.core.sensor.ssh.SshCommandSensor brooklyn.config: name: output.all + period: 1s command: cat server-input # a client to hit netcat
