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>
304 lines
7.1 KiB
JSON
304 lines
7.1 KiB
JSON
{
|
|
"name": "live_quotes",
|
|
"source_connection": "sqlserver",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "pricequote.live_quotes",
|
|
"staging_table": "pipekit_staging.live_quotes",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": null,
|
|
"description": "Live price quotes",
|
|
"columns": [
|
|
{
|
|
"source_name": "qid",
|
|
"source_type": "INT",
|
|
"dest_name": "qid",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "qline",
|
|
"source_type": "INT",
|
|
"dest_name": "qline",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "rep",
|
|
"source_type": "VARCHAR(128)",
|
|
"dest_name": "rep",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "approverusername",
|
|
"source_type": "VARCHAR(128)",
|
|
"dest_name": "approverusername",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "touched",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "touched",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "expires",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "expires",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "request",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "request",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "qtitle",
|
|
"source_type": "VARCHAR(50)",
|
|
"dest_name": "qtitle",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "qstatid",
|
|
"source_type": "INT",
|
|
"dest_name": "qstatid",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "qstat",
|
|
"source_type": "VARCHAR(50)",
|
|
"dest_name": "qstat",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "quotenumber",
|
|
"source_type": "INT",
|
|
"dest_name": "quotenumber",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "billto",
|
|
"source_type": "VARCHAR(8)",
|
|
"dest_name": "billto",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "shipto",
|
|
"source_type": "VARCHAR(8)",
|
|
"dest_name": "shipto",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "qchan",
|
|
"source_type": "VARCHAR(3)",
|
|
"dest_name": "qchan",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "qcustomer",
|
|
"source_type": "VARCHAR(35)",
|
|
"dest_name": "qcustomer",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "part",
|
|
"source_type": "VARCHAR(20)",
|
|
"dest_name": "part",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "qoptions",
|
|
"source_type": "VARCHAR(25)",
|
|
"dest_name": "qoptions",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "partbuilt",
|
|
"source_type": "VARCHAR(37)",
|
|
"dest_name": "partbuilt",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "colgrp",
|
|
"source_type": "VARCHAR(1)",
|
|
"dest_name": "colgrp",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "colc",
|
|
"source_type": "VARCHAR(20)",
|
|
"dest_name": "colc",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "coltier",
|
|
"source_type": "VARCHAR(1)",
|
|
"dest_name": "coltier",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "brand",
|
|
"source_type": "VARCHAR(8000)",
|
|
"dest_name": "brand",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "dataseg",
|
|
"source_type": "VARCHAR(13)",
|
|
"dest_name": "dataseg",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "v1ds",
|
|
"source_type": "VARCHAR(8000)",
|
|
"dest_name": "v1ds",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "comment",
|
|
"source_type": "VARCHAR(512)",
|
|
"dest_name": "comment",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "units_each",
|
|
"source_type": "DECIMAL(38,10)",
|
|
"dest_name": "units_each",
|
|
"dest_type": "numeric(38,10)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "price",
|
|
"source_type": "DECIMAL(18,9)",
|
|
"dest_name": "price",
|
|
"dest_type": "numeric(18,9)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "sales",
|
|
"source_type": "DECIMAL(38,6)",
|
|
"dest_name": "sales",
|
|
"dest_type": "numeric(38,6)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "histprice",
|
|
"source_type": "DECIMAL(18,9)",
|
|
"dest_name": "histprice",
|
|
"dest_type": "numeric(18,9)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "targetp",
|
|
"source_type": "DECIMAL(18,9)",
|
|
"dest_name": "targetp",
|
|
"dest_type": "numeric(18,9)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "LastSalesPrice",
|
|
"source_type": "DECIMAL(18,9)",
|
|
"dest_name": "lastsalesprice",
|
|
"dest_type": "numeric(18,9)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "r_curr",
|
|
"source_type": "VARCHAR(2)",
|
|
"dest_name": "r_curr",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "qt_rate",
|
|
"source_type": "DECIMAL(18,9)",
|
|
"dest_name": "qt_rate",
|
|
"dest_type": "numeric(18,9)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "qrn",
|
|
"source_type": "INT",
|
|
"dest_name": "qrn",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "url",
|
|
"source_type": "VARCHAR(73)",
|
|
"dest_name": "url",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "tacticalmodifier",
|
|
"source_type": "VARCHAR(8000)",
|
|
"dest_name": "tacticalmodifier",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "FinalRecommendedPrice",
|
|
"source_type": "DECIMAL(18,9)",
|
|
"dest_name": "finalrecommendedprice",
|
|
"dest_type": "numeric(18,9)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "LowerPriceLimit",
|
|
"source_type": "DECIMAL(38,9)",
|
|
"dest_name": "lowerpricelimit",
|
|
"dest_type": "numeric(38,9)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "UpperPriceLimit",
|
|
"source_type": "DECIMAL(38,9)",
|
|
"dest_name": "upperpricelimit",
|
|
"dest_type": "numeric(38,9)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "curstdus",
|
|
"source_type": "NUMERIC(38,6)",
|
|
"dest_name": "curstdus",
|
|
"dest_type": "numeric(38,6)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "futstdus",
|
|
"source_type": "NUMERIC(38,6)",
|
|
"dest_name": "futstdus",
|
|
"dest_type": "numeric(38,6)",
|
|
"description": null
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|