Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v5.4 #7761

Merged
merged 775 commits into from Apr 5, 2021
Merged

v5.4 #7761

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
775 commits
Select commit Hold shift + click to select a range
23b8bf6
use default methods for isDisabled on User #2419 #4475
pdurbin Mar 2, 2021
a08e315
Merge pull request #7642 from IQSS/7619-restricted-summary-starts
kcondon Mar 2, 2021
d46f6a7
Removed truncation plugin and attempted hacky css solution WIP [ref #…
mheppler Mar 2, 2021
e3e5cbe
Few minor code clean up edits for desc truncation [ref #6685]
mheppler Mar 2, 2021
b33b5d2
Merge branch 'develop' into 7373-solr-upgrade
sekmiller Mar 2, 2021
d6e1173
run disable user command without superuser API token #2419 #4475
pdurbin Mar 2, 2021
f9e9483
Fixed broken var in truncation code on dataset pg, other code clean u…
mheppler Mar 3, 2021
fb406a7
Fixed truncation function to only apply read more button for desc gre…
mheppler Mar 3, 2021
2a2f7bf
Improved truncation btn label text and tooltip by passing dynamic lab…
mheppler Mar 3, 2021
6e61841
remove password reset data with cascade #7575
pdurbin Mar 3, 2021
ed6f575
#7373 remove old version
sekmiller Mar 3, 2021
8afbf5e
remove oauth2tokendata with a cascade #2419 #4475
pdurbin Mar 3, 2021
610e9ca
merge configureSessionTimeout into setUser #2419 #4475
pdurbin Mar 4, 2021
17b85ea
Changing the language on required postgres versions/announcing suppor…
landreev Mar 4, 2021
4599d86
Merge branch 'develop' into 2419-4475-7575-disable-users #2419 #4475
pdurbin Mar 4, 2021
f00b637
typo. (#7374)
landreev Mar 4, 2021
28579e2
rename SQL script #2419 #4475
pdurbin Mar 4, 2021
35aa097
#7633 fix named q so delete role works
sekmiller Mar 4, 2021
0565ff9
similar changes for the dev. guide. (#7374)
landreev Mar 4, 2021
34453f5
renamed the release note (#7374)
landreev Mar 4, 2021
4a3df0a
use helper for BrandingUtil
qqmyers Mar 4, 2021
4ed6e8d
#7373 add additional upgrade steps
sekmiller Mar 4, 2021
fd23916
add back variable indexing
Mar 4, 2021
b278aa7
remove rootDataverseName param and associated code
qqmyers Mar 5, 2021
76085bb
fix tests
qqmyers Mar 5, 2021
f28511e
changed the path where the solr files live, for the installer build. …
landreev Mar 5, 2021
92b0d2f
owner still needed to create citation
qqmyers Mar 5, 2021
d892319
remove ordering (not needed)
qqmyers Mar 5, 2021
e6d5ff8
remove rootDataverseName from MailUtil method
qqmyers Mar 5, 2021
965c190
get root name directly
qqmyers Mar 5, 2021
a2d4d9f
add notes
qqmyers Mar 5, 2021
8093d2f
Fixed truncate and ajax update issues [ref #6685, #7565]
mheppler Mar 5, 2021
1f4d497
avoid helper class
qqmyers Mar 5, 2021
7517267
remove #7387 tests
qqmyers Mar 5, 2021
1b4f360
remove @startup
qqmyers Mar 5, 2021
b273af0
inject settingsService and rename for consistency
qqmyers Mar 5, 2021
6fa216b
#7633 add alias and delete built in
sekmiller Mar 5, 2021
883141c
#7373 update solr installation file
sekmiller Mar 5, 2021
3c45811
Merge remote-tracking branch 'origin/7373-solr-upgrade' into 7373-sol…
sekmiller Mar 5, 2021
1dd75bf
use BrandingUtil in OREmap
qqmyers Mar 5, 2021
43689e3
Merge pull request #7645 from IQSS/7373-solr-upgrade
kcondon Mar 5, 2021
18c2a97
Merge branch 'develop' into 7633-delete-role-api-bug
sekmiller Mar 5, 2021
1267b91
Merge remote-tracking branch 'origin/develop' into IQSS/820
mheppler Mar 5, 2021
9779b8b
Merge remote-tracking branch 'origin/develop' into IQSS/820
mheppler Mar 5, 2021
511cffa
try property inject
qqmyers Mar 5, 2021
0df20d6
Bug fixes
qqmyers Mar 5, 2021
6e89b9b
add installation setting and make including it as distr optional
qqmyers Mar 6, 2021
72028e6
simplify logic with getOptionalValue()
qqmyers Mar 6, 2021
7942737
don't send settingsService through ExportService
qqmyers Mar 6, 2021
edc8b64
don't send settingsService through ExportService
qqmyers Mar 6, 2021
97c9e4b
revert - want parent dv not root
qqmyers Mar 6, 2021
b424915
Merge branch 'SPO/7649_micro' into SPO/7387
qqmyers Mar 6, 2021
cdc99d5
null is not an option
qqmyers Mar 6, 2021
fb8d5a1
null is not an option
qqmyers Mar 6, 2021
ba3e943
removing test per review
qqmyers Mar 6, 2021
d52634d
remove imports
qqmyers Mar 6, 2021
a06c56c
settings doc
qqmyers Mar 6, 2021
218036f
Merge remote-tracking branch 'IQSS/develop' into DANS/7637
qqmyers Mar 6, 2021
36f0677
doc for the new publish parameter and /timestamps call
qqmyers Mar 6, 2021
c550a94
typos
qqmyers Mar 6, 2021
740c3f9
Merge remote-tracking branch 'IQSS/develop' into IQSS/7149-Replace_fi…
qqmyers Mar 7, 2021
518e9ee
add checksumtype support
qqmyers Mar 7, 2021
15318a5
Merge branch 'develop' into 6545-variable-indexing
sekmiller Mar 8, 2021
f7a1525
Merge pull request #7640 from GlobalDataverseCommunityConsortium/DANS…
kcondon Mar 8, 2021
b9a00b6
Merge branch 'develop' into 7633-delete-role-api-bug
sekmiller Mar 8, 2021
810e917
Add read less btn to dataset desc truncate, plus code clean up [ref #…
mheppler Mar 8, 2021
fe6b13a
Added animation and scroll target to desc collapse [ref #6685]
mheppler Mar 8, 2021
42534fc
update per review
qqmyers Mar 8, 2021
7eb7f34
Removed unused code from truncation [ref #6685]
mheppler Mar 8, 2021
bf05205
#7633 Add integration tests
sekmiller Mar 8, 2021
ec27d6e
#7633 add integration tests
sekmiller Mar 9, 2021
8c5a52b
#7633 add test for delete by id
sekmiller Mar 9, 2021
768ed3c
flagging release note
djbrooke Mar 9, 2021
c216aff
Update doc/sphinx-guides/source/developers/s3-direct-upload-api.rst
djbrooke Mar 10, 2021
c702dfc
#7666: use the production citation.tsv in test, remove the copy store…
pkiraly Mar 10, 2021
17a1b01
#7633 update doc
sekmiller Mar 10, 2021
4e4f429
#7633 add delete role doc
sekmiller Mar 10, 2021
376586b
7633 fix doc typo
sekmiller Mar 10, 2021
807bd80
#7633 add doc for deleting built in "Global" role
sekmiller Mar 10, 2021
a3bc5ee
#7672: changing outdated reference from readme.txt to readme.md in te…
pkiraly Mar 10, 2021
cca7a3c
use helper
qqmyers Mar 11, 2021
d91d4ac
use helper
qqmyers Mar 11, 2021
e3a9399
Merge pull request #7674 from pkiraly/7672-documenting-docker-aio-rea…
kcondon Mar 11, 2021
c851055
Merge pull request #7671 from pkiraly/7666-remove-citation-from-test-…
kcondon Mar 11, 2021
ae799ac
Merge pull request #7644 from IQSS/6685-truncate-methods
kcondon Mar 11, 2021
bae37ca
Merge pull request #7378 from QualitativeDataRepository/IQSS/820
kcondon Mar 11, 2021
2e999c3
Adds the ISO 639-3 language letter codes to the list of accepted subs…
landreev Mar 11, 2021
ddc4f3a
rebrand "disable users" as "deactivate users" #2419 #4475
pdurbin Mar 11, 2021
a0b0e8d
a release note for the updated citation metadata block. (#7638)
landreev Mar 11, 2021
63bb986
a quick fix that makes the harvesting clients page more useable w/ re…
landreev Mar 11, 2021
f92dab7
change the dataset-level publisher field to use brand name
qqmyers Mar 12, 2021
6697e16
remove use of mp var
qqmyers Mar 12, 2021
3238a56
DbSetting bug fix
qqmyers Mar 12, 2021
df8973f
add new settings
qqmyers Mar 12, 2021
4ca9618
test updates to match
qqmyers Mar 12, 2021
16e1e7b
no longer used
qqmyers Mar 12, 2021
abb8be0
remove API token from deactivate user examples (not needed) #2419 #4475
pdurbin Mar 12, 2021
07e4fd7
fix field type name
qqmyers Mar 12, 2021
51ae2f1
use helpers
qqmyers Mar 12, 2021
7fafd2f
add private to dataverseService
qqmyers Mar 12, 2021
b906212
add private to Services
qqmyers Mar 12, 2021
3713104
fix error handing for revoke all roles (bubble up msg) #2419 #4475
pdurbin Mar 12, 2021
eecd60a
send message with failure - per review catch
qqmyers Mar 12, 2021
a68a777
Don't imply success is a problem :-)
qqmyers Mar 12, 2021
b7de814
Merge remote-tracking branch 'IQSS/develop' into
qqmyers Mar 12, 2021
54c5c15
Add messages to notification panel per review
qqmyers Mar 12, 2021
e678845
Merge pull request #7651 from IQSS/7374-postgresql-update
kcondon Mar 12, 2021
2aa6c02
modification of GDCC pull #4
qqmyers Mar 12, 2021
c2b7b0a
add "deactivated" to user dashboard, list-users API #2419 #4475
pdurbin Mar 12, 2021
18cd0b0
Merge branch 'develop' into 7633-delete-role-api-bug
sekmiller Mar 15, 2021
d51ecc4
fix(engine): Fix class imports for HTTPException in DeletePidCommand …
poikilotherm Mar 15, 2021
25ec376
bug fixes, per update
qqmyers Mar 15, 2021
99a92cb
Revert "bug fixes, per update"
qqmyers Mar 15, 2021
25062f0
Revert "Revert "bug fixes, per update""
qqmyers Mar 15, 2021
3e59e70
in session, ensure user hasn't been deleted or deactivated #2419 #4475
pdurbin Mar 15, 2021
284cc6e
Changes to make dataset block imports update controlled vocab. altern…
landreev Mar 16, 2021
7d2a76b
Merge branch 'develop' into 7638-iso-639-3-language-codes
landreev Mar 16, 2021
e2f30ba
Merge pull request #7654 from IQSS/6545-variable-indexing
kcondon Mar 16, 2021
4f81fbd
prevent accounts from being merged into themselves #2419 #4475
pdurbin Mar 16, 2021
010962a
removing an import that's not needed (#7638)
landreev Mar 16, 2021
9fdaf41
fix "merge into self" test #2419 #4475
pdurbin Mar 16, 2021
071ac7b
adding script in usual spot
djbrooke Mar 16, 2021
c3ef444
adding release note with link to script
djbrooke Mar 16, 2021
fbded77
prevent deactivated accounts from being converted to OAuth #2419 #4475
pdurbin Mar 16, 2021
9d872d0
#7633 fix duplicate alias error message
sekmiller Mar 16, 2021
684670f
Merge branch 'develop' into 7633-delete-role-api-bug
sekmiller Mar 16, 2021
fdc9cbe
prevent deactivated accounts from being converted to Shib #2419 #4475
pdurbin Mar 16, 2021
e753683
#7633 add content type to add roles doc
sekmiller Mar 17, 2021
1e985b6
Merge branch 'develop' into 2419-4475-7575-disable-users #2419 #4475
pdurbin Mar 17, 2021
0efee28
exclude deactivated users from role assignment autocomplete #2419 #4475
pdurbin Mar 17, 2021
4b2ac96
cleanup, add shib/oauth convert to list for admins #2419 #4475
pdurbin Mar 17, 2021
b20ffa0
Merge pull request #7686 from poikilotherm/7684-fix-httpexception-import
kcondon Mar 18, 2021
d0191c3
more efficient check for disabled or deleted users #2419 #4475
pdurbin Mar 18, 2021
7625fc2
#7634 order dvobjects by display name
sekmiller Mar 18, 2021
32637dc
Merge branch 'develop' into 7634-order-dv-contents-for-api
sekmiller Mar 18, 2021
d77f40d
Merge branch 'develop' into 7675-update-ds-success-msgs
sekmiller Mar 18, 2021
b6b2298
correct flyway number
qqmyers Mar 18, 2021
24433cf
#7675 add pub reminders to save success messages
sekmiller Mar 19, 2021
fd3b3f1
#7675 remove unused code
sekmiller Mar 19, 2021
6b2a89f
#7675 get standard apostrophe
sekmiller Mar 19, 2021
35de7f7
Merge branch 'develop' into 7633-delete-role-api-bug
sekmiller Mar 19, 2021
a306707
#7633 give feedback on required fields
sekmiller Mar 19, 2021
4da0064
handle lower case keys, consolidate common code, fix typos.
qqmyers Mar 22, 2021
7ba0fd7
Merge pull request #7690 from IQSS/7638-iso-639-3-language-codes
kcondon Mar 22, 2021
1a0ad95
add example in docs
qqmyers Mar 22, 2021
4c03de3
lower case for message types
qqmyers Mar 22, 2021
b495342
handle null message
qqmyers Mar 22, 2021
626d1ce
typo
qqmyers Mar 22, 2021
2e4fd4c
Merge pull request #7337 from QualitativeDataRepository/IQSS/7149-Rep…
kcondon Mar 22, 2021
530dab3
move logic up (earlier) #2419 #4475
pdurbin Mar 22, 2021
a3d6e11
Merge branch 'develop' into 7675-update-ds-success-msgs
sekmiller Mar 22, 2021
df32ec0
change "non-deactivated" to "active" #2419 #4475
pdurbin Mar 22, 2021
9825424
Merge branch 'develop' into 7633-delete-role-api-bug
sekmiller Mar 22, 2021
746955f
add reason logging, better log msgs
qqmyers Mar 22, 2021
26d8cf6
Merge branch 'develop' into 7634-order-dv-contents-for-api
sekmiller Mar 22, 2021
8bb9dec
#7634 order by id within type
sekmiller Mar 23, 2021
5dc0f0d
#7634 update doc to reflect collection ordering.
sekmiller Mar 23, 2021
4239260
Merge pull request #7707 from IQSS/7675-update-ds-success-msgs
kcondon Mar 23, 2021
b309c43
Merge pull request #7682 from GlobalDataverseCommunityConsortium/DANS…
kcondon Mar 23, 2021
582250e
terminology updates
djbrooke Mar 23, 2021
16e6953
Merge branch 'develop' into 7634-order-dv-contents-for-api
sekmiller Mar 23, 2021
82e884e
#7634 fix typo
sekmiller Mar 23, 2021
c71db98
Update harvestserver.rst
lmaylein Mar 23, 2021
a3beeaf
Merge pull request #7641 from GlobalDataverseCommunityConsortium/IQSS…
kcondon Mar 23, 2021
f041e5c
Merge pull request #7688 from QualitativeDataRepository/IQSS/7687-Cur…
kcondon Mar 23, 2021
8053553
Merge pull request #7713 from lmaylein/patch-1
kcondon Mar 23, 2021
575c6b5
Merge branch 'develop' into 7633-delete-role-api-bug
sekmiller Mar 23, 2021
5584602
same change for JsonPrinter - use helper
qqmyers Mar 23, 2021
9488bc9
Merge branch 'SPO/7649_micro' into SPO/7387
qqmyers Mar 23, 2021
f28fcba
#7633 reformat required messaging
sekmiller Mar 23, 2021
c86dae5
Merge pull request #7657 from GlobalDataverseCommunityConsortium/SPO/…
kcondon Mar 23, 2021
99d47bc
fix null when sent in Workflow Failure
qqmyers Mar 23, 2021
dd36c7e
Merge pull request #7635 from GlobalDataverseCommunityConsortium/DANS…
kcondon Mar 23, 2021
5edfa7a
Merge branch 'develop' into 2419-4475-7575-disable-users #2419 #4475
pdurbin Mar 23, 2021
d00d0ec
rename SQL script #2419 #4475
pdurbin Mar 23, 2021
81274c9
Update DataversePage.java
scolapasta Mar 24, 2021
492e0b2
#7722 correct datavarse typo, fix underscore syntax
Mar 24, 2021
75fcd48
Merge pull request #7708 from IQSS/7634-order-dv-contents-for-api
kcondon Mar 24, 2021
ee4ebd1
Merge branch 'develop' into 7633-delete-role-api-bug
sekmiller Mar 24, 2021
51b38c0
Merge pull request #7673 from IQSS/7633-delete-role-api-bug
kcondon Mar 24, 2021
569136f
prevent user table, user-list API from blowing up #2419 #4475
pdurbin Mar 25, 2021
ac15ff5
Merge pull request #7723 from OdumInstitute/7722_reindex_datavarse
kcondon Mar 25, 2021
1f11785
Merge branch 'develop' into 2419-4475-7575-disable-users #2419 #4475
pdurbin Mar 25, 2021
c326af4
deactivated users cannot become superusers #2419 #4475
pdurbin Mar 25, 2021
ca93b5b
after battling with python and rst previewer, I have completed my min…
djbrooke Mar 26, 2021
3e9b353
revert to using setting (versus microprofile) per discussion in issues
qqmyers Mar 26, 2021
239151a
Merge branch 'develop' into 2419-4475-7575-disable-users
sekmiller Mar 26, 2021
848f533
update tests
qqmyers Mar 26, 2021
36f25bb
#2419 retest session user on save
sekmiller Mar 26, 2021
5cef7ca
adding replace to kebabs plus clean uo
Mar 26, 2021
976ea60
Merge branch 'develop' into 7343-kebab-replace
sekmiller Mar 26, 2021
34c569a
removed accidental TEST from enum
Mar 26, 2021
65e07e0
changed isDeleted to getDeleted (since I changed from a boolean to a …
Mar 26, 2021
274f150
#2419 update update query
sekmiller Mar 29, 2021
7946f18
add period, add formatting to messages
djbrooke Mar 29, 2021
36f235b
Merge pull request #7629 from IQSS/2419-4475-7575-disable-users
kcondon Mar 29, 2021
6e4f50a
Merge branch 'develop' into 7343-kebab-replace
sekmiller Mar 29, 2021
5db7871
Merge branch 'develop' into 7675-revisit-publish-messaging
djbrooke Mar 29, 2021
699f99c
initial docs, adding in the first few source docs
djbrooke Mar 30, 2021
7641b29
fix failing test for deactivate by id #7629
pdurbin Mar 30, 2021
f74ca49
consolidating more documents, wow this is a big release
djbrooke Mar 30, 2021
c584192
integrating more notes
djbrooke Mar 30, 2021
770819a
removing file - we already note full index in release notes for solr
djbrooke Mar 30, 2021
c268eca
Removed a couple of extraneous lines
scolapasta Mar 30, 2021
05132ec
adding info about conditionally required fields
djbrooke Mar 30, 2021
7acb506
#7675 add remind to file upload
sekmiller Mar 30, 2021
2f543e5
all notes consolidated, onto the main doc
djbrooke Mar 30, 2021
a2ed1f2
#7675 remove unnecessary null check
sekmiller Mar 30, 2021
7fc3ecc
rearranging context, expanding on upgrades
djbrooke Mar 30, 2021
16a889e
adding use cases
djbrooke Mar 30, 2021
4892311
use cases added
djbrooke Mar 30, 2021
3e6a117
text getting into a good place. Now on to formatting on upgrade instr…
djbrooke Mar 30, 2021
6a5bd2e
ready for code review
djbrooke Mar 30, 2021
612b080
#7735 ignore maven/ working directory created by docker-aio scripts
Mar 31, 2021
585fc55
Merge pull request #7737 from IQSS/7629-fix-test
kcondon Mar 31, 2021
b8ef802
removing metadata block instructions since they are included below
djbrooke Mar 31, 2021
23d7528
Update 5.4-release-notes.md
landreev Mar 31, 2021
8a8be9c
Update 5.4-release-notes.md
landreev Mar 31, 2021
4dc8ca9
Document superuser requirements for locks API
kaitlinnewson Mar 31, 2021
20b775d
Merge pull request #7734 from IQSS/7675-revisit-publish-messaging
kcondon Mar 31, 2021
39ccebf
Update doc/release-notes/5.4-release-notes.md
djbrooke Mar 31, 2021
563cd74
Update doc/release-notes/5.4-release-notes.md
djbrooke Mar 31, 2021
10286b3
Update doc/release-notes/5.4-release-notes.md
djbrooke Mar 31, 2021
9b455a5
Update doc/release-notes/5.4-release-notes.md
djbrooke Mar 31, 2021
bb104f9
updates formatting and URL
djbrooke Mar 31, 2021
2d2f1f0
updated based on feedback from @scolapasta
djbrooke Apr 1, 2021
181a504
Merge branch 'develop' into 7733-release-notes
djbrooke Apr 1, 2021
5e3cf34
Merge pull request #7596 from GlobalDataverseCommunityConsortium/IQSS…
kcondon Apr 1, 2021
6ba7e99
Merge pull request #7745 from OdumInstitute/7735_docker_aio_maven_git…
kcondon Apr 1, 2021
0dc7eb2
Merge pull request #7748 from kaitlinnewson/patch-7
kcondon Apr 1, 2021
fc18f5e
Update 5.4-release-notes.md
landreev Apr 1, 2021
d829f3e
brief note of the JVM options, without actually listing them
djbrooke Apr 1, 2021
caa0f94
thx @landreev for the discussion, final updates
djbrooke Apr 1, 2021
a354e6e
Merge branch 'develop' into 7733-release-notes
djbrooke Apr 1, 2021
156b501
Update 5.4-release-notes.md
landreev Apr 1, 2021
5352c6f
Merge pull request #7730 from IQSS/7343-kebab-replace
kcondon Apr 1, 2021
cafa2a7
Merge remote-tracking branch 'IQSS/develop' into SPO/7387
qqmyers Apr 1, 2021
66789fd
Merge pull request #7661 from GlobalDataverseCommunityConsortium/SPO/…
kcondon Apr 1, 2021
6668768
Merge branch '7733-release-notes' of https://github.com/IQSS/datavers…
djbrooke Apr 2, 2021
2672f24
Merge branch 'develop' into 7733-release-notes
djbrooke Apr 2, 2021
4ad690f
updates because #7661 got merged
djbrooke Apr 2, 2021
bc24c86
One more minor update
landreev Apr 2, 2021
9c2f3db
one more minor change
landreev Apr 2, 2021
7207e5d
Update 5.4-release-notes.md
kcondon Apr 2, 2021
d736535
formatting update, clarification on changes for custom metadata blocks
djbrooke Apr 2, 2021
6a02ed9
Merge pull request #7744 from IQSS/7733-release-notes
kcondon Apr 2, 2021
aa7d0f5
Update pom.xml
kcondon Apr 5, 2021
b58c63c
Update conf.py
kcondon Apr 5, 2021
6b8623b
Update versions.rst
kcondon Apr 5, 2021
86fc1b3
Merge pull request #7760 from IQSS/7759_update_version_to_5_4
kcondon Apr 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -46,6 +46,10 @@ conf/docker-aio/dv/deps/
conf/docker-aio/dv/install/dvinstall.zip
# or copy of test data
conf/docker-aio/testdata/

# docker-aio creates maven/ which reports 86 new files. ignore this wd.
maven/

scripts/installer/default.config
*.pem

Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,5 +1,5 @@
language: java
jdk:
- openjdk8
- openjdk11
script: mvn -DcompilerArgument=-Xlint:unchecked test -P all-unit-tests
after_success: mvn jacoco:report coveralls:report
7 changes: 3 additions & 4 deletions conf/docker-aio/0prep_deps.sh
Expand Up @@ -10,12 +10,11 @@ if [ ! -e dv/deps/payara-5.2020.6.zip ]; then
wget https://s3-eu-west-1.amazonaws.com/payara.fish/Payara+Downloads/5.2020.6/payara-5.2020.6.zip -O dv/deps/payara-5.2020.6.zip
fi

if [ ! -e dv/deps/solr-7.7.2dv.tgz ]; then
if [ ! -e dv/deps/solr-8.8.1dv.tgz ]; then
echo "solr dependency prep"
# schema changes *should* be the only ones...
cd dv/deps/
#wget https://archive.apache.org/dist/lucene/solr/7.3.0/solr-7.3.0.tgz -O solr-7.3.0dv.tgz
wget https://archive.apache.org/dist/lucene/solr/7.7.2/solr-7.7.2.tgz -O solr-7.7.2dv.tgz
cd dv/deps/
wget https://archive.apache.org/dist/lucene/solr/8.8.1/solr-8.8.1.tgz -O solr-8.8.1dv.tgz
cd ../../
fi

22 changes: 16 additions & 6 deletions conf/docker-aio/1prep.sh
@@ -1,22 +1,32 @@
#!/bin/sh
#!/bin/bash

# move things necessary for integration tests into build context.
# this was based off the phoenix deployment; and is likely uglier and bulkier than necessary in a perfect world

mkdir -p testdata/doc/sphinx-guides/source/_static/util/
cp ../solr/7.7.2/schema*.xml testdata/
cp ../solr/7.7.2/solrconfig.xml testdata/
cp ../solr/7.7.2/updateSchemaMDB.sh testdata/
cp ../solr/8.8.1/schema*.xml testdata/
cp ../solr/8.8.1/solrconfig.xml testdata/
cp ../solr/8.8.1/updateSchemaMDB.sh testdata/
cp ../jhove/jhove.conf testdata/
cp ../jhove/jhoveConfig.xsd testdata/
cd ../../
cp -r scripts conf/docker-aio/testdata/
cp doc/sphinx-guides/source/_static/util/createsequence.sql conf/docker-aio/testdata/doc/sphinx-guides/source/_static/util/

wget -q https://downloads.apache.org/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
tar xfz apache-maven-3.6.3-bin.tar.gz
mkdir maven
mv apache-maven-3.6.3/* maven/
echo "export JAVA_HOME=/usr/lib/jvm/jre-openjdk" > maven/maven.sh
echo "export M2_HOME=../maven" >> maven/maven.sh
echo "export MAVEN_HOME=../maven" >> maven/maven.sh
echo "export PATH=../maven/bin:${PATH}" >> maven/maven.sh
chmod 0755 maven/maven.sh

# not using dvinstall.zip for setupIT.bash; but still used in install.bash for normal ops
mvn clean
source maven/maven.sh && mvn clean
./scripts/installer/custom-build-number
mvn package
source maven/maven.sh && mvn package
cd scripts/installer
make clean
make
Expand Down
16 changes: 8 additions & 8 deletions conf/docker-aio/c8.dockerfile
Expand Up @@ -2,7 +2,7 @@ FROM centos:8
# OS dependencies
# PG 10 is the default in centos8; keep the repo comment for when we bump to 11+
#RUN yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
RUN yum install -y java-1.8.0-openjdk-devel postgresql-server sudo epel-release unzip perl curl httpd
RUN yum install -y java-11-openjdk-devel postgresql-server sudo epel-release unzip curl httpd
RUN yum install -y jq lsof awscli

# copy and unpack dependencies (solr, payara)
Expand All @@ -17,20 +17,20 @@ COPY testdata/sushi_sample_logs.json /tmp/
COPY disableipv6.conf /etc/sysctl.d/
RUN rm /etc/httpd/conf/*
COPY httpd.conf /etc/httpd/conf
RUN cd /opt ; tar zxf /tmp/dv/deps/solr-7.7.2dv.tgz
RUN cd /opt ; tar zxf /tmp/dv/deps/solr-8.8.1dv.tgz
RUN cd /opt ; unzip /tmp/dv/deps/payara-5.2020.6.zip ; ln -s /opt/payara5 /opt/glassfish4

# 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`
COPY domain-restmonitor.xml /opt/payara5/glassfish/domains/domain1/config/domain.xml
# this dies under Java 11, do we keep it?
#COPY domain-restmonitor.xml /opt/payara5/glassfish/domains/domain1/config/domain.xml

#RUN sudo -u postgres /usr/bin/initdb -D /var/lib/pgsql/data
RUN sudo -u postgres /usr/pgsql-9.6/bin/initdb -D /var/lib/pgsql/data
RUN sudo -u postgres /usr/bin/initdb /var/lib/pgsql/data

# copy configuration related files
RUN cp /tmp/dv/pg_hba.conf /var/lib/pgsql/data/
RUN cp -r /opt/solr-7.7.2/server/solr/configsets/_default /opt/solr-7.7.2/server/solr/collection1
RUN cp /tmp/dv/schema*.xml /opt/solr-7.7.2/server/solr/collection1/conf/
RUN cp /tmp/dv/solrconfig.xml /opt/solr-7.7.2/server/solr/collection1/conf/solrconfig.xml
RUN cp -r /opt/solr-8.8.1/server/solr/configsets/_default /opt/solr-8.8.1/server/solr/collection1
RUN cp /tmp/dv/schema*.xml /opt/solr-8.8.1/server/solr/collection1/conf/
RUN cp /tmp/dv/solrconfig.xml /opt/solr-8.8.1/server/solr/collection1/conf/solrconfig.xml

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

Expand Down
5 changes: 2 additions & 3 deletions conf/docker-aio/entrypoint.bash
@@ -1,8 +1,7 @@
#!/usr/bin/env bash
export LANG=en_US.UTF-8
#sudo -u postgres /usr/bin/postgres -D /var/lib/pgsql/data &
sudo -u postgres /usr/pgsql-9.6/bin/postgres -D /var/lib/pgsql/data &
cd /opt/solr-7.7.2/
sudo -u postgres /usr/bin/pg_ctl start -D /var/lib/pgsql/data &
cd /opt/solr-8.8.1/
# TODO: Run Solr as non-root and remove "-force".
bin/solr start -force
bin/solr create_core -c collection1 -d server/solr/collection1/conf -force
Expand Down
2 changes: 1 addition & 1 deletion conf/docker-aio/readme.md
Expand Up @@ -4,7 +4,7 @@ First pass docker all-in-one image, intended for running integration tests again
Also usable for normal development and system evaluation; not intended for production.

### Requirements:
- java8 compiler, maven, make, wget, docker
- java11 compiler, maven, make, wget, docker

### Quickstart:
- in the root of the repository, run `./conf/docker-aio/prep_it.bash`
Expand Down
4 changes: 2 additions & 2 deletions conf/docker-aio/run-test-suite.sh
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# This is the canonical list of which "IT" tests are expected to pass.

dvurl=$1
Expand All @@ -8,4 +8,4 @@ fi

# Please note the "dataverse.test.baseurl" is set to run for "all-in-one" Docker environment.
# TODO: Rather than hard-coding the list of "IT" classes here, add a profile to pom.xml.
mvn test -Dtest=DataversesIT,DatasetsIT,SwordIT,AdminIT,BuiltinUsersIT,UsersIT,UtilIT,ConfirmEmailIT,FileMetadataIT,FilesIT,SearchIT,InReviewWorkflowIT,HarvestingServerIT,MoveIT,MakeDataCountApiIT,FileTypeDetectionIT,EditDDIIT,ExternalToolsIT,AccessIT,DuplicateFilesIT,DownloadFilesIT,LinkIT -Ddataverse.test.baseurl=$dvurl
source maven/maven.sh && mvn test -Dtest=DataversesIT,DatasetsIT,SwordIT,AdminIT,BuiltinUsersIT,UsersIT,UtilIT,ConfirmEmailIT,FileMetadataIT,FilesIT,SearchIT,InReviewWorkflowIT,HarvestingServerIT,MoveIT,MakeDataCountApiIT,FileTypeDetectionIT,EditDDIIT,ExternalToolsIT,AccessIT,DuplicateFilesIT,DownloadFilesIT,LinkIT,DeleteUsersIT,DeactivateUsersIT -Ddataverse.test.baseurl=$dvurl
2 changes: 1 addition & 1 deletion conf/docker-aio/testscripts/db.sh
@@ -1,3 +1,3 @@
#!/bin/sh
psql -U postgres -c "CREATE ROLE dvnapp UNENCRYPTED PASSWORD 'secret' SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN" template1
psql -U postgres -c "CREATE ROLE dvnapp PASSWORD 'secret' SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN" template1
psql -U dvnapp -c 'CREATE DATABASE "dvndb" WITH OWNER = "dvnapp"' template1
File renamed without changes.
4 changes: 3 additions & 1 deletion conf/solr/7.7.2/schema.xml → conf/solr/8.8.1/schema.xml
Expand Up @@ -38,7 +38,7 @@
catchall "text" field, and use that for searching.
-->

<schema name="default-config" version="1.6">
<schema name="default-config" version="1.7">
<!-- attribute "name" is the name of this schema and is only used for display purposes.
version="x.y" is Solr's version number for the schema syntax and
semantics. It should not normally be changed by applications.
Expand Down Expand Up @@ -566,6 +566,7 @@
<filter class="solr.KeywordRepeatFilterFactory" />
<filter class="solr.PorterStemFilterFactory"/>
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
<filter class="solr.ASCIIFoldingFilterFactory" preserveOriginal="true" />
</analyzer>
<analyzer type="query">
<tokenizer class="solr.StandardTokenizerFactory"/>
Expand Down Expand Up @@ -616,6 +617,7 @@
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
<filter class="solr.PorterStemFilterFactory"/>
<filter class="solr.FlattenGraphFilterFactory" />
<filter class="solr.ASCIIFoldingFilterFactory" preserveOriginal="true" />
</analyzer>
<analyzer type="query">
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
Expand Down
File renamed without changes.
File renamed without changes.
52 changes: 37 additions & 15 deletions doc/release-notes/5.0-release-notes.md
Expand Up @@ -245,36 +245,58 @@ The instructions below describe the upgrade procedure based on moving an existin
`sudo /usr/local/glassfish4/bin/asadmin stop-domain`
`sudo cp -ar /usr/local/glassfish4/glassfish/domains/domain1 /usr/local/payara5/glassfish/domains/`

7. Remove the Glassfish cache directories
7. Remove the cache directories

`sudo rm -rf /usr/local/payara5/glassfish/domains/domain1/generated/` `sudo rm -rf /usr/local/payara5/glassfish/domains/domain1/osgi-cache/`
`sudo rm -rf /usr/local/payara5/glassfish/domains/domain1/generated/`
`sudo rm -rf /usr/local/payara5/glassfish/domains/domain1/osgi-cache/`

8. In domain.xml:
8. Make the following changes in **domain.xml**:

Replace the -XX:PermSize and -XX:MaxPermSize JVM options with -XX:MetaspaceSize and -XX:MaxMetaspaceSize.
Replace the `-XX:PermSize` and `-XX:MaxPermSize` JVM options with `-XX:MetaspaceSize` and `-XX:MaxMetaspaceSize`

```
<jvm-options>-XX:MetaspaceSize=256m</jvm-options>
<jvm-options>-XX:MaxMetaspaceSize=512m</jvm-options>
```

Add the below JVM options beneath the -Ddataverse settings:
Add the below JVM options beneath the -Ddataverse settings:

```
<jvm-options>-Dfish.payara.classloading.delegate=false</jvm-options>
<jvm-options>-XX:+UseG1GC</jvm-options>
<jvm-options>-XX:+UseStringDeduplication</jvm-options>
<jvm-options>-XX:+DisableExplicitGC</jvm-options>
```

9. Change any full pathnames /usr/local/glassfish4/... to /usr/local/payara5/... or whatever it is in your case. (Specifically check the -Ddataverse.files.directory and -Ddataverse.files.file.directory JVM options)
Replace the following element:

10. In domain1/config/jhove.conf, change the hard-coded /usr/local/glassfish4 path, as above.
```
<jdbc-connection-pool datasource-classname="org.apache.derby.jdbc.EmbeddedXADataSource" name="__TimerPool" res-type="javax.sql.XADataSource">
<property name="databaseName" value="${com.sun.aas.instanceRoot}/lib/databases/ejbtimer"></property>
<property name="connectionAttributes" value=";create=true"></property>
</jdbc-connection-pool>
```

(Optional): If you renamed your service account from glassfish to payara or appserver, update the ownership permissions. The Installation Guide recommends a service account of `dataverse`:
with

```
<jdbc-connection-pool datasource-classname="org.h2.jdbcx.JdbcDataSource" name="__TimerPool" res-type="javax.sql.XADataSource">
<property name="URL" value="jdbc:h2:${com.sun.aas.instanceRoot}/lib/databases/ejbtimer;AUTO_SERVER=TRUE"></property>
</jdbc-connection-pool>
```

9. Change any full pathnames matching `/usr/local/glassfish4/...` to `/usr/local/payara5/...` or whatever it is in your case. Specifically check the `-Ddataverse.files.directory` and `-Ddataverse.files.file.directory` JVM options.

10. In domain1/config/jhove.conf, change the hard-coded /usr/local/glassfish4 path, as above.

(Optional): If you renamed your service account from glassfish to payara or appserver, update the ownership permissions. The Installation Guide recommends a service account of `dataverse`:

`sudo chown -R dataverse /usr/local/payara5/glassfish/domains/domain1`
`sudo chown -R dataverse /usr/local/payara5/glassfish/lib`

11. You will also need to check that the service account has write permission on the files directory, if they are located outside the old Glassfish domain. And/or make sure the service account has the correct AWS credentials, if you are using S3 for storage.
11. You will also need to check that the service account has write permission on the files directory, if they are located outside the old Glassfish domain. And/or make sure the service account has the correct AWS credentials, if you are using S3 for storage.

12. Finally, start Payara:
12. Finally, start Payara:

`sudo -u dataverse /usr/local/payara5/bin/asadmin start-domain`

Expand All @@ -300,20 +322,20 @@ Add the below JVM options beneath the -Ddataverse settings:

3. (Required for installations using DataCite) Add the JVM option doi.dataciterestapiurlstring

For production environments:
For production environments:

`/usr/local/payara5/bin/asadmin create-jvm-options "\-Ddoi.dataciterestapiurlstring=https\://api.datacite.org"`

For test environments:
For test environments:

`/usr/local/payara5/bin/asadmin create-jvm-options "\-Ddoi.dataciterestapiurlstring=https\://api.test.datacite.org"`

The JVM option `doi.mdcbaseurlstring` should be deleted if it was previously set, for example:
The JVM option `doi.mdcbaseurlstring` should be deleted if it was previously set, for example:

`/usr/local/payara5/bin/asadmin delete-jvm-options "\-Ddoi.mdcbaseurlstring=https\://api.test.datacite.org"`

4. (Recommended for installations using DataCite) Pre-register DOIs

Execute the script described in the section "Dataverse Installations Using DataCite: Upgrade Action Recommended" earlier in the Release Note.
Execute the script described in the section "Dataverse Installations Using DataCite: Upgrade Action Recommended" earlier in the Release Note.

Please consult the earlier sections of the Release Note for any additional configuration options that may apply to your installation.
Please consult the earlier sections of the Release Note for any additional configuration options that may apply to your installation.
27 changes: 17 additions & 10 deletions doc/release-notes/5.3-release-notes.md
Expand Up @@ -104,12 +104,15 @@ If this is a new installation, please see our [Installation Guide](https://guide

## Upgrade Instructions

0\. These instructions assume that you've already successfully upgraded from Dataverse 4.x to Dataverse 5 following the instructions in the [Dataverse 5 Release Notes](https://github.com/IQSS/dataverse/releases/tag/v5.0).
0\. These instructions assume that you've already successfully upgraded from Dataverse 4.x to Dataverse 5 following the instructions in the [Dataverse 5 Release Notes](https://github.com/IQSS/dataverse/releases/tag/v5.0).

1\. Upgrade to Payara 5.2020.6 or higher.

Instructions how to update can be found in the
[Payara documentation](https://docs.payara.fish/community/docs/5.2020.6/documentation/user-guides/upgrade-payara.html)
Instructions on how to update can be found in the
[Payara documentation](https://docs.payara.fish/community/docs/5.2020.6/documentation/user-guides/upgrade-payara.html).

It would likely be safer to upgrade Payara first, while still running Dataverse 5.2, and then proceed with the steps below. Upgrading from an earlier version of Payara should be a straightforward process: Undeploy Dataverse; stop Payara; move the current Payara directory out of the way; unzip the new Payara version in its place; replace **the brand new `payara/glassfish/domains/domain1` with your old, preserved `domain1`**; start Payara, deploy Dataverse 5.2. We still recommend that you read the detailed upgrade instructions above; and, if you run into any issues with this upgrade, it will help to be able to separate them from any problems with the upgrade of Dataverse proper.
If you are still using pre-5.0 version of Dataverse, and Glassfish version 4, please follow the upgrade instructions in the Dataverse 5.0 release notes; but use the latest version of Payara 5 (5.2020.7, as of this writing).

2\. Undeploy the previous version.

Expand All @@ -132,27 +135,31 @@ Please configure your connection details, replacing all the `${DB_...}`.
- `<payara install path>/bin/asadmin create-password-alias --passwordfile /tmp/password.txt dataverse.db.password`
- `rm /tmp/password.txt`

4\. Reset the EJB timer database back to default:
4\. In domain.xml, verify that the __TimerPool jdbc-connection-pool is using the H2 database, as follows (if you have the old Derby version from Glassfish 4, replace it):

`<jdbc-connection-pool datasource-classname="org.h2.jdbcx.JdbcDataSource" name="__TimerPool" res-type="javax.sql.XADataSource"> <property name="URL" value="jdbc:h2:${com.sun.aas.instanceRoot}/lib/databases/ejbtimer;AUTO_SERVER=TRUE"></property> </jdbc-connection-pool>`

5\. Reset the EJB timer database back to default:

- `<payara install path>/bin/asadmin set configs.config.server-config.ejb-container.ejb-timer-service.timer-datasource=jdbc/__TimerPool`

5\. Delete the old password alias and DB pool:
6\. Delete the old password alias and DB pool:

- `<payara install path>/bin/asadmin delete-jdbc-connection-pool --cascade=true dvnDbPool`
- `<payara install path>/bin/asadmin delete-password-alias db_password_alias`

6\. Stop payara and remove the generated directory, start.
7\. Stop payara, remove the generated and ejbtimer database directories, then restart.

- `service payara stop`
- remove the generated directory:
`rm -rf <payara install path>/glassfish/domains/domain1/generated`
- `rm -rf <payara install path>/glassfish/domains/domain1/generated`
- `rm -rf <payara install path>/glassfish/domains/domain1/lib/databases/ejbtimer`
- `service payara start`

7\. Deploy this version.
8\. Deploy this version.

- `<payara install path>/bin/asadmin deploy dataverse-5.3.war`

8\. Restart payara
9\. Restart payara

- `service payara stop`
- `service payara start`