Loading default sample data
After deployment, you must load the database with sample data before you can start to use the Automation Document Processing Designer.
Procedure
- Make sure Content Analyzer is deployed successfully
by running the following command:
acacm=$(oc get cm -o name |grep aca-config) oc get $acacm -o jsonpath='{.data.ACA_INIT_STATUS}'This command should return
True. If this is not the case, review your deployment log. - Download the required sample data file, db2_imports.tar.xz, from the
Natural Language Extractor pod by running the following command:
export nle_pod=$(oc get po |grep icp4adeploy-natural-language-extractor | awk {'print $1'}| head -1) oc cp $nle_pod:/data-org/db_sample_data/db2_imports.tar.xz ./db2_imports.tar.xz - Copy the db2_imports.tar.xz file to the Db2 server, to the ACA/configuration-ha/DB2 folder where you downloaded from the cert-kubernetes repository.
- Extract the db2_imports.tar.xz contents by running the following
command:
tar -xvzf db2_imports.tar.xz - From the DB2 folder, run the LoadDefaultData.sh script.
- When prompted, enter the following information.
- The name of your project database
- The Project Ontology name, either the default or the name that you specified
- Repeat the script for each Project database in both your authoring and runtime environments.
- Create a document processing project to train documents. For more information, follow the steps in Creating a document processing project.