config_io handled dest_description but never the module's own description field: it was absent from export_config, from both repo.create_module and repo.update_module calls in apply_config, and from the change-detection watch tuple. Descriptions set via the web form were therefore invisible to the config tree — `pipekit apply` silently ignored a description in a module's JSON, and `pipekit export` would have dropped all 127 existing ones on a round-trip. Adding "description" to the watch tuple means a module file without the key now reads as a change to NULL, so backfill the key into all 131 existing module files from the DB. Without this, the next apply would have wiped every description it was meant to preserve. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"name": "usrc",
|
|
"source_connection": "S78030956",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "cms.usrc",
|
|
"staging_table": "pipekit_staging.usrc",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "User Defined Data Records",
|
|
"description": "Reference codes",
|
|
"columns": [
|
|
{
|
|
"source_name": "MFSRCE",
|
|
"source_type": "CHAR(3)",
|
|
"dest_name": "mfsrce",
|
|
"dest_type": "text",
|
|
"description": "Source"
|
|
},
|
|
{
|
|
"source_name": "MFKEY1",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "mfkey1",
|
|
"dest_type": "text",
|
|
"description": "Key Field1"
|
|
},
|
|
{
|
|
"source_name": "MFKEY2",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "mfkey2",
|
|
"dest_type": "text",
|
|
"description": "Key Field2"
|
|
},
|
|
{
|
|
"source_name": "MFENT#",
|
|
"source_type": "NUMERIC(3,0)",
|
|
"dest_name": "mfent#",
|
|
"dest_type": "numeric(3,0)",
|
|
"description": "Entry #"
|
|
},
|
|
{
|
|
"source_name": "MFRESP",
|
|
"source_type": "CHAR(20)",
|
|
"dest_name": "mfresp",
|
|
"dest_type": "text",
|
|
"description": "Alpha Value"
|
|
},
|
|
{
|
|
"source_name": "MFNUMB",
|
|
"source_type": "NUMERIC(15,5)",
|
|
"dest_name": "mfnumb",
|
|
"dest_type": "numeric(15,5)",
|
|
"description": "Numeric Value"
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|