incubator-openwhisk-package-alarms.git
7 hours agocheck if we should disable trigger for status codes on error object (#173) master 1.12.1
Jason Peterson [Tue, 18 Dec 2018 03:31:35 +0000 (22:31 -0500)] 
check if we should disable trigger for status codes on error object (#173)

5 days agosupport trigger get and update for timezone parameter (#172)
Jason Peterson [Wed, 12 Dec 2018 23:56:35 +0000 (18:56 -0500)] 
support trigger get and update for timezone parameter (#172)

5 days agoupdate Node.js to version 10 (#171) 1.12.0
Jason Peterson [Wed, 12 Dec 2018 18:35:39 +0000 (13:35 -0500)] 
update Node.js to version 10 (#171)

10 days agosupport timezone param for cron alarm (#170) 1.11.0
Jason Peterson [Fri, 7 Dec 2018 18:03:44 +0000 (13:03 -0500)] 
support timezone param for cron alarm (#170)

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

3 weeks agodo not disable trigger on 409 (conflict) (#168) 1.10.3
Jason Peterson [Mon, 26 Nov 2018 16:46:43 +0000 (11:46 -0500)] 
do not disable trigger on 409 (conflict) (#168)

5 weeks agoRename the imported package to org.apache.openwhisk. (#167)
Vincent [Thu, 8 Nov 2018 14:54:11 +0000 (09:54 -0500)] 
Rename the imported package to org.apache.openwhisk. (#167)

5 weeks agoSwitch to Scala 2.12.7 (#165)
Chetan Mehrotra [Wed, 7 Nov 2018 00:02:31 +0000 (05:32 +0530)] 
Switch to Scala 2.12.7 (#165)

7 weeks agopin node version and other cleanup (#166) 1.10.2
Jason Peterson [Fri, 26 Oct 2018 15:14:40 +0000 (11:14 -0400)] 
pin node version and other cleanup (#166)

8 weeks agoadded checksum verification for https://deb.nodesource.com/setup_8.x (#164)
moritzraho [Fri, 19 Oct 2018 17:34:03 +0000 (19:34 +0200)] 
added checksum verification for https://deb.nodesource.com/setup_8.x (#164)

* added checksum verification for https://deb.nodesource.com/setup_8.x

* two spaces for sha256sum

3 months agouse runtime env var __OW_API_KEY for the api key (#162)
Jason Peterson [Tue, 28 Aug 2018 20:14:17 +0000 (16:14 -0400)] 
use runtime env var __OW_API_KEY for the api key (#162)

3 months agopin cron npm module version (#161) 1.10.1
Jason Peterson [Mon, 27 Aug 2018 17:43:35 +0000 (13:43 -0400)] 
pin cron npm module version (#161)

3 months agoAdd the code scanning check-up (#159)
Vincent [Wed, 22 Aug 2018 18:04:38 +0000 (14:04 -0400)] 
Add the code scanning check-up (#159)

3 months agomake action's node.js runtime version configurable (#158) 1.10.0
Jason Peterson [Mon, 20 Aug 2018 19:03:56 +0000 (15:03 -0400)] 
make action's node.js runtime version configurable (#158)

4 months agoremove the use of base64 for webaction response (#156)
Carlos Santana [Tue, 31 Jul 2018 03:31:39 +0000 (23:31 -0400)] 
remove the use of base64 for webaction response (#156)

5 months agouse minutes instead of seconds in alarms test and make wait time configurable (#154)
Jason Peterson [Thu, 21 Jun 2018 16:07:49 +0000 (12:07 -0400)] 
use minutes instead of seconds in alarms test and make wait time configurable (#154)

5 months agosome minor test cleanup (#153)
Jason Peterson [Thu, 21 Jun 2018 02:26:24 +0000 (22:26 -0400)] 
some minor test cleanup (#153)

7 months agoincrease wait time for maxTriggers test (#151)
Jason Peterson [Thu, 17 May 2018 15:34:48 +0000 (11:34 -0400)] 
increase wait time for maxTriggers test (#151)

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

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

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

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

8 months agoFix spray-json import to comply with newer versions. (#143)
Markus Thömmes [Mon, 16 Apr 2018 16:14:28 +0000 (18:14 +0200)] 
Fix spray-json import to comply with newer versions. (#143)

8 months agoFix Travis error (#144)
James Dubee [Mon, 16 Apr 2018 16:02:27 +0000 (12:02 -0400)] 
Fix Travis error (#144)

8 months agofix for health monitor stopDate (#142) 1.9.7
Jason Peterson [Thu, 22 Mar 2018 17:27:15 +0000 (13:27 -0400)] 
fix for health monitor stopDate (#142)

9 months agominor updates to health monitor (#140) 1.9.6
Jason Peterson [Thu, 15 Mar 2018 14:42:18 +0000 (10:42 -0400)] 
minor updates to health monitor (#140)

9 months agofix failing test and refactor others into appropriate suites (#139)
Jason Peterson [Sun, 11 Mar 2018 23:58:15 +0000 (19:58 -0400)] 
fix failing test and refactor others into appropriate suites (#139)

9 months agocleanup unnecessary check (#138) 1.9.5
Jason Peterson [Sat, 10 Mar 2018 13:54:34 +0000 (08:54 -0500)] 
cleanup unnecessary check (#138)

9 months agoredundant provider not being notified to remove expired trigger (#137) 1.9.4
Jason Peterson [Sat, 10 Mar 2018 03:47:29 +0000 (22:47 -0500)] 
redundant provider not being notified to remove expired trigger (#137)

9 months agodisable a throttled alarms trigger if retries exhausted (#136) 1.9.3
Jason Peterson [Thu, 8 Mar 2018 17:03:21 +0000 (12:03 -0500)] 
disable a throttled alarms trigger if retries exhausted (#136)

9 months agoonly update monitor status for the current monitored trigger (#135) 1.9.2
Jason Peterson [Mon, 5 Mar 2018 23:59:27 +0000 (18:59 -0500)] 
only update monitor status for the current monitored trigger (#135)

9 months agoFix random test failure and other minor cleanup (#134) 1.9.1
Jason Peterson [Mon, 5 Mar 2018 20:02:43 +0000 (15:02 -0500)] 
Fix random test failure and other minor cleanup (#134)

9 months agoSwitch to Maven based dependency (#132) 1.9.0
Chetan Mehrotra [Wed, 28 Feb 2018 19:06:54 +0000 (00:36 +0530)] 
Switch to Maven based dependency (#132)

9 months agoAdd self monitoring support (#131)
Jason Peterson [Wed, 28 Feb 2018 18:56:11 +0000 (13:56 -0500)] 
Add self monitoring support (#131)

9 months agoharden health test (#130)
Jason Peterson [Tue, 20 Feb 2018 18:43:29 +0000 (13:43 -0500)] 
harden health test (#130)

9 months agosupport trigger get and update for new deleteAfterFire param (#129) 1.8.0
Jason Peterson [Mon, 19 Feb 2018 18:15:47 +0000 (13:15 -0500)] 
support trigger get and update for new deleteAfterFire param (#129)

9 months agoAllow delete of trigger and rules after firing alarms once action (#128)
Jason Peterson [Mon, 19 Feb 2018 15:48:10 +0000 (10:48 -0500)] 
Allow delete of trigger and rules after firing alarms once action (#128)

10 months agoremove unused import (#127)
Jason Peterson [Tue, 13 Feb 2018 21:08:02 +0000 (16:08 -0500)] 
remove unused import (#127)

10 months agooptionally limit cron fields to 5 instead of 6 (#126)
Jason Peterson [Tue, 13 Feb 2018 17:14:21 +0000 (12:14 -0500)] 
optionally limit cron fields to 5 instead of 6 (#126)

10 months agoalarm readme updates (#125)
Jason Peterson [Thu, 1 Feb 2018 19:17:45 +0000 (14:17 -0500)] 
alarm readme updates (#125)

11 months agosupport SSL for redis (#122) 1.7.0
Jason Peterson [Tue, 16 Jan 2018 16:39:14 +0000 (11:39 -0500)] 
support SSL for redis (#122)

11 months agorevert PR #115 (#121) 1.6.1
Jason Peterson [Mon, 15 Jan 2018 04:10:48 +0000 (23:10 -0500)] 
revert PR #115 (#121)

11 months agoremove unused imports (#120)
Jason Peterson [Fri, 12 Jan 2018 21:31:25 +0000 (16:31 -0500)] 
remove unused imports (#120)

11 months agoadd update lifecycle support (#119) 1.6.0
Jason Peterson [Fri, 12 Jan 2018 14:31:45 +0000 (09:31 -0500)] 
add update lifecycle support (#119)

11 months agoFix DB URL parsing problem (#115)
김건희 [Fri, 12 Jan 2018 14:31:24 +0000 (23:31 +0900)] 
Fix DB URL parsing problem (#115)

12 months agofix travis docker build and deploy (#117)
Carlos Santana [Wed, 13 Dec 2017 18:59:55 +0000 (13:59 -0500)] 
fix travis docker build and deploy (#117)

12 months agoadd rule to all tests that rely upon activation records (#116)
Jason Peterson [Tue, 12 Dec 2017 19:52:57 +0000 (14:52 -0500)] 
add rule to all tests that rely upon activation records (#116)

12 months agoAdd interval support (#113) 1.5.0
Jason Peterson [Wed, 22 Nov 2017 22:35:50 +0000 (17:35 -0500)] 
Add interval support (#113)

* add interval support

* add documentation for the interval trigger feed

* add tests for interval trigger feed

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

13 months agoadd startDate and stopDate support for the alarms feed (#109) 1.4.0
Jason Peterson [Fri, 17 Nov 2017 19:24:25 +0000 (14:24 -0500)] 
add startDate and stopDate support for the alarms feed (#109)

* add startDate and stopDate support for the alarms feed

* documentation for startDate, stopDate and date parameters

* remove unnecessary alarms once zip

* fix no eol travis error

13 months agoAdd v8 heap statistics to Health endpoint (#106)
Jason Peterson [Fri, 17 Nov 2017 12:02:55 +0000 (07:02 -0500)] 
Add v8 heap statistics to Health endpoint (#106)

13 months agomove positive trigger get test to health class (#111)
Adnan Baruni [Thu, 16 Nov 2017 17:25:15 +0000 (11:25 -0600)] 
move positive trigger get test to health class (#111)

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

13 months agocreate fire once action to support firing trigger on a specific date (#107)
Jason Peterson [Mon, 13 Nov 2017 21:21:04 +0000 (16:21 -0500)] 
create fire once action to support firing trigger on a specific date (#107)

* create fire once action to support firing trigger on a specific date

* add tests for the new fire once action

13 months agoTrigger management (#101) 1.3.0
Adnan Baruni [Wed, 1 Nov 2017 14:34:09 +0000 (09:34 -0500)] 
Trigger management (#101)

* initial implementation of trigger management get status and configuration

* add test for get status and configuration

* formatting

* formatting

* remove trailing whitespace

* fix scanCode complaint

* handle namespace of legacy alarms when fetching trigger document

* update dateChanged field to millis since epoch to provide consistency

* remove maxTriggers from response, add dateChangedISO to response

13 months agoincrease wait time on trigger creation and deletion (#100)
Jason Peterson [Thu, 19 Oct 2017 15:17:47 +0000 (11:17 -0400)] 
increase wait time on trigger creation and deletion (#100)

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

14 months agofix test failures (#98) 1.2.0
Jason Peterson [Thu, 21 Sep 2017 16:30:49 +0000 (12:30 -0400)] 
fix test failures (#98)

14 months agopin the version of nano to avoid breaking changes (#97)
Jason Peterson [Wed, 20 Sep 2017 20:02:06 +0000 (16:02 -0400)] 
pin the version of nano to avoid breaking changes (#97)

14 months agoSupport for multiple workers (#95)
Jason Peterson [Wed, 20 Sep 2017 17:38:37 +0000 (13:38 -0400)] 
Support for multiple workers (#95)

15 months agoupdate logging level when maxTriggers reached (#91) 1.1.12
Jason Peterson [Thu, 7 Sep 2017 17:52:54 +0000 (13:52 -0400)] 
update logging level when maxTriggers reached (#91)

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

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

16 months agomask user apikeys in the logs (#85)
Jason Peterson [Wed, 16 Aug 2017 11:56:15 +0000 (07:56 -0400)] 
mask user apikeys in the logs (#85)

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

16 months agoAvoid that trigger is fired too often if Request to OpenWhisk is too slow. (#83)
Christian Bickel [Wed, 9 Aug 2017 14:16:47 +0000 (16:16 +0200)] 
Avoid that trigger is fired too often if Request to OpenWhisk is too slow. (#83)

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

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

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

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

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

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

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

17 months agoUpdate remaining .scala files to use ASF header. (#71)
Matt Rutkowski [Mon, 10 Jul 2017 15:03:47 +0000 (10:03 -0500)] 
Update remaining .scala files to use ASF header. (#71)

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

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

* 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 (#66) 1.1.1
Jason Peterson [Wed, 14 Jun 2017 13:43:41 +0000 (09:43 -0400)] 
Add Redis support for managing active state (#66)

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

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

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

This change introduces redundancy in the alarms 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 agoIssue 59 update travis for dockerhub integration (#60)
Carlos Santana [Tue, 9 May 2017 16:19:05 +0000 (12:19 -0400)] 
Issue 59 update travis for dockerhub integration (#60)

* update travis badge and push docker image

* update docker_user

* refactor deploy.sh

19 months agofixes for trigger create and delete authorization checks (#58) 1.0.13
Jason Peterson [Fri, 5 May 2017 16:01:11 +0000 (12:01 -0400)] 
fixes for trigger create and delete authorization checks (#58)

19 months agoretry delete when statusCode = 409 (#56) 1.0.12
Jason Peterson [Wed, 26 Apr 2017 16:51:44 +0000 (12:51 -0400)] 
retry delete when statusCode = 409 (#56)

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

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

20 months agoadd retry support on trigger fire (#48) 1.0.9
Jason Peterson [Sun, 2 Apr 2017 17:27:44 +0000 (13:27 -0400)] 
add retry support on trigger fire (#48)

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

20 months agocreated triggers should have a valid cron handle (#45)
Jason Peterson [Tue, 28 Mar 2017 16:16:51 +0000 (12:16 -0400)] 
created triggers should have a valid cron handle (#45)

20 months agouse safe stringify to prevent circular reference exceptions (#44) 1.0.6 1.0.7
Jason Peterson [Mon, 27 Mar 2017 19:02:14 +0000 (15:02 -0400)] 
use safe stringify to prevent circular reference exceptions (#44)

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

21 months agouse a view to retrieve trigger docs (#41) 1.0.4
Jason Peterson [Fri, 17 Mar 2017 21:48:49 +0000 (17:48 -0400)] 
use a view to retrieve trigger docs (#41)

21 months agodelete dead triggers on init (#40) 1.0.3
Jason Peterson [Mon, 13 Mar 2017 18:24:14 +0000 (14:24 -0400)] 
delete dead triggers on init (#40)

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

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

21 months agominor udpdate for readme (#35)
Carlos Santana [Fri, 24 Feb 2017 04:59:01 +0000 (20:59 -0800)] 
minor udpdate for readme (#35)

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

22 months agoupdate readme with user doc content (#33)
Carlos Santana [Thu, 16 Feb 2017 17:52:32 +0000 (12:52 -0500)] 
update readme with user doc content (#33)

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

22 months agoCreate LICENSE.txt
Matt Rutkowski [Wed, 25 Jan 2017 16:46:23 +0000 (10:46 -0600)] 
Create LICENSE.txt

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

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