Initial source code
[oam/tr069-adapter.git] / config-data / src / test / resources / application.properties
diff --git a/config-data/src/test/resources/application.properties b/config-data/src/test/resources/application.properties
new file mode 100644 (file)
index 0000000..8bd220c
--- /dev/null
@@ -0,0 +1,37 @@
+# ============LICENSE_START========================================================================\r
+# ONAP : tr-069-adapter\r
+# =================================================================================================\r
+# Copyright (C) 2020 CommScope Inc Intellectual Property.\r
+# =================================================================================================\r
+# This tr-069-adapter software file is distributed by CommScope Inc\r
+# under the Apache License, Version 2.0 (the "License");\r
+# you may not use this file except in compliance with the License.\r
+# You may obtain a copy of the License at\r
+#\r
+# http://www.apache.org/licenses/LICENSE-2.0\r
+#\r
+# This file is distributed on an "AS IS" BASIS,\r
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+# See the License for the specific language governing permissions and\r
+# limitations under the License.\r
+# ===============LICENSE_END=======================================================================\r
+\r
+\r
+spring.datasource.driver-class-name=org.h2.Driver\r
+spring.datasource.url=jdbc:h2:mem:db;DB_CLOSE_DELAY=-1\r
+spring.datasource.username=sa\r
+spring.datasource.password=sa\r
+spring.jpa.show-sql=true\r
+spring.jpa.hibernate.ddl-auto=create\r
+\r
+\r
+\r
+## MULTIPART (MultipartProperties)\r
+# Enable multipart uploads\r
+spring.servlet.multipart.enabled=true\r
+# Threshold after which files are written to disk.\r
+spring.servlet.multipart.file-size-threshold=2KB\r
+# Max file size.\r
+spring.servlet.multipart.max-file-size=200MB\r
+# Max Request Size\r
+spring.servlet.multipart.max-request-size=215MB
\ No newline at end of file