artillery-engine-kinesis
Advanced tools
Comparing version 1.1.0 to 1.1.1
13
index.js
@@ -30,3 +30,3 @@ /* This Source Code Form is subject to the terms of the Mozilla Public | ||
return this.helpers.createLoopWithCount(rs.count || -1, steps); | ||
return this.helpers.createLoopWithCount(rs.count || -1, steps, {}); | ||
} | ||
@@ -46,3 +46,3 @@ | ||
return function (context, callback) { | ||
let func = self.config.processor[rs.function]; | ||
let func = self.script.config.processor[rs.function]; | ||
if (!func) { | ||
@@ -96,8 +96,7 @@ return process.nextTick(function () { callback(null, context); }); | ||
const init = function init (next) { | ||
let opts = { | ||
region: self.script.config.kinesis.region || 'us-east-1' | ||
}; | ||
let opts = {...self.script.config.kinesis}; | ||
if (self.script.config.kinesis.endpoint) { | ||
opts.endpoint = self.script.config.kinesis.endpoint; | ||
if (!opts.region) { | ||
console.log(`WARNING: no AWS region provided. Defaulting to us-east-1`); // TODO: a 'warning' event | ||
opts.region = 'us-east-1'; | ||
} | ||
@@ -104,0 +103,0 @@ |
{ | ||
"name": "artillery-engine-kinesis", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Load test AWS Kinesis with Artillery.io", | ||
@@ -19,3 +19,2 @@ "main": "index.js", | ||
"conventional-changelog-lint": "^1.1.9", | ||
"debug": "^2.6.4", | ||
"eslint": "^3.19.0", | ||
@@ -34,5 +33,5 @@ "eslint-config-standard": "^10.2.1", | ||
"aws-sdk": "^2.45.0", | ||
"debug": "^2.6.6", | ||
"debug": "^4.3.4", | ||
"lodash": "^4.17.4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
10
23826
130
72
+ Addeddebug@4.4.0(transitive)
+ Addedms@2.1.3(transitive)
- Removeddebug@2.6.9(transitive)
- Removedms@2.0.0(transitive)
Updateddebug@^4.3.4