tallison
f06e32c969
SOLR-14054 -- need to add xml-apis for Java 8 after upgrading xerces
2019-12-18 12:49:43 -05:00
Robert Muir
53a82aedcb
SOLR-14110: sandbox javax.script usage in tests
2019-12-18 06:31:00 -05:00
tallison
a58269f6a6
SOLR-14054: Upgrade to Tika 1.23
2019-12-17 15:55:21 -05:00
Robert Muir
cfccbe5af3
LUCENE-9094: Ban ObjectInputStream and ObjectOutputStream in forbidden-apis
2019-12-16 13:41:33 -05:00
noble
9717540b8e
SOLR-14013: javabin performance regressions
2019-12-13 17:42:24 +11:00
Ishan Chattopadhyaya
8d07ba5c9c
SOLR-14065: Deprecate Velocity
2019-12-12 16:13:59 +05:30
Mikhail Khludnev
f914d9aac7
SOLR-13904: Make Analytics component sensitive to timeAllowed.
2019-12-12 00:11:39 +03:00
Robert Muir
715b2151ac
SOLR-14050: clean up tests use of network addresses
...
Solr tests now have a similar policy to Lucene, loopback use only. If a
test tries to resolve or connect to the internet, it will get SecurityException.
Some solr tests explicitly try to talk to dead nodes with real
networking. This is not good and asking for trouble, but use low loopback port numbers instead of
multicast addresses. The idea is that it fails faster. Move these to
constants so that stuff isn't copy-pasted everywhere, in case we have to
do something different later.
2019-12-11 13:27:03 -05:00
Erik Hatcher
9dfee35b9f
SOLR-14025: VelocityResponseWriter hardening
2019-12-11 12:38:58 -05:00
Erick Erickson
dda88f73bb
SOLR-13953: Prometheus exporter in SolrCloud mode limited to 100 nodes
...
(cherry picked from commit d189520935cab36ae4d86f3822b38348f464d960)
2019-12-10 20:26:04 -05:00
Robert Muir
e6728cdf64
SOLR-13993: sandbox velocity template render (if security manager is enabled)
...
The solr permissions are weak sauce due to the huge number of features, third-party dependencies, etc.
Hence they have access to do many things. For "scripting" such as velocity we have to look at a more aggressive stance:
Step 1: Can we wrap a sandbox around the whole goddamn thing and call it a day?
Step 2: Let's separate the "engine" from "untrusted code" and only be an asshole to the latter.
Step 3: Java's security is shit, Lets contain that classloader and whitelist access.
2019-12-05 01:36:58 -05:00
Robert Muir
08720cf5c0
SOLR-14000: clean up more static field leaks in tests
...
On windows, these objects can't be inspected due to security restrictions. So the test runner fails the tests since it does not know how big the leak is.
2019-12-03 18:53:43 -05:00
Robert Muir
72b86bc222
fix static leaks, null stuff out in afterclass
2019-12-03 06:28:52 -05:00
David Smiley
8b2d8d0947
SOLR-13971: Revert changes to the default configset. * clarified these are Java system properties * trivial dead code change; Boolean.getBoolean returns a primitive
2019-11-28 11:07:51 -05:00
Ishan Chattopadhyaya
bf2899fb00
SOLR-13971: Renamed the velocity template parameter names
2019-11-28 15:44:19 +05:30
Ishan Chattopadhyaya
05c5bcc8b3
SOLR-13971: Removing velocity from _default and disabling custom template support by default
2019-11-28 07:54:37 +05:30
Mikhail Khludnev
0b8b1438e9
SOLR-13824: reject prematurely closed curly bracket in JSON.
2019-10-21 23:35:15 +03:00
Andrzej Bialecki
441af3e7aa
SOLR-13677: All Metrics Gauges should be unregistered by components that registered them.
2019-10-18 18:44:16 +02:00
Koen De Groote
575f8a6ad8
LUCENE-8994: Code Cleanup - Pass values to list constructor instead of empty constructor followed by addAll(). ( #919 )
2019-10-14 19:56:23 +02:00
Koen De Groote
93f9a093cc
LUCENE-8979: Code Cleanup: Use entryset for map iteration wherever possible. - part 2
2019-10-14 19:56:00 +02:00
Chris Hostetter
8e2a050800
SOLR-13786: AwaitsFix SolrExporterIntegrationTest
...
(cherry picked from commit 4ec4061cbcd426774b84184c074c24ecf3a1e81b)
2019-09-23 10:33:26 -07:00
Dawid Weiss
8c308a940b
SOLR-13779: Use the safe fork of simple-xml for clustering contrib
2019-09-19 12:25:12 +02:00
Anshum Gupta
b9633e0f26
SOLR-13773: Prometheus Exporter GC and Heap options ( #887 ) ( #890 )
...
* SOLR-13773: Prometheus Exporter GC and Heap options
* Adding info to the ref-guide.
2019-09-18 13:40:46 -07:00
Koen De Groote
ad6d73b481
Changing keyset() to entryset() and sometines values(). ( #868 )
2019-09-13 15:42:42 +02:00
Chris Hostetter
89c54ec0d1
LTR Test Hardening:
...
1) use per-method state isolation in several tests...
This helps prevent failures in one test to allow persisted date to leak into other test methods,
as well as ensuring that these tests play nicely with -Dtests.iters > 1
2) TestRerankBase cleanup to eliminate unnecessary extra SolrCore (that was being leaked)
(cherry picked from commit 3ed96026d353864c60566a9a3bdb1da853bb9e8f)
2019-09-12 18:12:09 -07:00
Noble Paul
b1bccf7cac
SOLR-13677: reverting the last commit
2019-09-10 00:50:56 +10:00
Noble Paul
1c0490c9ab
SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them ( #836 )
...
* SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them
2019-08-19 19:52:16 +10:00
Munendra S N
488c75fb55
SOLR-12555: use expectThrows() to verify the ex thrown in tests
2019-08-03 13:19:53 +05:30
Chris Hostetter
89af2ec304
SOLR-13664: Fixed SolrTestCaseJ4.deleteCore() to properly reset the dataDir used by initCore()
...
(cherry picked from commit ab470a6564b1184c2d77892131f56a9912f7d8c6)
2019-08-01 09:16:02 -07:00
Munendra S N
bb3372a17c
SOLR-13657: fix unsupported xpath test in TestXPathRecordReader
...
* use expectThrows to verify the exception and the message
* fix NPE in the test
2019-07-29 22:34:57 +05:30
Munendra S N
64357bc913
SOLR-13643:add Getter/Setter in ResponseBuilder to handle analytic res
2019-07-29 09:58:23 +05:30
Jason Gerlowski
ca4cd3c7d3
SOLR-13629: Cleanup whitespace in analytics contrib
2019-07-28 15:37:59 -04:00
Andrzej Bialecki
bf1d14539c
SOLR-13003: Fix WrapperModel method delegation.
2019-07-03 20:18:27 +02:00
Andrzej Bialecki
9d52e5be3b
SOLR-13003: Query Result Cache does not honour maxRamBytes parameter.
2019-07-03 18:27:21 +02:00
David Smiley
1c1d77a791
SOLR-13158: DIH: Add System property toggle for use of dataConfig param
...
(cherry picked from commit 325824cd391c8e71f36f17d687f52344e50e9715)
2019-07-03 00:03:29 -04:00
Chris Hostetter
8db2fdfa91
SOLR-13574: Fix many test and test-framework classes to not fail on After/AfterClass cleanup if assumptions fail in Before/BeforeClass setup
...
(cherry picked from commit 7e57d3a9d93e8acb77ce299f8c79d92df563b864)
Conflicts:
solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java
2019-06-27 10:39:24 -07:00
Koen De Groote
8b6a0d0964
LUCENE-8847: Code Cleanup: Rewrite StringBuilder.append with concatted strings ( #707 )
...
This specific commit affects all points in the casebase where the argument of a StringBuilder.append() call is itself a regular String concatenation.
This defeats the purpose of using StringBuilder and also introduces an extra alloction.
These changes should avoid that.
ant tests have run, succeeded on local machine.
Removing test files from the changes.
Another suggested rework.
2019-06-10 18:10:06 +02:00
Cao Manh Dat
dc7b54df0c
SOLR-13434: Fixes problem on Java 8 build
2019-06-05 15:33:51 +01:00
Cao Manh Dat
a39c342793
SOLR-13434: OpenTracing support for Solr ( #685 )
2019-06-04 20:05:17 +01:00
Erick Erickson
e890980311
SOLR-8346: Upgrade Zookeeper to version 3.5.5
...
(cherry picked from commit 7ebeab71f4b56d008835f0040468a07632024950)
2019-06-03 17:59:01 -07:00
Chris Hostetter
b65fc0093b
Fix SolrExporterIntegrationTest to not make assumptions about the JVM that are not true on windows
...
(cherry picked from commit 61279a2e79c485597c011b2fbe1acfbdb96475e3)
2019-05-30 11:59:43 -07:00
Chris Hostetter
753dfc43d6
Fix all solr tests to pass w/ -Dtests.dups=2 -Dtests.jvms=1
...
(cherry picked from commit c2b92f3015d44a48abc7cc5f7c972298ea317a07)
2019-05-29 10:27:40 -07:00
Uwe Schindler
c714623996
LUCENE-8807: Change all download URLs in build files to HTTPS
...
# Conflicts:
# lucene/common-build.xml
2019-05-21 17:12:18 +02:00
Dawid Weiss
0316e2a786
SOLR-13462: Update dependency definitions to include Ukrainian dictionary.
2019-05-15 09:17:51 +02:00
Christine Poerschke
726fb8facc
SOLR-13049: Make contrib/ltr Feature.defaultValue configurable. (Stanislav Livotov, Christine Poerschke)
2019-05-09 17:45:05 +01:00
noble
9952c2a24f
SOLR-13441: Refactor code to minimize direct use of noggit
2019-05-03 07:22:13 +10:00
Shalin Shekhar Mangar
fe02666d54
SOLR-13392: Add all solr dependencies to prometheus exporter classpath to make sure that it can start.
...
SOLR-13234 broke prometheus exporter startup from the startup scripts because there was a mismatch between the dependency list in ant/ivy and those actually added to the classpath by the script. This commit changes the script to add all solr dependencies to the classpath.
(cherry picked from commit 4571a2d66687cca6670885a94414c7a8c02c0bbc)
2019-04-22 12:19:50 +05:30
Kevin Risden
543ea46afa
SOLR-13351: Workaround for VELOCITY-908
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-28 09:26:02 -04:00
Ishan Chattopadhyaya
b08566cacc
SOLR-7414: CSVResponseWriter & XLSXResponseWriter return empty field when fl alias is combined with * selector
2019-03-27 16:29:25 +05:30
Kevin Risden
f545e64061
SOLR-13335: Upgrade to velocity 2.0 and velocity-tools 3.0
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-25 10:02:23 -04:00