-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEVPROD-13189: connect Evergreen test selection route to test selection service #8710
DEVPROD-13189: connect Evergreen test selection route to test selection service #8710
Conversation
…Okta auth redirect
@@ -23,21 +25,21 @@ type selectTestsHandler struct { | |||
// this information directly to the test selector. | |||
type SelectTestsRequest struct { | |||
// Project is the project identifier. | |||
Project string `json:"project" bson:"project"` | |||
Project string `json:"project"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: can unexport the request struct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe swaggo needs response type to be exported so that it can generate the REST API docs. This struct is for both the request and response.
DEVPROD-13189
Description
The test selection service is up and running now, so Evergreen can now proxy the request and send it to the test selection service.
Testing
Tested in staging that making a request to
/rest/v2/select/tests
successfully sent the request to the test selection service.Documentation
Will update internal dev guide to mention that you have to set
GOPRIVATE
if you don't use the makefile.