Skip to content

Commit a57ce53

Browse files
authored
Merge pull request #8511 from IQSS/develop
Version 5.10
2 parents fb24c87 + 27a733f commit a57ce53

File tree

250 files changed

+6887
-4333
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+6887
-4333
lines changed

.github/workflows/maven_unit_test.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,34 @@ on:
44
push:
55
paths:
66
- "**.java"
7+
- "pom.xml"
8+
- "modules/**/pom.xml"
79
pull_request:
810
paths:
911
- "**.java"
12+
- "pom.xml"
13+
- "modules/**/pom.xml"
1014

1115
jobs:
1216
unittest:
13-
name: (JDK ${{ matrix.jdk }} / ${{ matrix.os }}) Unit Tests
17+
name: (${{ matrix.status}} / JDK ${{ matrix.jdk }}) Unit Tests
1418
strategy:
1519
fail-fast: false
1620
matrix:
17-
os: [ ubuntu-latest ]
1821
jdk: [ '11' ]
22+
experimental: [false]
23+
status: ["Stable"]
24+
#
25+
# JDK 17 builds disabled due to non-essential fails marking CI jobs as completely failed within
26+
# Github Projects, PR lists etc. This was consensus on Slack #dv-tech. See issue #8094
27+
# (This is a limitation of how Github is currently handling these things.)
28+
#
1929
#include:
20-
# - os: ubuntu-latest
21-
# jdk: '16'
22-
runs-on: ${{ matrix.os }}
30+
# - jdk: '17'
31+
# experimental: true
32+
# status: "Experimental"
33+
continue-on-error: ${{ matrix.experimental }}
34+
runs-on: ubuntu-latest
2335
steps:
2436
- uses: actions/checkout@v2
2537
- name: Set up JDK ${{ matrix.jdk }}
@@ -34,7 +46,7 @@ jobs:
3446
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
3547
restore-keys: ${{ runner.os }}-m2
3648
- name: Build with Maven
37-
run: mvn -DcompilerArgument=-Xlint:unchecked -P all-unit-tests clean test
49+
run: mvn -DcompilerArgument=-Xlint:unchecked -Dtarget.java.version=${{ matrix.jdk }} -P all-unit-tests clean test
3850
- name: Maven Code Coverage
3951
env:
4052
CI_NAME: github

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,6 @@ venv
7070
scripts/search/data/binary/trees.png.thumb140
7171
src/main/webapp/resources/images/cc0.png.thumb140
7272
src/main/webapp/resources/images/dataverseproject.png.thumb140
73+
74+
# apache-maven is downloaded by docker-aio
75+
apache-maven*

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Dataverse®
1+
Dataverse®
22
===============
33

