-
Notifications
You must be signed in to change notification settings - Fork 5
make mg-admin and ddm-admin APIs versioned #558
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
make mg-admin and ddm-admin APIs versioned #558
Conversation
Created using spr 1.3.6-beta.1
|
Need to figure out what to do with the openapi job. |
Created using spr 1.3.6-beta.1
|
@rcgoodfellow would need to remove
|
|
Hmm, not sure why test-ddm-trio and quartet are failing here -- there shouldn't be any functional changes in this PR. |
| .unwrap(); | ||
|
|
||
| match server.start().await { | ||
| match server.start() { |
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 dropping the await is what's causing the test failures. The logs show the "unexpected server exit line". This code expects to wait on the API server, which never really returns.
Probably want something like this
match server.start().expect("failed to start API server").await {
Done |
|
|
||
| Ok(tokio::spawn(async move { | ||
| match server.start().await { | ||
| match server.start() { |
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.
This also needs to be something like
match server.start().expect("failed to start API server").awaitThere 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.
ah yeah, whoops
Created using spr 1.3.6-beta.1
Last part of Dendrite work for oxidecomputer/omicron#8922. Also remove the dpd-openapi buildomat job that's no longer used since Dendrite is now open source. This change mirrors oxidecomputer/maghemite#558.

Last part of oxidecomputer/omicron#8922 for Maghemite: make the admin APIs versioned. Also remove the
openapibuildomat job, since it's a remnant from when maghemite was a private repo (Omicron stopped using it in oxidecomputer/omicron#5271).See the readme within https://github.com/oxidecomputer/dropshot-api-manager for instructions.