-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor config passing to XP plugin (#47)
* Add treatment service config api to management service * Add tests for configuration controller and service * Fix appcontext unit test * Update management service clients * Rename api that serves treatment service config * Update experiment manager to ping the treatment service plugin api for configs * Add additional configs to experiment manager * Refactor plugin to use its own treatment service config struct * Remove unnecessary validate tags and add unit test to verify validation for exp manager * Replace deprecated methods * Add test set up to create mock google credentials * Refactor tests to use the same mock google credentials generator * Regenerate api schemas * Rename treatment service config endpoint and make segmenterconfig an interface * Refactor schema and client method names * Bump go dependencies * Refactor plugin to utilise config structs of treatment service * Remove new relic and sentry config from being served via the mgmt svc * Remove new relic and sentry configs from struct expected from the mgmt service in plugin * Remove unsused schema from api specs * Remove redundant code block in configuration service * Add additional validation steps to treatment service config struct * Add pubsub timeout seconds to config * Add debug config to config
- Loading branch information
1 parent
e91f0bd
commit 4313a38
Showing
39 changed files
with
2,905 additions
and
748 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
clients/testutils/mocks/management/ManagementClientInterface.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.