Overview
No schema changes are required but the g2config.json must be updated to work with Senzing 1.8. If you are starting fresh with 1.8 or applying previous g2config modifications you have with G2ConfigTool.py to a base 1.8 g2config.json file you do not need to perform this step. If you are upgrading from 1.7 to 1.8 and moving your g2config.json file this needs to be completed.
This upgrade is completed with G2ConfigTool.py located in the /opt/senzing/g2/python directory alongside G2Loader.py. Please ensure you backup your current configuration prior to the upgrade. We strongly recommend reviewing Managing the Senzing API configuration before changing the configuration.
Run the Upgrade
Download the attached g2config_1.7_to_1.8.g2ct file to the Senzing python directory and run G2ConfigTool with the g2config_1.7_to_1.8.g2ct file as an argument.
-
python G2ConfigTool.py g2config_1.7_to_1.8.g2ct
You should see something similar to the following output (please use the attached script as more complete):
-> python G2ConfigTool.py g2config_1.7_to_1.8.g2ct
--------------------------------------------------
deleteFragment 55
1 rows deleted!
--------------------------------------------------
deleteFragment 65
1 rows deleted!
--------------------------------------------------
addFragment
{"id": "75", "fragment": "NAME_GEN_MISMATCH", "source": "./FRAGMENT[./DIFF_GEN>0 and sum(./SAME_GEN)=0]"}
Successfully added!
--------------------------------------------------
addFragment
{"id": "55", "fragment": "DIFF_EXCL", "source": "./SUMMARY/BEHAVIOR/EXCLUSIVE[sum(./UNLIKELY | ./NO_CHANCE) > 0] | ./FRAGMENT[./NAME_GEN_MISMATCH>0]"}
Successfully added!
--------------------------------------------------
addFragment
{"id": "65", "fragment": "DIFF_STAB", "source": "./SUMMARY/BEHAVIOR/STABLE[sum(./PLAUSIBLE | ./UNLIKELY | ./NO_CHANCE) > 0] | ./FRAGMENT[./NAME_GEN_MISMATCH>0]"}
Successfully added!
--------------------------------------------------
save
Comments
0 comments
Please sign in to leave a comment.