logstash/x-pack/spec
github-actions[bot] 3897b718ff
[Backport 8.x] Reimplement LogStash::String setting in Java (#16576) (#16959) (#16960)
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 a0378c05cb)

Co-authored-by: Andrea Selva <selva.andre@gmail.com>
2025-01-27 17:25:12 +01:00
..
config_management [Backport 8.x] Reimplement LogStash::String setting in Java (#16576) (#16959) (#16960) 2025-01-27 17:25:12 +01:00
filters/geoip Geoip database management cache invalidation (#16222) 2024-06-18 15:11:25 -07:00
geoip_database_management geoip: avoid crash cleaning non-existing managed dbs (#15986) 2024-03-11 11:56:51 -07:00
helpers Rubocop: Enable various EmptyLine cops (#15194) 2023-07-18 16:49:16 -04:00
license_checker Fix a few lint format issues 2023-10-10 09:00:54 -04:00
modules disable xpack API and monitoring pipeline for serverless (#15277) 2023-08-31 17:00:13 +01:00
monitoring Backport PR #16525 to 8.x: [test] Fix xpack test to check for http_address stats only if the webserver is enabled (#16531) 2024-10-11 15:24:11 +02:00
support geoip: extract database manager to stand-alone feature (#15348) 2023-11-06 09:22:23 -08:00
spec_helper.rb Migrate x-pack-logstash source to logstash 2018-04-24 10:46:15 -05:00