Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

WAYP-190 Add jobs and ui endpoints to gateway and re-gen json. #3355

Merged
merged 1 commit into from May 19, 2022

Conversation

teresamychu
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented May 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
waypoint-ui ✅ Ready (Inspect) Visit Preview May 19, 2022 at 2:22PM (UTC)

@@ -0,0 +1,4 @@
```release-note:improvement
core: update swagger and gateway yml to include jobs and ui endpoints.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Noting that we typically reserve changelog entries for user facing bugs/features/improvements. This is more of a dev thing, so no need for a changelog 👍🏻

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OH ok! Hmmm i added this because the build was failing on the changelog check? Is there something I need to do to make it skip this step in the build?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep! We run that check on all PRs, so you can opt out of it for ones that don't need it with pr/no-changelog.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@teresamychu if it's a "no changelog" kind of PR, you can just add the pr/no-changelog label! 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooooo ok got it! I'll do that now and remove this file. Thanks guys!

Copy link
Contributor

@izaaklauer izaaklauer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall! Good selection of path-based routes on the list endpoint. For posterity, all permutations of the ListJobsRequest proto are possible through the gateway, even if they're not represented as path tokens - the other fields in the request proto can be passed through as query parameters.

Just one note on rerunning make gen/server

]
}
},
"/waypoint/2022-02-03/namespace/*/ui/deployments/project/{application.project}": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll want to re-run make gen/server to get the simplified paths from gateway.yml in here too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah right! Ok done!

@teresamychu teresamychu merged commit 665b024 into main May 19, 2022
@teresamychu teresamychu deleted the update_proto_gateway_jobs_ui branch May 19, 2022 19:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr/no-changelog No automatic changelog entry required for this pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants