juttle-aws-adapter
Advanced tools
Comparing version 0.2.0 to 0.2.1
# Change Log | ||
This file documents all notable changes to juttle-aws-adapter. The release numbering uses [semantic versioning](http://semver.org). | ||
## 0.2.1 | ||
Released 2016-03-01 | ||
### Bug Fixes | ||
- Properly handle `read aws` when no -from or -to is provided [[#8](https://github.com/juttle/juttle-aws-adapter/issues/8)] | ||
## 0.2.0 | ||
Released 2016-02-26 | ||
### Major Changes | ||
- Update to reflect changes in juttle 0.5.0, including the concept of adapter versioning. This release is compatible with adapter version 0.5.0. | ||
- Update to reflect changes in juttle 0.5.0, including the concept of adapter versioning. This release is compatible with adapter version 0.5.0. [[#6](https://github.com/juttle/juttle-aws-adapter/pull/6)]. | ||
@@ -9,0 +16,0 @@ ## 0.1.3 |
@@ -17,4 +17,4 @@ 'use strict'; | ||
return { | ||
from: this.params.now, | ||
to: new JuttleMoment(Infinity) | ||
from: new JuttleMoment({moment: this.params.now.moment.clone(), epsilon: true}), | ||
to: this.params.now | ||
}; | ||
@@ -28,3 +28,3 @@ } | ||
if (options.from.lt(params.now)) { | ||
if (_.has(options, 'from') && options.from.lt(params.now)) { | ||
throw this.compileError('ADAPTER-UNSUPPORTED-TIME-OPTION', { | ||
@@ -31,0 +31,0 @@ option: '-from', |
{ | ||
"name": "juttle-aws-adapter", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Juttle adapter for AWS (Amazon Web Services)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -136,3 +136,3 @@ 'use strict'; | ||
return check_juttle({ | ||
program: 'read aws -from :now: -to :1 second from now: | view text' | ||
program: 'read aws | view text' | ||
}) | ||
@@ -152,3 +152,3 @@ .then(function(result) { | ||
return check_juttle({ | ||
program: `import "aws_module.juttle" as AWSMod; read aws -from :now: -to :1 second from now: | AWSMod.aggregate_all | view text`, | ||
program: `import "aws_module.juttle" as AWSMod; read aws | AWSMod.aggregate_all | view text`, | ||
modules: { | ||
@@ -155,0 +155,0 @@ 'aws_module.juttle': awsmod |
78694