Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ac-bootstrap-elasticsearch

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ac-bootstrap-elasticsearch - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="0.1.4"></a>
## [0.1.4](https://github.com/admiralcloud/ac-bootstrap-bull/compare/v0.1.3..v0.1.4) (2022-05-07 09:23:31)
### Bug Fix
* **App:** Fixed logging host and port | MP | [11b245a54dc3fdaec556700c8a13f5294884b72a](https://github.com/admiralcloud/ac-bootstrap-bull/commit/11b245a54dc3fdaec556700c8a13f5294884b72a)
Fixed logging host and port
Related issues: [/issues#undefined](https://github.com//issues/undefined)
<a name="0.1.3"></a>

@@ -2,0 +12,0 @@

9

index.js

@@ -46,4 +46,7 @@ const async = require('async')

// instanciate ES for this database/index
const protocol = _.get(acapi.config, 'localElasticSearch.protocol') || _.get(server, 'protocol', 'https')
const host = _.get(acapi.config, 'localElasticSearch.host') || _.get(server, 'host', 9200)
const port = _.get(acapi.config, 'localElasticSearch.port') || _.get(server, 'port')
let url = (_.get(acapi.config, 'localElasticSearch.protocol') || _.get(server, 'protocol', 'https')) + '://' +(_.get(acapi.config, 'localElasticSearch.host') || _.get(server, 'host', 9200)) + ':' + (_.get(acapi.config, 'localElasticSearch.port') || _.get(server, 'port'))
let url = `${protocol}://${host}:${port}`
let esConfig = {

@@ -138,4 +141,4 @@ node: {

index: _.get(index, 'index'),
host: _.get(server, 'host'),
port: _.get(server, 'port'),
host,
port,
cluster: _.get(esData, 'cluster_name'),

@@ -142,0 +145,0 @@ clusterVersion: _.get(esData, 'version.number')

{
"name": "ac-bootstrap-elasticsearch",
"version": "0.1.3",
"version": "0.1.4",
"description": "OpenSearch (ElasticSearch) init for AC apps",

@@ -5,0 +5,0 @@ "repository": "admiralcloud/ac-bootstrap-elasticsearch",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc