OpenSearch/plugins
Jason Tedor 3383c24be0 Remove and forbid use of Collections#shuffle(List) and Random#<init>()
This commit removes and now forbids all uses of
Collections#shuffle(List) and Random#<init>() across the codebase. The
rationale for removing and forbidding these methods is to increase test
reproducibility. As these methods use non-reproducible seeds, production
code and tests that rely on these methods contribute to
non-reproducbility of tests.

Instead of Collections#shuffle(List) the method
Collections#shuffle(List, Random) can be used. All that is required then
is a reproducible source of randomness. Consequently, the utility class
Randomness has been added to assist in creating reproducible sources of
randomness.

Instead of Random#<init>(), Random#<init>(long) with a reproducible seed
or the aforementioned Randomess class can be used.

Closes #15287
2015-12-11 11:16:38 -05:00
..
analysis-icu Remove RuntimePermission("accessDeclaredMembers") 2015-12-10 14:26:55 -05:00
analysis-kuromoji Remove RuntimePermission("accessDeclaredMembers") 2015-12-10 14:26:55 -05:00
analysis-phonetic Remove RuntimePermission("accessDeclaredMembers") 2015-12-10 14:26:55 -05:00
analysis-smartcn Remove RuntimePermission("accessDeclaredMembers") 2015-12-10 14:26:55 -05:00
analysis-stempel Remove RuntimePermission("accessDeclaredMembers") 2015-12-10 14:26:55 -05:00
delete-by-query Introduce a common base response class to all single doc write ops 2015-12-10 15:14:02 +01:00
discovery-azure Update Azure Service Management API to 0.9.0 2015-12-04 17:32:11 +01:00
discovery-ec2 Remove and forbid use of Collections#shuffle(List) and Random#<init>() 2015-12-11 11:16:38 -05:00
discovery-gce Remove RuntimePermission("accessDeclaredMembers") 2015-12-10 14:26:55 -05:00
discovery-multicast Remove "empty" licenses dir 2015-12-02 10:22:52 +01:00
jvm-example Remove "empty" licenses dir 2015-12-02 10:22:52 +01:00
lang-javascript Filter classes loaded by scripts 2015-12-05 21:46:52 -05:00
lang-plan-a Added a new scripting language (PlanA). 2015-12-09 16:32:37 -08:00
lang-python Filter classes loaded by scripts 2015-12-05 21:46:52 -05:00
mapper-attachments Merge pull request #15213 from brwe/copy-to-in-multi-fields-exception 2015-12-08 14:41:07 +01:00
mapper-murmur3 Remove "empty" licenses dir 2015-12-02 10:22:52 +01:00
mapper-size Remove MergeMappingException. 2015-12-04 12:56:26 +01:00
repository-azure Filter cloud azure credentials 2015-11-19 15:40:56 +01:00
repository-s3 Remove RuntimePermission("accessDeclaredMembers") 2015-12-10 14:26:55 -05:00
site-example Remove "empty" licenses dir 2015-12-02 10:22:52 +01:00
store-smb Remove "empty" licenses dir 2015-12-02 10:22:52 +01:00
build.gradle Added modules, distributions now include them (just plugins installed in 2015-12-03 14:18:26 -08:00