Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/fleet-api/src/apply.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ pub async fn start_apply_workflow(
deadline_at: None,
correlation_id: Some(correlation_id.to_string()),
payload_json: Some(payload.to_string()),
review_token: None,
},
)
.await
Expand Down
1 change: 1 addition & 0 deletions crates/fleet-api/src/frogenv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ pub async fn start_frogenv_operation(
deadline_at: None,
correlation_id: Some(correlation_id.to_string()),
payload_json: Some(payload.to_string()),
review_token: None,
},
)
.await
Expand Down
5 changes: 5 additions & 0 deletions crates/fleet-api/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ pub const API_BASE_PATH: &str = "/api/v1";
proxmox::AssociationCandidateDto,
proxmox::ObserveProxmoxGuestRequest,
proxmox::StartProxmoxLifecycleRequest,
proxmox::ProxmoxReviewDto,
proxmox::ReviewProxmoxOperationRequest,
proxmox::StartReviewedProxmoxOperationRequest,
proxmox::ProviderAgentDto,
proxmox::ProviderInterfaceDto,
node::CreateEnrollmentTokenRequest,
Expand Down Expand Up @@ -236,6 +239,8 @@ pub fn api(state: Arc<operations::ApiState>) -> (Router, utoipa::openapi::OpenAp
.routes(routes!(proxmox::list_proxmox_guests))
.routes(routes!(proxmox::observe_proxmox_guest))
.routes(routes!(proxmox::start_proxmox_lifecycle))
.routes(routes!(proxmox::review_proxmox_operation))
.routes(routes!(proxmox::start_reviewed_proxmox_operation))
.with_state(state),
)
.split_for_parts();
Expand Down
1 change: 1 addition & 0 deletions crates/fleet-api/src/mise.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ pub async fn start_mise_operation(
deadline_at: None,
correlation_id: Some(correlation_id.to_string()),
payload_json: Some(payload.to_string()),
review_token: None,
},
)
.await
Expand Down
1 change: 1 addition & 0 deletions crates/fleet-api/src/onboarding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@ async fn start_onboarding_operation(
deadline_at: Some(fleet_core::SystemClock::now_unix_millis() + deadline_ms),
correlation_id: Some(correlation_id.to_string()),
payload_json: Some(serde_json::json!({ "draftId": draft_id }).to_string()),
review_token: None,
},
)
.await
Expand Down
1 change: 1 addition & 0 deletions crates/fleet-api/src/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ pub async fn create_operation(
deadline_at: request.deadline_at,
correlation_id: Some(correlation_id.to_string()),
payload_json: request.payload_json.clone(),
review_token: None,
},
)
.await
Expand Down
1 change: 1 addition & 0 deletions crates/fleet-api/src/projects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ pub async fn start_discovery(
deadline_at: None,
correlation_id: Some(correlation_id.to_string()),
payload_json: Some(payload),
review_token: None,
},
)
.await
Expand Down
Loading