loopbackio / loopback-connector-elastic-search

Strongloop Loopback connector for Elasticsearch
MIT License
78 stars 56 forks source link

AWS IAM user policy rejects 'HEAD' type requests that are sent with c… #76

Closed chirag-vashisht closed 4 years ago

chirag-vashisht commented 7 years ago

AWS IAM user policy rejects the 'HEAD' type requests that are sent with content in body. The line this.searchIndexSettings = settings.settings || {}; was sending '{}' in body while putting mappings on the AWS elastic search service which is resulting in failure of putting mappings in elastic search index when you initialize the application.

slnode commented 7 years ago

Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."

pulkitsinghal commented 7 years ago

time permitting, @aquid will work on getting this verified and released

ernie58 commented 7 years ago

I think this is related to #63