http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/accept.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/accept.json b/streams-util/src/test/resources/activities/accept.json new file mode 100644 index 0000000..c1dfd5f --- /dev/null +++ b/streams-util/src/test/resources/activities/accept.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": "Sally" + }, + "verb": "accept", + "object": { + "objectType": "job", + "displayName": "Director of Marketing" + }, + "title": "Sally accepted the Director of Marketing job." +} \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/access.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/access.json b/streams-util/src/test/resources/activities/access.json new file mode 100644 index 0000000..93bc6e2 --- /dev/null +++ b/streams-util/src/test/resources/activities/access.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": "person", + "displayName": "Joe" + }, + "verb": "access", + "object": { + "objectType": "file", + "displayName": "4Q2012 Sales Forecast.xls" + }, + "published": "2012-12-12T12:12:12Z", + "title": "Joe accessed the file \"4Q2012 Sales Forecast.xls\"" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/acknowledge.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/acknowledge.json b/streams-util/src/test/resources/activities/acknowledge.json new file mode 100644 index 0000000..2b69fa7 --- /dev/null +++ b/streams-util/src/test/resources/activities/acknowledge.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": "Sally" + }, + "verb": "acknowledge", + "object": { + "objectType": "issue", + "displayName": "#123: There is a problem with the build" + }, + "content": "Sally acknowledged Issue #123" +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/add.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/add.json b/streams-util/src/test/resources/activities/add.json new file mode 100644 index 0000000..b4e8151 --- /dev/null +++ b/streams-util/src/test/resources/activities/add.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": "Joe" + }, + "verb": "add", + "object": { + "objectType": "image", + "displayName": "My cat", + "fullImage": {"url": "http://example.org/cat.jpg"} + }, + "target": { + "objectType": "collection", + "displayName": "Joe's Photo Album", + "objectTypes": ["image"] + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/agree.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/agree.json b/streams-util/src/test/resources/activities/agree.json new file mode 100644 index 0000000..3034cd8 --- /dev/null +++ b/streams-util/src/test/resources/activities/agree.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": "Sally" + }, + "verb": "agree", + "object": { + "objectType": "article", + "displayName": "Some Random Article Online" + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/append.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/append.json b/streams-util/src/test/resources/activities/append.json new file mode 100644 index 0000000..d8fb3be --- /dev/null +++ b/streams-util/src/test/resources/activities/append.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": "Joe" + }, + "verb": "append", + "object": {"content": "This is some text"}, + "target": { + "objectType": "file", + "displayName": "log.txt" + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/approve.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/approve.json b/streams-util/src/test/resources/activities/approve.json new file mode 100644 index 0000000..b6f378e --- /dev/null +++ b/streams-util/src/test/resources/activities/approve.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": "Sally" + }, + "verb": "approve", + "object": { + "objectType": "task", + "actor": {"displayName": "Joe"}, + "verb": "join", + "object": { + "objectType": "group", + "displayName": "Administrators" + } + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/archive.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/archive.json b/streams-util/src/test/resources/activities/archive.json new file mode 100644 index 0000000..557dcdf --- /dev/null +++ b/streams-util/src/test/resources/activities/archive.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": "Joe" + }, + "verb": "archive", + "object": { + "objectType": "file", + "displayName": "4Q2012 Sales Forecast.xls" + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/assign.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/assign.json b/streams-util/src/test/resources/activities/assign.json new file mode 100644 index 0000000..51b8a51 --- /dev/null +++ b/streams-util/src/test/resources/activities/assign.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": "Sally" + }, + "verb": "assign", + "object": { + "objectType": "issue", + "displayName": "Issue #123: Some Issue" + }, + "target": { + "objectType": "person", + "displayName": "Joe" + }, + "title": "Sally assigned Issue #123 to Joe" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/at.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/at.json b/streams-util/src/test/resources/activities/at.json new file mode 100644 index 0000000..64a77f9 --- /dev/null +++ b/streams-util/src/test/resources/activities/at.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": "Joe" + }, + "verb": "at", + "object": { + "objectType": "place", + "displayName": "Acme, Co." + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/attach.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/attach.json b/streams-util/src/test/resources/activities/attach.json new file mode 100644 index 0000000..716616b --- /dev/null +++ b/streams-util/src/test/resources/activities/attach.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": "Sally" + }, + "verb": "attach", + "object": { + "objectType": "binary", + "data": "dGhpcyBpcyB1bmNvbXByZXNzZWQgZGF0YQo=" + }, + "target": { + "objectType": "issue", + "displayName": "Issue #123" + }, + "title": "Sally added an attachment to Issue #123" +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/attend.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/attend.json b/streams-util/src/test/resources/activities/attend.json new file mode 100644 index 0000000..f8c0838 --- /dev/null +++ b/streams-util/src/test/resources/activities/attend.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": "Joe" + }, + "verb": "attend", + "object": { + "objectType": "event", + "displayName": "Sally's Meeting" + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/author.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/author.json b/streams-util/src/test/resources/activities/author.json new file mode 100644 index 0000000..1903700 --- /dev/null +++ b/streams-util/src/test/resources/activities/author.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": "Sally" + }, + "verb": "author", + "object": { + "objectType": "file", + "displayName": "4Q2012 Sales Forecast.xls" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/authorize.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/authorize.json b/streams-util/src/test/resources/activities/authorize.json new file mode 100644 index 0000000..2d9d1b3 --- /dev/null +++ b/streams-util/src/test/resources/activities/authorize.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": "Joe" + }, + "verb": "authorize", + "object": { + "objectType": "task", + "actor": { + "objectType": "person", + "displayName": "Sally" + }, + "verb": "access", + "object": { + "objectType": "place", + "displayName": "Joe's Home" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/borrow.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/borrow.json b/streams-util/src/test/resources/activities/borrow.json new file mode 100644 index 0000000..e21809a --- /dev/null +++ b/streams-util/src/test/resources/activities/borrow.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": "Sally" + }, + "verb": "borrow", + "object": { + "objectType": "book", + "displayName": "Cloud Atlas" + }, + "target": { + "objectType": "person", + "displayName": "Joe" + }, + "title": "Sally borrowed the book 'Cloud Atlas' from Joe" +} + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/build.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/build.json b/streams-util/src/test/resources/activities/build.json new file mode 100644 index 0000000..78878e1 --- /dev/null +++ b/streams-util/src/test/resources/activities/build.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": "Joe" + }, + "verb": "build", + "object": { + "objectType": "application", + "displayName": "MyApp Builder 12345" + } +} + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/cancel.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/cancel.json b/streams-util/src/test/resources/activities/cancel.json new file mode 100644 index 0000000..b7aba81 --- /dev/null +++ b/streams-util/src/test/resources/activities/cancel.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": "Sally" + }, + "verb": "cancel", + "object": { + "objectType": "offer", + "displayName": "Free Money!" + }, + "title": "Sally cancelled the offer for free money." +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/checkin.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/checkin.json b/streams-util/src/test/resources/activities/checkin.json new file mode 100644 index 0000000..97216b9 --- /dev/null +++ b/streams-util/src/test/resources/activities/checkin.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": "Joe" + }, + "verb": "checkin", + "object": { + "objectType": "place", + "displayName": "Acme, Co" + }, + "title": "Joe checked in at Acme, Co" +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/close.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/close.json b/streams-util/src/test/resources/activities/close.json new file mode 100644 index 0000000..362e3f6 --- /dev/null +++ b/streams-util/src/test/resources/activities/close.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": "Joe" + }, + "verb": "close", + "object": { + "objectType": "issue", + "displayName": "Issue #123" + }, + "title": "Joe closed issue #123" +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/complete.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/complete.json b/streams-util/src/test/resources/activities/complete.json new file mode 100644 index 0000000..06694a7 --- /dev/null +++ b/streams-util/src/test/resources/activities/complete.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": "Sally" + }, + "verb": "complete", + "object": { + "objectType": "process", + "displayName": "Some long process" + } +} + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/confirm.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/confirm.json b/streams-util/src/test/resources/activities/confirm.json new file mode 100644 index 0000000..9307c38 --- /dev/null +++ b/streams-util/src/test/resources/activities/confirm.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": "person", + "displayName": "Joe" + }, + "verb": "confirm", + "object": { + "objectType": "issue", + "displayName": "Issue #123" + }, + "title": "Joe confirmed issue #123" +} + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/consume.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/consume.json b/streams-util/src/test/resources/activities/consume.json new file mode 100644 index 0000000..ed907e3 --- /dev/null +++ b/streams-util/src/test/resources/activities/consume.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": "Sally" + }, + "verb": "consume", + "object": { + "objectType": "product", + "displayName": "Some amazing product" + } +} + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/create.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/create.json b/streams-util/src/test/resources/activities/create.json new file mode 100644 index 0000000..5d8afb3 --- /dev/null +++ b/streams-util/src/test/resources/activities/create.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": "Sally" + }, + "verb": "create", + "object": { + "objectType": "product", + "displayName": "Some amazing product" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/delete.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/delete.json b/streams-util/src/test/resources/activities/delete.json new file mode 100644 index 0000000..6943046 --- /dev/null +++ b/streams-util/src/test/resources/activities/delete.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": "Joe" + }, + "verb": "delete", + "object": { + "objectType": "file", + "displayName": "4Q2012 Sales Forecast.xls" + }, + "title": "Joe is probably going to get fired." +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/deliver.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/deliver.json b/streams-util/src/test/resources/activities/deliver.json new file mode 100644 index 0000000..620f0b5 --- /dev/null +++ b/streams-util/src/test/resources/activities/deliver.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": "Sally" + }, + "verb": "deliver", + "object": { + "objectType": "note", + "displayName": "Bad News", + "content": "Joe deleted the sales forecast" + }, + "target": { + "objectType": "person", + "displayName": "Joe's Boss" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/deny.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/deny.json b/streams-util/src/test/resources/activities/deny.json new file mode 100644 index 0000000..b83ca60 --- /dev/null +++ b/streams-util/src/test/resources/activities/deny.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": "Joe" + }, + "verb": "deny", + "object": { + "objectType": "task", + "actor": { + "objectType": "person", + "displayName": "Joe" + }, + "verb": "delete", + "object": { + "objectType": "file", + "displayName": "4Q2012 Sales Forecast.xls" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/disagree.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/disagree.json b/streams-util/src/test/resources/activities/disagree.json new file mode 100644 index 0000000..8614e88 --- /dev/null +++ b/streams-util/src/test/resources/activities/disagree.json @@ -0,0 +1,30 @@ +{ + "$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": "Sally" + }, + "verb": "disagree", + "object": { + "actor": { + "objectType": "person", + "displayName": "Joe" + }, + "verb": "deny", + "object": { + "objectType": "task", + "actor": { + "objectType": "person", + "displayName": "Joe" + }, + "verb": "delete", + "object": { + "objectType": "file", + "displayName": "4Q2012 Sales Forecast.xls" + } + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/dislike.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/dislike.json b/streams-util/src/test/resources/activities/dislike.json new file mode 100644 index 0000000..16c2148 --- /dev/null +++ b/streams-util/src/test/resources/activities/dislike.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": "Joe" + }, + "verb": "dislike", + "object": { + "objectType": "person", + "displayName": "Sally" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/experience.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/experience.json b/streams-util/src/test/resources/activities/experience.json new file mode 100644 index 0000000..d81d024 --- /dev/null +++ b/streams-util/src/test/resources/activities/experience.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": "Sally" + }, + "verb": "experience", + "object": { + "objectType": "event", + "displayName": "Disciplinary Action for Joe" + } +} + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/favorite.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/favorite.json b/streams-util/src/test/resources/activities/favorite.json new file mode 100644 index 0000000..3df99bf --- /dev/null +++ b/streams-util/src/test/resources/activities/favorite.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": "Joe's Boss" + }, + "verb": "favorite", + "object": { + "objectType": "person", + "displayName": "Sally" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/find.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/find.json b/streams-util/src/test/resources/activities/find.json new file mode 100644 index 0000000..9c25c59 --- /dev/null +++ b/streams-util/src/test/resources/activities/find.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": "Joe" + }, + "verb": "find", + "object": { + "objectType": "application", + "displayName": "Unapproved Software Application" + }, + "location": { + "objectType": "place", + "displayName": "Sally's Computer" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/flag-as-inappropriate.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/flag-as-inappropriate.json b/streams-util/src/test/resources/activities/flag-as-inappropriate.json new file mode 100644 index 0000000..6f4d202 --- /dev/null +++ b/streams-util/src/test/resources/activities/flag-as-inappropriate.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": "person", + "displayName": "Sally's Boss" + }, + "verb": "flag-as-inappropriate", + "object": { + "objectType": "application", + "displayName": "Unapproved Software Application", + "location": { + "displayName": "Sally's Computer" + } + }, + "context": { + "objectType": "issue", + "displayName": "Issue #125", + "types": ["http://example.org/violation-of-corporate-policy"] + } +} + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/follow.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/follow.json b/streams-util/src/test/resources/activities/follow.json new file mode 100644 index 0000000..fc8c992 --- /dev/null +++ b/streams-util/src/test/resources/activities/follow.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": "Joe" + }, + "verb": "follow", + "object": { + "objectType": "issue", + "displayName": "Issue #125" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/give.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/give.json b/streams-util/src/test/resources/activities/give.json new file mode 100644 index 0000000..f145296 --- /dev/null +++ b/streams-util/src/test/resources/activities/give.json @@ -0,0 +1,28 @@ +{ + "$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": "Joe's Boss" + }, + "verb": "give", + "object": { + "objectType": "note", + "displayName": "Notice of Employment Termination" + }, + "target": { + "objectType": "collection", + "items": [ + { + "objectType": "person", + "displayName": "Joe" + }, + { + "objectType": "person", + "displayName": "Sally" + } + ] + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/host.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/host.json b/streams-util/src/test/resources/activities/host.json new file mode 100644 index 0000000..3331353 --- /dev/null +++ b/streams-util/src/test/resources/activities/host.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": "Bob" + }, + "verb": "host", + "object": { + "objectType": "event", + "displayName": "Job Interview" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/ignore.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/ignore.json b/streams-util/src/test/resources/activities/ignore.json new file mode 100644 index 0000000..012013a --- /dev/null +++ b/streams-util/src/test/resources/activities/ignore.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": "ignore", + "object": { + "objectType": "note", + "displayName": "Joe's request for his job back." + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/insert.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/insert.json b/streams-util/src/test/resources/activities/insert.json new file mode 100644 index 0000000..57bda66 --- /dev/null +++ b/streams-util/src/test/resources/activities/insert.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": "Bob" + }, + "verb": "insert", + "object": { + "objectType": "note", + "displayName": "Notes about Employee Disciplinary Actions" + }, + "target": { + "objectType": "file", + "displayName": "2013 Corporate Policy Updates.doc" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/install.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/install.json b/streams-util/src/test/resources/activities/install.json new file mode 100644 index 0000000..1ecdecd --- /dev/null +++ b/streams-util/src/test/resources/activities/install.json @@ -0,0 +1,18 @@ +{ + "$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": "install", + "object": { + "objectType": "application", + "displayName": "Approved Software Scanning Tool", + "location": { + "displayName": "All computers in Building A" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/interact.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/interact.json b/streams-util/src/test/resources/activities/interact.json new file mode 100644 index 0000000..f427513 --- /dev/null +++ b/streams-util/src/test/resources/activities/interact.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": "Bob" + }, + "verb": "interact", + "object": { + "objectType": "person", + "displayName": "Laura" + }, + "title": "Bob called Laura." +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/invite.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/invite.json b/streams-util/src/test/resources/activities/invite.json new file mode 100644 index 0000000..7c84b78 --- /dev/null +++ b/streams-util/src/test/resources/activities/invite.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": "invite", + "object": { + "objectType": "person", + "displayName": "Mark" + }, + "target": { + "objectType": "event", + "displayName": "Job Interview" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/join.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/join.json b/streams-util/src/test/resources/activities/join.json new file mode 100644 index 0000000..7996a9b --- /dev/null +++ b/streams-util/src/test/resources/activities/join.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": "join", + "object": { + "objectType": "organization", + "displayName": "Acme, Co" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/leave.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/leave.json b/streams-util/src/test/resources/activities/leave.json new file mode 100644 index 0000000..08516c5 --- /dev/null +++ b/streams-util/src/test/resources/activities/leave.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": "leave", + "object": { + "objectType": "organization", + "displayName": "Other, Co" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/like.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/like.json b/streams-util/src/test/resources/activities/like.json new file mode 100644 index 0000000..853676f --- /dev/null +++ b/streams-util/src/test/resources/activities/like.json @@ -0,0 +1,22 @@ +{ + "$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": "like", + "object": { + "actor": { + "objectType": "person", + "displayName": "Mark" + }, + "verb": "join", + "object": { + "objectType": "organization", + "displayName": "Acme, Co" + } + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/listen.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/listen.json b/streams-util/src/test/resources/activities/listen.json new file mode 100644 index 0000000..1268060 --- /dev/null +++ b/streams-util/src/test/resources/activities/listen.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": "listen", + "object": { + "objectType": "audio", + "displayName": "Welcome to the Company (Podcast).mp3" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/lose.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/lose.json b/streams-util/src/test/resources/activities/lose.json new file mode 100644 index 0000000..073e914 --- /dev/null +++ b/streams-util/src/test/resources/activities/lose.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": "New York Yankees" + }, + "verb": "lose", + "object": { + "objectType": "game", + "displayName": "World Series" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/make-friend.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/make-friend.json b/streams-util/src/test/resources/activities/make-friend.json new file mode 100644 index 0000000..1acf539 --- /dev/null +++ b/streams-util/src/test/resources/activities/make-friend.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": "make-friend", + "object": { + "objectType": "person", + "displayName": "Laura" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/open.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/open.json b/streams-util/src/test/resources/activities/open.json new file mode 100644 index 0000000..4bf47cd --- /dev/null +++ b/streams-util/src/test/resources/activities/open.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": "open", + "object": { + "objectType": "issue", + "displayName": "Issue #126" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/play.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/play.json b/streams-util/src/test/resources/activities/play.json new file mode 100644 index 0000000..0605662 --- /dev/null +++ b/streams-util/src/test/resources/activities/play.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": "play", + "object": { + "objectType": "audio", + "displayName": "Call Me Maybe" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/post.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/post.json b/streams-util/src/test/resources/activities/post.json new file mode 100644 index 0000000..73cfff7 --- /dev/null +++ b/streams-util/src/test/resources/activities/post.json @@ -0,0 +1,25 @@ +{ + "published": "2011-02-10T15:04:55Z", + "actor": { + "url": "http://example.org/martin", + "objectType" : "person", + "id": "tag:example.org,2011:martin", + "image": { + "url": "http://example.org/martin/image", + "width": 250, + "height": 250 + }, + "displayName": "Martin Smith" + }, + "verb": "post", + "object" : { + "url": "http://example.org/blog/2011/02/entry", + "id": "tag:example.org,2011:abc123/xyz" + }, + "target" : { + "url": "http://example.org/blog/", + "objectType": "blog", + "id": "tag:example.org,2011:abc123", + "displayName": "Martin's Blog" + } +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/present.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/present.json b/streams-util/src/test/resources/activities/present.json new file mode 100644 index 0000000..8f4df12 --- /dev/null +++ b/streams-util/src/test/resources/activities/present.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": "present", + "object": { + "objectType": "file", + "displayName": "1Q2013 Sales Forecast.ppt" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/purchase.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/purchase.json b/streams-util/src/test/resources/activities/purchase.json new file mode 100644 index 0000000..3354597 --- /dev/null +++ b/streams-util/src/test/resources/activities/purchase.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": "purchase", + "object": { + "objectType": "video", + "displayName": "The Avengers" + }, + "title": "Mark purchased the movie, The Avengers" +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/qualify.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/qualify.json b/streams-util/src/test/resources/activities/qualify.json new file mode 100644 index 0000000..630bda0 --- /dev/null +++ b/streams-util/src/test/resources/activities/qualify.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": "qualify", + "object": { + "objectType": "offer", + "displayName": "Free Money!" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/read.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/read.json b/streams-util/src/test/resources/activities/read.json new file mode 100644 index 0000000..3509886 --- /dev/null +++ b/streams-util/src/test/resources/activities/read.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": "read", + "object": { + "objectType": "book", + "displayName": "Cloud Atlas" + } +} + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/receive.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/receive.json b/streams-util/src/test/resources/activities/receive.json new file mode 100644 index 0000000..d61245e --- /dev/null +++ b/streams-util/src/test/resources/activities/receive.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": "receive", + "object": { + "objectType": "badge", + "displayName": "Most Checkins in 24 hours" + }, + "title": "Laura was awarded a badge for \"Most Checkins in 24 hours\"" +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/reject.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/reject.json b/streams-util/src/test/resources/activities/reject.json new file mode 100644 index 0000000..84d1ab1 --- /dev/null +++ b/streams-util/src/test/resources/activities/reject.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": "reject", + "object": { + "objectType": "issue", + "displayName": "Issue #126" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/remove-friend.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/remove-friend.json b/streams-util/src/test/resources/activities/remove-friend.json new file mode 100644 index 0000000..0a593e9 --- /dev/null +++ b/streams-util/src/test/resources/activities/remove-friend.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": "remove-friend", + "object": { + "objectType": "person", + "displayName": "Laura" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/remove.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/remove.json b/streams-util/src/test/resources/activities/remove.json new file mode 100644 index 0000000..1f386e9 --- /dev/null +++ b/streams-util/src/test/resources/activities/remove.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": "remove", + "object": { + "objectType": "image", + "displayName": "Cat Photo", + "fullImage": { + "url": "http://example.org/cats.jpg" + } + }, + "target": { + "objectType": "collection", + "displayName": "Cat Photo Album", + "objectTypes": ["image"] + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/replace.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/replace.json b/streams-util/src/test/resources/activities/replace.json new file mode 100644 index 0000000..f19a35c --- /dev/null +++ b/streams-util/src/test/resources/activities/replace.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": "replace", + "object": { + "objectType": "file", + "displayName": "Updated 1Q2014 Sales Forecast.xls" + }, + "target": { + "objectType": "file", + "displayName": "1Q2014 Sales Forecast.xls" + } +} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-util/src/test/resources/activities/request-friend.json ---------------------------------------------------------------------- diff --git a/streams-util/src/test/resources/activities/request-friend.json b/streams-util/src/test/resources/activities/request-friend.json new file mode 100644 index 0000000..3e571ee --- /dev/null +++ b/streams-util/src/test/resources/activities/request-friend.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": "request-friend", + "object": { + "objectType": "person", + "displayName": "Laura" + } +} + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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/d9674f7c/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" + } +}