mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 14:17:58 -04:00
Clean backport of #16959 from 8.x to 8.17
----
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
(cherry picked from commit
|
||
---|---|---|
.. | ||
config_management | ||
filters/geoip | ||
geoip_database_management | ||
helpers | ||
license_checker | ||
modules | ||
monitoring | ||
support | ||
spec_helper.rb |