Skip to content

Commit 4a376ca

Browse files
committed
fix: make conf/config folder usage less confusing
1 parent 6dedeec commit 4a376ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pit-service/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ LABEL stage=build-contains-credentials
1414
RUN cd /kitdm20/ && \
1515
git clone -v https://github.com/kit-data-manager/pit-service.git --branch master service && \
1616
cd service && \
17-
./gradlew build --stacktrace && \
17+
./gradlew build --stacktrace -x test -x javadoc && \
1818
cp build/libs/TypedPIDMaker*.jar ../
1919

2020

@@ -25,6 +25,6 @@ LABEL stage=run
2525
RUN mkdir -p /kitdm20/config
2626
COPY java-release-run.sh /kitdm20/
2727
COPY --from=build-pit /kitdm20/TypedPIDMaker*.jar /kitdm20/TypedPIDMaker.jar
28-
COPY pit-service/conf/ /kitdm20/config/
28+
COPY pit-service/config/ /kitdm20/config/
2929
EXPOSE 8080
3030
CMD bash /kitdm20/java-release-run.sh TypedPIDMaker.jar

pit-service/conf/application.properties pit-service/config/application.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pit.pidsystem.implementation = IN_MEMORY
107107
# If you chose HANDLE_PROTOCOL, you need to set up your prefix and its key/certificate:
108108
#pit.pidsystem.handle-protocol.credentials.handleIdentifierPrefix = 21.T11981 # prefix string
109109
#pit.pidsystem.handle-protocol.credentials.userHandle = 21.T11981/USER01 # user PID
110-
#pit.pidsystem.handle-protocol.credentials.privateKeyPath = test_prefix_data/21.T11981_USER01_300_privkey.bin # private key/certificate file
110+
#pit.pidsystem.handle-protocol.credentials.privateKeyPath = config/test_prefix_data/21.T11981_USER01_300_privkey.bin
111111
# If you chose HANDLE_REST, you need to add credentials and the prefix:
112112
#pit.pidsystem.handle.userName = 21.T11981/USER01
113113
#pit.pidsystem.handle.userPassword = ...

0 commit comments

Comments
 (0)