Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 Pentaho 中使用 PGP 加密文件。我有一个 Java 程序来通过命令行加密文件。Kettle 建议使用用户定义的调用逐行加密,有没有办法使用kettle 用户定义的类来加密整个文件?我是水壶新手。
我不确定你的要求。但你可以开发水壶插件
http://type-exit.org/adventures-with-open-source-bi/2010/06/developing-a-custom-kettle-plugin-a-simple-transformation-step/
在插件中,只需将文件名传递给方法 Runtime.exec() 即可加密您的文件。
是的你可以。创建一个新的 Kettle 作业,将文件转换添加到流作业中,现在使用Encrypt files with PGP Step。
您可以在工作级别执行此操作。您有一个称为加密 PGP 文件的步骤。这必须在工作级别使用。希望我已经回答了你的问题。