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

LIBDRUM-892. Update DRUM to DSpace 8.0 #235

Merged
merged 1,389 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1389 commits
Select commit Hold shift + click to select a range
de08433
Temporarily change branch which Sandbox watches for deployment updates
tdonohue Apr 9, 2024
29f58c7
Merge pull request #9464 from tdonohue/change_sandbox_branch
tdonohue Apr 9, 2024
dbc929f
Docker build IDs must all be unique to avoid image conflicts. Avoid c…
tdonohue Apr 10, 2024
95405d0
Merge pull request #9242 from atmire/w2p-90830-104654_issue-8125_pr-8…
tdonohue Apr 10, 2024
815f2c1
Merge pull request #9449 from 4Science/coar-notify-7-refactor-url
tdonohue Apr 10, 2024
c5989c6
updated query to get collections referenced in the subscribers table
nwoodward Apr 5, 2024
76d5378
Merge pull request #9344 from misilot/shibd-exec
tdonohue Apr 10, 2024
d27331a
make sure collections list is unique
nwoodward Apr 11, 2024
09680fc
Migrate to using org.eclipse.angus:jakarta.mail. Minor dependency cle…
tdonohue Apr 11, 2024
1b91ae1
Fix OAI indexing error by adding in checks where Entity Type can be null
tdonohue Apr 11, 2024
10a65f9
Fix ClassCastException which is sometimes triggered by AuthorityConsu…
tdonohue Apr 11, 2024
3922878
Merge pull request #9467 from tdonohue/fix_email_dependencies
tdonohue Apr 11, 2024
2a533e7
Fix broken Unit Tests to align with new code. Remove code duplicatio…
tdonohue Apr 11, 2024
78010b0
Merge pull request #9469 from tdonohue/fix_oai_error
tdonohue Apr 11, 2024
f7e5c71
Exclude old Apache Geronimo dependencies as they seem to cause runtim…
tdonohue Apr 12, 2024
b3a832f
Merge pull request #9472 from tdonohue/fix_mail_deps
tdonohue Apr 12, 2024
ec3089d
Add Space in ePerson's Name for rejection metadata and email
misilot Apr 12, 2024
009642d
Merge pull request #9473 from misilot/patch-3
tdonohue Apr 12, 2024
59aa196
COAR NotifyService IT failures: NotifyServiceInboundPatternsRemoveOpe…
frabacche Apr 15, 2024
450dde5
Merge remote-tracking branch 'origin/main' into coar-notify-NotifySer…
frabacche Apr 18, 2024
2a46888
COAR NotifyService IT failures: remove ignore annotation to the guilt…
frabacche Apr 18, 2024
04df3b8
Switch to using org.dspace:orcid-model-jakarta in Maven Central
tdonohue Apr 18, 2024
60fc637
Fix CollectionAdminFeatureIT tests which have random failures caused …
tdonohue Apr 18, 2024
ee2abfa
Correct relationship direction for persons in the project submission …
Leano1998 Apr 19, 2024
ff7d96b
Set correct metadata field for virtual metadata of persons in projects.
Leano1998 Apr 19, 2024
673ed5c
Update to use 3.3.0 release from Maven Central
tdonohue Apr 19, 2024
b6c5fbb
Merge pull request #9483 from tdonohue/orcid_maven_central
tdonohue Apr 19, 2024
3ea0022
Merge pull request #9479 from 4Science/coar-notify-NotifyServiceRestR…
tdonohue Apr 22, 2024
3f0e946
Update Docker READMEs for DSpace 8. Switch to using "d8" project for…
tdonohue Apr 22, 2024
6814248
Minor fixes to Entities import. MUST run "ignored" migrations. Also …
tdonohue Apr 22, 2024
027e890
Minor fixes to DB scripts. Use Postgres 15. Don't error out if pgcryp…
tdonohue Apr 22, 2024
c6f3298
Merge pull request #9490 from tdonohue/docker_fixes
tdonohue Apr 22, 2024
11158ae
Remove unnecessary "exit" statements which stop running container
tdonohue Apr 22, 2024
10362d9
Merge pull request #9492 from tdonohue/fix_loadsql_bug
tdonohue Apr 22, 2024
460a34f
Merge branch 'main' into DS-2462
mwoodiupui Apr 23, 2024
a341a73
Satisfy Checkstyle
mwoodiupui Apr 23, 2024
29d9172
Merge pull request #9253 from the-library-code/TLC-404_8x_improvement…
tdonohue Apr 23, 2024
502028f
Merge pull request #9406 from misilot/change-jdk-base-image
tdonohue Apr 24, 2024
b718900
Refactor SubmissionConfigReader to use a map for the collections conf…
toniprieto Apr 15, 2024
cb171c7
Remove the consumer submissionconfig from default configuration becau…
toniprieto Apr 15, 2024
9d4fb70
Add test for entityType based item process configurations based on it…
toniprieto Apr 15, 2024
31fbfb5
Use an invented entityType in SubmissionConfigIT to avoid conflicts w…
toniprieto Apr 15, 2024
25c2781
Remove unused function findAllCollectionsByEntityType of CollectionSe…
toniprieto Apr 26, 2024
c6e857a
Correct comment
toniprieto Apr 26, 2024
b0d314f
Add comment to clarify in which use case the consumer submissionconfi…
toniprieto Apr 26, 2024
4703934
[Ticket 2124] Slow response times
YanaDePauw Apr 18, 2023
366004d
105866: test fixes
Atmire-Kristof Apr 29, 2024
cce1c4f
105866: Build fix
Atmire-Kristof Apr 29, 2024
ccae751
105866: Build fix
Atmire-Kristof Apr 29, 2024
9df8341
105866: Plural model name in link repositories
Atmire-Kristof Apr 29, 2024
edc0a4f
105866: test fix
Atmire-Kristof Apr 29, 2024
e8f134f
Merge pull request #9254 from the-library-code/TLC-404_8x_improvement…
tdonohue Apr 29, 2024
c847e8e
Drop not null for EPerson in Process table (#9401)
Bezkup Apr 29, 2024
d63b815
Merge pull request #9229 from tuub/DS-3439
tdonohue Apr 29, 2024
22dd9d8
Merge pull request #9285 from amgciadev/fix-9284-b
tdonohue Apr 29, 2024
70b0a28
Add ITs which test SWORD deletion for workspace vs workflow items (we…
tdonohue Apr 30, 2024
5c13569
Fix deletion by only cleaning up wrapper for Workspace/workflow items
tdonohue Apr 30, 2024
b5b8ce2
Merge pull request #9515 from tdonohue/fix_sword2_delete
tdonohue Apr 30, 2024
e414af2
Revert to using 'main' for Sandbox deployment
tdonohue Apr 30, 2024
2345ee4
Merge pull request #9289 from saschaszott/patch-21
tdonohue Apr 30, 2024
74e5575
Merge pull request #9517 from tdonohue/sandbox_to_main
tdonohue Apr 30, 2024
2279068
Bump org.springframework:spring-web from 6.1.5 to 6.1.6
dependabot[bot] Apr 30, 2024
7952df1
Merge pull request #9296 from amgciadev/fix-9290-b
tdonohue May 1, 2024
f3a81ad
Resolve dependency convergence issues by upgrading Spring Boot & Spri…
tdonohue May 1, 2024
3eae430
Install unzip util in final built image
jabrah May 1, 2024
219e5b6
Merge pull request #9519 from DSpace/dependabot/maven/org.springframe…
tdonohue May 1, 2024
9ca0ad5
Remove obsolete "version" tag from compose files
tdonohue May 1, 2024
1fdc3ce
Bump org.xmlunit:xmlunit-core from 2.9.1 to 2.10.0 in /dspace-api
dependabot[bot] May 1, 2024
e903211
Merge pull request #9521 from jabrah/fix/docker-cli-missing-unzip
tdonohue May 1, 2024
c0f454e
Merge pull request #9522 from tdonohue/remove_compose_version
tdonohue May 1, 2024
e528ef4
Fix #9383: Set email subject for request copy form
MW3000 Feb 29, 2024
5c0d997
Merge pull request #9523 from DSpace/dependabot/maven/dspace-api/org.…
tdonohue May 1, 2024
af4d28f
Merge pull request #9527 from DSpace/backport-9387-to-main
tdonohue May 1, 2024
9da023c
Merge pull request #9358 from atmire/atmire-hierarchical-vocabulary-p…
tdonohue May 1, 2024
e632c30
Merge pull request #9429 from amgciadev/fix-9428-b
tdonohue May 1, 2024
bb1c17c
Merge remote-tracking branch 'upstream/main' into w2p-112950_created-…
alexandrevryghem May 1, 2024
819f977
[DURACOM-254] fix wrong MIME type when sending LDN Messages
steph-ieffam May 2, 2024
c15d939
Merge pull request #9478 from toniprieto/form-by-entity-type-with-map
tdonohue May 2, 2024
75a2ee2
Fix bug where ANTLR had conflicting versions loaded
tdonohue Apr 26, 2024
c89c626
Install server-boot.jar into the "webapps" directory
tdonohue Apr 26, 2024
6a012c8
Use Runnable JAR in Docker images and docker-compose scripts
tdonohue Apr 26, 2024
72084a4
Update version of antlr4-runtime to latest
tdonohue May 2, 2024
4aefd53
Merge pull request #9405 from alexandrevryghem/w2p-112950_created-doi…
tdonohue May 2, 2024
0094147
Use mvn assembly to remove the version number from the server-boot.ja…
abollini May 2, 2024
58d5005
Merge pull request #14 from 4Science/fixes_for_runnable_jar_assembly
tdonohue May 2, 2024
a0b59b7
Merge pull request #9505 from tdonohue/fixes_for_runnable_jar
tdonohue May 2, 2024
eb90503
106812: Refactor resource policies to have either group or eperson
YanaDePauw Sep 28, 2023
25793a5
106812: Fix and add new tests
YanaDePauw Sep 29, 2023
516bb25
106812: Add h2 sql file
YanaDePauw Sep 29, 2023
1974686
106812: Remove stray settting of group for an rp
YanaDePauw Nov 10, 2023
49c7529
106812: Fix compile issue due to new test
YanaDePauw Feb 15, 2024
9f873e4
106812: Add flyway migration to remove faulty rp entries
YanaDePauw Feb 19, 2024
8906f25
Swap the delete and constraint db lines
YanaDePauw Apr 30, 2024
5d19a42
105866: Remove commented code
Atmire-Kristof May 3, 2024
ff36610
Merge pull request #9502 from atmire/w2p-106812_enforce-resource-poli…
tdonohue May 3, 2024
5b8f491
Merge pull request #9436 from Xiqinger/main
tdonohue May 3, 2024
dc621d7
Merge pull request #9534 from 4Science/task/main/DURACOM-254
tdonohue May 3, 2024
a96fe4a
Merge pull request #9453 from TexasDigitalLibrary/DS-9452
alanorth May 3, 2024
6937c19
Fixed classpath issue in test_database target
May 3, 2024
6f6ae42
Merge pull request #9385 from saschaszott/patch-28
tdonohue May 3, 2024
01eeab9
Merge pull request #9386 from saschaszott/patch-29
tdonohue May 3, 2024
ee75c90
Bump org.bouncycastle:bcprov-jdk18on from 1.76 to 1.78
dependabot[bot] May 3, 2024
b8ee9f8
Remove dead code.
mwoodiupui May 3, 2024
76ce827
Fix OpenSearch NullPointerException for unknown valid UUIDs in scope
dsteelma-umd Apr 17, 2024
2c39ae4
Fix dependency convergence issues
tdonohue May 3, 2024
d544089
Merge pull request #9543 from DSpace/backport-9482-to-main
tdonohue May 3, 2024
359e0be
Excluded useless xml-apis dependency
May 6, 2024
46c24a9
Merge pull request #9542 from DSpace/dependabot/maven/org.bouncycastl…
tdonohue May 6, 2024
4a25047
Merge pull request #2825 from mwoodiupui/DS-2462
tdonohue May 6, 2024
ce04a03
Merge pull request #9508 from atmire/w2p-105866_Submission-performanc…
tdonohue May 6, 2024
0a21a11
Ensure potentially large Solr query uses POST, not GET
tdonohue May 6, 2024
422708b
Merge pull request #9546 from jeffmorin/fix_for_xml-apis
tdonohue May 6, 2024
7d693bb
Merge pull request #9548 from tdonohue/large_solr_query_use_POST
tdonohue May 7, 2024
ef24645
Add migration to set user_id to null if EPerson no longer exists & en…
tdonohue May 7, 2024
f34c592
Fix NullPointerException. Only return userid if EPerson not null
tdonohue May 7, 2024
8a90483
Merge pull request #9551 from tdonohue/fix_null_backend_errors
tdonohue May 8, 2024
ef8c621
Updated CheckStyle so that new Java features such as string blocks ar…
May 8, 2024
e7dafd3
Merge pull request #9410 from atmire/issue-9408_fix-oai-handle-config…
tdonohue May 8, 2024
5a8a461
Merge pull request #9555 from jeffmorin/update_checkstyle_for_statuquo
tdonohue May 8, 2024
274ee5f
adding Unicode filtering for sorts
paulo-graca Mar 22, 2024
b63b4ed
Merge pull request #9558 from DSpace/backport-9432-to-main
tdonohue May 8, 2024
7c4c5a2
[DURACOM-255] Fix error for Unknown Service in LDN Notification
steph-ieffam May 9, 2024
76f04f1
Add support for LazyDownload of files from S3
abollini Apr 15, 2024
5744326
Replace organisation->organization
paulo-graca Apr 8, 2024
80181e8
change IT from organisation to organization
paulo-graca May 9, 2024
844b73f
Remove not unique id from inner beans to avoid xml validation issues
abollini May 9, 2024
c15b580
Merge pull request #9433 from Bezkup/fix-9416
tdonohue May 9, 2024
939ae6a
Merge pull request #9564 from DSpace/backport-9455-to-main
tdonohue May 9, 2024
b84e9e6
Merge pull request #9566 from 4Science/fix_xml_validation_noise
tdonohue May 9, 2024
f070045
Merge pull request #9442 from AndrewAlesik/main
tdonohue May 9, 2024
d98a844
Merge pull request #9559 from 4Science/DURACOM-255
tdonohue May 9, 2024
b39aabc
[DURACOM-260] change notifyEndorsement medatada field value
FrancescoMolinaro May 10, 2024
4fc6b07
bugfix: array index can be out of bound
saschaszott May 10, 2024
5dacb5a
Merge pull request #9568 from 4Science/task/main/DURACOM-260
tdonohue May 10, 2024
65ac01a
use datacite api response for recordscount and paginated calls. updat…
floriangantner Mar 7, 2024
9cd1a10
datacite api test for no results count
floriangantner Apr 16, 2024
9667a33
avoid empty data to create phantom records for datacite import
floriangantner May 10, 2024
70b97f3
Merge pull request #9569 from saschaszott/patch-34
tdonohue May 10, 2024
823ade9
Merge pull request #9400 from uniba-ub/fix-issue-9230
tdonohue May 10, 2024
6cb426c
remove outdated comment as RSS feeds are supported in DS 7.3+
saschaszott May 13, 2024
db25c38
Merge pull request #9573 from saschaszott/patch-35
tdonohue May 13, 2024
f0ade8a
Merge pull request #9485 from dspace-unimr/fix-person-lookup-on-proje…
tdonohue May 13, 2024
16343d6
Fix broken ITs after merger of #9485
tdonohue May 13, 2024
8a3943d
Merge pull request #9577 from tdonohue/IT_fixes
tdonohue May 13, 2024
47b79bb
Remove references to UI type from OpenSearch / RSS feeds
tdonohue May 13, 2024
8c22915
Add a basic test that refactoring of code results in correct logo URL…
tdonohue May 13, 2024
1517e8c
Merge pull request #9206 from mspalti/bitstream-metadata-patch
tdonohue May 14, 2024
3e23fea
replaced slash by File.separator
saschaszott May 14, 2024
ba4edee
Add additional DOI prefixes
max-nuding May 15, 2024
78f1e41
Refactor ItemCounter and ItemCountDAO to act like other DSpace beans.…
tdonohue May 15, 2024
a828e5e
Merge pull request #9582 from hutattedonmyarm/9561-add-additional-doi…
alanorth May 15, 2024
bc4c674
reduce log level error to info or warn
saschaszott May 15, 2024
e30ebc4
Merge pull request #9588 from saschaszott/patch-38
tdonohue May 15, 2024
50aaec1
Merge pull request #9580 from saschaszott/patch-37
tdonohue May 15, 2024
8b5f044
evaluate surname and given-name if authname is not present
saschaszott May 16, 2024
4b2ea66
Update scopus-empty-resp.xml
saschaszott May 16, 2024
b12bd6c
improve handling of 0 hits responses of Scopus API
saschaszott May 16, 2024
6989cb6
fixed failed test
saschaszott May 16, 2024
a703bea
Merge pull request #9477 from 4Science/lazy_s3input
tdonohue May 16, 2024
0e40ada
Fixing issue #7464 for DSpace 7
paulo-graca May 16, 2024
4802307
Merge pull request #9597 from DSpace/backport-9596-to-main
tdonohue May 16, 2024
df7220b
Bump org.apache.commons:commons-configuration2 from 2.9.0 to 2.10.1
dependabot[bot] May 17, 2024
d44d76e
Create a temporary version of the ConfigurationPlaceholderConfigurer …
abollini May 23, 2024
d07aab6
Check withdrawn flag at item count method
damian-joz May 23, 2024
068bcdf
Ensure List is not empty before returning first value
tdonohue Apr 29, 2024
a4c297c
Level up counting items methods - both now use the same flags from It…
damian-joz May 24, 2024
01be5ee
Level up counting items methods - both now use the same flags from It…
damian-joz May 24, 2024
d9a3a11
Merge remote-tracking branch 'origin/refactor_item_counter' into refa…
damian-joz May 24, 2024
8a9e94b
Merge remote-tracking branch 'origin/refactor_item_counter' into refa…
damian-joz May 24, 2024
f4642da
Merge remote-tracking branch 'origin/refactor_item_counter' into refa…
damian-joz May 24, 2024
ed918a8
Throw IllegalArgumentException if addMetadata() called without values…
tdonohue May 24, 2024
25f722e
Fix testAddMetadata_5args_2 to no longer be *identical* to testAddMet…
tdonohue May 24, 2024
f8ac8ed
Fix bug in MetadataImport where it could call addMetadata() with empt…
tdonohue May 24, 2024
2eb7dbc
Add tests to verify behavior of addMetadata() when encountering virtu…
tdonohue May 24, 2024
225d474
Merge pull request #15 from damian-joz/refactor_item_counter
tdonohue May 24, 2024
b02a7f9
Merge pull request #9583 from tdonohue/refactor_item_counter
tdonohue May 24, 2024
f2d4ffc
DURACOM-267 update commons-configuration2 fix according to the commun…
abollini May 27, 2024
1e639a1
Merge pull request #9576 from tdonohue/remove_old_ui_refs
tdonohue May 29, 2024
11b68a0
delete orcid sync settings when unlinking the profile
floriangantner Mar 6, 2024
4bb32a8
configurable deletion of orcid sync settings when unlinking profile
floriangantner Mar 6, 2024
0422b87
DURACOM-267 improve handling of empty configuration property
abollini May 31, 2024
3dd49f4
Update comments in identifier-service.xml
pnbecker Jun 2, 2024
24da6fe
Remove the is_archived_condition from the doi-filter
pnbecker Jun 2, 2024
8512fab
115434: Added relatedEntityType parameter to byLabel endpoint to diff…
alexandrevryghem May 26, 2024
edddebd
Merge branch 'w2p-115434_byLabel-related-entity-type_contribute-7.6' …
alexandrevryghem Jun 2, 2024
4fcf995
DURACOM-267 assure that our custom DSpaceConfigurationPropertySource …
abollini Jun 3, 2024
f87a3de
Merge pull request #9618 from the-library-code/CommentsInIdentifierSe…
tdonohue Jun 3, 2024
58dd800
updates creativecommons.org links to https
nwoodward Jun 3, 2024
2a6997b
Merge pull request #9619 from the-library-code/removeArchivedConditio…
tdonohue Jun 3, 2024
59aaf3e
Cleanup doi filters
pnbecker Jun 3, 2024
c910f90
Merge pull request #9627 from the-library-code/DOIInstallFilterConfig
tdonohue Jun 4, 2024
b7f7647
Ensure work directory is cleaned up whether zip file is created succe…
tdonohue Jun 4, 2024
82f9301
Fix NullPointerException by correcting the XPath query to locate the …
tdonohue Jun 4, 2024
b8d19be
Cleanup noisy logs for external services (move some to debug). Provid…
tdonohue Jun 4, 2024
afc2f3d
Rename "openaire.base.url" to "openaire.search.url" to clarify purpos…
tdonohue Jun 4, 2024
1bce3f1
Merge pull request #9605 from 4Science/pr9430_fix
tdonohue Jun 5, 2024
a180b9a
Merge pull request #9625 from TexasDigitalLibrary/DS-9323
tdonohue Jun 5, 2024
97632e7
Merge pull request #9539 from jeffmorin/fix_for_test_database
tdonohue Jun 5, 2024
1544590
Merge pull request #9629 from tdonohue/fix_ticket_9499
tdonohue Jun 6, 2024
bbae1fb
115434: Added test proving that different values for relatedEntityTyp…
alexandrevryghem Jun 7, 2024
04789fb
Merge pull request #9594 from saschaszott/patch-271
tdonohue Jun 7, 2024
4c5a91f
Merge pull request #9621 from alexandrevryghem/w2p-115434_byLabel-rel…
tdonohue Jun 7, 2024
356a028
Avoid inline display of HTML/JS bitstreams. Add JS to list of known …
tdonohue Jun 6, 2024
c61b703
Fix failing IT by increasing number of formats by one
tdonohue Jun 6, 2024
39975e4
Add XML to the list of formats to always download
tdonohue Jun 10, 2024
e6bfb83
Add a test to prove the default settings are to always download these…
tdonohue Jun 10, 2024
6da072d
For additional security, ensure "unknown" formats are always download…
tdonohue Jun 10, 2024
a091d34
To avoid misconfiguration, hardcode HTML, XML, RDF, JS to download on…
tdonohue Jun 10, 2024
5ef5d79
[DURACOM-272] fix/improve COAR Notify feature
steph-ieffam Jun 10, 2024
29b9d85
[DURACOM-272] fix/improve COAR Notify feature
steph-ieffam Jun 10, 2024
5c318a7
[DURACOM-272] fix/improve COAR Notify feature
steph-ieffam Jun 10, 2024
38a25f6
[DURACOM-272] fix LDN being processed when the service is disabled
steph-ieffam Jun 11, 2024
ec84fd9
[DURACOM-272] added COAR LDN integration test
steph-ieffam Jun 11, 2024
2e51741
[DURACOM-272] fix broken test for COAR Notify
steph-ieffam Jun 11, 2024
34a2fb1
[DURACOM-272] fix COAR Notify tests
steph-ieffam Jun 11, 2024
874cfcd
[DURACOM-272] Refactor remove unused/misleading COAR configuration
steph-ieffam Jun 11, 2024
1ef6178
Merge pull request #9396 from uniba-ub/issue-9390
tdonohue Jun 11, 2024
9e63a44
Fix configuration for OpenAIRE input sources. They only return Public…
tdonohue Jun 11, 2024
db93048
[DURACOM-272] Coar notify fix for external object
steph-ieffam Jun 12, 2024
7654475
Merge remote-tracking branch 'originGithub/task/main/DURACOM-272' int…
steph-ieffam Jun 12, 2024
c96cca1
[DURACOM-272] fix NPE for Notify
steph-ieffam Jun 12, 2024
099539e
Merge pull request #9645 from 4Science/task/main/DURACOM-272
tdonohue Jun 14, 2024
2af0509
Merge pull request #9509 from tdonohue/empty_metadata_bug
tdonohue Jun 14, 2024
f1059b4
Merge pull request #9638 from tdonohue/avoid_inline_js
kshepherd Jun 17, 2024
5d8c865
Bump Spring Boot from 3.2.5 to 3.2.6. Minor updates to other dependen…
tdonohue Jun 17, 2024
075e51d
Merge pull request #9631 from tdonohue/fix_9501
tdonohue Jun 18, 2024
4d1d87c
Merge pull request #9655 from tdonohue/bump_latest_spring_boot
tdonohue Jun 20, 2024
a4f3b4a
Merge tag 'dspace-7.6.1'
tdonohue Jun 20, 2024
4187dba
Update LICENSES_THIRD_PARTY (and related configs) for 8.0 release
tdonohue Jun 21, 2024
debe0a0
Update version of dspace-api-lang to use for 8.0 / 8.x releases
tdonohue Jun 21, 2024
b2ae1d5
[maven-release-plugin] prepare release dspace-8.0
tdonohue Jun 21, 2024
0527a3c
LIBDRUM-892. Merge tag 'dspace-8.0' into drum-main
dsteelma-umd Nov 15, 2024
d77f1ca
LIBDRUM-892. Incorporated stock DSpace 8 into "additions" files
dsteelma-umd Nov 15, 2024
3e8a8f6
LIBDRUM-892. Updated dspace-api test config files with stock files
dsteelma-umd Nov 15, 2024
758be25
LIBDRUM-892. Updated dspace-server-webapp test config files with stock
dsteelma-umd Nov 15, 2024
95d5949
LIBDRUM-892. Java EE "javax.*" to "jakarta.*" package updates
dsteelma-umd Nov 18, 2024
6aa3063
LIBDRUM-892. Update UMD-added classes to provide plural type names
dsteelma-umd Nov 18, 2024
75f5e86
LIBDRUM-892. Java EE "javax.ws.rs.core.MediaType" to "jakarta"
dsteelma-umd Nov 18, 2024
f70bcf7
LIBDRUM-892. Updates for Hibernate 6
dsteelma-umd Nov 18, 2024
a42ae12
LIBDRUM-892. Added HTTP request method to CASLoginFilter
dsteelma-umd Nov 18, 2024
07d240e
LIBDRUM-892. Updated UMD DSpaceObjects to use CacheableDSpaceObject
dsteelma-umd Nov 18, 2024
3e4180b
LIBDRUM-892. Checkstyle Fixes
dsteelma-umd Nov 19, 2024
832461f
LIBDRUM-892. Update parent POM version for "server-boot" module
dsteelma-umd Nov 19, 2024
b532291
LIBDRUM-892. More updates to UMD-added classes for plural type names
dsteelma-umd Nov 20, 2024
db73890
LIBDRUM-892. Updated Dockerfiles for DSpace 8
dsteelma-umd Nov 20, 2024
b2b37af
LIBDRUM-892. Refactored Dockerfiles for external Tomcat
dsteelma-umd Nov 21, 2024
46819db
LIBDRUM-892. Refactored Dockerfiles and POMs for embedded Tomcat
dsteelma-umd Nov 25, 2024
a79336a
LIBDRUM-892. Comment out "codecov" GitHub Action
dsteelma-umd Nov 25, 2024
dde409d
LIBDRUM-892. Removed "dspace/src/main/docker/local.cfg"
dsteelma-umd Nov 25, 2024
fe01f19
LIBDRUM-892. Documentation updates for DSpace 8.0
dsteelma-umd Dec 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
70 changes: 36 additions & 34 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
# Also specify version of Java to use (this can allow us to optionally run tests on multiple JDKs in future)
matrix:
include:
# NOTE: Unit Tests include deprecated REST API v6 (as it has unit tests)
# NOTE: Unit Tests include a retry for occasionally failing tests
# - surefire.rerunFailingTestsCount => try again for flakey tests, and keep track of/report on number of retries
- type: "Unit Tests"
java: 11
mvnflags: "-DskipUnitTests=false -Pdspace-rest -Dsurefire.rerunFailingTestsCount=2"
java: 17
mvnflags: "-DskipUnitTests=false -Dsurefire.rerunFailingTestsCount=2"
resultsdir: "**/target/surefire-reports/**"
# NOTE: ITs skip all code validation checks, as they are already done by Unit Test job.
# - enforcer.skip => Skip maven-enforcer-plugin rules
Expand All @@ -34,7 +34,7 @@ jobs:
# - xml.skip => Skip all XML/XSLT validation by xml-maven-plugin
# - failsafe.rerunFailingTestsCount => try again for flakey tests, and keep track of/report on number of retries
- type: "Integration Tests"
java: 11
java: 17
mvnflags: "-DskipIntegrationTests=false -Denforcer.skip=true -Dcheckstyle.skip=true -Dlicense.skip=true -Dxml.skip=true -Dfailsafe.rerunFailingTestsCount=2"
resultsdir: "**/target/failsafe-reports/**"
# Do NOT exit immediately if one matrix job fails
Expand Down Expand Up @@ -78,35 +78,37 @@ jobs:
path: 'dspace/target/site/jacoco-aggregate/jacoco.xml'
retention-days: 14

# Codecov upload is a separate job in order to allow us to restart this separate from the entire build/test
# job above. This is necessary because Codecov uploads seem to randomly fail at times.
# See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
codecov:
# Must run after 'tests' job above
needs: tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
# UMD Customization
# # Codecov upload is a separate job in order to allow us to restart this separate from the entire build/test
# # job above. This is necessary because Codecov uploads seem to randomly fail at times.
# # See https://community.codecov.com/t/upload-issues-unable-to-locate-build-via-github-actions-api/3954
# codecov:
# # Must run after 'tests' job above
# needs: tests
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4

# Download artifacts from previous 'tests' job
- name: Download coverage artifacts
uses: actions/download-artifact@v4
# # Download artifacts from previous 'tests' job
# - name: Download coverage artifacts
# uses: actions/download-artifact@v4

# Now attempt upload to Codecov using its action.
# NOTE: We use a retry action to retry the Codecov upload if it fails the first time.
#
# Retry action: https://github.com/marketplace/actions/retry-action
# Codecov action: https://github.com/codecov/codecov-action
- name: Upload coverage to Codecov.io
uses: Wandalen/wretry.action@v1.3.0
with:
action: codecov/codecov-action@v4
# Ensure codecov-action throws an error when it fails to upload
with: |
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
# Try re-running action 5 times max
attempt_limit: 5
# Run again in 30 seconds
attempt_delay: 30000
# # Now attempt upload to Codecov using its action.
# # NOTE: We use a retry action to retry the Codecov upload if it fails the first time.
# #
# # Retry action: https://github.com/marketplace/actions/retry-action
# # Codecov action: https://github.com/codecov/codecov-action
# - name: Upload coverage to Codecov.io
# uses: Wandalen/wretry.action@v1.3.0
# with:
# action: codecov/codecov-action@v4
# # Ensure codecov-action throws an error when it fails to upload
# with: |
# fail_ci_if_error: true
# token: ${{ secrets.CODECOV_TOKEN }}
# # Try re-running action 5 times max
# attempt_limit: 5
# # Run again in 30 seconds
# attempt_delay: 30000
# End UMD Customization
2 changes: 1 addition & 1 deletion .github/workflows/codescan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Install JDK
uses: actions/setup-java@v4
with:
java-version: 11
java-version: 17
distribution: 'temurin'

# Initializes the CodeQL tools for scanning.
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/reusable-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ env:
# See "Redeploy" steps below for more details.
REDEPLOY_SANDBOX_URL: ${{ secrets.REDEPLOY_SANDBOX_URL }}
REDEPLOY_DEMO_URL: ${{ secrets.REDEPLOY_DEMO_URL }}
# Current DSpace maintenance branch (and architecture) which is deployed to demo.dspace.org / sandbox.dspace.org
# (NOTE: No deployment branch specified for sandbox.dspace.org as it uses the default_branch)
DEPLOY_DEMO_BRANCH: 'dspace-8_x'
# Current DSpace branches (and architecture) which are deployed to demo.dspace.org & sandbox.dspace.org respectively
DEPLOY_DEMO_BRANCH: 'dspace-7_x'
DEPLOY_SANDBOX_BRANCH: 'main'
DEPLOY_ARCH: 'linux/amd64'

jobs:
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
!matrix.isPR &&
env.REDEPLOY_SANDBOX_URL != '' &&
matrix.arch == env.DEPLOY_ARCH &&
github.ref_name == github.event.repository.default_branch
github.ref_name == env.DEPLOY_SANDBOX_BRANCH
run: |
curl -X POST $REDEPLOY_SANDBOX_URL

Expand Down
9 changes: 0 additions & 9 deletions .lgtm.yml

This file was deleted.

46 changes: 20 additions & 26 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# This image will be published as dspace/dspace
# See https://github.com/DSpace/DSpace/tree/main/dspace/src/main/docker for usage details
#
# - note: default tag for branch: dspace/dspace: dspace/dspace:dspace-7_x
# - note: default tag for branch: dspace/dspace: dspace/dspace:latest

# This Dockerfile uses JDK11 by default, but has also been tested with JDK17.
# To build with JDK17, use "--build-arg JDK_VERSION=17"
ARG JDK_VERSION=11
# This Dockerfile uses JDK17 by default.
# To build with other versions, use "--build-arg JDK_VERSION=[value]"
ARG JDK_VERSION=17
ARG DSPACE_VERSION=latest

# Step 1 - Run Maven Build
# UMD Customization
FROM docker.lib.umd.edu/drum-dependencies-7_x:latest as build
FROM docker.lib.umd.edu/drum-dependencies-8_x:${DSPACE_VERSION} as build
# End UMD Customization
ARG TARGET_DIR=dspace-installer
WORKDIR /app
Expand All @@ -20,14 +21,16 @@ RUN mkdir /install \
USER dspace
# Copy the DSpace source code (from local machine) into the workdir (excluding .dockerignore contents)
ADD --chown=dspace . /app/
# Build DSpace (note: this build doesn't include the optional, deprecated "dspace-rest" webapp)
# Build DSpace
# Copy the dspace-installer directory to /install. Clean up the build to keep the docker image small
# Maven flags here ensure that we skip building test environment and skip all code verification checks.
# These flags speed up this compilation as much as reasonably possible.
ENV MAVEN_FLAGS="-P-test-environment -Denforcer.skip=true -Dcheckstyle.skip=true -Dlicense.skip=true -Dxml.skip=true"
RUN mvn --no-transfer-progress package ${MAVEN_FLAGS} && \
mv /app/dspace/target/${TARGET_DIR}/* /install && \
mvn clean
# Remove the server webapp to keep image small.
RUN rm -rf /install/webapps/server/

# Step 2 - Run Ant Deploy
FROM eclipse-temurin:${JDK_VERSION} as ant_build
Expand All @@ -50,25 +53,21 @@ RUN mkdir $ANT_HOME && \
# Run necessary 'ant' deploy scripts
RUN ant init_installation update_configs update_code update_webapps

# Step 3 - Run tomcat
# Create a new tomcat image that does not retain the the build directory contents
FROM tomcat:9-jdk${JDK_VERSION}
# Step 3 - Start up DSpace via Runnable JAR
FROM eclipse-temurin:${JDK_VERSION}
# NOTE: DSPACE_INSTALL must align with the "dspace.dir" default configuration.
ENV DSPACE_INSTALL=/dspace
# Copy the /dspace directory from 'ant_build' container to /dspace in this container
COPY --from=ant_build /dspace $DSPACE_INSTALL
# Expose Tomcat port and AJP port
EXPOSE 8080 8009
WORKDIR $DSPACE_INSTALL
# Expose Tomcat port
EXPOSE 8080
# Give java extra memory (2GB)
# UMD Customization
ENV DSPACE_INSTALL=/dspace \
JAVA_OPTS=-Xmx2000m \
TZ=America/New_York
# End UMD Customization
ENV JAVA_OPTS=-Xmx2000m

# Link the DSpace 'server' webapp into Tomcat's webapps directory.
# This ensures that when we start Tomcat, it runs from /server path (e.g. http://localhost:8080/server/)
# UMD Customization
ENV TZ=America/New_York

RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
rsync \
Expand All @@ -81,12 +80,7 @@ RUN apt-get update && \
vim \
python3-lxml && \
mkfifo /var/spool/postfix/public/pickup && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
rm -rf /usr/local/tomcat/webapps/* && \
ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/server
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# End UMD Customization
# If you wish to run "server" webapp off the ROOT path, then comment out the above RUN, and uncomment the below RUN.
# You also MUST update the 'dspace.server.url' configuration to match.
# Please note that server webapp should only run on one path at a time.
#RUN mv /usr/local/tomcat/webapps/ROOT /usr/local/tomcat/webapps/ROOT.bk && \
# ln -s $DSPACE_INSTALL/webapps/server /usr/local/tomcat/webapps/ROOT
# On startup, run DSpace Runnable JAR
ENTRYPOINT ["java", "-jar", "webapps/server-boot.jar", "--dspace.dir=$DSPACE_INSTALL"]
4 changes: 2 additions & 2 deletions Dockerfile.ant
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This Docker image is based on Step 2 in "Dockerfile", with some steps removed
# as they will be performed in the Dockerfiles that use this image
# (Dockerfile.dev, Dockerfile.dev-additions)
ARG JDK_VERSION=11
ARG JDK_VERSION=17

FROM openjdk:${JDK_VERSION}-slim as ant_build
FROM eclipse-temurin:${JDK_VERSION} as ant_build
# Create the initial install deployment using ANT
ENV ANT_VERSION 1.10.13
ENV ANT_HOME /tmp/ant-$ANT_VERSION
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# the application. It should _not_ be used for creating Docker images for use
# in production.

FROM maven:3.8.6-openjdk-11-slim
FROM maven:3.8.6-eclipse-temurin-17

# Install git, as it is needed by the Jenkinsfile
RUN apt-get update && \
Expand Down
11 changes: 6 additions & 5 deletions Dockerfile.cli
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# This image will be published as dspace/dspace-cli
# See https://github.com/DSpace/DSpace/tree/main/dspace/src/main/docker for usage details
#
# - note: default tag for branch: dspace/dspace-cli: dspace/dspace-cli:dspace-7_x
# - note: default tag for branch: dspace/dspace-cli: dspace/dspace-cli:latest

# This Dockerfile uses JDK11 by default, but has also been tested with JDK17.
# To build with JDK17, use "--build-arg JDK_VERSION=17"
ARG JDK_VERSION=11
# This Dockerfile uses JDK17 by default.
# To build with other versions, use "--build-arg JDK_VERSION=[value]"
ARG JDK_VERSION=17
ARG DSPACE_VERSION=latest

# Step 1 - Run Maven Build
# UMD Customization
FROM docker.lib.umd.edu/drum-dependencies-7_x:latest as build
FROM docker.lib.umd.edu/drum-dependencies:${DSPACE_VERSION} as build
# End UMD Customization
ARG TARGET_DIR=dspace-installer
WORKDIR /app
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.dependencies
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# UMD Customization
# This image will be published as docker.lib.umd.edu/drum-dependencies-7_x:latest
# This image will be published as docker.lib.umd.edu/drum-dependencies-8_x:latest
# End UMD Customization
# The purpose of this image is to make the build for dspace/dspace run faster
#

# This Dockerfile uses JDK11 by default, but has also been tested with JDK17.
# To build with JDK17, use "--build-arg JDK_VERSION=17"
ARG JDK_VERSION=11
# This Dockerfile uses JDK17 by default.
# To build with other versions, use "--build-arg JDK_VERSION=[value]"
ARG JDK_VERSION=17

# Step 1 - Run Maven Build
FROM maven:3-eclipse-temurin-${JDK_VERSION} as build
Expand Down
Loading
Loading