Alink icon indicating copy to clipboard operation
Alink copied to clipboard

webui中CatalogSourceBatchOp中的参数catalogObject应该填什么格式?

Open StaveZhao opened this issue 2 years ago • 2 comments

webui中CatalogSourceBatchOp中的参数catalogObject应该填什么格式?还是说目前执行那块代码不完善还需要修改?目前看代码到后续处理的时候这边传的是json对象的话,代码中没有处理成catalogObject对象,求哪位大神给个详细的例子参考一下 深表感谢

StaveZhao avatar Feb 08 '23 06:02 StaveZhao

@StaveZhao 请问你知道怎么输入了吗?我现在也遇到了这样的问题,是webui不支持还是格式有特定的要求。

WeiXue9 avatar Mar 28 '24 10:03 WeiXue9

Now I am ok,it is "{"catalog":{"params":{"catalogName":"\"mysql_test_catalog\"","password":"\"root\"","pluginVersion":"\"5.7\"","port":"\"3306\"","ioName":"\"mysql\"","defaultDatabase":"\"test\"","url":"\"xx.xx.xx.xx\"","username":"\"root\""}},"objectPath":"test.student","params":{"params":{}}}". I created a catalong souce instance from the alink java sample program and input the obtained parameters in the catalogObject input box.yeah...

WeiXue9 avatar Mar 28 '24 11:03 WeiXue9