Skip to content

Commit 0f45a21

Browse files
authored
Merge pull request #176 from StackStorm/issue-158/pagination
Support pagination for action alias.
2 parents 1d3143c + d54c3f9 commit 0f45a21

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ in development
55
--------------
66
* Exit hubot on unhandled promise rejections and uncaught exceptions, usually caused by unrecoverable errors (bug fix)
77

8+
0.9.4
9+
-----
10+
* Add pagination support for action aliases - fixes #158 (bug fix)
11+
812
0.9.3
913
-----
1014
* Add initial support for Microsoft Teams via BotFramework (new feature)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "hubot-stackstorm",
33
"description": "A hubot plugin for integrating with StackStorm event-driven infrastructure automation platform.",
4-
"version": "0.9.3",
4+
"version": "0.9.4",
55
"author": "StackStorm, Inc. <info@stackstorm.com>",
66
"license": "Apache-2.0",
77
"keywords": [
@@ -27,7 +27,7 @@
2727
"coffee-script": "1.12.7",
2828
"lodash": "^4.17.11",
2929
"rsvp": "^4.8.4",
30-
"st2client": "^1.1.1",
30+
"st2client": "^1.1.2",
3131
"truncate": "^2.0.1",
3232
"uuid": "^3.0.0"
3333
},

scripts/stackstorm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ module.exports = function(robot) {
224224
var loadCommands = function() {
225225
robot.logger.info('Loading commands....');
226226

227-
api.actionAlias.list()
227+
api.actionAlias.list({limit: -1})
228228
.then(function (aliases) {
229229
// Remove all the existing commands
230230
command_factory.removeCommands();

0 commit comments

Comments
 (0)