aboutsummaryrefslogtreecommitdiffstats
path: root/search-data-service-app/src/test/resources/json/bulk-ops-invalid.json
diff options
context:
space:
mode:
Diffstat (limited to 'search-data-service-app/src/test/resources/json/bulk-ops-invalid.json')
-rw-r--r--search-data-service-app/src/test/resources/json/bulk-ops-invalid.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/search-data-service-app/src/test/resources/json/bulk-ops-invalid.json b/search-data-service-app/src/test/resources/json/bulk-ops-invalid.json
new file mode 100644
index 0000000..4708498
--- /dev/null
+++ b/search-data-service-app/src/test/resources/json/bulk-ops-invalid.json
@@ -0,0 +1,32 @@
+{
+ "operations": [
+ {
+ "operation": "create",
+ "meta-data": {
+ "index": "test-index"
+ },
+ "document": {
+ "field1": "value1",
+ "field2": "value2"
+ }
+ },
+ {
+ "operation": "dance!",
+ "meta-data": {
+ "index": "test-index",
+ "id": "2",
+ "version": "5"
+ },
+ "document": {
+ "field1": "new-value"
+ }
+ },
+ {
+ "operation": "delete",
+ "meta-data": {
+ "index": "test-index",
+ "id": "4"
+ }
+ }
+ ]
+} \ No newline at end of file