From d661dbcf431f0f02ecf98f748e3516ba0ab23dff Mon Sep 17 00:00:00 2001 From: elinuxhenrik Date: Fri, 17 Aug 2018 12:34:58 +0200 Subject: Add seed code. First version based on PRH micro service. Change-Id: Iea1673a8a1961006b1ea98ef245e213e3652eb82 Issue-ID: DCAEGEN2-638 Signed-off-by: elinuxhenrik --- .../src/main/resources/application.properties | 14 ++++++ .../src/main/resources/keystore.jks | Bin 0 -> 2643 bytes .../src/main/resources/keystore.jks.old | Bin 0 -> 2272 bytes .../src/main/resources/logback-spring.xml | 47 +++++++++++++++++++++ .../src/main/resources/scheduled-context.xml | 16 +++++++ 5 files changed, 77 insertions(+) create mode 100644 datafile-app-server/src/main/resources/application.properties create mode 100644 datafile-app-server/src/main/resources/keystore.jks create mode 100644 datafile-app-server/src/main/resources/keystore.jks.old create mode 100644 datafile-app-server/src/main/resources/logback-spring.xml create mode 100644 datafile-app-server/src/main/resources/scheduled-context.xml (limited to 'datafile-app-server/src/main/resources') diff --git a/datafile-app-server/src/main/resources/application.properties b/datafile-app-server/src/main/resources/application.properties new file mode 100644 index 00000000..205b6caa --- /dev/null +++ b/datafile-app-server/src/main/resources/application.properties @@ -0,0 +1,14 @@ +spring.profiles.active=prod +spring.main.web-application-type=none +server.port=8433 +server.ssl.key-store-type=PKCS12 +server.ssl.key-store-password=nokiapnf +server.ssl.key-store=classpath:keystore.jks +server.ssl.key-password=nokiapnf +server.ssl.key-alias=tomcat-localhost +logging.level.root=ERROR +logging.level.org.springframework=ERROR +logging.level.org.springframework.data=ERROR +logging.level.org.onap.dcaegen2.collectors.datafile=INFO +logging.file=logs/log/application.log +app.filepath=config/datafile_endpoints.json diff --git a/datafile-app-server/src/main/resources/keystore.jks b/datafile-app-server/src/main/resources/keystore.jks new file mode 100644 index 00000000..cd27cc01 Binary files /dev/null and b/datafile-app-server/src/main/resources/keystore.jks differ diff --git a/datafile-app-server/src/main/resources/keystore.jks.old b/datafile-app-server/src/main/resources/keystore.jks.old new file mode 100644 index 00000000..8a2b4f99 Binary files /dev/null and b/datafile-app-server/src/main/resources/keystore.jks.old differ diff --git a/datafile-app-server/src/main/resources/logback-spring.xml b/datafile-app-server/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..925b38cc --- /dev/null +++ b/datafile-app-server/src/main/resources/logback-spring.xml @@ -0,0 +1,47 @@ + + + + + + + + + + ${FILE_LOG_PATTERN} + + ${LOG_FILE} + + ${LOG_FILE}.%d{yyyy-MM-dd}.%i.log + 50MB + 30 + 10GB + + + + + + + + + + + + ${FILE_LOG_PATTERN} + + ${LOG_FILE} + + ${LOG_FILE}.%d{yyyy-MM-dd}.%i.gz + 50MB + 30 + 10GB + + + + + + + + \ No newline at end of file diff --git a/datafile-app-server/src/main/resources/scheduled-context.xml b/datafile-app-server/src/main/resources/scheduled-context.xml new file mode 100644 index 00000000..369d2c7b --- /dev/null +++ b/datafile-app-server/src/main/resources/scheduled-context.xml @@ -0,0 +1,16 @@ + + + + + + + + -- cgit 1.2.3-korg