logstash/x-pack/spec/config_management
Andrea Selva a0378c05cb
[Backport 8.x] Reimplement LogStash::String setting in Java (#16576) (#16959)
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
2025-01-27 16:08:51 +01:00
..
fixtures add wildcard support in xpack pipeline id (#12370) 2020-11-03 11:02:07 +01:00
bootstrap_check_spec.rb Fix the Bootstrap check test failure on Windows. (#15975) 2024-03-06 10:10:35 -08:00
elasticsearch_source_spec.rb Fix a few lint format issues 2023-10-10 09:00:54 -04:00
extension_spec.rb [Backport 8.x] Reimplement LogStash::String setting in Java (#16576) (#16959) 2025-01-27 16:08:51 +01:00
hooks_spec.rb Load tests via JUnit 2018-05-15 16:15:39 +00:00