elasticsearch/libs
Ryan Ernst 1088ef6ded
Capture system properties and env variables for cli tools to use (#85885)
Currently any code needing to access system properties or environment
variables does it with the static methods provided by Java. While this
is ok in production since these are instantiated for the entire jvm
once, it makes any code reading these properties difficult to test
without mucking with the test jvm.

This commit adds system properties and environment variables to the base
Command class that our CLI tools use. While it does not propagate the
properties and env down for all possible uses in the system, it is the
first step, and it makes CLI testing a bit easier.
2022-04-14 09:22:57 -07:00
..
cli Capture system properties and env variables for cli tools to use (#85885) 2022-04-14 09:22:57 -07:00
core Replace JavaVersion with Runtime.Version (#85361) 2022-03-28 12:46:59 -07:00
dissect Use Java 14 switch expressions (#82178) 2022-01-10 09:53:35 +01:00
geo Add missing explicit no-args ctors (#84763) 2022-03-09 11:08:48 +00:00
grok Use Java 14 switch expressions (#82178) 2022-01-10 09:53:35 +01:00
h3 Add x-content testing jar (#84775) 2022-03-09 09:48:34 -08:00
log4j Patch log4j JAR to remove JndiLookup class (#81629) 2021-12-10 15:51:38 -08:00
lz4 Use Java 14 switch expressions (#82178) 2022-01-10 09:53:35 +01:00
plugin-classloader Cleaning up some buildscripts (#85394) 2022-03-31 10:48:48 +02:00
secure-sm Make classes+methods that can be static static in many spots (#85370) 2022-03-30 00:21:56 +02:00
ssl-config Cleaning up some buildscripts (#85394) 2022-03-31 10:48:48 +02:00
x-content Speed up JsonXContentParser token conversion and text() (#85621) 2022-04-01 18:06:54 +02:00
build.gradle Move x-content implementation to a separate classloader (#83705) 2022-03-07 15:44:59 -08:00