csantanapr commented on a change in pull request #101: Trigger management
URL:
https://github.com/apache/incubator-openwhisk-package-alarms/pull/101#discussion_r146971392
##########
File path: action/alarmWebAction.js
##########
@@ -72,6 +72,34 @@ function main(params) {
});
}
+ else if (params.__ow_method === "get") {
+ return new Promise(function (resolve, reject) {
+ verifyTriggerAuth(triggerURL, params.authKey, false)
+ .then(() => {
+ return getTrigger(db, triggerID);
+ })
+ .then(doc => {
+ var body = {
+ config: {
+ name: doc.name,
+ namespace: doc.namespace,
+ cron: doc.cron,
+ payload: doc.payload,
+ maxTriggers: doc.maxTriggers
Review comment:
Should we not include maxTriggers if we really want to deprecate them
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services