Commit d147286
refactor: consume the config-file writer from stackable-operator
Replace the vendored Java-properties writer
(rust/operator-binary/src/framework/writer.rs) with
stackable_operator::v2::config_file_writer (moved there via operator-rs
#1217 on the smooth-operator branch). NiFi's copy was a java-only subset of
the canonical hdfs writer; the upstream module's additional to_hadoop_xml
simply goes unimported. Drop the now-unused java-properties dependency. The
framework module now only contains role_utils.
The base dependency tag moves from stackable-operator-0.111.0 to 0.111.1,
matching the other operators; cargo only substitutes a [patch] whose package
version matches, and the smooth-operator branch carries 0.111.1.
No behaviour change; rendered .properties output is byte-identical by
construction (same code, new home).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 17eaf7b commit d147286
10 files changed
Lines changed: 239 additions & 252 deletions
File tree
- rust/operator-binary
- src
- controller/build
- properties
- framework
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments