-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add router and ensembler webhook (#395)
* feat: add router and ensembler webhook * validation for invalid event type * add id and move inside webhook goroutine * add webhook ondeployed in create & update router endpoint * change event type format * fix dependency * modify event webhook for deploy and undeploy router * go mod tidy * fix linter * Refactor away specific webhook functions * Fix incorrect expected unit test result * Fix mocked methods on ensembler webhook client * Remove redundant struct definitions * Refactor positioning of webhook calls * Remove mocked webhook client from deployment controller test * Test removing unit test case * Reorder webhook call when updating routers * Update go mod file * Refactor webhook request body * Fix lint comment by renaming struct name --------- Co-authored-by: ewezy <[email protected]>
- Loading branch information
1 parent
100c478
commit fced7db
Showing
21 changed files
with
730 additions
and
76 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.DS_Store | ||
config-dev-w-creds.yaml | ||
environments-dev-w-creds.yaml | ||
.idea/ |
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
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
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.