Comments (4)
There is a "builder" function for the HTTP request here, I think this would be the most likely place to add that:
Lines 389 to 425 in db3bbdb
In terms of parsing the URL, instead I think it would make sense to just make it an explicit configuration option, similar to how basic HTTP auth is set, since it looks like you can set up custom domains for AWS Elasticsearch.
Regardless, feel free to open up a PR and we can work through it together 👍
from vulcanizer.
👋 Hi @maxmanders!
PRs would definitely be welcome! Right now the code isn't organized great, but I'd be happy to work with you on a PR to support AWS Elasticsearch Service in a reasonable way. The goal of the project is definitely to try to help with Elasticsearch anywhere it's running 😄
from vulcanizer.
Thanks for getting back to me, that's great to hear! I confess, I'm a novice with Go, but this might be just the sort of thing I need to improve. Conceptually, I think the approach would involve checking the input URL, and if it contains amazonaws.com
assume it's AWS Elasticsearch Service. Given that condition, any HTTP requests sent should be sent along with the appropriate signed request header. Apples to oranges, and this isn't the Go way, but in an OOP context I'd see a base HTTP request interface, and two implementations: one for regular ElasticSearch and another for AWS Elasticsearch Service. If you think that sounds like an appropriate approach, I'll make a start at trying to implement something.
from vulcanizer.
On reflection, I'm going to close this. I must have misunderstood the AWS documentation. I'm able to use Vulcanizer to interact with AWS Elasticsearch Service without the need for signed requests.
from vulcanizer.
Related Issues (19)
- Integrate public CI server HOT 1
- Integrate linting to the project HOT 1
- Compatibility with Elasticsearch Domain hidden behind a Loadbalancer HOT 8
- Snapshot list show incorrect finished date while running a snapshot HOT 4
- allow setting username/password in yaml config HOT 1
- Integrate go-docs to build documentation HOT 1
- Panic during golangci-lint typecheck (cgo files)
- Diff mappings HOT 4
- Add an ability to set multiple hosts per cluster HOT 1
- Malformed http request HOT 3
- Request to add prompt for password HOT 8
- Passing authentication through Go API HOT 2
- Get index settings for "private" indices not working HOT 3
- Allow setting cluster settings to null HOT 6
- Get Disk Allocation information for Nodes HOT 2
- Release v0.5.2 HOT 3
- A link in this repo's readme points to a folder called "vendor" which does not (or no longer?) exists in this repo. Gives Status code [404:NotFound] HOT 1
- Provide pre built releases for the major platforms HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vulcanizer.