diff --git a/spring-geode/src/test/resources/data-example-doefamily.json b/spring-geode/src/test/resources/data-example-doefamily.json new file mode 100644 index 00000000..d2643ae2 --- /dev/null +++ b/spring-geode/src/test/resources/data-example-doefamily.json @@ -0,0 +1,47 @@ +[ + { + "@type": "example.app.crm.model.Customer", + "id": 1, + "name": "Jon Doe" + }, + { + "@type": "example.app.crm.model.Customer", + "id": 2, + "name": "Jane Doe" + }, + { + "@type": "example.app.crm.model.Customer", + "id": 3, + "name": "Cookie Doe" + }, + { + "@type": "example.app.crm.model.Customer", + "id": 4, + "name": "Fro Doe" + }, + { + "@type": "example.app.crm.model.Customer", + "id": 5, + "name": "Ginger Doe" + }, + { + "@type": "example.app.crm.model.Customer", + "id": 6, + "name": "Hoe Doe" + }, + { + "@type": "example.app.crm.model.Customer", + "id": 7, + "name": "Joe Doe" + }, + { + "@type": "example.app.crm.model.Customer", + "id": 8, + "name": "Pie Doe" + }, + { + "@type": "example.app.crm.model.Customer", + "id": 9, + "name": "Sour Doe" + } +] diff --git a/spring-geode/src/test/resources/data-example-jondoe.json b/spring-geode/src/test/resources/data-example-jondoe.json new file mode 100644 index 00000000..a321d867 --- /dev/null +++ b/spring-geode/src/test/resources/data-example-jondoe.json @@ -0,0 +1,5 @@ +{ + "@type": "example.app.crm.model.Customer", + "id": 1, + "name": "Jon Doe" +} diff --git a/spring-geode/src/test/resources/data-example-purchaseorder.json b/spring-geode/src/test/resources/data-example-purchaseorder.json new file mode 100644 index 00000000..a43edc5c --- /dev/null +++ b/spring-geode/src/test/resources/data-example-purchaseorder.json @@ -0,0 +1,36 @@ +{ + "@type": "example.app.pos.model.PurchaseOrder", + "id": 1, + "lineItems": [ + { + "@type": "example.app.pos.model.LineItem", + "product": { + "@type": "example.app.pos.model.Product", + "name": "Apple iPad", + "price": 1499.00, + "category": "SHOPPING" + }, + "quantity": 2 + }, + { + "@type": "example.app.pos.model.LineItem", + "product": { + "@type": "example.app.pos.model.Product", + "name": "Apple iPhone", + "price": 1249.00, + "category": "SHOPPING" + }, + "quantity": 3 + }, + { + "@type": "example.app.pos.model.LineItem", + "product": { + "@type": "example.app.pos.model.Product", + "name": "Apple iPod", + "price": 599.00, + "category": "SHOPPING" + }, + "quantity" : 1 + } + ] +} diff --git a/spring-geode/src/test/resources/data.json b/spring-geode/src/test/resources/data.json new file mode 100644 index 00000000..5a3eae0d --- /dev/null +++ b/spring-geode/src/test/resources/data.json @@ -0,0 +1,16 @@ +{ + "regions" : [ + { + "name": "One", + "data": [ + {} + ] + }, + { + "name": "Two", + "data": [ + {} + ] + } + ] +}