incubator-openwhisk-package-cloudant.git
2 days agoupdate Node.js to version 10 (#189) master 1.9.0
Jason Peterson [Wed, 12 Dec 2018 18:36:10 +0000 (13:36 -0500)] 
update Node.js to version 10 (#189)

8 days agoupdate Node.js version to 8.14.0 (#188) 1.8.3
Jason Peterson [Thu, 6 Dec 2018 17:46:51 +0000 (12:46 -0500)] 
update Node.js version to 8.14.0 (#188)

2 weeks agoif error on authrequest invoke callback with error param (#187) 1.8.2
Jason Peterson [Thu, 29 Nov 2018 18:18:53 +0000 (13:18 -0500)] 
if error on authrequest invoke callback with error param (#187)

2 weeks agoadd delay in feed tests (between trigger creation and doc creation) (#186)
Jason Peterson [Thu, 29 Nov 2018 14:34:26 +0000 (09:34 -0500)] 
add delay in feed tests (between trigger creation and doc creation) (#186)

2 weeks agodo not disable trigger on 409 (conflict) (#185) 1.8.1
Jason Peterson [Mon, 26 Nov 2018 16:46:25 +0000 (11:46 -0500)] 
do not disable trigger on 409 (conflict) (#185)

3 weeks agoAdd support for IAM based Cloudant DB instances (#184) 1.8.0
Jason Peterson [Tue, 20 Nov 2018 15:40:54 +0000 (10:40 -0500)] 
Add support for IAM based Cloudant DB instances (#184)

4 weeks agosupport an optional flag to only install the feed action (#183)
Jason Peterson [Fri, 16 Nov 2018 04:26:30 +0000 (23:26 -0500)] 
support an optional flag to only install the feed action (#183)

5 weeks agoRename the imported package into org.apache.openwhisk. (#182)
Vincent [Thu, 8 Nov 2018 15:18:36 +0000 (10:18 -0500)] 
Rename the imported package into org.apache.openwhisk. (#182)

5 weeks agoSwitch to Scala 2.12.7 (#179)
Chetan Mehrotra [Wed, 7 Nov 2018 00:03:15 +0000 (05:33 +0530)] 
Switch to Scala 2.12.7 (#179)

7 weeks agoremove unused auth variable (#181) 1.7.1
Jason Peterson [Wed, 24 Oct 2018 16:24:54 +0000 (12:24 -0400)] 
remove unused auth variable (#181)

3 months agomake action's node.js runtime version configurable (#178) 1.7.0
Jason Peterson [Wed, 12 Sep 2018 14:00:15 +0000 (10:00 -0400)] 
make action's node.js runtime version configurable (#178)

4 months agoremove the use of base64 for webaction response (#176)
Carlos Santana [Tue, 31 Jul 2018 13:42:35 +0000 (09:42 -0400)] 
remove the use of base64 for webaction response (#176)

* remove the use of base64 for webaction response

* moar changes

7 months agodo not assume env var HOST_INDEX begins with 'host' (#174) 1.6.3
Jason Peterson [Wed, 9 May 2018 18:18:24 +0000 (14:18 -0400)] 
do not assume env var HOST_INDEX begins with 'host' (#174)

7 months agoloosen restrictions on redis values (#173)
Jason Peterson [Wed, 9 May 2018 12:45:56 +0000 (08:45 -0400)] 
loosen restrictions on redis values (#173)

7 months agoRemove reference to Pair and replace with bespoke class. (#171)
rodric rabbah [Tue, 8 May 2018 18:41:03 +0000 (14:41 -0400)] 
Remove reference to Pair and replace with bespoke class. (#171)

7 months agoadd travis2slack webhook (#172)
David Grove [Tue, 8 May 2018 15:58:25 +0000 (11:58 -0400)] 
add travis2slack webhook (#172)

7 months agoallow apihost port to be configurable (#170)
Jason Peterson [Fri, 27 Apr 2018 13:53:36 +0000 (09:53 -0400)] 
allow apihost port to be configurable (#170)

7 months agoswap active host on sigterm signal if host being stopped is currently active (#169) 1.6.2
Jason Peterson [Mon, 23 Apr 2018 16:13:51 +0000 (12:13 -0400)] 
swap active host on sigterm signal if host being stopped is currently active (#169)

7 months agoFix spray-json import to comply with newer versions. (#168)
Markus Thömmes [Mon, 16 Apr 2018 15:46:10 +0000 (17:46 +0200)] 
Fix spray-json import to comply with newer versions. (#168)

8 months agoquery_params should not be required when using filter (#166)
Jason Peterson [Mon, 2 Apr 2018 17:30:09 +0000 (13:30 -0400)] 
query_params should not be required when using filter (#166)

8 months agoupdates to query_params validation (#164)
Jason Peterson [Tue, 20 Mar 2018 01:52:18 +0000 (21:52 -0400)] 
updates to query_params validation (#164)

8 months agovalidate that query_params is valid JSON (#163)
Jason Peterson [Mon, 19 Mar 2018 20:07:28 +0000 (16:07 -0400)] 
validate that query_params is valid JSON (#163)

8 months agoupdates to cloudant health monitoring (#162) 1.6.1
Jason Peterson [Mon, 19 Mar 2018 17:02:31 +0000 (13:02 -0400)] 
updates to cloudant health monitoring (#162)

9 months agoself monitoring support (#161) 1.6.0
Jason Peterson [Thu, 15 Mar 2018 14:41:49 +0000 (10:41 -0400)] 
self monitoring support (#161)

9 months agofix failing test and other test cleanup (#160)
Jason Peterson [Mon, 12 Mar 2018 01:40:27 +0000 (21:40 -0400)] 
fix failing test and other test cleanup (#160)

9 months agoSwitch to Maven based dependency (#159)
Chetan Mehrotra [Wed, 28 Feb 2018 19:41:15 +0000 (01:11 +0530)] 
Switch to Maven based dependency (#159)

This is required for apache/incubator-openwhisk#3277

9 months agoreplace gradle method leftshift(deprecated) with doLast (#158)
Jason Peterson [Mon, 19 Feb 2018 15:48:49 +0000 (10:48 -0500)] 
replace gradle method leftshift(deprecated) with doLast (#158)

10 months agoadd trigger rules to existing tests (#157)
Jason Peterson [Fri, 9 Feb 2018 21:57:35 +0000 (16:57 -0500)] 
add trigger rules to existing tests (#157)

10 months agoadding test case for writing a new document when overwrite=true (#156)
Jason Peterson [Wed, 7 Feb 2018 14:14:38 +0000 (09:14 -0500)] 
adding test case for writing a new document when overwrite=true (#156)

10 months ago#112 Adding feature to insert document when overwrite and putIfAbsent… (#155)
vipulkashyap111 [Wed, 7 Feb 2018 14:09:28 +0000 (09:09 -0500)] 
#112 Adding feature to insert document when overwrite and putIfAbsent… (#155)

If document is not present when overwrite is requested, then insert it.

10 months agosupport SSL for redis (#154) 1.5.0
Jason Peterson [Tue, 16 Jan 2018 16:38:49 +0000 (11:38 -0500)] 
support SSL for redis (#154)

10 months agofix the version for the request package (#153) 1.4.2
Jason Peterson [Mon, 15 Jan 2018 16:31:51 +0000 (11:31 -0500)] 
fix the version for the request package (#153)

10 months agoupdate request package to a version without known memory leaks (#151)
Martin Henke [Mon, 15 Jan 2018 15:09:36 +0000 (16:09 +0100)] 
update request package to a version without known memory leaks (#151)

12 months agofix travis setup for docker (#150)
Carlos Santana [Wed, 13 Dec 2017 19:12:31 +0000 (14:12 -0500)] 
fix travis setup for docker (#150)

12 months agosetup step is performed twice in a few tests (#149)
Jason Peterson [Mon, 4 Dec 2017 16:11:06 +0000 (11:11 -0500)] 
setup step is performed twice in a few tests (#149)

12 months agoFix failing test (#148)
Adnan Baruni [Mon, 20 Nov 2017 12:15:28 +0000 (06:15 -0600)] 
Fix failing test (#148)

12 months agoupdate tests that use put on creation to now use post (#147)
Jason Peterson [Sun, 19 Nov 2017 22:49:01 +0000 (17:49 -0500)] 
update tests that use put on creation to now use post (#147)

12 months agoreject update if trigger is disabled (#146) 1.4.1
Adnan Baruni [Fri, 17 Nov 2017 21:48:19 +0000 (15:48 -0600)] 
reject update if trigger is disabled (#146)

12 months agoFeed trigger update (#145) 1.4.0
Adnan Baruni [Fri, 17 Nov 2017 19:48:31 +0000 (13:48 -0600)] 
Feed trigger update (#145)

* support updating feed parameters

* update tests

* move positive trigger update test to health class

* remove trailing whitespace

* add updatable boolean field to annotation

* write parameters to database after successfully disabling the trigger

* remove trailing whitespace

* missing var declaration

12 months agoAdd v8 heap statistics to Health endpoint (#141)
Jason Peterson [Fri, 17 Nov 2017 19:47:22 +0000 (14:47 -0500)] 
Add v8 heap statistics to Health endpoint (#141)

12 months agomove positive trigger get test to health class (#144)
Adnan Baruni [Thu, 16 Nov 2017 17:26:03 +0000 (11:26 -0600)] 
move positive trigger get test to health class (#144)

12 months agoadd parameters as query parameters for get request (#143)
Adnan Baruni [Thu, 16 Nov 2017 03:17:07 +0000 (21:17 -0600)] 
add parameters as query parameters for get request (#143)

* add parameters as query parameters for get request

* move json:true to options declaration

* remove trailing whitespace

13 months agoSwitch to cloudant-nano (fork of nano with latest version of cloudant-follow) (#140) 1.3.0
Jason Peterson [Wed, 1 Nov 2017 14:29:08 +0000 (10:29 -0400)] 
Switch to cloudant-nano (fork of nano with latest version of cloudant-follow) (#140)

13 months agoTrigger management (#137)
Adnan Baruni [Tue, 31 Oct 2017 19:54:48 +0000 (14:54 -0500)] 
Trigger management (#137)

* implementation of trigger management get status and configuration, tests

* formatting

* remove trailing whitespace

* fix scanCode complaint

* update dateChanged field to millis since epoch to provide consistency

* remove maxTriggers from response, add dateChangedISO to response

14 months agoupdate test to verify the "since" parameter (#136)
Jason Peterson [Wed, 11 Oct 2017 14:40:00 +0000 (10:40 -0400)] 
update test to verify the "since" parameter (#136)

14 months agoupdate nano to latest version (#135) 1.2.1
Jason Peterson [Tue, 26 Sep 2017 17:18:15 +0000 (13:18 -0400)] 
update nano to latest version (#135)

14 months agoFix test failures (#134) 1.2.0
Jason Peterson [Thu, 21 Sep 2017 16:34:18 +0000 (12:34 -0400)] 
Fix test failures (#134)

14 months agoSupport for worker assignment on trigger creation (#132)
Jason Peterson [Wed, 20 Sep 2017 20:02:39 +0000 (16:02 -0400)] 
Support for worker assignment on trigger creation (#132)

* Support for multiple workers

* pin the version of nano to avoid breaking changes

15 months agoupdate logging level for maxTriggers (#129) 1.1.11
Jason Peterson [Mon, 11 Sep 2017 17:19:55 +0000 (13:19 -0400)] 
update logging level for maxTriggers (#129)

15 months agoWhen auth header is missing send WWW-Authenticate header and a 401 (#127) 1.1.10
Jason Peterson [Mon, 28 Aug 2017 19:24:21 +0000 (15:24 -0400)] 
When auth header is missing send WWW-Authenticate header and a 401 (#127)

15 months agoupdate doc to remove the namespace set for CLI no need it anymore (#126)
Carlos Santana [Wed, 23 Aug 2017 21:54:59 +0000 (17:54 -0400)] 
update doc to remove the namespace set for CLI no need it anymore (#126)

15 months agoBump to gradle 4. (#107)
Markus Thömmes [Wed, 16 Aug 2017 13:46:00 +0000 (15:46 +0200)] 
Bump to gradle 4. (#107)

16 months agoDB view should filter out disabled triggers (#124) 1.1.9
Jason Peterson [Mon, 14 Aug 2017 17:18:45 +0000 (13:18 -0400)] 
DB view should filter out disabled triggers (#124)

16 months agoAvoid that trigger is fired too often if request to OpenWhisk is too slow. (#123)
Christian Bickel [Thu, 10 Aug 2017 13:34:58 +0000 (15:34 +0200)] 
Avoid that trigger is fired too often if request to OpenWhisk is too slow. (#123)

16 months agoApplying filter on all db changes since 0 takes too long (#121) 1.1.8
Jason Peterson [Mon, 7 Aug 2017 18:55:20 +0000 (14:55 -0400)] 
Applying filter on all db changes since 0 takes too long (#121)

16 months agomake sure trigger that has been deleted is no longer in memory (#120) 1.1.7
Jason Peterson [Fri, 21 Jul 2017 17:17:34 +0000 (13:17 -0400)] 
make sure trigger that has been deleted is no longer in memory (#120)

16 months agoHandle db connection error during follow (#119) 1.1.6
Jason Peterson [Tue, 18 Jul 2017 18:21:58 +0000 (14:21 -0400)] 
Handle db connection error during follow (#119)

16 months agofix trigger count for the health endpoint (#118) 1.1.5
Jason Peterson [Mon, 17 Jul 2017 19:19:08 +0000 (15:19 -0400)] 
fix trigger count for the health endpoint (#118)

17 months agoContinue initialization if redundant provider is creating the filter (#117)
Jason Peterson [Fri, 14 Jul 2017 13:37:18 +0000 (09:37 -0400)] 
Continue initialization if redundant provider is creating the filter (#117)

* Continue initialization if redundant provider is creating the filter
* fix serialization self reference error for bulk document tests

17 months agoReturn Expected JSON Response from Web Action (#116)
James Dubee [Thu, 13 Jul 2017 18:49:32 +0000 (14:49 -0400)] 
Return Expected JSON Response from Web Action (#116)

17 months agoHandle redis publish/subscribe connection error (#115) 1.1.4
Jason Peterson [Mon, 10 Jul 2017 18:11:37 +0000 (13:11 -0500)] 
Handle redis publish/subscribe connection error (#115)

17 months agoUpdate remaining .scala files to ASF license. (#113)
Matt Rutkowski [Mon, 10 Jul 2017 15:04:50 +0000 (10:04 -0500)] 
Update remaining .scala files to ASF license. (#113)

17 months agoAdd HOST_MACHINE and HOST_INDEX env vars (remove ACTIVE) (#106) 1.1.3
Jason Peterson [Tue, 27 Jun 2017 18:50:21 +0000 (14:50 -0400)] 
Add HOST_MACHINE and HOST_INDEX env vars (remove ACTIVE) (#106)

17 months agoAdd system stats and basic auth to the health endpoint (#105) 1.1.2
Jason Peterson [Mon, 19 Jun 2017 17:25:21 +0000 (13:25 -0400)] 
Add system stats and basic auth to the health endpoint (#105)

* Add system stats and basic auth to the health endpoint
* get all system stats in parallel

18 months agoAdd Redis support for managing active state (#104) 1.1.1
Jason Peterson [Wed, 14 Jun 2017 13:43:20 +0000 (09:43 -0400)] 
Add Redis support for managing active state (#104)

* Add Redis support for managing active state
* prevent duplicate active hosts

18 months agoUpdate to run scancode from incubator-openwhisk-utilities repo. (#103)
Matt Rutkowski [Thu, 8 Jun 2017 19:39:46 +0000 (14:39 -0500)] 
Update to run scancode from incubator-openwhisk-utilities repo. (#103)

18 months agoupdate docs to include filter and query_params (#101)
Carlos Santana [Tue, 6 Jun 2017 17:06:06 +0000 (13:06 -0400)] 
update docs to include filter and query_params (#101)

* update docs to include filter and query_params

* updated doc based on feedback from @jasonpet

* fix forward slash in multi-line

18 months agoImplement provider redundancy (#100) 1.1.0
Jason Peterson [Thu, 25 May 2017 20:15:38 +0000 (16:15 -0400)] 
Implement provider redundancy (#100)

This change introduces redundancy in the cloudant feed provider, allowing multiple instances to be deployed simultaneously such that if any one instance stops working, the remaining instances can be activated to take over the work of the failed instance.

This is accomplished by changing the feed actions to write directly to the trigger DB, rather than talking directly to the feed provider through REST endpoints. In this way, provider instances become aware of new and deleted triggers by monitoring the DB changes feed.

19 months agoadd annotations and test case for the new filter support (#98)
Jason Peterson [Tue, 9 May 2017 20:00:42 +0000 (16:00 -0400)] 
add annotations and test case for the new filter support (#98)

19 months agoIssue 96 (#97)
Carlos Santana [Tue, 9 May 2017 17:56:15 +0000 (13:56 -0400)] 
Issue 96 (#97)

* add travis badge to readme

* deploy docker image in travis

* corrected user and password

19 months agofixes for trigger create and delete authorization checks (#95) 1.0.17
Jason Peterson [Fri, 5 May 2017 17:24:08 +0000 (13:24 -0400)] 
fixes for trigger create and delete authorization checks (#95)

19 months agodo backoff for all retries (not just 429s) (#92) 1.0.16
Jason Peterson [Thu, 4 May 2017 20:05:20 +0000 (16:05 -0400)] 
do backoff for all retries (not just 429s) (#92)

19 months agoAdd support for trigger filters (#91) 1.0.15
Jason Peterson [Wed, 3 May 2017 22:21:52 +0000 (18:21 -0400)] 
Add support for trigger filters (#91)

19 months agoAdd retry backoff support for 429s (#90) 1.0.14
Jason Peterson [Tue, 2 May 2017 23:02:22 +0000 (19:02 -0400)] 
Add retry backoff support for 429s (#90)

19 months agosupport disabling triggers (never delete triggers that won't fire) (#88) 1.0.13
Jason Peterson [Tue, 25 Apr 2017 14:09:28 +0000 (10:09 -0400)] 
support disabling triggers (never delete triggers that won't fire) (#88)

19 months agofix "database deleted after change errors" during health test (#87)
Jason Peterson [Fri, 21 Apr 2017 17:34:36 +0000 (13:34 -0400)] 
fix "database deleted after change errors" during health test (#87)

19 months agoadd 504 to list of status codes to retry on (#85) 1.0.12
Jason Peterson [Wed, 19 Apr 2017 20:58:51 +0000 (16:58 -0400)] 
add 504 to list of status codes to retry on (#85)

20 months agoadd retry support on trigger fire (#81) 1.0.11
Jason Peterson [Sun, 2 Apr 2017 17:31:33 +0000 (13:31 -0400)] 
add retry support on trigger fire (#81)

20 months agoinclude trigger name with post response status code (#79) 1.0.10
Jason Peterson [Tue, 28 Mar 2017 19:28:28 +0000 (15:28 -0400)] 
include trigger name with post response status code (#79)

20 months agodo not confirm delete (feed already deleted since max triggers reached) (#78)
Jason Peterson [Mon, 27 Mar 2017 22:57:57 +0000 (18:57 -0400)] 
do not confirm delete (feed already deleted since max triggers reached) (#78)

20 months agouse safe stringify to prevent circular reference exceptions (#75) 1.0.8 1.0.9
Jason Peterson [Mon, 27 Mar 2017 19:01:48 +0000 (15:01 -0400)] 
use safe stringify to prevent circular reference exceptions (#75)

20 months agorelax trigger delete on specific firing errors (#74) 1.0.7
Jason Peterson [Mon, 27 Mar 2017 16:44:54 +0000 (12:44 -0400)] 
relax trigger delete on specific firing errors (#74)

20 months agouse a view to retrieve trigger docs (#73) 1.0.6
Jason Peterson [Tue, 21 Mar 2017 12:58:22 +0000 (08:58 -0400)] 
use a view to retrieve trigger docs (#73)

21 months agodelete dead triggers on init (#70) 1.0.5
Jason Peterson [Fri, 10 Mar 2017 22:18:22 +0000 (17:18 -0500)] 
delete dead triggers on init (#70)

21 months agoClean up test integration towards OpenWhisk (#66)
Jason Peterson [Tue, 7 Mar 2017 19:57:03 +0000 (14:57 -0500)] 
Clean up test integration towards OpenWhisk (#66)

21 months agoBump scalatest dependency (#65)
Jason Peterson [Mon, 6 Mar 2017 16:54:42 +0000 (11:54 -0500)] 
Bump scalatest dependency (#65)

21 months agominor formatting fixes for readme (#64)
Carlos Santana [Fri, 24 Feb 2017 04:24:05 +0000 (20:24 -0800)] 
minor formatting fixes for readme (#64)

* minor formatting fixes for readme

* fix readme align

21 months agoAdd jshint validation to travis and cleanup existing jshint issues 63/head
Jason Peterson [Thu, 23 Feb 2017 17:13:47 +0000 (12:13 -0500)] 
Add jshint validation to travis and cleanup existing jshint issues

21 months agoAdd Cloudant read and write actions (#62)
Jason Peterson [Fri, 17 Feb 2017 18:12:11 +0000 (13:12 -0500)] 
Add Cloudant read and write actions (#62)

21 months agoupdate readme with user docs (#61)
Carlos Santana [Thu, 16 Feb 2017 21:53:58 +0000 (16:53 -0500)] 
update readme with user docs (#61)

* update readme with user docs

* remove include from read

22 months agoMerge pull request #58 from jasonpet/scancode
Carlos Santana [Thu, 2 Feb 2017 15:26:12 +0000 (10:26 -0500)] 
Merge pull request #58 from jasonpet/scancode

Add travis scancode support

22 months agoadd travis scancode support 58/head
Jason Peterson [Thu, 2 Feb 2017 15:05:57 +0000 (10:05 -0500)] 
add travis scancode support

22 months agoCreate CONTRIBUTING.md
Matt Rutkowski [Wed, 25 Jan 2017 16:30:30 +0000 (10:30 -0600)] 
Create CONTRIBUTING.md

22 months agofix for failing tests 57/head
Jason Peterson [Tue, 24 Jan 2017 23:59:02 +0000 (18:59 -0500)] 
fix for failing tests

22 months agoadd cloudant account actions test 56/head
Jason Peterson [Tue, 24 Jan 2017 15:15:07 +0000 (10:15 -0500)] 
add cloudant account actions test

22 months agoAdd CloudantDatabaseActionsTests 54/head
Jason Peterson [Tue, 29 Nov 2016 15:34:45 +0000 (10:34 -0500)] 
Add CloudantDatabaseActionsTests

22 months agoremoving references to whisk object 53/head
Jason Peterson [Tue, 17 Jan 2017 16:37:13 +0000 (11:37 -0500)] 
removing references to whisk object

23 months agojshint cleanup - pipeline was updated to scan the code (#51)
Morgan L Johnson [Fri, 6 Jan 2017 16:24:13 +0000 (11:24 -0500)] 
jshint cleanup - pipeline was updated to scan the code (#51)

23 months agoadd ignore flag to test already running in blue. 50/head
Morgan Johnson [Wed, 21 Dec 2016 20:27:37 +0000 (15:27 -0500)] 
add ignore flag to test already running in blue.

23 months agouse environment var __OW_NAMESPACE to retrieve namespace 48/head
Jason Peterson [Sun, 18 Dec 2016 03:26:33 +0000 (22:26 -0500)] 
use environment var __OW_NAMESPACE to retrieve namespace