data migration task setting file
Draft1:
{ "from":{ "db":{ "driver":"oracle.jdbc.driver.OracleDriver", "name":"luna", "pswd":"1234", "url":"jdbc:oracle:thin:@127.0.0.1:1521:orcl" }, "table":"emp_from" }, "mapping":[ { "fromColumn":"id", "maskingMethod":"none", "params":"", "toColumn":"id" }, { "fromColumn":"name", "maskingMethod":"shadow", "params":"3,4,5", "toColumn":"name" }, { "fromColumn":"age", "maskingMethod":"none", "params":"", "toColumn":"age" }, { "fromColumn":"remark", "maskingMethod":"caeser", "params":"25", "toColumn":"remark" } ], "to":{ "db":{ "driver":"oracle.jdbc.driver.OracleDriver", "name":"luna", "pswd":"1234", "url":"jdbc:oracle:thin:@127.0.0.1:1521:orcl" }, "table":"emp_to" } }
未完待续。