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

Merge v6.1 into master #10178

Merged
merged 1,229 commits into from
Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1229 commits
Select commit Hold shift + click to select a range
63725d7
remove cruft: mdc logs #9115
pdurbin Nov 17, 2023
1343de7
Merge pull request #10129 from IQSS/9115-rm-mdc-logs-cruft
scolapasta Nov 17, 2023
2433114
fix bullet #10060 #10070
pdurbin Nov 17, 2023
e0350e7
Change 6.0.0 to 6.0
jp-tosca Nov 17, 2023
437e3b9
Update doc/sphinx-guides/source/api/changelog.rst
jp-tosca Nov 17, 2023
640f69e
add release note for API changelog #10060
pdurbin Nov 17, 2023
83a66aa
Update doc/sphinx-guides/source/api/changelog.rst
jp-tosca Nov 17, 2023
70edaa7
Remove "to happy "
jp-tosca Nov 17, 2023
9186b06
Merge pull request #10127 from jp-tosca/10070-api-doc-changelog
pdurbin Nov 17, 2023
73593ac
#9464 query by dvo. update IT
sekmiller Nov 17, 2023
33aefff
Merge branch 'develop' into 9464-schema-creator-validator
sekmiller Nov 17, 2023
d0fc9af
refactor to avoid overloaded methods in constructors
qqmyers Nov 17, 2023
2500bcc
assert current /bag-info.txt behavior #8760
pdurbin Nov 15, 2023
7240e87
configurable BagIt source org name, address, email #8760
pdurbin Nov 15, 2023
b2c6251
add docs and release note for bag-info.txt config #8760
pdurbin Nov 17, 2023
fa6f850
limit to downloading from /tmp, add docs #8760
pdurbin Nov 17, 2023
06f6222
more intermediate changes to the entity classes #8549
landreev Nov 20, 2023
8766932
extra logging
landreev Nov 20, 2023
552e735
get quota command #8549
landreev Nov 20, 2023
e4aea93
extra logging
landreev Nov 20, 2023
2b87779
new classes and instances #8549
landreev Nov 20, 2023
235b1b0
A fix for the missing subtree filter query in the 2nd pass search que…
landreev Nov 20, 2023
ceeeaec
typo. #9635
landreev Nov 20, 2023
e4ede35
#9464 fix logger reference
sekmiller Nov 20, 2023
d30ecfd
add S3 tests, LocalStack, MinIO #6783
pdurbin Oct 25, 2023
53af167
stub out REST Assured code for testing direct upload #6783
pdurbin Oct 31, 2023
69899c2
explain that 200 OK is expected from direct upload #6783
pdurbin Oct 31, 2023
bbf6789
refactor and add direct upload test #6783
pdurbin Nov 1, 2023
20bbc70
add tests for direct (and non-direct) download #6783
pdurbin Nov 8, 2023
6608dc2
tweak release note #6783
pdurbin Nov 9, 2023
3d94c8f
mention S3 in testing docs, other cleanup #6783
pdurbin Nov 9, 2023
d4bab07
add S3AccessIT to the list of integration-tests #6783
pdurbin Nov 14, 2023
ff722a2
descriptive labels for file stores #9622
pdurbin Nov 20, 2023
766c9c3
#9464 add base schema as a file
sekmiller Nov 20, 2023
b1ceecd
Merge branch 'develop' into 9635-solr-search-improvements
sekmiller Nov 20, 2023
d34e927
Remove the authentication annotation from info API
jp-tosca Nov 20, 2023
9a5f523
Remove unused libraries
jp-tosca Nov 20, 2023
c5cbe93
add performance section to dev guide #9919
pdurbin Nov 20, 2023
3e004c2
set/delete apis for quotas (#8549)
landreev Nov 20, 2023
fb952a2
more commands (#8549)
landreev Nov 20, 2023
6a1ac43
Merge branch 'develop' into 10104-get-dataset-citation-deaccessioned …
pdurbin Nov 21, 2023
233da54
add to API changelog #10104
pdurbin Nov 21, 2023
454e0bb
Merge pull request #10121 from IQSS/10104-get-dataset-citation-deacce…
pdurbin Nov 21, 2023
460ff76
Merge branch 'develop' into IQSS/10093-signedUrls_with_privateUrlUser…
pdurbin Nov 21, 2023
d720aea
rename flyway script #10093
pdurbin Nov 21, 2023
c82faf9
#9464 fix formatting
sekmiller Nov 21, 2023
44a07a3
#9464 more code cleanup
sekmiller Nov 21, 2023
7d687e9
#9464 third time's the charm?
sekmiller Nov 21, 2023
3bc5ef7
Merge branch 'develop' into 9464-schema-creator-validator
sekmiller Nov 21, 2023
1c2a20d
fix formatting (indentation) #10093
pdurbin Nov 21, 2023
949b088
give Signed URLs a "ref" in the guides, link to it #10093
pdurbin Nov 21, 2023
5511946
tweak release note, add issue numbers #10093 #10045
pdurbin Nov 21, 2023
31e1a4f
Add validation for entered coordinate values in Geospatial metadata
stevenwinship Nov 21, 2023
48ae333
add download methods + cache, tweak upload, reformat
qqmyers Nov 21, 2023
7fd2bb2
convenience method
qqmyers Nov 21, 2023
4774541
adapt to changed method signature
qqmyers Nov 21, 2023
55c7843
use rules cache timout in upload, add download methods
qqmyers Nov 21, 2023
e276f1f
minor text changes
qqmyers Nov 21, 2023
b9317e8
use new method signature
qqmyers Nov 21, 2023
a31aa07
add not found message
qqmyers Nov 21, 2023
0ea4615
fix dataset page access menu globus transfer option
qqmyers Nov 22, 2023
cf5cffc
multiple download fixes, reformat globus code
qqmyers Nov 22, 2023
513d8b7
comment formatting
qqmyers Nov 22, 2023
5ee1905
change filemap for download, fix order of permission delete/cache remove
qqmyers Nov 22, 2023
c6ff2c7
fix timeouts, use addFiles call for remote reference case
qqmyers Nov 22, 2023
9e80815
another iteration of the flyway script for calculating the initial si…
landreev Nov 25, 2023
1b95665
new object that defines the size limits for the current upload sessio…
landreev Nov 26, 2023
627a7b1
a stub for the release note (#8549)
landreev Nov 26, 2023
a5196df
All the bits and pieces that haven't been committed yet. (#8549)
landreev Nov 26, 2023
03e1860
renaming the flyway script, since there is a 6.0.0.3 in the develop b…
landreev Nov 26, 2023
01e8f94
Merge branch 'develop' into 8549-collection-quotas
landreev Nov 26, 2023
8d49fc4
a quick stab at a restassured test for the collection quotas #8549
landreev Nov 27, 2023
410eb45
Merge pull request #10098 from QualitativeDataRepository/IQSS/10093-s…
pdurbin Nov 27, 2023
e501845
Merge branch 'develop' into 9464-schema-creator-validator
sekmiller Nov 27, 2023
7754c36
Merge branch 'develop' into 8549-collection-quotas
landreev Nov 27, 2023
c9dc155
restassured test/work in progress #8549
landreev Nov 27, 2023
212baf2
#9464 return json object as api response
sekmiller Nov 27, 2023
9367026
#9464 revert harvesting changes made in error
sekmiller Nov 27, 2023
808efdd
fixt east/west mixup
stevenwinship Nov 27, 2023
b7a3e78
add dataset JSON Schema to API guide, add test #9464
pdurbin Nov 27, 2023
2d3f7ab
just return the JSON Schema, don't wrap in "data, message" #9464
pdurbin Nov 27, 2023
0a77e2a
tweak docs #9464
pdurbin Nov 27, 2023
7db3629
removing trailing newline #9464
pdurbin Nov 27, 2023
194945b
remove cruft (unused) #9464
pdurbin Nov 28, 2023
c1bd009
format code (no-op) #9464
pdurbin Nov 28, 2023
c4d9b6e
add new endpoints to API changelog #9464
pdurbin Nov 28, 2023
45df764
tweak release note #9464
pdurbin Nov 28, 2023
d8e327d
add "v" to make anchor links meaningful #9464 #10060
pdurbin Nov 28, 2023
8e69c6d
remove new `response()` method, use regular `ok()` instead #9466
pdurbin Nov 28, 2023
1ea692b
Merge pull request #10131 from jp-tosca/9466-authentication-annotatio…
pdurbin Nov 28, 2023
78404ce
fixt box validation for misisng values
stevenwinship Nov 28, 2023
908a624
Checking in the trivial fix for the failing tests. Still looking into…
landreev Nov 28, 2023
f65d571
Merge branch '9635-solr-search-improvements' of https://github.com/IQ…
landreev Nov 28, 2023
8403a59
one extra weird edge case (restores the existing behavior). #9635
landreev Nov 28, 2023
35eac7e
Merge remote-tracking branch 'IQSS/develop' into IQSS/9506-thumbnail-…
qqmyers Nov 28, 2023
aa75382
address review comments - unused imports/method
qqmyers Nov 28, 2023
b90a1d7
update flyway number
qqmyers Nov 28, 2023
811743d
fixt box validation for missing values
stevenwinship Nov 28, 2023
866b5ea
Adds -X POST on the docs for validateDatasetJson
jp-tosca Nov 28, 2023
9840f60
Merge branch 'develop' into 8549-collection-quotas
landreev Nov 28, 2023
28cb866
basic restassured test added. #8549
landreev Nov 29, 2023
de84457
missing '/' #8549
landreev Nov 29, 2023
6c67dc2
Update src/main/java/edu/harvard/iq/dataverse/DataFileServiceBean.java
landreev Nov 29, 2023
f9f375c
Update doc/release-notes/8549-collection-quotas.md
landreev Nov 29, 2023
f9b58a1
test fixes #8549
landreev Nov 29, 2023
9b3c277
Merge branch '8549-collection-quotas' of https://github.com/IQSS/data…
landreev Nov 29, 2023
cda06a3
quota tests should be working now #8549
landreev Nov 29, 2023
960751f
Merge pull request #10050 from IQSS/9635-solr-search-improvements
sekmiller Nov 29, 2023
857998d
cosmetic changes to the geospatial block - more descriptive labels fo…
landreev Nov 29, 2023
6391f03
a short release note stub telling admins to update the geospatial blo…
landreev Nov 29, 2023
38ad2c5
Update client-libraries.rst
iPaat Nov 30, 2023
d9b6cae
Update apps.rst
iPaat Nov 30, 2023
41784f3
fix for load test where coordinates come in a different order
stevenwinship Nov 30, 2023
10fd4d3
Merge branch '9547-validate-geospatial-metadata' of https://github.co…
stevenwinship Nov 30, 2023
2d6efc5
undoing the formatting for the bbox fields: that formatting gets pass…
landreev Nov 30, 2023
e235257
Merge branch 'develop' into 9464-schema-creator-validator
sekmiller Nov 30, 2023
5b3a408
Merge pull request #10142 from IQSS/9547-validate-geospatial-metadata
stevenwinship Nov 30, 2023
7e7ec26
Merge remote-tracking branch 'IQSS/develop' into globusstore
qqmyers Nov 30, 2023
98d8486
Merge pull request #10154 from iza-institute-of-labor-economics/Updat…
pdurbin Nov 30, 2023
162f967
Merge branch 'develop' into 8549-collection-quotas
landreev Nov 30, 2023
2c41687
Merge branch 'develop' into 9464-schema-creator-validator
sekmiller Nov 30, 2023
e088d11
Merge branch 'develop' into IQSS/9506-thumbnail-tracking #9506
pdurbin Nov 30, 2023
c7d4ac0
allow no body when not needed
qqmyers Nov 30, 2023
54d228a
fix remote case
qqmyers Nov 30, 2023
d647f81
tweak docs, add new APIs to API changelog #9506
pdurbin Nov 30, 2023
4cc7596
Merge pull request #10130 from IQSS/9622-file-store-labels
scolapasta Nov 30, 2023
2a28e7d
fix display with no remote url
qqmyers Nov 30, 2023
4ad06ba
rename previewshavefailed to previewimagefail #9506
pdurbin Nov 30, 2023
7148158
add tests #9506
pdurbin Nov 30, 2023
67502ca
fix typos #9506
pdurbin Nov 30, 2023
82f0bc0
one more rename to previewimagefail #9506
pdurbin Nov 30, 2023
de2f9a4
popup separate tab for single file download transfer
qqmyers Nov 30, 2023
c82064a
fix old label in popup required case
qqmyers Nov 30, 2023
2644fae
Rearranges the code that updates the Storage Use records to reflect t…
landreev Nov 30, 2023
dc56784
making the set/delete quota commands superuser-only (doh). #8549
landreev Dec 1, 2023
f4eee65
removing the license template stubs (#8549)
landreev Dec 1, 2023
f48f3a8
Fixed: DatasetVersionFilesServiceBean order by condition for type cri…
GPortas Dec 1, 2023
b15b89f
Merge pull request #10159 from IQSS/fix/files-sort-by-type-criteria-q…
landreev Dec 1, 2023
a29942b
add files not accessible by dataverse flag
qqmyers Dec 1, 2023
0d75839
add Globus store to the normal file upload (as for the remote store)
qqmyers Dec 1, 2023
ce8bb6e
add Globus as a download option in file table header
qqmyers Dec 1, 2023
8e75a3e
Add logic for Globus transfer of some files
qqmyers Dec 1, 2023
0e91e6a
Convenience method to get store id for a file
qqmyers Dec 1, 2023
e5bf300
skip inaccessible files when doing validatation
qqmyers Dec 1, 2023
534c99b
Convenience method re: store supports globus access
qqmyers Dec 1, 2023
ca1a4f1
Update to use new isNotDataverseAccessible method in getInputStream
qqmyers Dec 1, 2023
f39fa07
Convenience method isDataverseAccessible
qqmyers Dec 1, 2023
dc45802
use correct term (though up and down terms are the same)
qqmyers Dec 1, 2023
0bfbb10
"manage collections" guide entry. #8549
landreev Dec 1, 2023
9af23d2
add mixed/other dialogs for transfer case
qqmyers Dec 1, 2023
43105d3
refactor, handle guestbook at download case
qqmyers Dec 2, 2023
a76158f
suppress download entry when not accessible, refactor
qqmyers Dec 2, 2023
93a5867
remove old testing code
qqmyers Dec 2, 2023
1a96c56
the kill switch for the real-time storageuse updates (just in case) a…
landreev Dec 3, 2023
0a536da
a missing ref in the doc. #8549
landreev Dec 4, 2023
b20f198
Bump version to 6.1
stevenwinship Dec 4, 2023
5f29144
adding 6.1 release notes and removing .md files
stevenwinship Dec 4, 2023
b077d98
doc update, release note
qqmyers Dec 4, 2023
547d71c
#9464 add more detail to validation error message
sekmiller Dec 4, 2023
c9374f3
Merge branch 'develop' into 9464-schema-creator-validator
sekmiller Dec 4, 2023
fc3ae08
adding documentation
qqmyers Dec 4, 2023
7697157
#9464 handle single errors
sekmiller Dec 4, 2023
8ec61d0
cleanup, add method stubs, open for basestore, info->fine
qqmyers Dec 4, 2023
38c120e
cleanup, delete obsolete methods, change to private, info->fine
qqmyers Dec 4, 2023
caa6e68
revert unrelated changes, old settings
qqmyers Dec 4, 2023
3babc5a
moving the StorageUse member to DvObjectContainer from DvObject; movi…
landreev Dec 5, 2023
dfa2dc3
remove adaptation for quotas PR that was itself changed
qqmyers Dec 5, 2023
c78613e
one more refinement for the flyway script. #8549
landreev Dec 5, 2023
e51bc22
Merge branch 'develop' into 6783-s3-tests #6783
pdurbin Dec 5, 2023
0c02b15
try QDR /logo endpoint
qqmyers Dec 5, 2023
96c7066
Merge branch 'develop' into 8760-bagit #8760
pdurbin Dec 5, 2023
8c9f124
switch minio to creds jenkins expects #6783
pdurbin Dec 5, 2023
6a7d8d1
make assertions about users #6783
pdurbin Dec 5, 2023
b9f4891
move methods to UtilIT #6783
pdurbin Dec 5, 2023
7349ed9
get logo, picking 48px size for datafile thumbs
qqmyers Dec 5, 2023
c194d74
Clarified the sentence about the initial deployment in the release no…
landreev Dec 5, 2023
cf7e664
moved the entitymanager calls from a command to the service #8549
landreev Dec 5, 2023
b1c22d8
Merge pull request #10144 from IQSS/8549-collection-quotas
stevenwinship Dec 5, 2023
db913ca
Merge branch 'develop' into 8760-bagit #8760
pdurbin Dec 5, 2023
c3b4412
Merge remote-tracking branch 'IQSS/develop' into
qqmyers Dec 5, 2023
dfa49c3
rename flyway script
qqmyers Dec 5, 2023
70a3442
updated aux. file service bean #8549
landreev Dec 5, 2023
e3bff3c
Merge branch 'develop' into 9464-schema-creator-validator
sekmiller Dec 5, 2023
c54a85f
#9464 add caveats to release note.
sekmiller Dec 5, 2023
2379828
Update native-api.rst
sekmiller Dec 5, 2023
94fffd8
Merge pull request #10004 from QualitativeDataRepository/IQSS/10003-f…
landreev Dec 5, 2023
b33fe57
Merge pull request #10122 from IQSS/8760-bagit
sekmiller Dec 5, 2023
5149941
Merge branch 'develop' into IQSS/9506-thumbnail-tracking #9506
pdurbin Dec 5, 2023
e3e122a
Merge pull request #9669 from QualitativeDataRepository/IQSS/9506-thu…
pdurbin Dec 5, 2023
ab47848
Merge branch 'develop' into 6783-s3-tests #6783
pdurbin Dec 5, 2023
d514545
Merge pull request #10109 from IQSS/9464-schema-creator-validator
jp-tosca Dec 5, 2023
dd2d972
globus store options
qqmyers Dec 5, 2023
797ff74
Merge remote-tracking branch 'IQSS/develop' into globusstore
qqmyers Dec 5, 2023
4d7818a
merge miss
qqmyers Dec 5, 2023
ceacf7e
add a stub globus api page since it is referenced in the config doc
qqmyers Dec 5, 2023
811d79a
change minio access key, more l33t #6783
pdurbin Dec 6, 2023
a629f30
Merge branch 'develop' into 10151-61-create-release-notes
sekmiller Dec 6, 2023
a81ad72
comment out optional listing of buckets #6783
pdurbin Dec 6, 2023
0bd9f13
Update doc/release-notes/6.1-release-notes.md
stevenwinship Dec 6, 2023
c97d7b5
globus api doc
qqmyers Dec 6, 2023
c7d73f6
default for globus-cache-maxage
qqmyers Dec 6, 2023
1fb7ddf
fix spacing
qqmyers Dec 6, 2023
6fee16d
#10151 incorporate json schema
sekmiller Dec 6, 2023
6d2f87c
adding review comment changes
stevenwinship Dec 6, 2023
90ff56c
Update doc/release-notes/6.1-release-notes.md
stevenwinship Dec 6, 2023
10e0e25
Update doc/release-notes/6.1-release-notes.md
stevenwinship Dec 6, 2023
3d55ed3
adding review comment changes
stevenwinship Dec 6, 2023
1be5d4b
adding review comment changes
stevenwinship Dec 6, 2023
8e2ff82
store tests
qqmyers Dec 6, 2023
865c9fe
getConfig tests
qqmyers Dec 6, 2023
cb1beaa
finish changing minio secret key #6783
pdurbin Dec 6, 2023
cff73b8
Merge branch 'develop' into 6783-s3-tests #6783
pdurbin Dec 6, 2023
5b7a560
refactor, test for getFileMap
qqmyers Dec 6, 2023
4ba629d
adding review comment changes
stevenwinship Dec 6, 2023
93d9b35
future test code - requires config of Globus stores
qqmyers Dec 6, 2023
12b7c30
typo
qqmyers Dec 6, 2023
1426dfb
add missing setting to release notes, add a todo to use two delays
qqmyers Dec 6, 2023
d2427bd
#10151 incorporate recent additions
sekmiller Dec 7, 2023
23e8692
Merge pull request #10044 from IQSS/6783-s3-tests
jp-tosca Dec 7, 2023
05c5306
mention download tmp file API #10151
pdurbin Dec 7, 2023
97c3321
remove duplicate "new" heading in API changelog #10151
pdurbin Dec 7, 2023
3a13ac8
#10151 add upgrade instructions
sekmiller Dec 7, 2023
5d4cf03
Merge branch '10151-61-create-release-notes' of https://github.com/IQ…
sekmiller Dec 7, 2023
a782136
#10151 remove notes previously incorporated
sekmiller Dec 7, 2023
e6e0bba
Merge branch 'develop' into 10151-61-create-release-notes
sekmiller Dec 7, 2023
b517f6e
#10151 S3 test notes
sekmiller Dec 7, 2023
07a8659
#10151 remove duplicate release note
sekmiller Dec 8, 2023
ed5b0db
Apply suggestions from code review
qqmyers Dec 8, 2023
1d66897
#10151 standard guide links
sekmiller Dec 8, 2023
85206de
simply API changelog to be about breaking changes only #10151
pdurbin Dec 8, 2023
0cd87d1
address Review comments
qqmyers Dec 8, 2023
ca70666
bug fix - allowing S3 w/Globus config to work for download
qqmyers Dec 11, 2023
09a227b
Change docs tp make clear that an S3 store can be used
qqmyers Dec 11, 2023
44bd5b7
add perf test results
stevenwinship Dec 11, 2023
173b8a7
fix backward comp Alternative Title
stevenwinship Dec 11, 2023
1959f2f
removed unneeded header
stevenwinship Dec 11, 2023
a4e25e1
reorg 6.1 release notes, add globus #10151
pdurbin Dec 11, 2023
b2c37af
Merge pull request #10162 from GlobalDataverseCommunityConsortium/glo…
landreev Dec 11, 2023
1b9ae24
Merge branch 'develop' into 8549-collection-quotas
landreev Dec 11, 2023
4ab66c8
Merge branch 'develop' into 10151-61-create-release-notes #10151
pdurbin Dec 11, 2023
011b929
remove globus snippet (already added) #10151
pdurbin Dec 11, 2023
3e32f42
link to guides in more places, other tweaks #10151
pdurbin Dec 11, 2023
92a298d
add missing new config options and sort #10151
pdurbin Dec 11, 2023
b82d514
Merge branch 'develop' into 9919-perf-doc #9919
pdurbin Dec 11, 2023
80634c7
address feedback from review #9919
pdurbin Dec 11, 2023
3d6343e
mention configurable docroot #10151
pdurbin Dec 11, 2023
d9652f7
Merge pull request #10174 from IQSS/8549-collection-quotas
landreev Dec 11, 2023
c1754ee
Merge pull request #10132 from IQSS/9919-perf-doc
scolapasta Dec 12, 2023
3937e5f
Merge pull request #10166 from IQSS/10151-61-create-release-notes
scolapasta Dec 12, 2023
1f9e10c
Merge pull request #10165 from IQSS/10149-bump-release-version-6-1
scolapasta Dec 12, 2023
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 .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# https://www.git-scm.com/docs/gitattributes

# This set mandatory LF line endings for .sh files preventing from windows users to having to change the value of their git config --global core.autocrlf to 'false' or 'input'
*.sh text eol=lf
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Bug report
about: Did you encounter something unexpected or incorrect in the Dataverse software?
We'd like to hear about it!
title: ''
labels: ''
labels: 'Type: Bug'
assignees: ''

---
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Feature request
about: Suggest an idea or new feature for the Dataverse software!
title: 'Feature Request/Idea:'
labels: ''
labels: 'Type: Feature'
assignees: ''

---
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy_beta_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
working-directory: src/main/resources/META-INF
run: echo -e "dataverse.feature.api-session-auth=true" >> microprofile-config.properties

- name: Set build number
run: scripts/installer/custom-build-number

- name: Build application war
run: mvn package

Expand Down
115 changes: 101 additions & 14 deletions .github/workflows/maven_unit_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Maven Unit Tests
name: Maven Tests

on:
push:
Expand Down Expand Up @@ -28,6 +28,7 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
runs-on: ubuntu-latest
steps:
# Basic setup chores
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v3
Expand All @@ -37,16 +38,110 @@ jobs:
cache: maven

# The reason why we use "install" here is that we want the submodules to be available in the next step.
# Also, we can cache them this way for jobs triggered by this one.
- name: Build with Maven
# Also, we can cache them this way for jobs triggered by this one. We need to skip ITs here, as we run
# them in the next job - but install usually runs through verify phase.
- name: Build with Maven and run unit tests
run: >
mvn -B -f modules/dataverse-parent
-Dtarget.java.version=${{ matrix.jdk }}
-DcompilerArgument=-Xlint:unchecked -P all-unit-tests
-DskipIntegrationTests
-pl edu.harvard.iq:dataverse -am
install

- name: Maven Code Coverage
# We don't want to cache the WAR file, so delete it
- run: rm -rf ~/.m2/repository/edu/harvard/iq/dataverse

# Upload the built war file. For download, it will be wrapped in a ZIP by GitHub.
# See also https://github.com/actions/upload-artifact#zipped-artifact-downloads
- uses: actions/upload-artifact@v3
with:
name: dataverse-java${{ matrix.jdk }}.war
path: target/dataverse*.war
retention-days: 7

# Store the build for the next step (integration test) to avoid recompilation and to transfer coverage reports
- run: |
tar -cvf java-builddir.tar target
tar -cvf java-m2-selection.tar ~/.m2/repository/io/gdcc/dataverse-*
- uses: actions/upload-artifact@v3
with:
name: java-artifacts
path: |
java-builddir.tar
java-m2-selection.tar
retention-days: 3

integration-test:
runs-on: ubuntu-latest
needs: unittest
name: (${{ matrix.status}} / JDK ${{ matrix.jdk }}) Integration Tests
strategy:
fail-fast: false
matrix:
jdk: [ '17' ]
experimental: [ false ]
status: [ "Stable" ]
#
# JDK 17 builds disabled due to non-essential fails marking CI jobs as completely failed within
# Github Projects, PR lists etc. This was consensus on Slack #dv-tech. See issue #8094
# (This is a limitation of how Github is currently handling these things.)
#
#include:
# - jdk: '17'
# experimental: true
# status: "Experimental"
continue-on-error: ${{ matrix.experimental }}
steps:
# Basic setup chores
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdk }}
distribution: temurin
cache: maven

# Get the build output from the unit test job
- uses: actions/download-artifact@v3
with:
name: java-artifacts
- run: |
tar -xvf java-builddir.tar
tar -xvf java-m2-selection.tar -C /

# Run integration tests (but not unit tests again)
- run: mvn -DskipUnitTests -Dtarget.java.version=${{ matrix.jdk }} verify

# Wrap up and send to coverage job
- run: tar -cvf java-reportdir.tar target/site
- uses: actions/upload-artifact@v3
with:
name: java-reportdir
path: java-reportdir.tar
retention-days: 3

coverage-report:
runs-on: ubuntu-latest
needs: integration-test
name: Coverage Report Submission
steps:
# Basic setup chores
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: temurin
cache: maven

# Get the build output from the integration test job
- uses: actions/download-artifact@v3
with:
name: java-reportdir
- run: tar -xvf java-reportdir.tar

# Deposit Code Coverage
- name: Deposit Code Coverage
env:
CI_NAME: github
COVERALLS_SECRET: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -57,22 +152,14 @@ jobs:
-DrepoToken=${COVERALLS_SECRET} -DpullRequest=${{ github.event.number }}
jacoco:report coveralls:report

# We don't want to cache the WAR file, so delete it
- run: rm -rf ~/.m2/repository/edu/harvard/iq/dataverse
# NOTE: this may be extended with adding a report to the build output, leave a comment, send to Sonarcloud, ...

# Upload the built war file. For download, it will be wrapped in a ZIP by GitHub.
# See also https://github.com/actions/upload-artifact#zipped-artifact-downloads
- uses: actions/upload-artifact@v3
with:
name: dataverse-java${{ matrix.jdk }}.war
path: target/dataverse*.war
retention-days: 7
push-app-img:
name: Publish App Image
permissions:
contents: read
packages: write
pull-requests: write
needs: unittest
needs: integration-test
uses: ./.github/workflows/container_app_push.yml
secrets: inherit
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Dataverse®
===============

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][]).
Dataverse is an [open source][] software platform for sharing, finding, citing, and preserving research data (developed by the [Dataverse team](https://dataverse.org/about) at the [Institute for Quantitative Social Science](https://iq.harvard.edu/) and the [Dataverse community][]).

[dataverse.org][] is our home on the web and shows a map of Dataverse installations around the world, a list of [features][], [integrations][] that have been made possible through [REST APIs][], our development [roadmap][], and more.

Expand All @@ -15,7 +15,7 @@ We love contributors! Please see our [Contributing Guide][] for ways you can hel

Dataverse is a trademark of President and Fellows of Harvard College and is registered in the United States.

[![Dataverse Project logo](src/main/webapp/resources/images/dataverseproject_logo.jpg?raw=true "Dataverse Project")](http://dataverse.org)
[![Dataverse Project logo](src/main/webapp/resources/images/dataverseproject_logo.jpg "Dataverse Project")](http://dataverse.org)

[![API Test Status](https://jenkins.dataverse.org/buildStatus/icon?job=IQSS-dataverse-develop&subject=API%20Test%20Status)](https://jenkins.dataverse.org/job/IQSS-dataverse-develop/)
[![API Test Coverage](https://img.shields.io/jenkins/coverage/jacoco?jobUrl=https%3A%2F%2Fjenkins.dataverse.org%2Fjob%2FIQSS-dataverse-develop&label=API%20Test%20Coverage)](https://jenkins.dataverse.org/job/IQSS-dataverse-develop/ws/target/coverage-it/index.html)
Expand All @@ -26,15 +26,15 @@ Dataverse is a trademark of President and Fellows of Harvard College and is regi
[dataverse.org]: https://dataverse.org
[demo.dataverse.org]: https://demo.dataverse.org
[Dataverse community]: https://dataverse.org/developers
[Installation Guide]: http://guides.dataverse.org/en/latest/installation/index.html
[Installation Guide]: https://guides.dataverse.org/en/latest/installation/index.html
[latest release]: https://github.com/IQSS/dataverse/releases
[features]: https://dataverse.org/software-features
[roadmap]: https://www.iq.harvard.edu/roadmap-dataverse-project
[integrations]: https://dataverse.org/integrations
[REST APIs]: http://guides.dataverse.org/en/latest/api/index.html
[REST APIs]: https://guides.dataverse.org/en/latest/api/index.html
[Contributing Guide]: CONTRIBUTING.md
[mailing list]: https://groups.google.com/group/dataverse-community
[community call]: https://dataverse.org/community-calls
[chat.dataverse.org]: http://chat.dataverse.org
[chat.dataverse.org]: https://chat.dataverse.org
[Dataverse Community Meeting]: https://dataverse.org/events
[open source]: LICENSE.md
12 changes: 7 additions & 5 deletions conf/keycloak/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ version: "3.9"
services:

keycloak:
image: 'jboss/keycloak:16.1.1'
image: 'quay.io/keycloak/keycloak:21.0'
command:
- "start-dev"
- "--import-realm"
environment:
- KEYCLOAK_USER=kcadmin
- KEYCLOAK_PASSWORD=kcpassword
- KEYCLOAK_IMPORT=/tmp/oidc-realm.json
- KEYCLOAK_ADMIN=kcadmin
- KEYCLOAK_ADMIN_PASSWORD=kcpassword
- KEYCLOAK_LOGLEVEL=DEBUG
ports:
- "8090:8080"
volumes:
- './oidc-realm.json:/tmp/oidc-realm.json'
- './test-realm.json:/opt/keycloak/data/import/test-realm.json'
2 changes: 1 addition & 1 deletion conf/keycloak/oidc-keycloak-auth-provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"factoryAlias": "oidc",
"title": "OIDC-Keycloak",
"subtitle": "OIDC-Keycloak",
"factoryData": "type: oidc | issuer: http://keycloak.mydomain.com:8090/realms/oidc-realm | clientId: oidc-client | clientSecret: ss6gE8mODCDfqesQaSG3gwUwZqZt547E",
"factoryData": "type: oidc | issuer: http://keycloak.mydomain.com:8090/realms/test | clientId: test | clientSecret: 94XHrfNRwXsjqTqApRrwWmhDLDHpIYV8",
"enabled": true
}