Resync of lineage metadata (IBM Knowledge Catalog)

Resynchronize your catalog metadata to start seeing the Knowledge Graph.

Resynchronizing metadata in the product user interface

If you are running IBM Software Hub 5.3.1 or later, you can resynchronize assets and artifacts in the product user interface. For more information, see Resynchronizing assets and artifacts in the knowledge graph.

Resynchronizing metadata by using commands

To resynchronize metadata for a specific catalog by using commands, complete these steps:

  1. Run the following command:
oc edit cj catalog-api-lineage-sync-cronjob
  1. Find a section:
             - name: dbs_to_sync`
              `value: '[]'
  1. Specify what catalogs to resync.
    • To resync all catalogs keep the value empty.
             - name: dbs_to_sync`
              `value: '[]'
    
    • Enter the ID of one catalog in brackets to resync only one catalog. For example:
             - name: dbs_to_sync`
              `value: '[bbf325c5-3452-440b-81c1-8b68eaafa5e5]'
    
    • Enter IDs of many catalogs in brackets separated by a comma to resync many catalogs. For example:
             - name: dbs_to_sync`
              `value: '[bbf325c5-3452-440b-81c1-8b68eaafa5e5, gga523d4-4658-553a-22c4-9f86efdfb6e6]'
    
  2. Run the following command to finish resyncing:
oc create job -n ${PROJECT_CPD_INST_OPERANDS} --from=cronjob/catalog-api-lineage-sync-cronjob lineage-job