aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/test/generators/conflictingField.sh
diff options
context:
space:
mode:
authorherbert <herbert.eiselt@highstreet-technologies.com>2019-12-14 00:06:42 +0100
committerherbert <herbert.eiselt@highstreet-technologies.com>2019-12-14 00:07:02 +0100
commitda4fd6169717cfa04d644d0af0d23dd089a6e373 (patch)
tree3c7a2c804b001349dc24852f7e488061a2f733f4 /sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/test/generators/conflictingField.sh
parent58f412ad18c1daf622e54ed36db6014f4e04f3f7 (diff)
remove old version
of devicemodel devicemanager oldux featureaggregator Issue-ID: SDNC-1004 Signed-off-by: herbert <herbert.eiselt@highstreet-technologies.com> Change-Id: I5337643181e2398e5a8097e4ee14fa4ac96d0d4c
Diffstat (limited to 'sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/test/generators/conflictingField.sh')
-rwxr-xr-xsdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/test/generators/conflictingField.sh50
1 files changed, 0 insertions, 50 deletions
diff --git a/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/test/generators/conflictingField.sh b/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/test/generators/conflictingField.sh
deleted file mode 100755
index 917d896ca..000000000
--- a/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/plugins/head/test/generators/conflictingField.sh
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-
-curl -XDELETE 'http://localhost:9200/conflicting_field_type'
-echo
-curl -XPUT 'http://localhost:9200/conflicting_field_type'
-echo
-curl -XPUT 'http://localhost:9200/conflicting_field_type/map1/_mapping' -d '{
- "map1": {
- "date_formats": ["date_time", "yyyyMMddHHmmss", "yyyyMMddHHmmssSSS"],
- "_all": {
- "enabled": true,
- "store": "yes"
- },
- "properties": {
- "field1": {
- "type": "date",
- "store": "yes",
- "format": "yyyyMMddHHmmssSSS",
- "include_in_all": false
- }
- }
- }
-}'
-echo
-curl -XPUT 'http://localhost:9200/conflicting_field_type/map2/_mapping' -d '{
- "map2": {
- "date_formats": ["date_time", "yyyyMMddHHmmss", "yyyyMMddHHmmssSSS"],
- "_all": {
- "enabled": true,
- "store": "yes"
- },
- "properties": {
- "field1": {
- "type": "string",
- "store": "yes",
- "term_vector": "yes",
- "include_in_all": false
- }
- }
- }
-}'
-echo
-curl -XPUT 'http://localhost:9200/conflicting_field_type/map1/1' -d '{
- "field1" : "20110214172449000"
-}'
-echo
-curl -XPUT 'http://localhost:9200/conflicting_field_type/map2/2' -d '{
- "field1" : "Test map2 with string type field"
-}'
-echo \ No newline at end of file