Setting up your default catalog
After you deploy IBM Knowledge Catalog, your default catalog is created automatically. As the only member of the catalog, you must set up the catalog for other users.
Base Premium The default catalog is automatically governed so that data protection rules are enforced. Data protection rules protect sensitive data by preventing access to assets or by masking sensitive data values.
The default catalog is also automatically set as the catalog from which the metadata enrichment machine learning model learns. If required, you can change the training scope to any catalog to which you have access. If the default catalog does not exist, the training scope defaults to the project.
The default catalog is where you can directly publish your assets from data virtualization.
The name of the default catalog is Default Catalog. Initially, the only member of the default catalog is the Cloud Pak for Data default Admin user.
If the default Admin user is suppressed when IBM Knowledge Catalog is installed, the default catalog is not created automatically and a user with the Administrator role must create the default catalog. If you plan to suppress the default Admin user after the default catalog is created, make sure that the catalog has a collaborator with the Admin role other than the Admin user.
Setting up the default catalog
The Admin user must set up the default catalog.
To set up the automatically-created default catalog:
-
Open the catalog by going to Catalogs > All catalogs and clicking Default Catalog.
-
Add collaborators to the catalog with the appropriate catalog roles. All Cloud Pak for Data user roles have permission to access the catalog. Catalog roles determine user permissions within a specific catalog.
- Admin: Control collaborators and assets. If you don't want to be the only user who can add collaborators to the catalog, give this role to one or more collaborators.
- Editor: Control assets within the catalog and use them in projects.
- Viewer: Find assets in the catalog and use them in projects.
-
Ensure that the duplicate handling setting has been manually selected for the default catalog. With no set configuration for duplicate asset handling, Add duplicate doesn't appear as an option when you're publishing an asset to the catalog.
To allow for publishing assets to the default catalog as duplicates:
- On the default catalog Settings page, change the Duplicate asset handling setting to anything other than Allow duplicates.
- Immediately change the setting back to Allow duplicates.
Now, when you publish to the default catalog, the UI for publishing assets displays the Add duplicate option.
If you later delete the default catalog, you can create a new default catalog manually.
You can also add collaborators by using an API instead of the user interface. For more information, see Data and AI Common Core API: Adding members to a catalog.
Creating the default catalog manually
If the default catalog is not created automatically, a user with the Cloud Pak for Data Administrator role or the Manage catalogs permission must create the default catalog.
To manually create the default catalog:
-
Go to Administration > Catalogs.
-
Click the Catalog Setup tab.
-
Enter the catalog name and description and click Create.
-
Open the catalog by going to Catalogs > All catalogs and clicking the catalog name.
-
Add collaborators to the catalog with the appropriate catalog roles.
-
Load and publish the predefined data classes:
-
Create a Cloud Pak for Data bearer access token. For more information, see Creating a Cloud Pak for Data bearer token.
-
Run this curl command:
curl -k -X POST \ 'https://{cpd_cluster_host}/v3/glossary_terms/admin/initialize_content' \ -H "accept: application/json" \ -H "Authorization: Bearer {token} " \ -H "Content-Type: application/json" \ -d "{}"Replace these variables:
{cpd_cluster_host}→ Your Cloud Pak for Data cluster host name{token}→ Your bearer access token
-
You can also create the default catalog by using an API instead of the user interface. See Data and AI Common Core API: Creating the default catalog.