aboutsummaryrefslogtreecommitdiffstats
path: root/datafile-app-server
diff options
context:
space:
mode:
authorecaiyanlinux <martin.c.yan@est.tech>2019-09-10 15:14:09 +0200
committerecaiyanlinux <martin.c.yan@est.tech>2019-09-10 17:49:50 +0200
commit895b4b17333b94c4123931cab2e7ad382014785b (patch)
tree17a6cc12ad6efbd0888cae83c7c1e7f5601914f0 /datafile-app-server
parent6c925362213b8f05612b309fb50fa4c0b5650224 (diff)
update Dockerfile & copyrigt statement
Issue-ID: DCAEGEN2-1702 Change-Id: If990e180b96f943dd7381a758c11d10e4733706c Signed-off-by: Martin Yan <martin.c.yan@est.tech>
Diffstat (limited to 'datafile-app-server')
-rw-r--r--datafile-app-server/src/main/docker/Dockerfile3
-rw-r--r--datafile-app-server/src/main/java/org/onap/dcaegen2/collectors/datafile/configuration/FtpesConfig.java2
2 files changed, 3 insertions, 2 deletions
diff --git a/datafile-app-server/src/main/docker/Dockerfile b/datafile-app-server/src/main/docker/Dockerfile
index bfd952e0..c3e5f07f 100644
--- a/datafile-app-server/src/main/docker/Dockerfile
+++ b/datafile-app-server/src/main/docker/Dockerfile
@@ -21,6 +21,7 @@ FROM openjdk:8-jre-alpine
WORKDIR /opt/app/datafile
RUN mkdir -p /var/log/ONAP
+RUN mkdir -p /opt/app/datafile/etc/cert/
ADD /target/datafile-app-server.jar /opt/app/datafile/
ADD /config/application.yaml /opt/app/datafile/config/
@@ -33,4 +34,4 @@ RUN chmod -R 777 /opt/app/datafile/config/
USER datafile
-ENTRYPOINT ["/usr/bin/java", "-jar", "/opt/app/datafile/datafile-app-server.jar"] \ No newline at end of file
+ENTRYPOINT ["/usr/bin/java", "-jar", "/opt/app/datafile/datafile-app-server.jar"]
diff --git a/datafile-app-server/src/main/java/org/onap/dcaegen2/collectors/datafile/configuration/FtpesConfig.java b/datafile-app-server/src/main/java/org/onap/dcaegen2/collectors/datafile/configuration/FtpesConfig.java
index e7107976..9e9da7db 100644
--- a/datafile-app-server/src/main/java/org/onap/dcaegen2/collectors/datafile/configuration/FtpesConfig.java
+++ b/datafile-app-server/src/main/java/org/onap/dcaegen2/collectors/datafile/configuration/FtpesConfig.java
@@ -1,6 +1,6 @@
/*-
* ============LICENSE_START=======================================================
- * Copyright (C) 2018 NOKIA Intellectual Property, 2018 Nordix Foundation. All rights reserved.
+ * Copyright (C) 2018 NOKIA Intellectual Property, 2019 Nordix Foundation. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.