[OPT-1798] Use custom update settings request Created: 14/Jan/19  Updated: 23/Jul/19  Resolved: 16/Jan/19

Status: Done
Project: Camunda Optimize
Component/s: backend
Affects Version/s: None
Fix Version/s: 2.4.0, 2.4.0-alpha1

Type: Task Priority: L3 - Default
Reporter: Johannes Heinemann Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Context:
When creating the schema we disable automatic index creation for Elasticsearch indices. However, the high level client we currently use, sends the following request:

http://localhost:9200/_cluster/settings?master_timeout=30s&timeout=30s
{
	"persistent" : {
		"action": {
			"auto_create_index": false
		}
	}
}

Which is not supported by Amazon AWS. Instead use the low level client and perform the following request:

http://localhost:9200/_cluster/settings?master_timeout=30s&timeout=30s
{
	"persistent" : {
			"action.auto_create_index": false
	}
}


 Comments   
Comment by Johannes Heinemann [ 14/Jan/19 ]

Sebastian Bathke: Again this ticket needs to be done with higher priority. Let's talk about it tomorrow or approach Felix on that.

Generated at Mon Nov 11 21:20:30 CET 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.