-
Notifications
You must be signed in to change notification settings - Fork 660
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ChaosCenter]: Migrating graphql-server from Gorilla mux to Gin (#3923)
* Migrate from Gorilla mux to Gin Signed-off-by: Namkyu Park <lak9348@gmail.com> Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * Linting & Ordering codes Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * fix: remove duplicated code Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * fix: adopt go fmt Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * Move to using interface for better mocking at chaoshub package (#3933) * fix: Move to using interface for better mocking at chaoshub Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * fix: delete operator interface and linting codes Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * fix: change db instance to local variable Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * fix: passing operator interface for better mocking Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> --------- Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * fix: status code to constant variable Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * fix: add logs when encounterd error Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * fix: rename pkg name Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * fix: rename pkg, graphql_server to rest_handlers Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * fix: resolve codeql issue Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> * fix: add replacer value Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr> --------- Signed-off-by: Namkyu Park <lak9348@gmail.com> Signed-off-by: namkyu1999 <lak9348@konkuk.ac.kr>
- Loading branch information
1 parent
ae9aeb2
commit c6cda32
Showing
16 changed files
with
230 additions
and
186 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
20 changes: 10 additions & 10 deletions
20
litmus-portal/graphql-server/graph/generated/generated.go
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
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.