{
"nodeId": "string",
"nodes": [
{
"id": "string",
"name": "string",
"desc": "string",
"attrs": {
"property1": {},
"property2": {}
},
"disabled": true,
"type": "string",
"catalog": "data",
"messages": [
{
"code": "string",
"msg": "string",
"msgStack": "string",
"data": {}
}
],
"alarmSettings": [
{
"type": "TASK",
"open": true,
"key": "TASK_STATUS_ERROR",
"sort": 0,
"notify": [
"SYSTEM"
],
"interval": 0,
"unit": "MS",
"params": {
"property1": {},
"property2": {}
}
}
],
"alarmRules": [
{
"key": "TASK_STATUS_ERROR",
"point": 0,
"equalsFlag": 0,
"ms": 0
}
],
"service": {
"taskId": {
"timestamp": 0,
"date": "2019-08-24T14:15:22.123Z"
}
},
"listener": {},
"externalStorageId": "string",
"notSupportFieldMap": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"connectionId": "string",
"databaseType": "string",
"tablePrefix": "string",
"tableSuffix": "string",
"fieldsNameTransform": "string",
"tableNameTransform": "string",
"dmlPolicy": {
"insertEvent": true,
"updateEvent": true,
"deleteEvent": true,
"insertPolicy": "update_on_exists",
"updatePolicy": "update_on_exists"
},
"enableDDL": true,
"ddlConfiguration": "ERROR",
"ignoredDDLRules": "string",
"readPartitionOptions": {
"splitType": 0,
"enable": true,
"maxRecordInPartition": 0,
"partitionThreadCount": 0,
"partitionBatchCount": 0,
"minMaxSplitPieces": 0,
"hasKVStorage": true
},
"disabledEvents": [
"string"
],
"enableDynamicTable": true,
"initialConcurrent": true,
"initialConcurrentWriteNum": 0,
"cdcConcurrent": true,
"cdcConcurrentWriteNum": 0,
"concurrentWritePartitionMap": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"fieldChangeRules": [
{
"id": "string",
"scope": "Node",
"namespace": [
"string"
],
"type": "DataType",
"accept": "string",
"multiple": 0,
"result": {
"property1": "string",
"property2": "string"
},
"nodeId": "string",
"qualifiedName": "string",
"fieldName": "string"
}
],
"readBatchSize": 0,
"increaseReadSize": 0,
"writeBatchSize": 0,
"writeBatchWaitMs": 0,
"writeStrategy": "string",
"syncIndexEnable": true,
"dataQualityTag": true,
"distance": 0,
"freeTransform": true,
"inputLanes": [
"string"
],
"outputLanes": [
"string"
],
"existDataProcessMode": "string",
"dropType": "string",
"readCdcInterval": 0,
"fieldProcess": [
{
"operations": [
{
"color": "string",
"field": "string",
"id": "string",
"label": "string",
"op": "string",
"operand": "string",
"primary_key_position": 0,
"tableName": "string",
"type": "string",
"originalDataType": "string",
"original_field_name": "string",
"java_type": "string"
}
],
"table_name": "string",
"tableId": "string"
}
],
"syncObjects": [
{
"type": "string",
"objectNames": [
"string"
],
"tableNameRelation": {
"property1": "string",
"property2": "string"
},
"sort": 0
}
],
"batchOperationList": [
{
"sourceType": "string",
"targetType": "string"
}
],
"tableOperations": [
{
"type": "string",
"originalTableName": "string",
"tableName": "string"
}
],
"tableNames": [
"string"
],
"rows": 0,
"migrateTableSelectType": "string",
"tableExpression": "string",
"noPrimaryKeyTableSelectType": "string",
"nodeConfig": {
"property1": {},
"property2": {}
},
"updateConditionFieldMap": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"sourceNodeTableNames": [
"string"
],
"dataNode": true,
"transformed": true,
"logCollectorNode": true,
"taskId": "string"
}
]
}curl --location 'https://m1.apifoxmock.com/m1/1293445-0-default/api/task/tranModelVersionControl' \
--header 'Content-Type: application/json' \
--data '{
"nodeId": "string",
"nodes": [
{
"id": "string",
"name": "string",
"desc": "string",
"attrs": {
"property1": {},
"property2": {}
},
"disabled": true,
"type": "string",
"catalog": "data",
"messages": [
{
"code": "string",
"msg": "string",
"msgStack": "string",
"data": {}
}
],
"alarmSettings": [
{
"type": "TASK",
"open": true,
"key": "TASK_STATUS_ERROR",
"sort": 0,
"notify": [
"SYSTEM"
],
"interval": 0,
"unit": "MS",
"params": {
"property1": {},
"property2": {}
}
}
],
"alarmRules": [
{
"key": "TASK_STATUS_ERROR",
"point": 0,
"equalsFlag": 0,
"ms": 0
}
],
"service": {
"taskId": {
"timestamp": 0,
"date": "2019-08-24T14:15:22.123Z"
}
},
"listener": {},
"externalStorageId": "string",
"notSupportFieldMap": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"connectionId": "string",
"databaseType": "string",
"tablePrefix": "string",
"tableSuffix": "string",
"fieldsNameTransform": "string",
"tableNameTransform": "string",
"dmlPolicy": {
"insertEvent": true,
"updateEvent": true,
"deleteEvent": true,
"insertPolicy": "update_on_exists",
"updatePolicy": "update_on_exists"
},
"enableDDL": true,
"ddlConfiguration": "ERROR",
"ignoredDDLRules": "string",
"readPartitionOptions": {
"splitType": 0,
"enable": true,
"maxRecordInPartition": 0,
"partitionThreadCount": 0,
"partitionBatchCount": 0,
"minMaxSplitPieces": 0,
"hasKVStorage": true
},
"disabledEvents": [
"string"
],
"enableDynamicTable": true,
"initialConcurrent": true,
"initialConcurrentWriteNum": 0,
"cdcConcurrent": true,
"cdcConcurrentWriteNum": 0,
"concurrentWritePartitionMap": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"fieldChangeRules": [
{
"id": "string",
"scope": "Node",
"namespace": [
"string"
],
"type": "DataType",
"accept": "string",
"multiple": 0,
"result": {
"property1": "string",
"property2": "string"
},
"nodeId": "string",
"qualifiedName": "string",
"fieldName": "string"
}
],
"readBatchSize": 0,
"increaseReadSize": 0,
"writeBatchSize": 0,
"writeBatchWaitMs": 0,
"writeStrategy": "string",
"syncIndexEnable": true,
"dataQualityTag": true,
"distance": 0,
"freeTransform": true,
"inputLanes": [
"string"
],
"outputLanes": [
"string"
],
"existDataProcessMode": "string",
"dropType": "string",
"readCdcInterval": 0,
"fieldProcess": [
{
"operations": [
{
"color": "string",
"field": "string",
"id": "string",
"label": "string",
"op": "string",
"operand": "string",
"primary_key_position": 0,
"tableName": "string",
"type": "string",
"originalDataType": "string",
"original_field_name": "string",
"java_type": "string"
}
],
"table_name": "string",
"tableId": "string"
}
],
"syncObjects": [
{
"type": "string",
"objectNames": [
"string"
],
"tableNameRelation": {
"property1": "string",
"property2": "string"
},
"sort": 0
}
],
"batchOperationList": [
{
"sourceType": "string",
"targetType": "string"
}
],
"tableOperations": [
{
"type": "string",
"originalTableName": "string",
"tableName": "string"
}
],
"tableNames": [
"string"
],
"rows": 0,
"migrateTableSelectType": "string",
"tableExpression": "string",
"noPrimaryKeyTableSelectType": "string",
"nodeConfig": {
"property1": {},
"property2": {}
},
"updateConditionFieldMap": {
"property1": [
"string"
],
"property2": [
"string"
]
},
"sourceNodeTableNames": [
"string"
],
"dataNode": true,
"transformed": true,
"logCollectorNode": true,
"taskId": "string"
}
]
}'{
"reqId": "string",
"ts": 0,
"code": "string",
"message": "string",
"data": {
"property1": true,
"property2": true
}
}