Skip to content

Commit c8b949c

Browse files
committed
Merge branch 'develop' into 8013-history-of-access-request-available-via-api
2 parents 15f5c5e + d55acc6 commit c8b949c

126 files changed

Lines changed: 5744 additions & 2018 deletions

File tree

Some content is hidden

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

.github/workflows/container_app_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
ref: 'refs/pull/${{ github.event.client_payload.pull_request.number }}/merge'
2626
- uses: actions/setup-java@v5
2727
with:
28-
java-version: "17"
28+
java-version: "21"
2929
distribution: 'adopt'
3030
- uses: actions/cache@v5
3131
with:
@@ -69,7 +69,7 @@ jobs:
6969
-Dapp.image.tag=${{ env.IMAGE_TAG }}
7070
-Ddocker.registry=ghcr.io -Ddocker.platforms=${{ env.PLATFORMS }}
7171
72-
- uses: marocchino/sticky-pull-request-comment@v2
72+
- uses: marocchino/sticky-pull-request-comment@v3
7373
with:
7474
header: registry-push
7575
hide_and_recreate: true

.github/workflows/container_app_push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
${{ env.REGISTRY }} -Ddocker.platforms=${{ env.PLATFORMS }}
142142
-P ct deploy
143143
144-
- uses: marocchino/sticky-pull-request-comment@v2
144+
- uses: marocchino/sticky-pull-request-comment@v3
145145
if: ${{ github.event_name == 'pull_request' }}
146146
with:
147147
header: registry-push

.github/workflows/container_base_push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
# In case this is a push to develop, we care about buildtime.
5151
# Configure a remote ARM64 build host in addition to the local AMD64 in two steps.
5252
- name: Setup SSH agent
53-
uses: webfactory/ssh-agent@v0.9.1
53+
uses: webfactory/ssh-agent@v0.10.0
5454
with:
5555
ssh-private-key: ${{ secrets.BUILDER_ARM64_SSH_PRIVATE_KEY }}
5656
- name: Provide the known hosts key and the builder config

.github/workflows/deploy_beta_testing.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/setup-java@v5
2020
with:
2121
distribution: 'zulu'
22-
java-version: '17'
22+
java-version: '21'
2323

2424
- name: Enable API Session Auth feature flag
2525
working-directory: src/main/resources/META-INF
@@ -79,11 +79,11 @@ jobs:
7979
envs: INPUT_WAR_FILE
8080
script: |
8181
APPLICATION_NAME=dataverse-backend
82-
ASADMIN='/usr/local/payara6/bin/asadmin --user admin'
82+
ASADMIN='/usr/local/payara7/bin/asadmin --user admin'
8383
$ASADMIN undeploy $APPLICATION_NAME
8484
#$ASADMIN stop-domain
85-
#rm -rf /usr/local/payara6/glassfish/domains/domain1/generated
86-
#rm -rf /usr/local/payara6/glassfish/domains/domain1/osgi-cache
85+
#rm -rf /usr/local/payara7/glassfish/domains/domain1/generated
86+
#rm -rf /usr/local/payara7/glassfish/domains/domain1/osgi-cache
8787
#$ASADMIN start-domain
8888
$ASADMIN deploy --name $APPLICATION_NAME $INPUT_WAR_FILE
8989
#$ASADMIN stop-domain

.github/workflows/maven_unit_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
jdk: [ '17' ]
32+
jdk: [ '21' ]
3333
experimental: [false]
3434
status: ["Stable"]
3535
continue-on-error: ${{ matrix.experimental }}
@@ -87,7 +87,7 @@ jobs:
8787
strategy:
8888
fail-fast: false
8989
matrix:
90-
jdk: [ '17' ]
90+
jdk: [ '21' ]
9191
experimental: [ false ]
9292
status: [ "Stable" ]
9393
#
@@ -140,7 +140,7 @@ jobs:
140140
- uses: actions/checkout@v6
141141
- uses: actions/setup-java@v5
142142
with:
143-
java-version: '17'
143+
java-version: '21'
144144
distribution: temurin
145145
cache: maven
146146

.github/workflows/spi_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- uses: actions/checkout@v6
4141
- uses: actions/setup-java@v5
4242
with:
43-
java-version: '17'
43+
java-version: '21'
4444
distribution: 'adopt'
4545
server-id: central
4646
server-username: MAVEN_USERNAME
@@ -66,7 +66,7 @@ jobs:
6666
- uses: actions/checkout@v6
6767
- uses: actions/setup-java@v5
6868
with:
69-
java-version: '17'
69+
java-version: '21'
7070
distribution: 'adopt'
7171
- uses: actions/cache@v5
7272
with:
@@ -78,7 +78,7 @@ jobs:
7878
- name: Set up Maven Central Repository
7979
uses: actions/setup-java@v5
8080
with:
81-
java-version: '17'
81+
java-version: '21'
8282
distribution: 'adopt'
8383
server-id: central
8484
server-username: MAVEN_USERNAME

conf/jhove/jhove.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
44
xmlns="http://hul.harvard.edu/ois/xml/ns/jhove/jhoveConfig"
55
xsi:schemaLocation="http://hul.harvard.edu/ois/xml/ns/jhove/jhoveConfig
6-
file:///usr/local/payara6/glassfish/domains/domain1/config/jhoveConfig.xsd">
6+
file:///usr/local/payara7/glassfish/domains/domain1/config/jhoveConfig.xsd">
77
<jhoveHome>/usr/local/src/jhove</jhoveHome>
88
<defaultEncoding>utf-8</defaultEncoding>
99
<tempDirectory>/tmp</tempDirectory>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
## Feature Request: API to support Download Terms of Use and Guestbook
2+
3+
## New Endpoints to download a file or files that required a Guestbook Response: POST
4+
A post to these endpoints with the body containing a JSON Guestbook Response will save the response and return a signed URL to download the file(s)
5+
6+
`/api/access/datafile/{fileId:.+}`
7+
`/api/access/datafiles/{fileIds}`
8+
`/api/access/dataset/{id}`
9+
`/api/access/dataset/{id}/versions/{versionId}`
10+
11+
A post to these endpoints with the body containing a JSON Guestbook Response will save the response before continuing the download.
12+
No signed URL option exists.
13+
`/api/access/datafiles`
14+
`/api/access/datafile/bundle/{fileId}` POST returns BundleDownloadInstance after processing Guestbook Responses from body.
15+
16+
## New CRUD Endpoints for Guestbook:
17+
Create a Guestbook: POST `/api/guestbooks/{dataverseIdentifier}`
18+
Get a Guestbook: GET `/api/guestbooks/{id}`
19+
Get a list of Guestbooks linked to a Dataverse Collection: GET `/api/guestbooks/{dataverseIdentifier}/list`
20+
Enable/Disable a Guestbook: PUT `/api/guestbooks/{dataverseIdentifier}/{id}/enabled` Body: `true` or `false`
21+
Note: There is no Update or Delete at this time. You can disable a Guestbook and create a new one.
22+
23+
## For Guestbook At Request:
24+
When JVM setting -Ddataverse.files.guestbook-at-request=true is used a request for access may require a Guestbook Response.
25+
PUT `/api/access/datafile/{id}/requestAccess` will now take a JSON Guestbook Response in the body.

0 commit comments

Comments
 (0)