mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 14:17:58 -04:00
Non clean backport of #16576 ---- Reimplements `LogStash::Setting::String` Ruby setting class into the `org.logstash.settings.SettingString` and exposes it through `java_import` as `LogStash::Setting::SettingString`. Updates the rspec tests in two ways: - logging mock is now converted to real Log4J appender that spy log line that are later verified - verifies `java.lang.IllegalArgumentException` instead of `ArgumentError` is thrown because the kind of exception thrown by Java code, during verification. * Fixed the rename of NullableString to SettingNullableString * Fixed runner test to use real spy logger from Java Settings instead of mock test double |
||
---|---|---|
.. | ||
fixtures | ||
bootstrap_check_spec.rb | ||
elasticsearch_source_spec.rb | ||
extension_spec.rb | ||
hooks_spec.rb |