Skip to content

Commit

Permalink
Merge pull request #176 from StackStorm/issue-158/pagination
Browse files Browse the repository at this point in the history
Support pagination for action alias.
  • Loading branch information
jinpingh authored Jun 20, 2019
2 parents 1d3143c + d54c3f9 commit 0f45a21
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ in development
--------------
* Exit hubot on unhandled promise rejections and uncaught exceptions, usually caused by unrecoverable errors (bug fix)

0.9.4
-----
* Add pagination support for action aliases - fixes #158 (bug fix)

0.9.3
-----
* Add initial support for Microsoft Teams via BotFramework (new feature)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "hubot-stackstorm",
"description": "A hubot plugin for integrating with StackStorm event-driven infrastructure automation platform.",
"version": "0.9.3",
"version": "0.9.4",
"author": "StackStorm, Inc. <[email protected]>",
"license": "Apache-2.0",
"keywords": [
Expand All @@ -27,7 +27,7 @@
"coffee-script": "1.12.7",
"lodash": "^4.17.11",
"rsvp": "^4.8.4",
"st2client": "^1.1.1",
"st2client": "^1.1.2",
"truncate": "^2.0.1",
"uuid": "^3.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/stackstorm.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ module.exports = function(robot) {
var loadCommands = function() {
robot.logger.info('Loading commands....');

api.actionAlias.list()
api.actionAlias.list({limit: -1})
.then(function (aliases) {
// Remove all the existing commands
command_factory.removeCommands();
Expand Down

0 comments on commit 0f45a21

Please sign in to comment.