You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by sb...@apache.org on 2016/06/01 17:41:11 UTC

[22/32] incubator-streams git commit: refactoring, testing, documentation, CLI modes

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/request.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/request.json b/streams-util/src/test/resources/activities/request.json
new file mode 100644
index 0000000..3e7c285
--- /dev/null
+++ b/streams-util/src/test/resources/activities/request.json
@@ -0,0 +1,23 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "request",
+  "object": {
+    "objectType": "task",
+    "actor": {
+      "objectType": "person",
+      "displayName": "Mark"
+    },
+    "verb": "join",
+    "object": {
+      "objectType": "event",
+      "displayName": "The Big Meeting"
+    }
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/resolve.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/resolve.json b/streams-util/src/test/resources/activities/resolve.json
new file mode 100644
index 0000000..14998cf
--- /dev/null
+++ b/streams-util/src/test/resources/activities/resolve.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "resolve",
+  "object": {
+    "objectType": "issue",
+    "displayName": "Issue #126"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/retract.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/retract.json b/streams-util/src/test/resources/activities/retract.json
new file mode 100644
index 0000000..9229868
--- /dev/null
+++ b/streams-util/src/test/resources/activities/retract.json
@@ -0,0 +1,26 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "retract",
+  "object": {
+    "actor": {
+      "objectType": "person",
+      "displayName": "Mark"
+    },
+    "verb": "return",
+    "object": {
+      "objectType": "book",
+      "displayName": "Cloud Atlas"
+    },
+    "target": {
+      "objectType": "person",
+      "displayName": "Laura"
+    }
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/return.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/return.json b/streams-util/src/test/resources/activities/return.json
new file mode 100644
index 0000000..d6b8861
--- /dev/null
+++ b/streams-util/src/test/resources/activities/return.json
@@ -0,0 +1,19 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "return",
+  "object": {
+    "objectType": "book",
+    "displayName": "Cloud Atlas"
+  },
+  "target": {
+    "objectType": "person",
+    "displayName": "Laura"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/rsvp-maybe.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/rsvp-maybe.json b/streams-util/src/test/resources/activities/rsvp-maybe.json
new file mode 100644
index 0000000..b1ec1b5
--- /dev/null
+++ b/streams-util/src/test/resources/activities/rsvp-maybe.json
@@ -0,0 +1,16 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "rsvp-maybe",
+  "object": {
+    "objectType": "event",
+    "displayName": "The Big Meeting"
+  },
+  "title": "Laura might attend The Big Meeting"
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/rsvp-no.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/rsvp-no.json b/streams-util/src/test/resources/activities/rsvp-no.json
new file mode 100644
index 0000000..532b096
--- /dev/null
+++ b/streams-util/src/test/resources/activities/rsvp-no.json
@@ -0,0 +1,16 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "rsvp-no",
+  "object": {
+    "objectType": "event",
+    "displayName": "The Big Meeting"
+  },
+  "title": "Mark will not attend the Big Meeting"
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/rsvp-yes.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/rsvp-yes.json b/streams-util/src/test/resources/activities/rsvp-yes.json
new file mode 100644
index 0000000..170a5c4
--- /dev/null
+++ b/streams-util/src/test/resources/activities/rsvp-yes.json
@@ -0,0 +1,16 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "rsvp-yes",
+  "object": {
+    "objectType": "event",
+    "displayName": "The Big Meeting"
+  },
+  "title": "Laura will attend the Big Meeting"
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/satisfy.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/satisfy.json b/streams-util/src/test/resources/activities/satisfy.json
new file mode 100644
index 0000000..16151fa
--- /dev/null
+++ b/streams-util/src/test/resources/activities/satisfy.json
@@ -0,0 +1,21 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "satisfy",
+  "object": {
+    "objectType": "http://example.org/condition",
+    "displayName": "Some Condition"
+  },
+  "target": {
+    "objectType": "http://example.org/parole",
+    "displayName": "Terms of Parole"
+  },
+  "title": "Mark has satisfied a condition of his parole."
+}
+      

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/save.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/save.json b/streams-util/src/test/resources/activities/save.json
new file mode 100644
index 0000000..70c0f5f
--- /dev/null
+++ b/streams-util/src/test/resources/activities/save.json
@@ -0,0 +1,20 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "save",
+  "object": {
+    "objectType": "note",
+    "displayName": "A note about something important"
+  },
+  "target": {
+    "objectType": "collection",
+    "displayName": "Laura's Reading List"
+  },
+  "title": "Laura saved the note to her reading list"
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/schedule.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/schedule.json b/streams-util/src/test/resources/activities/schedule.json
new file mode 100644
index 0000000..f214290
--- /dev/null
+++ b/streams-util/src/test/resources/activities/schedule.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "schedule",
+  "object": {
+    "objectType": "event",
+    "displayName": "The Big Meeting"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/search.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/search.json b/streams-util/src/test/resources/activities/search.json
new file mode 100644
index 0000000..511b612
--- /dev/null
+++ b/streams-util/src/test/resources/activities/search.json
@@ -0,0 +1,21 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "search",
+  "object": {
+    "objectType": "place",
+    "displayName": "Big Hotel",
+    "address": {
+      "locality": "New York",
+      "region": "NY"
+    }
+  },
+  "title": "Laura searched for a hotel in New York City, NY"
+}
+      

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/sell.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/sell.json b/streams-util/src/test/resources/activities/sell.json
new file mode 100644
index 0000000..ab07fb0
--- /dev/null
+++ b/streams-util/src/test/resources/activities/sell.json
@@ -0,0 +1,19 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "sell",
+  "object": {
+    "objectType": "product",
+    "displayName": "A cool product"
+  },
+  "target": {
+    "objectType": "person",
+    "displayName": "Laura"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/send.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/send.json b/streams-util/src/test/resources/activities/send.json
new file mode 100644
index 0000000..b392ce8
--- /dev/null
+++ b/streams-util/src/test/resources/activities/send.json
@@ -0,0 +1,19 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "send",
+  "object": {
+    "objectType": "note",
+    "content": "Thank you for the cool product."
+  },
+  "target": {
+    "objectType": "person",
+    "displayName": "Mark"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/share.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/share.json b/streams-util/src/test/resources/activities/share.json
new file mode 100644
index 0000000..dc7b9f1
--- /dev/null
+++ b/streams-util/src/test/resources/activities/share.json
@@ -0,0 +1,16 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "share",
+  "object": {
+    "objectType": "note",
+    "displayName": "An important note"
+  },
+  "title": "Mark shared an important note."
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/sponsor.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/sponsor.json b/streams-util/src/test/resources/activities/sponsor.json
new file mode 100644
index 0000000..156c322
--- /dev/null
+++ b/streams-util/src/test/resources/activities/sponsor.json
@@ -0,0 +1,17 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "organization",
+    "displayName": "Acme, Co"
+  },
+  "verb": "sponsor",
+  "object": {
+    "objectType": "game",
+    "displayName": "World Series"
+  },
+  "title": "Acme, Co sponsored the World Series"
+}
+      

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/start.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/start.json b/streams-util/src/test/resources/activities/start.json
new file mode 100644
index 0000000..b9aede2
--- /dev/null
+++ b/streams-util/src/test/resources/activities/start.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "start",
+  "object": {
+    "objectType": "process",
+    "displayName": "A Long Running Process"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/stop-following.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/stop-following.json b/streams-util/src/test/resources/activities/stop-following.json
new file mode 100644
index 0000000..04b83e7
--- /dev/null
+++ b/streams-util/src/test/resources/activities/stop-following.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "stop-following",
+  "object": {
+    "objectType": "person",
+    "displayName": "Mark"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/submit.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/submit.json b/streams-util/src/test/resources/activities/submit.json
new file mode 100644
index 0000000..0fd3c34
--- /dev/null
+++ b/streams-util/src/test/resources/activities/submit.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "submit",
+  "object": {
+    "objectType": "issue",
+    "displayName": "Issue #127"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/tag.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/tag.json b/streams-util/src/test/resources/activities/tag.json
new file mode 100644
index 0000000..dba6112
--- /dev/null
+++ b/streams-util/src/test/resources/activities/tag.json
@@ -0,0 +1,19 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "tag",
+  "object": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "target": {
+    "objectType": "image",
+    "displayName": "Pictures of my cats"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/terminate.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/terminate.json b/streams-util/src/test/resources/activities/terminate.json
new file mode 100644
index 0000000..f4d886e
--- /dev/null
+++ b/streams-util/src/test/resources/activities/terminate.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "terminate",
+  "object": {
+    "objectType": "process",
+    "displayName": "A long running process"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/tie.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/tie.json b/streams-util/src/test/resources/activities/tie.json
new file mode 100644
index 0000000..71a3c39
--- /dev/null
+++ b/streams-util/src/test/resources/activities/tie.json
@@ -0,0 +1,24 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "collection",
+    "items": [
+      {
+        "objectType": "organization",
+        "displayName": "New York Giants"
+      },
+      {
+        "objectType": "organization",
+        "displayName": "Oakland Raiders"
+      }
+    ]
+  },
+  "verb": "tie",
+  "object": {
+    "objectType": "game",
+    "displayName": "Super Bowl"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/unfavorite.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/unfavorite.json b/streams-util/src/test/resources/activities/unfavorite.json
new file mode 100644
index 0000000..b1e7bcd
--- /dev/null
+++ b/streams-util/src/test/resources/activities/unfavorite.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "unfavorite",
+  "object": {
+    "objectType": "article",
+    "displayName": "Some article"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/unlike.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/unlike.json b/streams-util/src/test/resources/activities/unlike.json
new file mode 100644
index 0000000..9bc583f
--- /dev/null
+++ b/streams-util/src/test/resources/activities/unlike.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "unlike",
+  "object": {
+    "objectType": "article",
+    "displayName": "Some article"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/unsatisfy.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/unsatisfy.json b/streams-util/src/test/resources/activities/unsatisfy.json
new file mode 100644
index 0000000..739823c
--- /dev/null
+++ b/streams-util/src/test/resources/activities/unsatisfy.json
@@ -0,0 +1,20 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "unsatisfy",
+  "object": {
+    "objectType": "http://example.org/condition",
+    "displayName": "Some Condition"
+  },
+  "target": {
+    "objectType": "http://example.org/parole",
+    "displayName": "Terms of Parole"
+  },
+  "title": "Mark has not satisfied a condition of his parole."
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/unsave.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/unsave.json b/streams-util/src/test/resources/activities/unsave.json
new file mode 100644
index 0000000..a9a21f0
--- /dev/null
+++ b/streams-util/src/test/resources/activities/unsave.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "unsave",
+  "object": {
+    "objectType": "article",
+    "displayName": "Some article"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/unshare.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/unshare.json b/streams-util/src/test/resources/activities/unshare.json
new file mode 100644
index 0000000..4d45a6d
--- /dev/null
+++ b/streams-util/src/test/resources/activities/unshare.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "unshare",
+  "object": {
+    "objectType": "article",
+    "displayName": "Some article"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/update.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/update.json b/streams-util/src/test/resources/activities/update.json
new file mode 100644
index 0000000..7dbed20
--- /dev/null
+++ b/streams-util/src/test/resources/activities/update.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "update",
+  "object": {
+    "objectType": "article",
+    "displayName": "Some article"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/use.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/use.json b/streams-util/src/test/resources/activities/use.json
new file mode 100644
index 0000000..699c4b8
--- /dev/null
+++ b/streams-util/src/test/resources/activities/use.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Laura"
+  },
+  "verb": "use",
+  "object": {
+    "objectType": "product",
+    "displayName": "A cool product"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/watch.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/watch.json b/streams-util/src/test/resources/activities/watch.json
new file mode 100644
index 0000000..2052f06
--- /dev/null
+++ b/streams-util/src/test/resources/activities/watch.json
@@ -0,0 +1,16 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "person",
+    "displayName": "Mark"
+  },
+  "verb": "watch",
+  "object": {
+    "objectType": "video",
+    "displayName": "Some random movie"
+  }
+}
+      

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/activities/win.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/activities/win.json b/streams-util/src/test/resources/activities/win.json
new file mode 100644
index 0000000..2cf9d5a
--- /dev/null
+++ b/streams-util/src/test/resources/activities/win.json
@@ -0,0 +1,15 @@
+{
+  "$license": [
+    "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
+    "http://www.apache.org/licenses/LICENSE-2.0"
+  ],
+  "actor": {
+    "objectType": "organization",
+    "displayName": "Arizona Diamond Backs"
+  },
+  "verb": "win",
+  "object": {
+    "objectType": "game",
+    "displayName": "World Series"
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/media_link.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/media_link.json b/streams-util/src/test/resources/media_link.json
new file mode 100644
index 0000000..0bed6f0
--- /dev/null
+++ b/streams-util/src/test/resources/media_link.json
@@ -0,0 +1,7 @@
+{
+    "$schema": "http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/media_link.json#",
+    "duration": 30000,
+    "height": 480,
+    "width": 640,
+    "url": "http://youtube.com/s7hc30sb"
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/objects/event.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/objects/event.json b/streams-util/src/test/resources/objects/event.json
new file mode 100644
index 0000000..ae1108e
--- /dev/null
+++ b/streams-util/src/test/resources/objects/event.json
@@ -0,0 +1,18 @@
+{
+    "objectType": "event",
+    "displayName": "Meeting with Joe",
+    "startTime": "2012-12-12T12:00:00Z",
+    "endTime: "2012-12-12T13:00:00Z",
+    "invited": {
+      "items": [
+        {"objectType": "person",
+         "displayName": "Joe"}
+      ]
+    },
+    "attending": {
+      "items": [
+        {"objectType": "person",
+         "displayName": "Joe"}
+      ]
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/objects/group.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/objects/group.json b/streams-util/src/test/resources/objects/group.json
new file mode 100644
index 0000000..9721874
--- /dev/null
+++ b/streams-util/src/test/resources/objects/group.json
@@ -0,0 +1,16 @@
+{
+  "objectType": "group",
+  "displayName": "My Work Group",
+  "members": {
+	"items": [
+	  {
+		"objectType": "person",
+		"displayName": "Laura"
+	  },
+	  {
+		"objectType": "person",
+		"displayName": "Mark"
+	  }
+	]
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/objects/issue.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/objects/issue.json b/streams-util/src/test/resources/objects/issue.json
new file mode 100644
index 0000000..86bc6d2
--- /dev/null
+++ b/streams-util/src/test/resources/objects/issue.json
@@ -0,0 +1,9 @@
+{
+   "objectType": "issue",
+   "displayName": "Terms of Use Violation",
+   "url": "http://.../terms-of-use",
+   "types": [
+	 "http://example.org/codes/inappropriateMaterial",
+	 "http://example.org/codes/copyrightViolation"
+   ]
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/objects/note.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/objects/note.json b/streams-util/src/test/resources/objects/note.json
new file mode 100644
index 0000000..15a4495
--- /dev/null
+++ b/streams-util/src/test/resources/objects/note.json
@@ -0,0 +1,12 @@
+{
+  "objectType": "note",
+  "displayName": "A note with a binary attachment",
+  "attachments": [
+	{
+	  "objectType": "binary",
+	  "data": "dGhpcyBpcyB1bmNvbXByZXNzZWQgZGF0YQo=",
+	  "md5": "827ae7e1ab45e4dd591d087c741e5770",
+	  "length": 25
+	}
+  ]
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/objects/permission.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/objects/permission.json b/streams-util/src/test/resources/objects/permission.json
new file mode 100644
index 0000000..24b6fa2
--- /dev/null
+++ b/streams-util/src/test/resources/objects/permission.json
@@ -0,0 +1,9 @@
+{
+    "objectType": "permission",
+    "displayName": "Permission to Edit File: 2Q2014 Sales Forecast.xls",
+    "scope": {
+      "objectType": "file",
+      "displayName": "2Q2014 Sales Forecast.xls"
+    },
+    "actions": ["modify", "delete", "create"]
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/objects/place.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/objects/place.json b/streams-util/src/test/resources/objects/place.json
new file mode 100644
index 0000000..8e454be
--- /dev/null
+++ b/streams-util/src/test/resources/objects/place.json
@@ -0,0 +1,9 @@
+{
+  "objectType": "place",
+  "displayName": "Some Random Location on Earth",
+  "position": {
+	"latitude": 34.34,
+	"longitude": -127.23,
+	"altitude": 100.05
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/objects/task.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/objects/task.json b/streams-util/src/test/resources/objects/task.json
new file mode 100644
index 0000000..f4878dc
--- /dev/null
+++ b/streams-util/src/test/resources/objects/task.json
@@ -0,0 +1,16 @@
+{
+    "objectType": "task",
+    "displayName": "James needs to read the spec",
+    "by": "2012-12-12T12:12:12Z",
+    "verb": "read",
+    "actor": {
+      "objectType": "person",
+      "displayName": "James"
+    },
+    "object": {
+      "objectType": "file",
+      "displayName": "A specification",
+      "url": "http://example.org/spec.html"
+    },
+    "required": true
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-util/src/test/resources/objects/video.json
----------------------------------------------------------------------
diff --git a/streams-util/src/test/resources/objects/video.json b/streams-util/src/test/resources/objects/video.json
new file mode 100644
index 0000000..bc19e89
--- /dev/null
+++ b/streams-util/src/test/resources/objects/video.json
@@ -0,0 +1,8 @@
+{
+    "objectType": "video",
+    "displayName": "Cute little kittens",
+    "embedCode": "<video width="320" height="240" controls="controls">...</video>",
+    "stream": {
+      "url": "http://example.org/my_video.mpg"
+    }
+}

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/6187265f/streams-verbs/pom.xml
----------------------------------------------------------------------
diff --git a/streams-verbs/pom.xml b/streams-verbs/pom.xml
index 38a50aa..e751c59 100644
--- a/streams-verbs/pom.xml
+++ b/streams-verbs/pom.xml
@@ -159,7 +159,7 @@
                     <addCompileSourceRoot>true</addCompileSourceRoot>
                     <generateBuilders>true</generateBuilders>
                     <sourcePaths>
-                        <sourcePath>src/main/jsonschema</sourcePath>
+                        <sourcePath>${project.basedir}/src/main/jsonschema</sourcePath>
                     </sourcePaths>
                     <outputDirectory>target/generated-sources/jsonschema2pojo</outputDirectory>
                     <targetPackage>org.apache.streams.verbs</targetPackage>