-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementation of integration actions for API/Email (#138)
* [IntegrationActions] Adding new model for actions Changed: * Modeling resource_opsgenie_integration_action * go.mod updted go-sdk * Added to Provider.go * [IntegrationAction] Implemented code for CRUD actions, possible issue with Go SDK not honoring filter types properly. DRY code to be refactored * [SDK] Update to fix bug in integration actions Changed: * go.mod and vendor dir updated for latest opsgenie-go-sdk-v2 * Adding close/ack/addnote action types - schema and flatten/expand logic * Refactors, dropped unnecessary fields, added tests * Also, removed debug logging statements * Added documentation page, sane values in test case * Update docs page * Extensive acceptance tests - more actions, fields and similar examples reflected in documentation page. * Example in documentation updated to match features that have passed in acceptance tests. * Replace specific flattenAction()s with generic one * Change possible if upstream patches are accepted in SDK that allow for this, else commit will have to be reverted * TODO: Update module and vendor for updated go-sdk-v2 * Dependency update and expanded test case to include email_integration
- Loading branch information
Showing
11 changed files
with
1,174 additions
and
31 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
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.