http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-schemas/src/test/java/org/apache/streams/schema/test/SchemaOrderingTests.java ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/java/org/apache/streams/schema/test/SchemaOrderingTests.java b/streams-schemas/src/test/java/org/apache/streams/schema/test/SchemaOrderingTests.java deleted file mode 100644 index 9979250..0000000 --- a/streams-schemas/src/test/java/org/apache/streams/schema/test/SchemaOrderingTests.java +++ /dev/null @@ -1,146 +0,0 @@ -package org.apache.streams.schema.test; - -import com.google.common.base.Optional; -import com.google.common.base.Predicate; -import com.google.common.collect.Iterators; -import com.google.common.collect.Lists; -import org.apache.streams.schema.Schema; -import org.apache.streams.schema.SchemaStore; -import org.junit.Test; - -import java.io.File; -import java.util.Iterator; -import java.util.List; - -/** - * Created by sblackmon on 5/3/16. - */ -public class SchemaOrderingTests { - - @Test - public void compareVerbParent() { - SchemaStore schemaStore = new SchemaStore(); - File update = new File("target/classes/verbs/update.json"); - schemaStore.create(update.toURI()); - File activity = new File("target/classes/activity.json"); - schemaStore.create(activity.toURI()); - assert( schemaStore.compare( schemaStore.getByUri(update.toURI()).get(), schemaStore.getByUri(activity.toURI()).get()) == 1); - Iterator<Schema> schemaIterator = schemaStore.getSchemaIterator(); - assertContainsItemsEndingWithInOrder( - schemaIterator, - Lists.newArrayList( - "activity.json", - "update.json" - ) - ); - } - - @Test - public void compareObjectTypeParent() { - SchemaStore schemaStore = new SchemaStore(); - File alert = new File("target/classes/objectTypes/alert.json"); - schemaStore.create(alert.toURI()); - File object = new File("target/classes/object.json"); - schemaStore.create(object.toURI()); - assert( schemaStore.compare( schemaStore.getByUri(object.toURI()).get(), schemaStore.getByUri(alert.toURI()).get()) == -1); - Iterator<Schema> schemaIterator = schemaStore.getSchemaIterator(); - assertContainsItemsEndingWithInOrder( - schemaIterator, - Lists.newArrayList( - "object.json", - "alert.json" - ) - ); - } - - @Test - public void compareUnrelated() { - SchemaStore schemaStore = new SchemaStore(); - File alert = new File("target/classes/objectTypes/alert.json"); - schemaStore.create(alert.toURI()); - File update = new File("target/classes/verbs/update.json"); - schemaStore.create(update.toURI()); - assert( schemaStore.compare( schemaStore.getByUri(alert.toURI()).get(), schemaStore.getByUri(update.toURI()).get()) == 0); - } - - @Test - public void compareVerbFieldRef() { - SchemaStore schemaStore = new SchemaStore(); - File update = new File("target/classes/verbs/update.json"); - schemaStore.create(update.toURI()); - File object = new File("target/classes/object.json"); - schemaStore.create(object.toURI()); - assert( schemaStore.compare( schemaStore.getByUri(update.toURI()).get(), schemaStore.getByUri(object.toURI()).get()) == 1); - Iterator<Schema> schemaIterator = schemaStore.getSchemaIterator(); - assertContainsItemsEndingWithInOrder( - schemaIterator, - Lists.newArrayList( - "object.json", - "update.json" - ) - ); - } - - @Test - public void compareObjectTypeFieldRef() { - SchemaStore schemaStore = new SchemaStore(); - File alert = new File("target/classes/objectTypes/alert.json"); - schemaStore.create(alert.toURI()); - File media_link = new File("target/classes/media_link.json"); - schemaStore.create(media_link.toURI()); - assert( schemaStore.compare( schemaStore.getByUri(media_link.toURI()).get(), schemaStore.getByUri(alert.toURI()).get()) == -1); - Iterator<Schema> schemaIterator = schemaStore.getSchemaIterator(); - assertContainsItemsEndingWithInOrder( - schemaIterator, - Lists.newArrayList( - "media_link.json", - "object.json", - "alert.json" - ) - ); - } - - @Test - public void compareVerbAncestorIndirect() { - SchemaStore schemaStore = new SchemaStore(); - File update = new File("target/classes/verbs/update.json"); - schemaStore.create(update.toURI()); - File media_link = new File("target/classes/media_link.json"); - assert( schemaStore.compare( schemaStore.getByUri(media_link.toURI()).get(), schemaStore.getByUri(update.toURI()).get()) == -1); - Iterator<Schema> schemaIterator = schemaStore.getSchemaIterator(); - assertContainsItemsEndingWithInOrder( - schemaIterator, - Lists.newArrayList( - "media_link.json", - "update.json" - ) - ); - } - - - public void assertContainsItemsEndingWithInOrder(Iterator<Schema> iterator, List<String> items) { - for( String item : items ) { - Optional<Schema> tryFind = Iterators.tryFind( iterator, new SchemaUriEndsWithPredicate(item) ); - assert( tryFind.isPresent() ); - } - } - - public class SchemaUriEndsWithPredicate implements Predicate<Schema> { - - private String endsWith; - - public SchemaUriEndsWithPredicate(String endsWith) { - this.endsWith = endsWith; - } - - @Override - public boolean apply(Schema input) { - return input.getURI().getPath().endsWith(endsWith); - } - - @Override - public boolean equals(Object object) { - return false; - } - } -}
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-schemas/src/test/java/org/apache/streams/schema/test/SchemaStoreTests.java ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/java/org/apache/streams/schema/test/SchemaStoreTests.java b/streams-schemas/src/test/java/org/apache/streams/schema/test/SchemaStoreTests.java deleted file mode 100644 index 9e354fe..0000000 --- a/streams-schemas/src/test/java/org/apache/streams/schema/test/SchemaStoreTests.java +++ /dev/null @@ -1,76 +0,0 @@ -package org.apache.streams.schema.test; - -import com.google.common.base.Optional; -import com.google.common.base.Predicate; -import com.google.common.collect.Iterators; -import com.google.common.collect.Lists; -import org.apache.streams.schema.Schema; -import org.apache.streams.schema.SchemaStore; -import org.junit.Test; - -import java.io.File; -import java.net.URI; -import java.util.Iterator; -import java.util.List; - -/** - * Created by sblackmon on 5/2/16. - */ -public class SchemaStoreTests { - - @Test - public void indexMediaLink() { - SchemaStore schemaStore = new SchemaStore(); - File file = new File("target/classes/media_link.json"); - schemaStore.create(file.toURI()); - assert( schemaStore.getFileUriCount() == 1); - assert( schemaStore.getByUri(file.toURI()).isPresent()); - assert( schemaStore.getById(schemaStore.getByUri(file.toURI()).get().getId()).isPresent()); - } - - @Test - public void indexApprove() { - SchemaStore schemaStore = new SchemaStore(); - File file = new File("target/classes/verbs/approve.json"); - schemaStore.create(file.toURI()); - assert( schemaStore.getFileUriCount() == 4); - assert( schemaStore.getByUri(file.toURI()).isPresent()); - assert( schemaStore.getById(schemaStore.getByUri(file.toURI()).get().getId()).isPresent()); - } - - @Test - public void indexCollection() { - SchemaStore schemaStore = new SchemaStore(); - File file = new File("target/classes/collection.json"); - schemaStore.create(file.toURI()); - assert( schemaStore.getFileUriCount() == 3); - assert( schemaStore.getByUri(file.toURI()).isPresent()); - assert( schemaStore.getById(schemaStore.getByUri(file.toURI()).get().getId()).isPresent()); - Schema collection = schemaStore.getByUri(file.toURI()).get(); - assert( collection.getParent() == null ); - assert( schemaStore.getById( - URI.create("http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-schemas/object.json#" - )).isPresent()); - } - - @Test - public void indexUpdate() { - SchemaStore schemaStore = new SchemaStore(); - File file = new File("target/classes/verbs/update.json"); - schemaStore.create(file.toURI()); - assert( schemaStore.getFileUriCount() == 4); - assert( schemaStore.getByUri(file.toURI()).isPresent()); - assert( schemaStore.getById(schemaStore.getByUri(file.toURI()).get().getId()).isPresent()); - Schema update = schemaStore.getByUri(file.toURI()).get(); - assert( update.getParent() != null ); - assert( update.getParent().getId().getScheme().equals("http")); - assert( update.getParent().getId().getHost().equals("streams.incubator.apache.org")); - assert( update.getParent().getId().getPath().startsWith("/site/0.3-incubating-SNAPSHOT/streams-schemas")); - assert( update.getParent().getId().getPath().endsWith("activity.json")); - } - - // test create from messed up URI - - // test create from URI with messed up reference - -} http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/d9674f7c/streams-schemas/src/test/resources/activities/accept.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/accept.json b/streams-schemas/src/test/resources/activities/accept.json deleted file mode 100644 index c1dfd5f..0000000 --- a/streams-schemas/src/test/resources/activities/accept.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/access.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/access.json b/streams-schemas/src/test/resources/activities/access.json deleted file mode 100644 index 93bc6e2..0000000 --- a/streams-schemas/src/test/resources/activities/access.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/acknowledge.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/acknowledge.json b/streams-schemas/src/test/resources/activities/acknowledge.json deleted file mode 100644 index 2b69fa7..0000000 --- a/streams-schemas/src/test/resources/activities/acknowledge.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/add.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/add.json b/streams-schemas/src/test/resources/activities/add.json deleted file mode 100644 index b4e8151..0000000 --- a/streams-schemas/src/test/resources/activities/add.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/agree.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/agree.json b/streams-schemas/src/test/resources/activities/agree.json deleted file mode 100644 index 3034cd8..0000000 --- a/streams-schemas/src/test/resources/activities/agree.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/append.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/append.json b/streams-schemas/src/test/resources/activities/append.json deleted file mode 100644 index d8fb3be..0000000 --- a/streams-schemas/src/test/resources/activities/append.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/approve.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/approve.json b/streams-schemas/src/test/resources/activities/approve.json deleted file mode 100644 index b6f378e..0000000 --- a/streams-schemas/src/test/resources/activities/approve.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/archive.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/archive.json b/streams-schemas/src/test/resources/activities/archive.json deleted file mode 100644 index 557dcdf..0000000 --- a/streams-schemas/src/test/resources/activities/archive.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/assign.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/assign.json b/streams-schemas/src/test/resources/activities/assign.json deleted file mode 100644 index 51b8a51..0000000 --- a/streams-schemas/src/test/resources/activities/assign.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/at.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/at.json b/streams-schemas/src/test/resources/activities/at.json deleted file mode 100644 index 64a77f9..0000000 --- a/streams-schemas/src/test/resources/activities/at.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/attach.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/attach.json b/streams-schemas/src/test/resources/activities/attach.json deleted file mode 100644 index 716616b..0000000 --- a/streams-schemas/src/test/resources/activities/attach.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/attend.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/attend.json b/streams-schemas/src/test/resources/activities/attend.json deleted file mode 100644 index f8c0838..0000000 --- a/streams-schemas/src/test/resources/activities/attend.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/author.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/author.json b/streams-schemas/src/test/resources/activities/author.json deleted file mode 100644 index 1903700..0000000 --- a/streams-schemas/src/test/resources/activities/author.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/authorize.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/authorize.json b/streams-schemas/src/test/resources/activities/authorize.json deleted file mode 100644 index 2d9d1b3..0000000 --- a/streams-schemas/src/test/resources/activities/authorize.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/borrow.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/borrow.json b/streams-schemas/src/test/resources/activities/borrow.json deleted file mode 100644 index e21809a..0000000 --- a/streams-schemas/src/test/resources/activities/borrow.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/build.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/build.json b/streams-schemas/src/test/resources/activities/build.json deleted file mode 100644 index 78878e1..0000000 --- a/streams-schemas/src/test/resources/activities/build.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/cancel.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/cancel.json b/streams-schemas/src/test/resources/activities/cancel.json deleted file mode 100644 index b7aba81..0000000 --- a/streams-schemas/src/test/resources/activities/cancel.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/checkin.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/checkin.json b/streams-schemas/src/test/resources/activities/checkin.json deleted file mode 100644 index 97216b9..0000000 --- a/streams-schemas/src/test/resources/activities/checkin.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/close.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/close.json b/streams-schemas/src/test/resources/activities/close.json deleted file mode 100644 index 362e3f6..0000000 --- a/streams-schemas/src/test/resources/activities/close.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/complete.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/complete.json b/streams-schemas/src/test/resources/activities/complete.json deleted file mode 100644 index 06694a7..0000000 --- a/streams-schemas/src/test/resources/activities/complete.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/confirm.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/confirm.json b/streams-schemas/src/test/resources/activities/confirm.json deleted file mode 100644 index 9307c38..0000000 --- a/streams-schemas/src/test/resources/activities/confirm.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/consume.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/consume.json b/streams-schemas/src/test/resources/activities/consume.json deleted file mode 100644 index ed907e3..0000000 --- a/streams-schemas/src/test/resources/activities/consume.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/create.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/create.json b/streams-schemas/src/test/resources/activities/create.json deleted file mode 100644 index 5d8afb3..0000000 --- a/streams-schemas/src/test/resources/activities/create.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/delete.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/delete.json b/streams-schemas/src/test/resources/activities/delete.json deleted file mode 100644 index 6943046..0000000 --- a/streams-schemas/src/test/resources/activities/delete.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/deliver.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/deliver.json b/streams-schemas/src/test/resources/activities/deliver.json deleted file mode 100644 index 620f0b5..0000000 --- a/streams-schemas/src/test/resources/activities/deliver.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/deny.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/deny.json b/streams-schemas/src/test/resources/activities/deny.json deleted file mode 100644 index b83ca60..0000000 --- a/streams-schemas/src/test/resources/activities/deny.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/disagree.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/disagree.json b/streams-schemas/src/test/resources/activities/disagree.json deleted file mode 100644 index 8614e88..0000000 --- a/streams-schemas/src/test/resources/activities/disagree.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/dislike.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/dislike.json b/streams-schemas/src/test/resources/activities/dislike.json deleted file mode 100644 index 16c2148..0000000 --- a/streams-schemas/src/test/resources/activities/dislike.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/experience.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/experience.json b/streams-schemas/src/test/resources/activities/experience.json deleted file mode 100644 index d81d024..0000000 --- a/streams-schemas/src/test/resources/activities/experience.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/favorite.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/favorite.json b/streams-schemas/src/test/resources/activities/favorite.json deleted file mode 100644 index 3df99bf..0000000 --- a/streams-schemas/src/test/resources/activities/favorite.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/find.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/find.json b/streams-schemas/src/test/resources/activities/find.json deleted file mode 100644 index 9c25c59..0000000 --- a/streams-schemas/src/test/resources/activities/find.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/flag-as-inappropriate.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/flag-as-inappropriate.json b/streams-schemas/src/test/resources/activities/flag-as-inappropriate.json deleted file mode 100644 index 6f4d202..0000000 --- a/streams-schemas/src/test/resources/activities/flag-as-inappropriate.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/follow.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/follow.json b/streams-schemas/src/test/resources/activities/follow.json deleted file mode 100644 index fc8c992..0000000 --- a/streams-schemas/src/test/resources/activities/follow.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/give.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/give.json b/streams-schemas/src/test/resources/activities/give.json deleted file mode 100644 index f145296..0000000 --- a/streams-schemas/src/test/resources/activities/give.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/host.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/host.json b/streams-schemas/src/test/resources/activities/host.json deleted file mode 100644 index 3331353..0000000 --- a/streams-schemas/src/test/resources/activities/host.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/ignore.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/ignore.json b/streams-schemas/src/test/resources/activities/ignore.json deleted file mode 100644 index 012013a..0000000 --- a/streams-schemas/src/test/resources/activities/ignore.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/insert.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/insert.json b/streams-schemas/src/test/resources/activities/insert.json deleted file mode 100644 index 57bda66..0000000 --- a/streams-schemas/src/test/resources/activities/insert.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/install.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/install.json b/streams-schemas/src/test/resources/activities/install.json deleted file mode 100644 index 1ecdecd..0000000 --- a/streams-schemas/src/test/resources/activities/install.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/interact.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/interact.json b/streams-schemas/src/test/resources/activities/interact.json deleted file mode 100644 index f427513..0000000 --- a/streams-schemas/src/test/resources/activities/interact.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/invite.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/invite.json b/streams-schemas/src/test/resources/activities/invite.json deleted file mode 100644 index 7c84b78..0000000 --- a/streams-schemas/src/test/resources/activities/invite.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/join.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/join.json b/streams-schemas/src/test/resources/activities/join.json deleted file mode 100644 index 7996a9b..0000000 --- a/streams-schemas/src/test/resources/activities/join.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/leave.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/leave.json b/streams-schemas/src/test/resources/activities/leave.json deleted file mode 100644 index 08516c5..0000000 --- a/streams-schemas/src/test/resources/activities/leave.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/like.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/like.json b/streams-schemas/src/test/resources/activities/like.json deleted file mode 100644 index 853676f..0000000 --- a/streams-schemas/src/test/resources/activities/like.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/listen.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/listen.json b/streams-schemas/src/test/resources/activities/listen.json deleted file mode 100644 index 1268060..0000000 --- a/streams-schemas/src/test/resources/activities/listen.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/lose.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/lose.json b/streams-schemas/src/test/resources/activities/lose.json deleted file mode 100644 index 073e914..0000000 --- a/streams-schemas/src/test/resources/activities/lose.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/make-friend.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/make-friend.json b/streams-schemas/src/test/resources/activities/make-friend.json deleted file mode 100644 index 1acf539..0000000 --- a/streams-schemas/src/test/resources/activities/make-friend.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/open.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/open.json b/streams-schemas/src/test/resources/activities/open.json deleted file mode 100644 index 4bf47cd..0000000 --- a/streams-schemas/src/test/resources/activities/open.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/play.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/play.json b/streams-schemas/src/test/resources/activities/play.json deleted file mode 100644 index 0605662..0000000 --- a/streams-schemas/src/test/resources/activities/play.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/post.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/post.json b/streams-schemas/src/test/resources/activities/post.json deleted file mode 100644 index 73cfff7..0000000 --- a/streams-schemas/src/test/resources/activities/post.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "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-schemas/src/test/resources/activities/present.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/present.json b/streams-schemas/src/test/resources/activities/present.json deleted file mode 100644 index 8f4df12..0000000 --- a/streams-schemas/src/test/resources/activities/present.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/purchase.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/purchase.json b/streams-schemas/src/test/resources/activities/purchase.json deleted file mode 100644 index 3354597..0000000 --- a/streams-schemas/src/test/resources/activities/purchase.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/qualify.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/qualify.json b/streams-schemas/src/test/resources/activities/qualify.json deleted file mode 100644 index 630bda0..0000000 --- a/streams-schemas/src/test/resources/activities/qualify.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/read.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/read.json b/streams-schemas/src/test/resources/activities/read.json deleted file mode 100644 index 3509886..0000000 --- a/streams-schemas/src/test/resources/activities/read.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/receive.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/receive.json b/streams-schemas/src/test/resources/activities/receive.json deleted file mode 100644 index d61245e..0000000 --- a/streams-schemas/src/test/resources/activities/receive.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/reject.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/reject.json b/streams-schemas/src/test/resources/activities/reject.json deleted file mode 100644 index 84d1ab1..0000000 --- a/streams-schemas/src/test/resources/activities/reject.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/remove-friend.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/remove-friend.json b/streams-schemas/src/test/resources/activities/remove-friend.json deleted file mode 100644 index 0a593e9..0000000 --- a/streams-schemas/src/test/resources/activities/remove-friend.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/remove.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/remove.json b/streams-schemas/src/test/resources/activities/remove.json deleted file mode 100644 index 1f386e9..0000000 --- a/streams-schemas/src/test/resources/activities/remove.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/replace.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/replace.json b/streams-schemas/src/test/resources/activities/replace.json deleted file mode 100644 index f19a35c..0000000 --- a/streams-schemas/src/test/resources/activities/replace.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/request-friend.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/request-friend.json b/streams-schemas/src/test/resources/activities/request-friend.json deleted file mode 100644 index 3e571ee..0000000 --- a/streams-schemas/src/test/resources/activities/request-friend.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/request.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/request.json b/streams-schemas/src/test/resources/activities/request.json deleted file mode 100644 index 3e7c285..0000000 --- a/streams-schemas/src/test/resources/activities/request.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/resolve.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/resolve.json b/streams-schemas/src/test/resources/activities/resolve.json deleted file mode 100644 index 14998cf..0000000 --- a/streams-schemas/src/test/resources/activities/resolve.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/retract.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/retract.json b/streams-schemas/src/test/resources/activities/retract.json deleted file mode 100644 index 9229868..0000000 --- a/streams-schemas/src/test/resources/activities/retract.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/return.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/return.json b/streams-schemas/src/test/resources/activities/return.json deleted file mode 100644 index d6b8861..0000000 --- a/streams-schemas/src/test/resources/activities/return.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/rsvp-maybe.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/rsvp-maybe.json b/streams-schemas/src/test/resources/activities/rsvp-maybe.json deleted file mode 100644 index b1ec1b5..0000000 --- a/streams-schemas/src/test/resources/activities/rsvp-maybe.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/rsvp-no.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/rsvp-no.json b/streams-schemas/src/test/resources/activities/rsvp-no.json deleted file mode 100644 index 532b096..0000000 --- a/streams-schemas/src/test/resources/activities/rsvp-no.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/rsvp-yes.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/rsvp-yes.json b/streams-schemas/src/test/resources/activities/rsvp-yes.json deleted file mode 100644 index 170a5c4..0000000 --- a/streams-schemas/src/test/resources/activities/rsvp-yes.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/satisfy.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/satisfy.json b/streams-schemas/src/test/resources/activities/satisfy.json deleted file mode 100644 index 16151fa..0000000 --- a/streams-schemas/src/test/resources/activities/satisfy.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/save.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/save.json b/streams-schemas/src/test/resources/activities/save.json deleted file mode 100644 index 70c0f5f..0000000 --- a/streams-schemas/src/test/resources/activities/save.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/schedule.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/schedule.json b/streams-schemas/src/test/resources/activities/schedule.json deleted file mode 100644 index f214290..0000000 --- a/streams-schemas/src/test/resources/activities/schedule.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/search.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/search.json b/streams-schemas/src/test/resources/activities/search.json deleted file mode 100644 index 511b612..0000000 --- a/streams-schemas/src/test/resources/activities/search.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/sell.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/sell.json b/streams-schemas/src/test/resources/activities/sell.json deleted file mode 100644 index ab07fb0..0000000 --- a/streams-schemas/src/test/resources/activities/sell.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/send.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/send.json b/streams-schemas/src/test/resources/activities/send.json deleted file mode 100644 index b392ce8..0000000 --- a/streams-schemas/src/test/resources/activities/send.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/share.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/share.json b/streams-schemas/src/test/resources/activities/share.json deleted file mode 100644 index dc7b9f1..0000000 --- a/streams-schemas/src/test/resources/activities/share.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/sponsor.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/sponsor.json b/streams-schemas/src/test/resources/activities/sponsor.json deleted file mode 100644 index 156c322..0000000 --- a/streams-schemas/src/test/resources/activities/sponsor.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/start.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/start.json b/streams-schemas/src/test/resources/activities/start.json deleted file mode 100644 index b9aede2..0000000 --- a/streams-schemas/src/test/resources/activities/start.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/stop-following.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/stop-following.json b/streams-schemas/src/test/resources/activities/stop-following.json deleted file mode 100644 index 04b83e7..0000000 --- a/streams-schemas/src/test/resources/activities/stop-following.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/submit.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/submit.json b/streams-schemas/src/test/resources/activities/submit.json deleted file mode 100644 index 0fd3c34..0000000 --- a/streams-schemas/src/test/resources/activities/submit.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/tag.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/tag.json b/streams-schemas/src/test/resources/activities/tag.json deleted file mode 100644 index dba6112..0000000 --- a/streams-schemas/src/test/resources/activities/tag.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/terminate.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/terminate.json b/streams-schemas/src/test/resources/activities/terminate.json deleted file mode 100644 index f4d886e..0000000 --- a/streams-schemas/src/test/resources/activities/terminate.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/tie.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/tie.json b/streams-schemas/src/test/resources/activities/tie.json deleted file mode 100644 index 71a3c39..0000000 --- a/streams-schemas/src/test/resources/activities/tie.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/unfavorite.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/unfavorite.json b/streams-schemas/src/test/resources/activities/unfavorite.json deleted file mode 100644 index b1e7bcd..0000000 --- a/streams-schemas/src/test/resources/activities/unfavorite.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/unlike.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/unlike.json b/streams-schemas/src/test/resources/activities/unlike.json deleted file mode 100644 index 9bc583f..0000000 --- a/streams-schemas/src/test/resources/activities/unlike.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/unsatisfy.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/unsatisfy.json b/streams-schemas/src/test/resources/activities/unsatisfy.json deleted file mode 100644 index 739823c..0000000 --- a/streams-schemas/src/test/resources/activities/unsatisfy.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/unsave.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/unsave.json b/streams-schemas/src/test/resources/activities/unsave.json deleted file mode 100644 index a9a21f0..0000000 --- a/streams-schemas/src/test/resources/activities/unsave.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/unshare.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/unshare.json b/streams-schemas/src/test/resources/activities/unshare.json deleted file mode 100644 index 4d45a6d..0000000 --- a/streams-schemas/src/test/resources/activities/unshare.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/update.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/update.json b/streams-schemas/src/test/resources/activities/update.json deleted file mode 100644 index 7dbed20..0000000 --- a/streams-schemas/src/test/resources/activities/update.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/use.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/use.json b/streams-schemas/src/test/resources/activities/use.json deleted file mode 100644 index 699c4b8..0000000 --- a/streams-schemas/src/test/resources/activities/use.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/watch.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/watch.json b/streams-schemas/src/test/resources/activities/watch.json deleted file mode 100644 index 2052f06..0000000 --- a/streams-schemas/src/test/resources/activities/watch.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "$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-schemas/src/test/resources/activities/win.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/activities/win.json b/streams-schemas/src/test/resources/activities/win.json deleted file mode 100644 index 2cf9d5a..0000000 --- a/streams-schemas/src/test/resources/activities/win.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "$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-schemas/src/test/resources/media_link.json ---------------------------------------------------------------------- diff --git a/streams-schemas/src/test/resources/media_link.json b/streams-schemas/src/test/resources/media_link.json deleted file mode 100644 index 0bed6f0..0000000 --- a/streams-schemas/src/test/resources/media_link.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$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" -}