Permalink
Browse files

start here

  • Loading branch information...
0 parents commit 3654b6b0350e677453ab8823414369fba0ddca1f Randall Bohn (Huckle) committed Feb 10, 2012
Showing with 33 additions and 0 deletions.
  1. 0 readme.md
  2. +33 −0 ruleset.krl
No changes.
@@ -0,0 +1,33 @@
+ruleset a421x110 {
+ meta {
+ name "Starting Sky"
+ description <<
+ Getting started with the Kynetx Sky API
+ >>
+ author "Randall Bohn"
+ logging on
+ }
+
+ dispatch {
+ // domain "exampley.com"
+ }
+
+ global {
+
+ }
+
+ rule zero {
+ select when alien detected
+ if (event:attr('race') eq 'Klingon') then {
+ send_directive("shields up");
+ }
+ }
+
+ rule one {
+ select when alien detected
+ if (event:attr('race') eq 'Wookie') then {
+ send_directive("let the wookie win");
+ }
+ }
+}
+

0 comments on commit 3654b6b

Please sign in to comment.