Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Parameterize the PASS JSON-LD context version, correct Docker image
Browse files Browse the repository at this point in the history
Create a POM property to hold the version number for the PASS JSON-LD context version.  Use the POM property to correct - and update - the environment variable `JSONLD_CONTEXT_VERSION` in the Deposit Services Docker image.
  • Loading branch information
emetsger committed Jun 27, 2019
1 parent cae574f commit aa43460
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deposit-messaging/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ARG ES_PORT
ARG DEPOSIT_DEBUG_PORT

ENV DEPOSIT_SERVICES_VERSION=${project.version} \
JSONLD_CONTEXT_VERSION=3.2 \
JSONLD_CONTEXT_VERSION=${pass.jsonld.context.version} \
FCREPO_HOST=${FCREPO_HOST:-fcrepo} \
FCREPO_PORT=${FCREPO_PORT:-8080} \
FCREPO_JMS_PORT=${FCREPO_JMS_PORT:-61616} \
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@
<docker.dspace.version>oapass/dspace:latest</docker.dspace.version>
<docker.ftp.version>oapass/ftpserver:latest</docker.ftp.version>

<pass.jsonld.context>https://oa-pass.github.io/pass-data-model/src/main/resources/context-3.4.jsonld</pass.jsonld.context>
<pass.jsonld.context.version>3.4</pass.jsonld.context.version>
<pass.jsonld.context>https://oa-pass.github.io/pass-data-model/src/main/resources/context-${pass.jsonld.context.version}.jsonld</pass.jsonld.context>

</properties>

Expand Down

0 comments on commit aa43460

Please sign in to comment.