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

Papyrus main fusion avec main DSpace #17

Merged
merged 148 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
85ae2b7
[CST-13047] first implementation of LDN Notification Indexer
steph-ieffam Dec 22, 2023
a5b06b4
[CST-10641] rest implementation for LDN Messages
steph-ieffam Dec 27, 2023
0692346
[CST-10641] NOTIFY discovery configuration
steph-ieffam Dec 28, 2023
dc437a8
[CST-10641] LDN Message Indexing updates - Discovery configuration - …
steph-ieffam Dec 28, 2023
336791e
[CST-10641] fix wrong status for LDN Notification
steph-ieffam Dec 28, 2023
7c286e7
[CST-10641] fixes and improvement for LDN Messages Discovery
steph-ieffam Dec 29, 2023
33ac6e5
[CST-10641] fixes and improvement for LDN Messages Discovery
steph-ieffam Dec 29, 2023
6f79d98
Merged in coar-notify-7-part-two-CST-10641 (pull request #1486)
steph-ieffam Dec 29, 2023
0686df8
[CST-13103] added new ITs
Jan 3, 2024
399c1b5
[CST-13103] refactoring
Jan 3, 2024
fa1a5ca
[CST-13103] added ITs for new discovery configuration
Jan 4, 2024
9ea1f63
Merged in coar-notify-7-part-two_CST-13103 (pull request #1506)
eskander17 Jan 11, 2024
f544f5f
Merge remote-tracking branch 'origin/coar-notify-7' into coar-notify-…
steph-ieffam Jan 12, 2024
9ae603a
[CST-13053] expose message in ldn entity notification
steph-ieffam Jan 12, 2024
47f527b
[CST-13053] added ldn service facet & fixed sorting issues
steph-ieffam Jan 12, 2024
af014ad
[CST-13053] fixeded typo in indexing for ldn message
steph-ieffam Jan 12, 2024
d69e32a
Merge remote-tracking branch 'origin/coar-notify-7' into coar-notify-…
steph-ieffam Jan 15, 2024
a165e65
CST-10644 administrative search facets
frabacche Jan 16, 2024
3b5b581
Merge branch 'coar-notify-7-part-two' of bitbucket.org:4Science/dspac…
frabacche Jan 16, 2024
959b214
Merge branch 'coar-notify-7' into coar-notify-7-part-two
steph-ieffam Jan 17, 2024
f3a0b1b
[CST-13316] removed notification type facet
steph-ieffam Jan 17, 2024
c25826f
Merge branch 'coar-notify-7' into coar-notify-7-part-two
FrancescoMolinaro Jan 18, 2024
a85b763
resolve merge conflicts
FrancescoMolinaro Jan 18, 2024
4856c40
[CST-13103] fix broken test
steph-ieffam Jan 18, 2024
f17f67a
[CST-13335] fix broken ITs
Jan 19, 2024
97555b0
Merged in coar-notify-7-part-two_CST-13335 (pull request #1570)
eskander17 Jan 19, 2024
1844fd2
Fix generating versioned identifiers if pre-registration is enabled
amgciadev Jan 19, 2024
d05a5d6
Merge remote-tracking branch 'origin/coar-notify-7' into coar-notify-…
steph-ieffam Jan 26, 2024
367048b
[CST-13444] configured date facet for LDN Message Entity
steph-ieffam Jan 30, 2024
332c231
[CST-13444] handled filter by date rang
Feb 7, 2024
5e197f6
Merge remote-tracking branch 'origin/coar-notify-7' into coar-notify-…
steph-ieffam Feb 29, 2024
1bbe119
fix checkstyle after merge
steph-ieffam Feb 29, 2024
507d61a
Merge remote-tracking branch 'dspacegithub/main' into coar-notify-7-p…
frabacche Mar 1, 2024
17e470b
coar-notify-7-part-two-merge-main LDNMessageEntityRest plural_name
frabacche Mar 1, 2024
3f8369e
coar-notify-7-part-two-merge-main LDNMessageRestRepository plural_name
frabacche Mar 1, 2024
e65d766
Merge pull request #436 from 4Science/coar-notify-7-part-two-merge-main
frabacche Mar 1, 2024
069674e
[TLC-674] Duplicate Detection service and submission step
kshepherd Dec 18, 2023
3e307cd
[TLC-674] Duplicate detection integration tests
kshepherd Jan 17, 2024
554338b
[TLC-674] broken IT (multi items created?!)
kshepherd Jan 18, 2024
4e3e68f
[TLC-674] Duplicate detection integration tests
kshepherd Jan 17, 2024
878ab75
[TLC-674] IT and checkstyle fixes
kshepherd Jan 23, 2024
26b3e9a
[TLC-674] IT and checkstyle fixes
kshepherd Jan 23, 2024
485e716
[TLC-674] Escape solr reserved characters (and new test coverage)
kshepherd Jan 23, 2024
bcbf33a
[TLC-674] Remove unused test class
kshepherd Jan 23, 2024
c43c82c
[TLC-674] Checkstyle fixes for ITs
kshepherd Jan 23, 2024
4515ded
Fix out of date licence headers on PotentialDuplicateConverter/Resource
kshepherd Jan 23, 2024
eca9c62
[TLC-674] Update SubmissionDefinitionsControllerIT total count
kshepherd Jan 24, 2024
69d069d
[TLC-674] Update ItemMatcher embeds with duplicates link
kshepherd Jan 29, 2024
e7424fb
[TLC-674] Disable feature by default
kshepherd Jan 29, 2024
8a16c33
[TLC-674] Long title and exact match duplicate tests
kshepherd Jan 29, 2024
7794b9f
[TLC-674] Refactor duplicates from item link to searchBy
kshepherd Jan 31, 2024
8855556
[TLC-674] Remove old ItemDuplicatesLinkRepository and update item model
kshepherd Jan 31, 2024
f4b6379
Remove test user from dupe test cases
kshepherd Feb 7, 2024
9fc5b71
Detect dupe: null item ref in ex message
kshepherd Feb 8, 2024
8c4839d
Fix SubmissionDefinitionsControllerIT
pnbecker Feb 13, 2024
68d0382
[TLC-674] Comment out duplicate step from default submission cfg
kshepherd Feb 19, 2024
abf54f5
[TLC-674] Revert changes to search schema.xml
kshepherd Feb 25, 2024
1350f87
[TLC-674] Replace all references of "signature" with "comparison value"
kshepherd Feb 25, 2024
0a3713d
[TLC-674] Consolidate shared 'build comparison value' code, ensure mu…
kshepherd Feb 25, 2024
bdf608a
[TLC-674] Refactor REST controller for Basic Duplicate Detection
kshepherd Feb 25, 2024
1501279
[TLC-674] Duplicate fixes per review feedback
kshepherd Feb 27, 2024
ac590d7
[TLC-674] Duplicate IT fixes per review feedback
kshepherd Feb 27, 2024
666581b
[TLC-674] Duplicate IT fixes per review feedback
kshepherd Feb 27, 2024
c28b9e8
[TLC-674] Include duplicate.enable in REST config
kshepherd Feb 28, 2024
54d617d
[TLC-674] Disable duplicates section by default
kshepherd Feb 28, 2024
ecb0ce6
[TLC-674] Update DuplicateDetectionRestIT for new API path
kshepherd Feb 28, 2024
2168f66
[TLC-674] Duplicate detection tidy comments/services
kshepherd Feb 28, 2024
456182a
[TLC-674] Refactor duplicate detection controller to REST repository
kshepherd Mar 3, 2024
9a5427e
[TLC-674] Update duplicate IT, handle feature disable more gracefully
kshepherd Mar 4, 2024
2326410
move enqueueretry to POST
frabacche Mar 4, 2024
8477eba
checkstyle + IT class
frabacche Mar 4, 2024
993861a
checkstyle
frabacche Mar 4, 2024
f2683da
javadocs, refactor item cast to item search
frabacche Mar 4, 2024
c3ab2a1
check item linked to ldnMessage before storing a new solr document
frabacche Mar 4, 2024
3f3d862
Merge pull request #437 from 4Science/coar-notify-7-part-two-refactor…
frabacche Mar 4, 2024
7bdadae
ldn message enqueueRetry: typo on discoverable link
frabacche Mar 4, 2024
e90ab9e
Merge pull request #9265 from the-library-code/DSpace_duplicate_detec…
tdonohue Mar 4, 2024
a65902c
LDN message Index: check the item before adding related solr document…
frabacche Mar 4, 2024
57a52f6
LDN message Index: not searchable item logical operator fix
frabacche Mar 4, 2024
eee0bfd
Merge pull request #9268 from 4Science/coar-notify-7-part-two
tdonohue Mar 4, 2024
e934557
Bump org.apache.solr:solr-solrj from 8.11.2 to 8.11.3
dependabot[bot] Mar 12, 2024
29ecc5c
Merge pull request #9409 from DSpace/dependabot/maven/org.apache.solr…
alanorth Mar 20, 2024
4374dd6
Partial update to Spring 6. Replace all javax with jakarta & resolve …
tdonohue Dec 15, 2023
c689851
More migrations from javax to jakarta. Remove SWORD's example Servlet…
tdonohue Dec 18, 2023
cb07f01
Switch to using 'io.gdcc' SWORDv2 server codebase as it is maintained…
tdonohue Jan 11, 2024
48d3b7f
Update Server webapp to be compatible with Spring Boot 3 and Spring S…
tdonohue Jan 11, 2024
20e8b0f
Minor POM fix to ensure Maven central is only contacted once (id MUST…
tdonohue Jan 11, 2024
7b25144
Upgrade to Hibernate 6. Migrate more javax to jakarta. Realign import…
tdonohue Jan 12, 2024
8fdab99
Upgrade SLF4J
tdonohue Jan 12, 2024
e0fc07d
Cleanup recently added new features and update JAXB maven plugin
tdonohue Mar 1, 2024
4275ab8
Fix NoSuchBeanDefinitionException: No qualifying bean of type 'java.l…
tdonohue Mar 1, 2024
94bbf40
Ensure ordering of <constructor-arg> matches arguments in constructor
tdonohue Mar 4, 2024
1612858
NEW BEHAVIOR: Hibernate second-level caching inherited by ALL DSpaceO…
tdonohue Mar 4, 2024
9b899a7
Upgrade to Flyway 10
tdonohue Mar 5, 2024
7861cd7
Update to latest version of dependencies
tdonohue Mar 5, 2024
1442c25
Minor syntax fixes for Hibernate v6 and Spring Boot v3
tdonohue Mar 5, 2024
11a8240
Parameters are no longer valid at beginning of "IN" clause. Convert o…
tdonohue Mar 5, 2024
4c510fd
Fix several unit tests which are not properly cleaning up their data
tdonohue Mar 5, 2024
f18d1e1
Fixing various Hibernate 6 syntax errors in queries.
tdonohue Mar 5, 2024
3a0ad48
Count queries MUST always return Long now. Cleanup all that do not.
tdonohue Mar 6, 2024
c6184af
When using Lower() function must now cast to string
tdonohue Mar 6, 2024
41229fd
Fix BitstreamFormatTest error where it could encounter invalid Bitstr…
tdonohue Mar 6, 2024
07c44f3
Remove unnecessary @Component annotation from IdentifierProviders whi…
tdonohue Mar 7, 2024
85cd8bc
ORCID-MODEL replacement. Migrate to Jakarta version distributed by ht…
tdonohue Mar 7, 2024
a6b333c
Minor fixes to ItemImport/Export ITs. Delete temp files on exit inste…
tdonohue Mar 7, 2024
ec7415e
Minor POM cleanup. dspace.dir should not end in a slash.
tdonohue Mar 7, 2024
cc54c01
Fix Hibernate errors in LDN / COAR Notify. NotifyServiceEntity requir…
tdonohue Mar 7, 2024
8140122
Fix data cleanup bug in ITs caused by NullPointerException. Update er…
tdonohue Mar 8, 2024
ed9dc57
Remove custom handling of `MaxUploadSizeExceededException` as this is…
tdonohue Mar 8, 2024
4439f0e
Fix several NullPointerExceptions thrown by Hibernate 6. New Hibernat…
tdonohue Mar 12, 2024
c65c7d8
Enable "-parameters" flag on compilation to support using parameter n…
tdonohue Mar 12, 2024
cb72fa2
Spring Security 6 doesn't allow for overriding @PreAuthorize from abs…
tdonohue Mar 12, 2024
3f26333
Update to use @EnableMethodSecurity from Spring Security 6.
tdonohue Mar 12, 2024
3b44781
Update WebSecurity settings for Spring Security 6. Some old settings …
tdonohue Mar 12, 2024
2300a3d
Update major Maven plugins (especially for unit/integration tests). F…
tdonohue Mar 18, 2024
58312dd
Update Docker to use JDK 17 & Tomcat 10
tdonohue Mar 19, 2024
86d9d30
Handle Server & Jetty cleanup. Make Jetty a runtime dependency as its…
tdonohue Mar 19, 2024
acebaa8
Update code scanning for JDK 17. Remove old LGTM code scanning config
tdonohue Mar 19, 2024
20f14d2
Minor fixes to SWORDv2 to get ITs passing again. Smarter date parsing…
tdonohue Mar 19, 2024
fafb16a
Fix Hibernate 6 syntax of several queries. Must use Hibernate name an…
tdonohue Mar 20, 2024
fdea0b0
Minor fixes to ITs
tdonohue Mar 20, 2024
9ad6bf5
Fix issue where findAll endpoints would NOT respond (404 result) when…
tdonohue Mar 20, 2024
9a456b6
Ensure POST requests to root endpoints will work regardless of whethe…
tdonohue Mar 20, 2024
85eadca
Fix error handling when invalid IDs are used on REST endpoints. Sprin…
tdonohue Mar 20, 2024
b181cda
Enhance logging of 400 exceptions in tests. These are difficult to de…
tdonohue Mar 20, 2024
26f0b13
Minor test fixes. POST/PUT calls should not end in a trailing slash
tdonohue Mar 20, 2024
d094865
Hibernate syntax fixes. Count methods must return Long
tdonohue Mar 20, 2024
972cb0d
Correct expected errors from some tests. These tests still through a…
tdonohue Mar 21, 2024
5c58d9e
In Hibernate 6, columnDefinition of "integer" should be @JdbcTypeCode…
tdonohue Mar 21, 2024
f422e61
In Hibernate 6, to support Postgres + H2, all @Lob columns must now b…
tdonohue Mar 21, 2024
1648d61
Update CSRF settings to align with Spring Security 6.
tdonohue Mar 22, 2024
3b46141
Add a GET /csrf endpoint for usage in tests because csrf() doesn't su…
tdonohue Mar 25, 2024
2e66d0c
Disable invalid test. This test expects a 400 error but its code is i…
tdonohue Mar 26, 2024
0ff9fa0
Fix tests which had random failures caused by pagination. Add a "feat…
tdonohue Mar 26, 2024
befef7f
Add new CacheableDSpaceObject abstract class for Hibernate second-lev…
tdonohue Mar 26, 2024
66402b2
Fix PatchMetadataIT failures by ensuring MetadataValue place is updat…
tdonohue Mar 27, 2024
4cf06cb
Remove unnecessary SQL "GROUP BY" clauses. There are no aggregate fun…
tdonohue Mar 27, 2024
1c6b6d9
Update to latest version of dependencies in main POM. Tested with UI…
tdonohue Mar 27, 2024
41fe757
Update test to prove CSRF token changes for every GET request to endp…
tdonohue Mar 28, 2024
ca6ce79
Make dc.type required
pnbecker Mar 28, 2024
09e3bf4
Merge pull request #9321 from tdonohue/update_major_dependencies
tdonohue Apr 2, 2024
53cecc1
Ensure Test cleans up data that it creates
tdonohue Apr 2, 2024
7b88b64
Merge pull request #9444 from tdonohue/fix_NotifyService_ITs
tdonohue Apr 2, 2024
0cd8846
Bump org.apache.commons:commons-compress from 1.23.0 to 1.26.0
dependabot[bot] Apr 2, 2024
2ddb3b3
Merge pull request #9443 from DSpace/dependabot/maven/org.apache.comm…
tdonohue Apr 3, 2024
adee7f8
Merge pull request #9440 from the-library-code/require-dc.type
tdonohue Apr 4, 2024
96d1385
Merge pull request #9271 from amgciadev/fix-8675-b
tdonohue Apr 4, 2024
40e06ce
Merge remote-tracking branch 'upstream/main' into papyrus-dspace
NataliaJabinschi Apr 4, 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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# 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
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.
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
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@v3
with:
java-version: 11
java-version: 17
distribution: 'temurin'

# Initializes the CodeQL tools for scanning.
Expand Down
9 changes: 0 additions & 9 deletions .lgtm.yml

This file was deleted.

8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#
# - 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
Expand Down Expand Up @@ -51,7 +51,7 @@ 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}
FROM tomcat:10-jdk${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
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.cli
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
#
# - 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
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# 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-openjdk-${JDK_VERSION}-slim as build
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
#
# This image is meant for TESTING/DEVELOPMENT ONLY as it deploys the old v6 REST API under HTTP (not HTTPS)

# 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
Expand Down Expand Up @@ -50,7 +50,7 @@ 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}
FROM tomcat:10-jdk${JDK_VERSION}
ENV DSPACE_INSTALL=/dspace
ENV TOMCAT_INSTALL=/usr/local/tomcat
# Copy the /dspace directory from 'ant_build' containger to /dspace in this container
Expand Down
Loading
Loading