aboutsummaryrefslogtreecommitdiffstats
path: root/search-data-service-app/src/test/resources/json/bulk-ops-valid.json
diff options
context:
space:
mode:
Diffstat (limited to 'search-data-service-app/src/test/resources/json/bulk-ops-valid.json')
-rw-r--r--search-data-service-app/src/test/resources/json/bulk-ops-valid.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/search-data-service-app/src/test/resources/json/bulk-ops-valid.json b/search-data-service-app/src/test/resources/json/bulk-ops-valid.json
new file mode 100644
index 0000000..6e805cf
--- /dev/null
+++ b/search-data-service-app/src/test/resources/json/bulk-ops-valid.json
@@ -0,0 +1,31 @@
+[
+ {
+ "create": {
+ "metaData": {
+ "url": "/indexes/test-index/documents/"
+ },
+ "document": {
+ "field1": "value1",
+ "field2": "value2"
+ }
+ }
+ },
+ {
+ "update": {
+ "metaData": {
+ "url": "/indexes/test-index/documents/3",
+ "etag": "5"
+ },
+ "document": {
+ "field1": "new-value"
+ }
+ }
+ },
+ {
+ "delete": {
+ "metaData": {
+ "url": "/indexes/test-index/documents/7"
+ }
+ }
+ }
+]