1.0.2 • Published 8 years ago

aws-loopback-connector-es v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

loopback-connector-elastic-search for Amazon ES

Elasticsearch datasource connector for Loopback on Amazon ES.

This connector extends loopback-connector-elastic-search, by adding the necesary config for Amazon ES, and including http-aws-es, to make signed requests.

Add this to the config block in your datasources.json file

    'name': 'elasticsearch',
    'connector': 'aws-loopback-connector-es',
    'amazonES': {
      'region': 'eu-west-1',
      'accessKey': 'YOUR ACCESS KEY',
      'secretKey': 'YOUR SECRET KEY'
    },
    'hosts': 'YOUR_ENDPOINT.eu-west-1.es.amazonaws.com',

For the rest of the options, please see loopback-connector-elastic-search and http-aws-es