Initial search service commit
[aai/search-data-service.git] / src / test / resources / json / bulk-ops-invalid.json
diff --git a/src/test/resources/json/bulk-ops-invalid.json b/src/test/resources/json/bulk-ops-invalid.json
new file mode 100644 (file)
index 0000000..4708498
--- /dev/null
@@ -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