44
Dataverse is an [open source][] software platform for sharing, finding, citing, and preserving research data (developed by the [Data Science and Products team](http://www.iq.harvard.edu/people/people/data-science-products) at the [Institute for Quantitative Social Science](http://iq.harvard.edu/) and the [Dataverse community][]).

checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
</module>
9999
-->
100100
<module name="IllegalImport">
101-
<property name="illegalPkgs" value="org.apache.commons.lang"/>
101+
<property name="illegalPkgs" value="org.apache.commons.lang, org.apache.log4j"/>
102102
</module>
103103
<!-- <module name="RedundantImport"/> -->
104104
<!-- <module name="UnusedImports">

conf/docker-aio/0prep_deps.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ if [ ! -e dv/deps/payara-5.2021.5.zip ]; then
99
wget https://s3-eu-west-1.amazonaws.com/payara.fish/Payara+Downloads/5.2021.5/payara-5.2021.5.zip -O dv/deps/payara-5.2021.5.zip
1010
fi
1111

12-
if [ ! -e dv/deps/solr-8.8.1dv.tgz ]; then
12+
if [ ! -e dv/deps/solr-8.11.1dv.tgz ]; then
1313
echo "solr dependency prep"
1414
# schema changes *should* be the only ones...
1515
cd dv/deps/
16-
wget https://archive.apache.org/dist/lucene/solr/8.8.1/solr-8.8.1.tgz -O solr-8.8.1dv.tgz
16+
wget https://archive.apache.org/dist/lucene/solr/8.11.1/solr-8.11.1.tgz -O solr-8.11.1dv.tgz
1717
cd ../../
1818
fi
1919

conf/docker-aio/1prep.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# this was based off the phoenix deployment; and is likely uglier and bulkier than necessary in a perfect world
55

66
mkdir -p testdata/doc/sphinx-guides/source/_static/util/
7-
cp ../solr/8.8.1/schema*.xml testdata/
8-
cp ../solr/8.8.1/solrconfig.xml testdata/
7+
cp ../solr/8.11.1/schema*.xml testdata/
8+
cp ../solr/8.11.1/solrconfig.xml testdata/
99
cp ../jhove/jhove.conf testdata/
1010
cp ../jhove/jhoveConfig.xsd testdata/
1111
cd ../../

conf/docker-aio/c8.dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ COPY testdata/sushi_sample_logs.json /tmp/
2323
COPY disableipv6.conf /etc/sysctl.d/
2424
RUN rm /etc/httpd/conf/*
2525
COPY httpd.conf /etc/httpd/conf
26-
RUN cd /opt ; tar zxf /tmp/dv/deps/solr-8.8.1dv.tgz
26+
RUN cd /opt ; tar zxf /tmp/dv/deps/solr-8.11.1dv.tgz
2727
RUN cd /opt ; unzip /tmp/dv/deps/payara-5.2021.5.zip ; ln -s /opt/payara5 /opt/glassfish4
2828

2929
# this copy of domain.xml is the result of running `asadmin set server.monitoring-service.module-monitoring-levels.jvm=LOW` on a default glassfish installation (aka - enable the glassfish REST monitir endpoint for the jvm`
@@ -34,9 +34,9 @@ RUN sudo -u postgres /usr/pgsql-13/bin/initdb -D /var/lib/pgsql/13/data -E 'UTF-
3434

3535
# copy configuration related files
3636
RUN cp /tmp/dv/pg_hba.conf /var/lib/pgsql/13/data/
37-
RUN cp -r /opt/solr-8.8.1/server/solr/configsets/_default /opt/solr-8.8.1/server/solr/collection1
38-
RUN cp /tmp/dv/schema*.xml /opt/solr-8.8.1/server/solr/collection1/conf/
39-
RUN cp /tmp/dv/solrconfig.xml /opt/solr-8.8.1/server/solr/collection1/conf/solrconfig.xml
37+
RUN cp -r /opt/solr-8.11.1/server/solr/configsets/_default /opt/solr-8.11.1/server/solr/collection1
38+
RUN cp /tmp/dv/schema*.xml /opt/solr-8.11.1/server/solr/collection1/conf/
39+
RUN cp /tmp/dv/solrconfig.xml /opt/solr-8.11.1/server/solr/collection1/conf/solrconfig.xml
4040

4141
# skipping payara user and solr user (run both as root)
4242

conf/docker-aio/dv/install/default.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ POSTGRES_DATABASE dvndb
99
POSTGRES_USER dvnapp
1010
POSTGRES_PASSWORD secret
1111
SOLR_LOCATION idx
12-
TWORAVENS_LOCATION NOT INSTALLED
1312
RSERVE_HOST localhost
1413
RSERVE_PORT 6311
1514
RSERVE_USER rserve

conf/docker-aio/entrypoint.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
export LANG=en_US.UTF-8
33
sudo -u postgres /usr/pgsql-13/bin/pg_ctl start -D /var/lib/pgsql/13/data &
4-
cd /opt/solr-8.8.1/
4+
cd /opt/solr-8.11.1/
55
# TODO: Run Solr as non-root and remove "-force".
66
bin/solr start -force
77
bin/solr create_core -c collection1 -d server/solr/collection1/conf -force

conf/docker-aio/httpd.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ Group apache
1717
CustomLog logs/access_log combined
1818

1919
# proxy config (aka - what to send to glassfish or not)
20-
ProxyPassMatch ^/RApacheInfo$ !
21-
ProxyPassMatch ^/custom !
22-
ProxyPassMatch ^/dataexplore !
2320
ProxyPassMatch ^/Shibboleth.sso !
2421
ProxyPassMatch ^/shibboleth-ds !
2522
# pass everything else to Glassfish

conf/docker-aio/testdata/httpd.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ Group apache
1717
CustomLog logs/access_log combined
1818

1919
# proxy config (aka - what to send to glassfish or not)
20-
ProxyPassMatch ^/RApacheInfo$ !
21-
ProxyPassMatch ^/custom !
22-
ProxyPassMatch ^/dataexplore !
2320
ProxyPassMatch ^/Shibboleth.sso !
2421
ProxyPassMatch ^/shibboleth-ds !
2522
# pass everything else to Glassfish

conf/httpd/conf.d/dataverse.conf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# don't pass paths used by rApache and TwoRavens to Glassfish
2-
ProxyPassMatch ^/RApacheInfo$ !
3-
ProxyPassMatch ^/dataexplore !
4-
ProxyPassMatch ^/custom !
5-
ProxyPassMatch ^/rookzelig !
61
# don't pass paths used by Shibboleth to Glassfish
72
ProxyPassMatch ^/Shibboleth.sso !
83
ProxyPassMatch ^/shibboleth-ds !
File renamed without changes.

conf/solr/8.8.1/schema.xml renamed to conf/solr/8.11.1/schema.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
<field name="characteristicOfSources" type="text_en" multiValued="false" stored="true" indexed="true"/>
260260
<field name="city" type="text_en" multiValued="true" stored="true" indexed="true"/>
261261
<field name="cleaningOperations" type="text_en" multiValued="false" stored="true" indexed="true"/>
262-
<field name="collectionMode" type="text_en" multiValued="false" stored="true" indexed="true"/>
262+
<field name="collectionMode" type="text_en" multiValued="true" stored="true" indexed="true"/>
263263
<field name="collectorTraining" type="text_en" multiValued="false" stored="true" indexed="true"/>
264264
<field name="contributor" type="text_en" multiValued="true" stored="true" indexed="true"/>
265265
<field name="contributorName" type="text_en" multiValued="true" stored="true" indexed="true"/>

conf/solr/8.8.1/solrconfig.xml renamed to conf/solr/8.11.1/solrconfig.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@
408408
to occupy. Note that when this option is specified, the size
409409
and initialSize parameters are ignored.
410410
-->
411-
<filterCache class="solr.FastLRUCache"
411+
<filterCache class="solr.search.CaffeineCache"
412412
size="512"
413413
initialSize="512"
414414
autowarmCount="0"/>
@@ -421,7 +421,7 @@
421421
maxRamMB - the maximum amount of RAM (in MB) that this cache is allowed
422422
to occupy
423423
-->
424-
<queryResultCache class="solr.LRUCache"
424+
<queryResultCache class="solr.search.CaffeineCache"
425425
size="512"
426426
initialSize="512"
427427
autowarmCount="0"/>
@@ -432,14 +432,14 @@
432432
document). Since Lucene internal document ids are transient,
433433
this cache will not be autowarmed.
434434
-->
435-
<documentCache class="solr.LRUCache"
435+
<documentCache class="solr.search.CaffeineCache"
436436
size="512"
437437
initialSize="512"
438438
autowarmCount="0"/>
439439

440440
<!-- custom cache currently used by block join -->
441441
<cache name="perSegFilter"
442-
class="solr.search.LRUCache"
442+
class="solr.search.CaffeineCache"
443443
size="10"
444444
initialSize="0"
445445
autowarmCount="10"
File renamed without changes.
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
[security_shibboleth]
2-
name=Shibboleth (CentOS_8)
1+
[shibboleth]
2+
name=Shibboleth (rockylinux8)
3+
# Please report any problems to https://shibboleth.atlassian.net/jira
34
type=rpm-md
4-
baseurl=http://download.opensuse.org/repositories/security:/shibboleth/CentOS_8/
5+
mirrorlist=https://shibboleth.net/cgi-bin/mirrorlist.cgi/rockylinux8
56
gpgcheck=1
6-
gpgkey=http://download.opensuse.org/repositories/security:/shibboleth/CentOS_8/repodata/repomd.xml.key
7+
gpgkey=https://shibboleth.net/downloads/service-provider/RPMS/repomd.xml.key
8+
https://shibboleth.net/downloads/service-provider/RPMS/cantor.repomd.xml.key
79
enabled=1

doc/Architecture/components.uml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,11 @@ node "DatabaseServer2" {
4040
}
4141

4242
node "RserveServer1" {
43-
component "rApache" {
44-
}
4543
database "Rserve" {
4644
}
4745
}
4846

4947
Clients --> LoadBalancer
50-
Clients --> rApache
5148

5249
LoadBalancer --> Apache1
5350
LoadBalancer --> Apache2

0 commit comments

Comments
 (0)