From daf4b9ad41d3957aaf9344905be7aaa002a4589d Mon Sep 17 00:00:00 2001 From: Terry Brady Date: Tue, 10 Dec 2019 09:59:43 -0800 Subject: [PATCH] refine sword dockerfile --- mrt-services/sword/Dockerfile | 4 ++++ mrt-services/sword/sword-info.txt | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 mrt-services/sword/sword-info.txt diff --git a/mrt-services/sword/Dockerfile b/mrt-services/sword/Dockerfile index df10978..6370306 100644 --- a/mrt-services/sword/Dockerfile +++ b/mrt-services/sword/Dockerfile @@ -18,3 +18,7 @@ FROM tomcat:8-jre8 COPY --from=build /root/.m2/repository/org/cdlib/mrt/mrt-swordwarpub/1.0-SNAPSHOT/mrt-swordwarpub-1.0-SNAPSHOT.war /usr/local/tomcat/webapps/sword.war EXPOSE 8080 8009 + +RUN mkdir -p /apps/replic/tst/sword/mrtHomes/sword + +COPY sword-info.txt /apps/replic/tst/sword/mrtHomes/sword diff --git a/mrt-services/sword/sword-info.txt b/mrt-services/sword/sword-info.txt new file mode 100644 index 0000000..9a9d165 --- /dev/null +++ b/mrt-services/sword/sword-info.txt @@ -0,0 +1,9 @@ +maxUploadSize=100000000 +jssecacert=**TBD** +ldapHost=**TBD** +link=http://localhost:8084/sword/v2/object/ +editmedia=http://localhost:8089/d/ +edit=http://http://localhost:8084/sword/edit/ +ingestUrlAdd=http://localhost:8080/ingest/submit-object +ingestUrlUpdate=http://localhost:8080/ingest/update-object +retainTargetUrl=true