Skip to content

Commit a19e2e8

Browse files
authored
[2/n] [wicketd] move RSS types to a new wicketd-commission-types crate (#10807)
Part of RFD 710. These types are going to be part of the published API. This is pure code movement with no functional changes. Depends on: * #10806
1 parent e2a42a3 commit a19e2e8

17 files changed

Lines changed: 947 additions & 752 deletions

File tree

Cargo.lock

Lines changed: 25 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ members = [
184184
"wicket",
185185
"wicketd",
186186
"wicketd-api",
187+
"wicketd-commission-types",
188+
"wicketd-commission-types/versions",
187189
"workspace-hack",
188190
"zone-setup"
189191
]
@@ -376,6 +378,8 @@ default-members = [
376378
"wicket",
377379
"wicketd",
378380
"wicketd-api",
381+
"wicketd-commission-types",
382+
"wicketd-commission-types/versions",
379383
"workspace-hack",
380384
"zone-setup",
381385
]
@@ -889,6 +893,8 @@ wicket = { path = "wicket" }
889893
wicket-common = { path = "wicket-common" }
890894
wicketd-api = { path = "wicketd-api" }
891895
wicketd-client = { path = "clients/wicketd-client" }
896+
wicketd-commission-types = { path = "wicketd-commission-types" }
897+
wicketd-commission-types-versions = { path = "wicketd-commission-types/versions" }
892898
x509-cert = { version = "0.2.5", default-features = false }
893899
xshell = "0.2.7"
894900
zerocopy = "0.8.26"

openapi/wicketd.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3545,7 +3545,7 @@
35453545
]
35463546
},
35473547
"PutRssUserConfigInsensitive": {
3548-
"description": "The portion of `CurrentRssUserConfig` that can be posted in one shot; it is provided by the wicket user uploading a TOML file, currently.\n\nThis is the \"write\" version of [`CurrentRssUserConfigInsensitive`], with some different fields.",
3548+
"description": "The portion of `CurrentRssUserConfig` that can be posted in one shot; it is provided by the wicket user uploading a TOML file, currently.\n\nThis is the \"write\" version of `CurrentRssUserConfigInsensitive`, with some different fields.",
35493549
"type": "object",
35503550
"properties": {
35513551
"allowed_source_ips": {
@@ -7814,7 +7814,7 @@
78147814
]
78157815
},
78167816
"UserSpecifiedBgpPeerConfig": {
7817-
"description": "User-specified version of [`BgpPeerConfig`].\n\nThis is similar to [`BgpPeerConfig`], except it doesn't have the sensitive `md5_auth_key` parameter, instead requiring that the user provide the key separately.",
7817+
"description": "User-specified version of `BgpPeerConfig`.\n\nThis is similar to `BgpPeerConfig`, except it doesn't have the sensitive `md5_auth_key` parameter, instead requiring that the user provide the key separately.",
78187818
"type": "object",
78197819
"properties": {
78207820
"addr": {
@@ -8036,7 +8036,7 @@
80368036
"type": "string"
80378037
},
80388038
"UserSpecifiedUplinkAddressConfig": {
8039-
"description": "User-specified version of [`sled_agent_types::early_networking::UplinkAddressConfig`].\n\nThis allows us to have a nicer TOML representation of [`UplinkAddress`].",
8039+
"description": "User-specified version of `UplinkAddressConfig`.\n\nThis allows us to have a nicer TOML representation of [`UplinkAddress`].",
80408040
"type": "object",
80418041
"properties": {
80428042
"address": {

wicket-common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ sha2.workspace = true
2626
sled-agent-types.workspace = true
2727
sled-hardware-types.workspace = true
2828
slog.workspace = true
29-
slog-error-chain.workspace = true
3029
thiserror.workspace = true
3130
tokio.workspace = true
3231
transceiver-controller.workspace = true
3332
tufaceous-artifact.workspace = true
3433
update-engine.workspace = true
34+
wicketd-commission-types.workspace = true
3535

3636
[dev-dependencies]
3737
toml.workspace = true

0 commit comments

Comments
 (0)