You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by sv...@apache.org on 2015/10/21 12:12:22 UTC

[1/2] incubator-brooklyn git commit: shortened sensor period in netcat with client yaml example

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 <jo...@johnmccabe.net>
Authored: Wed Oct 21 10:39:58 2015 +0100
Committer: John McCabe <jo...@johnmccabe.net>
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


[2/2] incubator-brooklyn git commit: This closes #978

Posted by sv...@apache.org.
This closes #978

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/ee29db53
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/ee29db53
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/ee29db53

Branch: refs/heads/master
Commit: ee29db53064f639871c5bb42ea4b2296ea5c033e
Parents: 1a450ef 5f92ed9
Author: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Authored: Wed Oct 21 13:12:14 2015 +0300
Committer: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Committed: Wed Oct 21 13:12:14 2015 +0300

----------------------------------------------------------------------
 docs/guide/yaml/custom-entities.md                             | 1 +
 docs/guide/yaml/example_yaml/vanilla-bash-netcat-w-client.yaml | 2 ++
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------