AntonShuvaev / elasticsearch4idea

Elasticsearch Plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/14512-elasticsearch
59 stars 8 forks source link

suppor setPathPrefix() and apikey authorization #81

Closed caster-Q closed 2 years ago

caster-Q commented 2 years ago

support to access ES as the following methods curl "http://xxx.xxx.cn/cluserName/_cat/health" -H "Authorization: ApiKey XXXXXXXX="

AntonShuvaev commented 2 years ago

Hi,

You can specify URL with prefix as http://xxx.xxx.cn/cluserName. This should work. Regarding the API Key, this is a good suggestion, I will support it in the next release.

caster-Q commented 2 years ago

thanks

AntonShuvaev commented 2 years ago

Done