forked from openshift/ansible-service-broker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apb pkg public interface overhaul (openshift#773)
* Initial commit moving things around in apb Introduces the Executor as well. * Remove individual jobs * Add consolidated jobs * Some minor modifications to apb func sigs * Update metrics names Binding -> Bind Unbinding -> Unbind * Use raw structs instead of New* variants The New funcs really are not offering much. * Mark non-bindable APBs finished * Update skipExection APBs with a completion desc * Fix lint errors * Protect statusChan closures with mutex * Use golang friendly getter names * Fix existing tests * Add initial jobs testing * Move to Executor interface for testing * Only set extractedCredentials with no err * Remove old apb run fns * Remove verbose status setting * Fix some of the job report logic We were previously sending a bunch of duplicate messages, now the jobs trust the status messages. This should fix ci issues. * Update executor hook names for more clarity * start -> actionStarted * finishWithSuccess -> actionFinishedWithSuccess * finishWithError -> actionFinishedWithError * Initial tests plus some fixes * Add mock executor and finish jobs_tests * Vendor updates Adds testify * Remove debug var
- Loading branch information
Erik Nelson
authored
Feb 21, 2018
1 parent
4cb8b78
commit 38b79bf
Showing
118 changed files
with
20,303 additions
and
1,472 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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.