-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Various improvements to 'doctl serverless' (#1290)
* Add support for typescript in the nodejs runtime (#1225) * Eliminate plugin usage for sls fn invoke (#1226) * Add doctl serverless trigger support (for scheduled functions) (#1232) * Add support for triggers * Add lastRun field to trigger list output * Hide commands we won't be supporting in EA day 1 * Bump deployer version to pick up bug fix * Fix error handling in services related to triggers Many calls were not checking for errors. * Switch to latest API Change both the triggers command (native to doctl) and the deployer version (which affects the semantics of deploy/undeploy). * Pick up latest deployer (triggers bug fix) * Remove support for prototype API and clean up code * Fix unit tests * Fix misleading comment * Remove added complexity due to successive change * Add filtering by function when listing triggers * Fix omitted code in DeleteTrigger * Guard triggers get/list with status check Otherwise, the credentials read fails with a cryptic error instead of an informative one when you are not connected to a namespace. * Eliminate plugin usage in 'doctl sls fn list' This completes the elimination of plugin usage in doctl sls fn and the functions.go source file. * Hidden flags enabling connection to dev clusters * Fix unit test (date handling is timezone specific) * Eliminate call to auth/current via the plugin * Commit changed test (screwed it up last time) * Remove accidental re-introduction of --beta flag I believe this happened in merge conflict resolution during the recent rebase. * Bump min nim version to incorporate small bug fix Affects what happens when a failure occurs in the middle of deleting functions and triggers together. * Avoid plugin in serverless activations [ get | result ] (#1270) * WIP for converting activations to direct OW flows * Finish recoding 'activations get' in native doctl Tests still to come * Convert the support for sls actv result Tests not converted yet * Generate latet mocks * Fix some comments * Use more realistic timestampes * Revise tests for new paths. Still no output check * Tests are now doing meaningful output comparison Fixed some bugs found once tests were really effective * Updates activation list command to use the whisk client instead of the nim plugin * Adds name filter to activations list * moved getActivationStatus to utils * re-generates mocks * made changes from PR review and updated the unit tests * Updates test * default to json output when the full flag is set * list command takes a function name not activation name * Updates the apache-go-client library and updates the tests to reflect the changes * Makes updates from PR review Co-authored-by: Andrew Starr-Bochicchio <[email protected]> Co-authored-by: Davi DeBarros <[email protected]> Co-authored-by: Davi DeBarros <[email protected]>
- Loading branch information
1 parent
e3bb55e
commit 242b333
Showing
14 changed files
with
1,280 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.