Skip to main content

BlueprintUpdateResult

Namespace: Meshmakers.Octo.Runtime.Contracts.Blueprints

Result of a blueprint update operation

public class BlueprintUpdateResult

Inheritance Object → BlueprintUpdateResult

Properties​

Success​

Whether the update completed successfully

public bool Success { get; set; }

Property Value​

Boolean

EntitiesAdded​

Number of entities added

public int EntitiesAdded { get; set; }

Property Value​

Int32

EntitiesUpdated​

Number of entities updated

public int EntitiesUpdated { get; set; }

Property Value​

Int32

EntitiesUnchanged​

Locked entities re-applied without any attribute change. Counted apart from BlueprintUpdateResult.EntitiesUpdated so the result matches the preview's reading.

public int EntitiesUnchanged { get; set; }

Property Value​

Int32

EntitiesDeleted​

Number of entities deleted

public int EntitiesDeleted { get; set; }

Property Value​

Int32

EntitiesSkipped​

Number of entities skipped due to conflicts

public int EntitiesSkipped { get; set; }

Property Value​

Int32

BlankedAttributes​

The attributes the seed would have blanked, with what happened to each (BlueprintBlankedAttribute.AppliedOnUpdate). Empty when nothing was blanked. Nothing is silent: a kept tenant value is listed here as well.

public List<BlueprintBlankedAttribute> BlankedAttributes { get; set; }

Property Value​

List<BlueprintBlankedAttribute>

TenantOwnedSkipped​

Tenant-owned seed entities the tenant holds; left untouched apart from their stamp. Counted in BlueprintUpdateResult.EntitiesSkipped.

public List<BlueprintTenantOwnedEntity> TenantOwnedSkipped { get; set; }

Property Value​

List<BlueprintTenantOwnedEntity>

TenantOwnedStaysDeleted​

Tenant-owned seed entities the tenant deleted; not re-created. Counted in BlueprintUpdateResult.EntitiesSkipped.

public List<BlueprintTenantOwnedEntity> TenantOwnedStaysDeleted { get; set; }

Property Value​

List<BlueprintTenantOwnedEntity>

TenantOwnedRefreshed​

Unedited tenant-owned seed entities whose new seed content the update wrote. Counted in BlueprintUpdateResult.EntitiesUpdated.

public List<BlueprintTenantOwnedEntity> TenantOwnedRefreshed { get; set; }

Property Value​

List<BlueprintTenantOwnedEntity>

TenantOwnedUpdateAvailable​

Edited tenant-owned seed entities for which the target version brings new seed content; kept as the tenant edited them. Also listed in BlueprintUpdateResult.TenantOwnedSkipped.

public List<BlueprintTenantOwnedEntity> TenantOwnedUpdateAvailable { get; set; }

Property Value​

List<BlueprintTenantOwnedEntity>

ArchiveColumnsAdded​

The columns the update added to activated archives (ingested columns through ADD COLUMN, computed columns with a queued backfill job), with the outcome of each. A failed addition is also listed in BlueprintUpdateResult.Errors.

public List<RtImportArchiveColumnAddition> ArchiveColumnsAdded { get; set; }

Property Value​

List<RtImportArchiveColumnAddition>

ArchiveFormulaChanges​

The formula changes of computed columns the update queued on activated archives - the seed declared a formula that differs from the live one, so the column runs the versioned change with backfill of UpdateComputedColumnFormula instead of being overwritten. Each queued change is also listed in BlueprintUpdateResult.Warnings, a failed one in BlueprintUpdateResult.Errors.

public List<RtImportComputedFormulaChange> ArchiveFormulaChanges { get; set; }

Property Value​

List<RtImportComputedFormulaChange>

ArchiveActivations​

The archives the update imported and what it did with each - archives the update newly created are activated (or skipped with a reason, or failed), archives that already existed are untouched - and for new rollups whether a backfill was queued. A failed activation or a backfill that was not queued is also listed in BlueprintUpdateResult.Warnings; neither fails the update.

public List<BlueprintArchiveActivation> ArchiveActivations { get; set; }

Property Value​

List<BlueprintArchiveActivation>

Errors​

Errors that occurred during the update

public List<string> Errors { get; set; }

Property Value​

List<String>

Warnings​

Warnings generated during the update

public List<string> Warnings { get; set; }

Property Value​

List<String>

NewBlueprintInfo​

The new blueprint info after update

public TenantBlueprintInfo NewBlueprintInfo { get; set; }

Property Value​

TenantBlueprintInfo

IsCkUpgradeBlocked​

True when the update was refused because the CK models it installs or raises break an installed model (tenant upgrade guard). BlueprintUpdateResult.Success is false, nothing was changed. On a dry run the flag only reports what a real update would hit and BlueprintUpdateResult.Success stays true.

public bool IsCkUpgradeBlocked { get; set; }

Property Value​

Boolean

CkUpgradeGuardFailed​

True when the tenant upgrade guard itself could not judge the CK update set; the update failed closed and nothing was changed.

public bool CkUpgradeGuardFailed { get; set; }

Property Value​

Boolean

CkUpgradeBlockers​

The installed models the CK update set breaks: the reason of a refusal, the blockers of a dry run, or the blockers the caller forced past (BlueprintCkUpgradeGuardMode.ForceBreakingUpdate).

public List<BlueprintCkUpgradeBlocker> CkUpgradeBlockers { get; set; }

Property Value​

List<BlueprintCkUpgradeBlocker>

CkUpdateSet​

The CK models (full ids) judged as one set; empty when the guard did not run.

public List<string> CkUpdateSet { get; set; }

Property Value​

List<String>

Constructors​

BlueprintUpdateResult()​

public BlueprintUpdateResult()