ac-bootstrap-elasticsearch
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -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 @@ |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12665
224