feat(import): complete OpenAPI onboarding and verify delivery
This commit is contained in:
1 parent
bb3e376767
commit
e93de7015a
244 files changed
+57020
-5139
No files matched your search
@@ -136,8 +136,40 @@ pub enum RegistryError {
|
||||
ImportJobNotFound { job_id: String },
|
||||
#[error("import job {job_id} was already applied with different parameters")]
|
||||
ImportJobAlreadyApplied { job_id: String },
|
||||
#[error("import auth profile binding is unavailable")]
|
||||
ImportAuthBindingUnavailable,
|
||||
#[error("invalid import plan input for field {field}")]
|
||||
InvalidImportPlan { field: &'static str },
|
||||
#[error("import plan {plan_id} already exists with different material")]
|
||||
ImportPlanConflict { plan_id: String },
|
||||
#[error("import job {job_id} is unavailable for planning in this workspace")]
|
||||
ImportPlanJobUnavailable { job_id: String },
|
||||
#[error("import job {job_id} is in a terminal state and cannot be planned")]
|
||||
ImportPlanJobTerminal { job_id: String },
|
||||
#[error("import job {job_id} has expired and cannot be planned")]
|
||||
ImportPlanJobExpired { job_id: String },
|
||||
#[error("import plan {plan_id} was not found in this workspace")]
|
||||
ImportPlanNotFound { plan_id: String },
|
||||
#[error("import plan {plan_id} has expired or its anchor job changed; create a fresh preview")]
|
||||
ImportPlanExpired { plan_id: String },
|
||||
#[error(
|
||||
"import plan {plan_id} material is corrupt or no longer consistent; create a fresh preview"
|
||||
)]
|
||||
ImportPlanPayloadCorrupt { plan_id: String },
|
||||
#[error(
|
||||
"import plan {plan_id} no longer matches the revalidated preview; create a fresh preview"
|
||||
)]
|
||||
ImportPlanFingerprintStale { plan_id: String },
|
||||
#[error(
|
||||
"import plan idempotency key {idempotency_key} was already used with different plan material; create a fresh preview"
|
||||
)]
|
||||
ImportPlanKeyDigestConflict { idempotency_key: String },
|
||||
#[error("operation with name {name} already exists; confirm skip, rename, or new version")]
|
||||
ImportPlanNameConflict { name: String },
|
||||
#[error("operation {operation_id} changed after the plan was created; create a fresh preview")]
|
||||
ImportPlanTargetStale { operation_id: String },
|
||||
#[error(
|
||||
"import plan auth profile {auth_profile_id} is unavailable, revoked or mismatched; create a fresh preview"
|
||||
)]
|
||||
ImportPlanAuthUnavailable { auth_profile_id: String },
|
||||
#[error("unsupported enum representation for field {field}")]
|
||||
InvalidEnumRepresentation { field: &'static str },
|
||||
#[error("invalid numeric value for field {field}: {value}")]
|
||||
@@ -150,6 +182,14 @@ pub enum RegistryError {
|
||||
OnboardingStaleRevision,
|
||||
#[error("onboarding domain steps are not complete")]
|
||||
OnboardingIncomplete,
|
||||
#[error(
|
||||
"onboarding import Draft is not an actionable Draft produced by a committed import apply"
|
||||
)]
|
||||
OnboardingImportDraftUnavailable,
|
||||
#[error("no committed import apply report matches the requested application identity")]
|
||||
OnboardingImportApplicationUnavailable,
|
||||
#[error("the workspace has no durable import context matching the requested application")]
|
||||
OnboardingImportContextUnavailable,
|
||||
#[error("artifact source {source_id} was not found")]
|
||||
SourceNotFound { source_id: String },
|
||||
#[error("artifact source {source_id} conflicts with immutable metadata or lifecycle")]
|
||||
|
||||
Reference in new issue
Block a user