Skip to content

[Task Type] Repair | Reconcile component database from blob store

Olivier Clavel edited this page Nov 25, 2019 · 2 revisions

Related settings description

Name of task type (in GUI): Repair - Reconcile component database from blob store
typeId: blobstore.rebuildComponentDB
taskProperties:
  blobstoreName:
    type: string
    description: Blobstore name to reconcile (single name allowed)
booleanTaskProperties:
  dryRun:
    type: boolean
    description: Log actions only, don't make changes
    default: false
  restoreBlobs:
    type: boolean
    description: Restore metadata from blobs
    default: true
  undeleteBlobs:
    type: boolean
    description: Undelete blobs still having metadata
    default: true
  integrityCheck:
    type: boolean
    description: Verify integrity between asset meta and blob properties
    default: true

Example usage (with manual schedule type)

nexus_scheduled_tasks:
  - name: Reconcile components metadata from default blobstore
    typeId: repository.yum.rebuild.metadata
    taskProperties:
      blobstoreName: default
    booleanTaskProperties:
      dryRun: false
      restoreBlobs: true
      undeleteBlobs: true
      integrityCheck: true
    task_alert_email: [email protected]
    schedule_type: manual