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
22
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 1.0.0 to 1.0.1

10

CHANGELOG.md

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

<a name="1.0.1"></a>
## [1.0.1](https://github.com/admiralcloud/ac-bootstrap-bull/compare/v1.0.0..v1.0.1) (2023-04-30 14:07:05)
### Bug Fix
* **App:** Add docCount to bootstrap | MP | [37636dcb7f3df781717bffd2016709bba072d9ba](https://github.com/admiralcloud/ac-bootstrap-bull/commit/37636dcb7f3df781717bffd2016709bba072d9ba)
Show the number of docs in the index during bootstrap
Related issues: [/issues#undefined](https://github.com//issues/undefined)
<a name="1.0.0"></a>

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

@@ -68,2 +68,9 @@ const _ = require('lodash')

const getIndexStats = async({ index }) => {
const response = await acapi.elasticSearch[index.instance].count({
index: index.index
})
return _.get(response, 'body.count')
}
const init = async() => {

@@ -105,2 +112,7 @@ acapi.aclog.headline({ headline: 'ELASTICSEARCH' })

}
const docCount = await getIndexStats({ index })
acapi.aclog.listing({
field: 'DocCount',
value: docCount
})
}

@@ -107,0 +119,0 @@ }

2

package.json
{
"name": "ac-bootstrap-elasticsearch",
"version": "1.0.0",
"version": "1.0.1",
"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